diff options
-rw-r--r-- | .bzr-builddeb/default.conf | 2 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 127 | ||||
-rw-r--r-- | debian/copyright | 60 | ||||
-rw-r--r-- | debian/gir1.0-appindicator-0.1.install | 1 | ||||
-rw-r--r-- | debian/libappindicator-dev.install | 5 | ||||
-rw-r--r-- | debian/libappindicator-doc.install | 1 | ||||
-rw-r--r-- | debian/libappindicator0.1-cil-dev.install | 1 | ||||
-rw-r--r-- | debian/libappindicator0.1-cil.install | 1 | ||||
-rw-r--r-- | debian/libappindicator0.1-cil.installcligac | 3 | ||||
-rw-r--r-- | debian/libappindicator1.install | 1 | ||||
-rw-r--r-- | debian/python-appindicator.install | 2 | ||||
-rwxr-xr-x | debian/rules | 97 | ||||
-rw-r--r-- | debian/watch | 2 |
15 files changed, 309 insertions, 0 deletions
diff --git a/.bzr-builddeb/default.conf b/.bzr-builddeb/default.conf new file mode 100644 index 0000000..36c28f8 --- /dev/null +++ b/.bzr-builddeb/default.conf @@ -0,0 +1,2 @@ +[BUILDDEB] +merge = False diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..306f358 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libappindicator (0.2.91-0ubuntu1~ppa1) UNRELEASED; urgency=low + + * Intial release. + + -- Ted Gould <ted@ubuntu.com> Wed, 08 Dec 2010 16:04:21 -0600 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c48cbc1 --- /dev/null +++ b/debian/control @@ -0,0 +1,127 @@ +Source: libappindicator +Section: gnome +Priority: optional +XS-Python-Version: all +Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com> +Build-Depends: debhelper (>= 5.0), + cdbs (>= 0.4.41), + libgtk2.0-dev (>= 2.12.0), + libdbus-glib-1-dev (>= 0.82), + libjson-glib-dev, + gnome-doc-utils, + gtk-doc-tools, + intltool, + python-all-dev, + python-gtk2-dev, + libindicate-dev (>= 0.2.0), + libindicate-gtk-dev (>= 0.2.0), + libindicator-dev (>= 0.3.14), + libdbusmenu-gtk-dev (>= 0.3.90), + libdbusmenu-glib-dev (>= 0.3.90), + cli-common-dev (>= 0.5.7), + mono-devel (>= 2.4.3), + gtk-sharp2-gapi, + libmono-dev, + libnunit-cil-dev, + libgtk2.0-cil-dev, + gobject-introspection, + libgirepository1.0-dev, + gir1.0-glib-2.0, + gir1.0-gtk-2.0, + valac-0.12 +Standards-Version: 3.8.4 +Homepage: https://launchpad.net/indicator-application +Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-desktop/indicator-application/ubuntu + +Package: python-appindicator +Section: python +Architecture: any +XB-Python-Version: ${python:Versions} +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${python:Depends}, + libappindicator1 (= ${binary:Version}), + python-gobject +Provides: ${python:Provides} +Description: Python bindings for libappindicator + This package provides Python bindings so that you can use libappindicator from + a Python program. + +Package: libappindicator1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Recommends: indicator-application (= ${binary:Version}) +Description: Application Indicators + A library and indicator to take menus from applications and place them in + the panel. + . + This package contains shared libraries to be used by applications. + +Package: libappindicator-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libdbusmenu-glib-dev (>= 0.1.8), + libdbus-glib-1-dev (>= 0.76), + libappindicator1 (= ${binary:Version}) +Description: Application Indicators + A library and indicator to take menus from applications and place them in + the panel. + . + This package contains files that are needed to build applications. + +Package: libappindicator-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: Application Indicators + A library and indicator to take menus from applications and place them in + the panel. + . + This package contains developer documentation. + +Package: libappindicator0.1-cil +Section: cli-mono +Architecture: all +Replaces: libappindicator0-cil (<= 0.0.19-0ubuntu4), + libappindicator0.0-cil (<= 0.2.0-0ubuntu4) +Conflicts: libappindicator0-cil (<= 0.0.19-0ubuntu4) +Provides: libappindicator0.0-cil +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${cli:Depends} +Description: CLI bindings for libappindicator + This package provides the appindicator-sharp assembly that allows CLI (.NET) + programs to take menus from applications and place them in the panel. + . + This package contains assemblies to be used by applications. + +Package: libappindicator0.1-cil-dev +Section: libdevel +Architecture: all +Replaces: libappindicator-cil-dev (<= 0.0.19-0ubuntu4) +Conflicts: libappindicator-cil-dev (<= 0.0.19-0ubuntu4) +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${cli:Depends}, + libappindicator0.1-cil (= ${binary:Version}) +Description: Application Indicators + A library and indicator to take menus from applications and place them in + the panel. + . + This package contains files that are needed to build applications. + +Package: gir1.0-appindicator-0.1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${gir:Depends} +Description: Typelib files for libappindicator1. + . + This package can be used by other packages using the GIRepository format + to generate dynamic bindings. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ba92c05 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,60 @@ +This package was debianized by Robert Collins <robert@canonical.com> on +Thu, 29 Oct 2009 15:44:14 +1100 + +It was downloaded from <http://launchpad.net/indicator-application/> + +Upstream Author: + + Ted Gould <ted@canonical.com> + +Copyright: + + Copyright (C) 2009 Canonical Ltd. + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 3 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Two files (app-indicator.c and app-indicator.h) are under: + + 1) the GNU Lesser General Public License version 3, as published by the + Free Software Foundation; and/or + 2) the GNU Lesser General Public License version 2.1, as published by + the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranties of + MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR + PURPOSE. See the applicable version of the GNU Lesser General Public + License for more details. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301 USA + +On Debian/Ubuntu systems, the full text of the LGPL v2.1 can be found in +`/usr/share/common-licenses/LGPL-2.1', the full text of the LGPL v3 can be found in +`/usr/share/common-licenses/LGPL-3, and the full text of the GPL v3 can be +found in `/usr/share/common-licenses/GPL-3' diff --git a/debian/gir1.0-appindicator-0.1.install b/debian/gir1.0-appindicator-0.1.install new file mode 100644 index 0000000..0791348 --- /dev/null +++ b/debian/gir1.0-appindicator-0.1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/girepository-1.0/* diff --git a/debian/libappindicator-dev.install b/debian/libappindicator-dev.install new file mode 100644 index 0000000..28598a4 --- /dev/null +++ b/debian/libappindicator-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include/libappindicator-0.1/* +debian/tmp/usr/lib/libappindicator.so +debian/tmp/usr/lib/pkgconfig/appindicator-0.1.pc +debian/tmp/usr/share/gir-1.0/* +debian/tmp/usr/share/vala/vapi/* diff --git a/debian/libappindicator-doc.install b/debian/libappindicator-doc.install new file mode 100644 index 0000000..313fe33 --- /dev/null +++ b/debian/libappindicator-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/gtk-doc/html/libappindicator/* diff --git a/debian/libappindicator0.1-cil-dev.install b/debian/libappindicator0.1-cil-dev.install new file mode 100644 index 0000000..6185943 --- /dev/null +++ b/debian/libappindicator0.1-cil-dev.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/pkgconfig/appindicator-sharp-0.1.pc diff --git a/debian/libappindicator0.1-cil.install b/debian/libappindicator0.1-cil.install new file mode 100644 index 0000000..106b727 --- /dev/null +++ b/debian/libappindicator0.1-cil.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/cli/appindicator-sharp-0.1/* diff --git a/debian/libappindicator0.1-cil.installcligac b/debian/libappindicator0.1-cil.installcligac new file mode 100644 index 0000000..f3e5bfc --- /dev/null +++ b/debian/libappindicator0.1-cil.installcligac @@ -0,0 +1,3 @@ +/usr/lib/cli/appindicator-sharp-0.1/appindicator-sharp.dll +/usr/lib/cli/appindicator-sharp-0.1/policy.0.0.appindicator-sharp.dll +/usr/lib/cli/appindicator-sharp-0.1/policy.0.1.appindicator-sharp.dll diff --git a/debian/libappindicator1.install b/debian/libappindicator1.install new file mode 100644 index 0000000..a0b5976 --- /dev/null +++ b/debian/libappindicator1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libappindicator.so.* diff --git a/debian/python-appindicator.install b/debian/python-appindicator.install new file mode 100644 index 0000000..00bdd51 --- /dev/null +++ b/debian/python-appindicator.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/python2.* +debian/tmp/usr/share/pygtk/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cfb2f4b --- /dev/null +++ b/debian/rules @@ -0,0 +1,97 @@ +#!/usr/bin/make -f + +DEB_SRCDIR = . +DEB_BUILDDIR = $(DEB_SRCDIR)/build + +DEB_PYTHON_SYSTEM=dh_python2 +PY_VERSIONS = $(shell pyversions --requested debian/control) +export MONO_SHARED_DIR=$(CURDIR) +export CSC=/usr/bin/mono-csc + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools-vars.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc +API_VERSION = 0.1 + +DEB_DH_MAKESHLIBS_ARGS_libappindicator1 := -V 'libappindicator1 (>= 0.0.19)' + +configure-stamp-%: + mkdir build-$* + cd build-$* && PYTHON=`which $*` \ + $(DEB_CONFIGURE_SCRIPT) $(DEB_CONFIGURE_NORMAL_ARGS) --srcdir=.. + touch $@ + +configure/python-appindicator:: $(addprefix configure-stamp-, $(PY_VERSIONS)) + +build-stamp-%: + PYTHON=`which $*` \ + $(MAKE) -C build-$* + touch $@ + +build/python-appindicator:: $(addprefix build-stamp-, $(PY_VERSIONS)) + +install-stamp-%: + PYTHON=`which $*` \ + $(MAKE) -C build-$*/bindings/python install DESTDIR=$(CURDIR)/debian/tmp + dh_installdirs -ppython-appindicator -s + dh_install -ppython-appindicator -s + touch $@ + +install/python-appindicator:: $(addprefix install-stamp-, $(PY_VERSIONS)) + +binary-predeb/python-appindicator:: + dh_python2 -ppython-appindicator + find debian/python-appindicator/usr/lib -name \*.la -exec rm {} \; + find debian/python-appindicator/usr/lib -name \*.a -exec rm {} \; + +binary-install/libappindicator0.1-cil:: + dh_clistrip + dh_clifixperms + dh_makeclilibs -V + dh_installcligac + +binary-predeb/gir1.0-appindicator-0.1:: + dh_girepository -p$(cdbs_curpkg) + +binary-predeb/libappindicator0.1-cil:: binary-fixup/libappindicator1 + dh_clideps -plibappindicator0.1-cil + +configure-stamp: + cd $(DEB_BUILDDIR) && \ + $(DEB_CONFIGURE_SCRIPT) $(DEB_CONFIGURE_NORMAL_ARGS) $(DEB_CONFIGURE_EXTRA_FLAGS) + touch $@ + +configure/indicator-application:: configure-stamp + +build-stamp: + $(MAKE) -C $(DEB_BUILDDIR) + touch $@ + +build/indicator-application:: build-stamp + +install-stamp: + $(MAKE) -C $(DEB_BUILDDIR) install DESTDIR=$(CURDIR)/debian/tmp + touch $@ + +install/indicator-application:: install-stamp + +binary-predeb/libappindicator1:: install-stamp + dh_fixperms + dh_strip + +binary-post-install/indicator-application:: + find debian/indicator-application/usr/lib -name \*.la -exec rm {} \; + find debian/indicator-application/usr/lib -name \*.a -exec rm {} \; + +common-binary-predeb-arch:: list-missing + dh_fixperms + dh_strip + +clean:: + -rm -rf $(addprefix build-, $(PY_VERSIONS)) + -rm -rf $(addprefix configure-stamp-, $(PY_VERSIONS)) + -rm -rf $(addprefix build-stamp-, $(PY_VERSIONS)) + -rm -rf $(addprefix install-stamp-, $(PY_VERSIONS)) + rm -rf $(MONO_SHARED_DIR)/.wapi diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..ffb0b21 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://launchpad.net/indicator-application/+download .*/indicator-application-([0-9.]+)\.tar\.gz |