aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2009-12-16 16:56:19 -0500
committerKen VanDine <ken.vandine@canonical.com>2009-12-16 16:56:19 -0500
commit2ba572c4055412bbe6072a8e09bbc94580d50c94 (patch)
treef374e945996962bf1f8592fcd771de447857105d
parent23b19e990aca3bfe31f01bb960f4cfd390d6e294 (diff)
downloadlibayatana-appindicator-2ba572c4055412bbe6072a8e09bbc94580d50c94.tar.gz
libayatana-appindicator-2ba572c4055412bbe6072a8e09bbc94580d50c94.tar.bz2
libayatana-appindicator-2ba572c4055412bbe6072a8e09bbc94580d50c94.zip
Added mono bindings
-rw-r--r--debian/changelog3
-rw-r--r--debian/control33
-rw-r--r--debian/libappindicator-cil-dev.install1
-rw-r--r--debian/libappindicator-dev.install2
-rw-r--r--debian/libappindicator0-cil.install1
-rwxr-xr-xdebian/rules16
6 files changed, 52 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 59b490a..db8a4b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
-indicator-application (0.0.4.1-0ubuntu1) UNRELEASED; urgency=low
+indicator-application (0.0.5-0ubuntu1) UNRELEASED; urgency=low
+ * Added mono bindings
* debian/rules
- don't use gnome.mk, specify all the targets to build python
bindings for each supported python version
diff --git a/debian/control b/debian/control
index 03f2e49..a7853bd 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,11 @@ Build-Depends: debhelper (>= 5.0),
libindicator-dev (>= 0.3.0),
libdbusmenu-gtk-dev (>= 0.1.8),
libdbusmenu-glib-dev (>= 0.1.8)
+Build-Depends-Indep: cli-common-dev (>= 0.5.7),
+ mono-devel (>= 2.0.1),
+ gtk-sharp2-gapi,
+ libmono-dev,
+ libgtk2.0-cil
Standards-Version: 3.8.3
Homepage: https://launchpad.net/indicator-application
Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-desktop/indicator-application/ubuntu
@@ -78,4 +83,32 @@ 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-cil
+Section: cli-mono
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ ${cli:Depends},
+ libappindicator0 (= ${binary:Version})
+Provides: ${cli:Provides}
+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: libappindicator-cil-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ ${cli:Depends},
+ libappindicator0-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.
diff --git a/debian/libappindicator-cil-dev.install b/debian/libappindicator-cil-dev.install
new file mode 100644
index 0000000..6185943
--- /dev/null
+++ b/debian/libappindicator-cil-dev.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/pkgconfig/appindicator-sharp-0.1.pc
diff --git a/debian/libappindicator-dev.install b/debian/libappindicator-dev.install
index 9346bf6..88e3347 100644
--- a/debian/libappindicator-dev.install
+++ b/debian/libappindicator-dev.install
@@ -1,3 +1,3 @@
debian/tmp/usr/include/libappindicator-0.1/*
debian/tmp/usr/lib/libappindicator.so
-debian/tmp/usr/lib/pkgconfig/*
+debian/tmp/usr/lib/pkgconfig/appindicator-0.1.pc
diff --git a/debian/libappindicator0-cil.install b/debian/libappindicator0-cil.install
new file mode 100644
index 0000000..17c04e9
--- /dev/null
+++ b/debian/libappindicator0-cil.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/appindicator-sharp-0.1/*
diff --git a/debian/rules b/debian/rules
index 1f3053a..7936902 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,16 @@
#!/usr/bin/make -f
-
DEB_PYTHON_SYSTEM=pycentral
PY_VERSIONS = $(shell pyversions --requested debian/control)
+export MONO_SHARED_DIR=$(CURDIR)
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
include /usr/share/cdbs/1/rules/simple-patchsys.mk
DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc
+API_VERSION = 0.1
configure-stamp-%:
mkdir build-$*
@@ -30,7 +32,6 @@ install-stamp-%:
install/python-appindicator:: $(addprefix install-stamp-, $(PY_VERSIONS))
-
binary-install/python-appindicator::
dh_pycentral
@@ -56,9 +57,20 @@ 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 {} \;
+binary/libappindicator0-cil:: binary-arch
+binary-arch:
+ dh_clifixperms -i
+ dh_installdeb -i
+ dh_makeclilibs -m $(API_VERSION)
+ dh_clideps -i -d
+
+
+common-binary-predeb-arch:: list-missing
+
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