summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/appindicator3-sharp.dll.config4
-rw-r--r--debian/changelog12
-rw-r--r--debian/compat1
-rw-r--r--debian/control49
-rw-r--r--debian/copyright27
-rw-r--r--debian/libappindicator3-0.1-cil-dev.install2
-rw-r--r--debian/libappindicator3-0.1-cil.install3
-rw-r--r--debian/libappindicator3-0.1-cil.installcligac1
-rw-r--r--debian/monodoc-appindicator3-0.1-manual.install1
-rw-r--r--debian/patches/01-pkgconfig_fixes.patch22
-rw-r--r--debian/patches/02-generated_sources_path.patch16
-rw-r--r--debian/patches/03-ac_config_macro_dir.patch23
-rw-r--r--debian/patches/series3
-rwxr-xr-xdebian/rules23
-rw-r--r--debian/source/format1
15 files changed, 188 insertions, 0 deletions
diff --git a/debian/appindicator3-sharp.dll.config b/debian/appindicator3-sharp.dll.config
new file mode 100644
index 0000000..f8c5828
--- /dev/null
+++ b/debian/appindicator3-sharp.dll.config
@@ -0,0 +1,4 @@
+<configuration>
+ <dllmap dll="appindicator3" target="libappindicator3.so.1"/>
+ <dllmap dll="libappindicator3sharpglue-12.10.0.so" target="/usr/lib/cli/appindicator3-sharp-0.1/libappindicator3sharpglue-12.10.0.so"/>
+</configuration> \ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4b76378
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+appindicator3-sharp (12.10.0-1) unstable; urgency=medium
+
+ [ Thanh Tung Nguyen ]
+ * Initial packaging (Closes: #807962).
+
+ [ Neil McGovern ]
+ * Remove an obsolete mono-gmcs dependency.
+
+ [ Andrew Shadura ]
+ * Clean up the rules files.
+
+ -- Andrew Shadura <andrewsh@debian.org> Mon, 14 Dec 2015 20:52:48 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..cf995d9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: appindicator3-sharp
+Section: cli-mono
+Priority: optional
+Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>
+Uploaders: Andrew Shadura <andrewsh@debian.org>
+Homepage: https://github.com/stsundermann/appindicator-sharp/
+Standards-Version: 3.9.6
+Build-Depends: cli-common-dev (>= 0.8~),
+ debhelper (>= 9),
+ dh-autoreconf,
+ gtk-sharp3,
+ libappindicator3-dev,
+ libdbusmenu-glib-dev,
+ libgtk-3-dev,
+ mono-devel (>= 1.0.0),
+ mono-gac,
+ mono-mcs,
+ monodoc-base,
+ quilt
+
+Package: libappindicator3-0.1-cil
+Architecture: any
+Depends: ${cli:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Description: CLI binding for appindicator3 using GObject introspection
+ This package provides the appindicator3-sharp assembly that allows CLI (.NET)
+ programs to use the Appindicator3 library.
+
+Package: libappindicator3-0.1-cil-dev
+Architecture: any
+Depends: libappindicator3-0.1-cil (= ${binary:Version}), ${misc:Depends}
+Description: CLI binding for libappindicator3 using GObject introspection
+ appindicator3-sharp assembly allows CLI (.NET) programs to use the
+ Appindicator3 library.
+ .
+ This package contains development files for Appindicator# and should be used
+ for compilation.
+
+Package: monodoc-appindicator3-0.1-manual
+Architecture: all
+Section: doc
+Priority: extra
+Depends: monodoc-manual, ${misc:Depends}
+Description: compiled XML documentation for Appindicator3#
+ The MonoDoc Project is the documentation framework of the Mono project which
+ provides detailed API documentation for all Mono components and the Mono CLI
+ implementation.
+ .
+ This package contains the compiled XML documentation for Appindicator3# and
+ MonoDoc.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..469002a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: appindicator3-sharp
+Source: https://github.com/stsundermann/appindicator-sharp/archive/master.zip
+
+Files: *
+Copyright: 2013 Stephan Sundermann <stephansundermann@gmail.com>
+License: LGPL-3+
+
+Files: debian/*
+Copyright: 2013-2015 Thanh Tung Nguyen <thngtong@gmail.com>
+License: LGPL-3+
+
+License: LGPL-3+
+ This program 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 3 of the License, or (at your option) any
+ later version.
+ .
+ This package 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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public License
+ version 3 can be found in "/usr/share/common-licenses/LGPL-3".
diff --git a/debian/libappindicator3-0.1-cil-dev.install b/debian/libappindicator3-0.1-cil-dev.install
new file mode 100644
index 0000000..d7f2ad0
--- /dev/null
+++ b/debian/libappindicator3-0.1-cil-dev.install
@@ -0,0 +1,2 @@
+usr/lib/pkgconfig
+usr/share
diff --git a/debian/libappindicator3-0.1-cil.install b/debian/libappindicator3-0.1-cil.install
new file mode 100644
index 0000000..9adaefc
--- /dev/null
+++ b/debian/libappindicator3-0.1-cil.install
@@ -0,0 +1,3 @@
+usr/lib/mono/gac/appindicator3-sharp/12.10.*/* usr/lib/cli/appindicator3-sharp-0.1
+usr/lib/libappindicator3sharpglue-12.10.0.so usr/lib/cli/appindicator3-sharp-0.1
+debian/appindicator3-sharp.dll.config usr/lib/cli/appindicator3-sharp-0.1 \ No newline at end of file
diff --git a/debian/libappindicator3-0.1-cil.installcligac b/debian/libappindicator3-0.1-cil.installcligac
new file mode 100644
index 0000000..0b78f17
--- /dev/null
+++ b/debian/libappindicator3-0.1-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/appindicator3-sharp-0.1/appindicator3-sharp.dll
diff --git a/debian/monodoc-appindicator3-0.1-manual.install b/debian/monodoc-appindicator3-0.1-manual.install
new file mode 100644
index 0000000..b4721fc
--- /dev/null
+++ b/debian/monodoc-appindicator3-0.1-manual.install
@@ -0,0 +1 @@
+usr/lib/monodoc
diff --git a/debian/patches/01-pkgconfig_fixes.patch b/debian/patches/01-pkgconfig_fixes.patch
new file mode 100644
index 0000000..e045a7e
--- /dev/null
+++ b/debian/patches/01-pkgconfig_fixes.patch
@@ -0,0 +1,22 @@
+Description: Fix a few things in pkgconfig file
+Author: Thanh Tung Nguyen <thngtong@gmailcom>
+Forwarded: no
+Last-Update: 2013-12-11
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/appindicator3-sharp-0.1.pc.in
++++ b/appindicator3-sharp-0.1.pc.in
+@@ -1,9 +1,12 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ libdir=@libdir@
++pkglibdir=${exec_prefix}/lib/cli/@ASSEMBLY_PC@
++gapidir=${exec_prefix}/share/gapi-3.0
+
+ Name: @ASSEMBLY_TITLE@
+ Description: @ASSEMBLY_DESCRIPTION@
+ Version: @VERSION@
+ Requires:
+-Libs: -r:${libdir}/mono/@ASSEMBLY_NAME@/@ASSEMBLY_NAME@.dll
++Libs: -r:${pkglibdir}/@ASSEMBLY_NAME@.dll
++Cflags: -I:${gapidir}/@ASSEMBLY_NAME@-api.xml
diff --git a/debian/patches/02-generated_sources_path.patch b/debian/patches/02-generated_sources_path.patch
new file mode 100644
index 0000000..9432fe3
--- /dev/null
+++ b/debian/patches/02-generated_sources_path.patch
@@ -0,0 +1,16 @@
+Description: Fix generated code path
+Author: Thanh Tung Nguyen <thngtong@gmail.com>
+Last-Update: 2015-01-18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/sources/Makefile.am
++++ b/sources/Makefile.am
+@@ -42,7 +42,7 @@
+
+ $(DLL): $(build_sources) generated-stamp
+ $(CSC) -nowarn:169 -unsafe -target:library $(GTK_SHARP_LIBS) \
+- $(build_sources) generated/*.cs -out:$(DLL)
++ $(build_sources) generated/*/*.cs -out:$(DLL)
+
+ install-data-local:
+ echo "$(GACUTIL) /i $(DLL) /f $(GACUTIL_FLAGS)"; \
diff --git a/debian/patches/03-ac_config_macro_dir.patch b/debian/patches/03-ac_config_macro_dir.patch
new file mode 100644
index 0000000..91868cd
--- /dev/null
+++ b/debian/patches/03-ac_config_macro_dir.patch
@@ -0,0 +1,23 @@
+Description: Add correctly the local macro directory
+Author: Thanh Tung Nguyen <thngtong@gmail.com>
+Last-Updated: 2013-11-02
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,7 +16,7 @@
+ ASSEMBLY_SHORTNAME="appindicator3"
+ ASSEMBLY_TITLE="AppIndicator3#"
+ ASSEMBLY_VERSION="12.10.0"
+-AC_SUBST([ACLOCAL_AMFLAGS], ["-I m4 \${ACLOCAL_FLAGS}"])
++AC_CONFIG_MACRO_DIR([m4])
+
+ AC_SUBST(ASSEMBLY_NAME)
+ AC_SUBST(ASSEMBLY_VERSION)
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,3 +1,5 @@
++ACLOCAL_AMFLAGS = -I m4
++
+ SUBDIRS = sources sources/glue doc
+
+ pkgconfigdir = $(libdir)/pkgconfig
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5ebea47
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+01-pkgconfig_fixes.patch
+02-generated_sources_path.patch
+03-ac_config_macro_dir.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e58e75f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+
+CONFIG=--prefix=/usr --libdir=/usr/lib
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf stamp-h sources/generated/*
+
+override_dh_auto_configure:
+ dh_auto_configure --parallel -- $(CONFIG)
+
+override_dh_auto_install:
+ dh_auto_install --parallel --destdir=$(CURDIR)/debian/tmp
+
+override_dh_makeshlibs:
+ dh_makeshlibs -n -plibappindicator3-0.1-cil
+ dh_makeshlibs --remaining-packages
+
+%:
+ dh $@ --parallel --with autoreconf --with cli
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)