[gexiv2] debian: Update
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2] debian: Update
- Date: Wed, 16 Nov 2016 22:16:25 +0000 (UTC)
commit 17f6276eb946d8978b90b7d47cd186ad8280f0dd
Author: Jens Georg <mail jensge org>
Date: Sat Oct 1 12:58:58 2016 +0200
debian: Update
- Include gir file
- Create gtk-doc
- Create -dbg package
Signed-off-by: Jens Georg <mail jensge org>
debian/control | 18 +++++++++++++++++
debian/gir1.2-gexiv2-0.10.install | 1 +
debian/libgexiv2-dev.install | 1 +
debian/libgexiv2-doc.install | 1 +
debian/rules | 38 ++++++++++++++++++++++--------------
5 files changed, 44 insertions(+), 15 deletions(-)
---
diff --git a/debian/control b/debian/control
index 960c924..a3f3c08 100644
--- a/debian/control
+++ b/debian/control
@@ -2,6 +2,7 @@ Source: gexiv2
Priority: extra
Maintainer: Jens Georg <mail jensge org>
Build-Depends: debhelper (>= 7),
+ gtk-doc-tools,
autoconf,
autotools-dev,
automake,
@@ -27,6 +28,23 @@ Description: GObject-based wrapper around the Exiv2 library (development files)
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic
features of Exiv2 available to GNOME applications.
+Package: libgexiv2-dbg
+Section: debug
+Architecture: any
+Depends: ${misc:Depends},
+ libgexiv2-2 (= ${binary:Version}),
+Description: GObject-based wrapper around the Exiv2 library (development files)
+ gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic
+ features of Exiv2 available to GNOME applications.
+
+Package: libgexiv2-doc
+Section: doc
+Architecture: any
+Depends: ${misc:Depends}
+Description: GObject-based wrapper around the Exiv2 library (development files)
+ gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic
+ features of Exiv2 available to GNOME applications.
+
Package: libgexiv2-2
Section: libs
Architecture: any
diff --git a/debian/gir1.2-gexiv2-0.10.install b/debian/gir1.2-gexiv2-0.10.install
new file mode 100644
index 0000000..60816e4
--- /dev/null
+++ b/debian/gir1.2-gexiv2-0.10.install
@@ -0,0 +1 @@
+usr/lib/girepository-1.0/GExiv2-0.10.typelib
diff --git a/debian/libgexiv2-dev.install b/debian/libgexiv2-dev.install
index d6f0319..d21a01a 100644
--- a/debian/libgexiv2-dev.install
+++ b/debian/libgexiv2-dev.install
@@ -3,3 +3,4 @@ usr/lib/lib*.so
usr/lib/*.la
usr/lib/pkgconfig/*.pc
usr/share/vala/vapi/*.vapi
+usr/share/gir-1.0/*.gir
diff --git a/debian/libgexiv2-doc.install b/debian/libgexiv2-doc.install
new file mode 100644
index 0000000..d98eda9
--- /dev/null
+++ b/debian/libgexiv2-doc.install
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/gexiv2/
diff --git a/debian/rules b/debian/rules
index 42daac4..e301ea4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,30 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
-configure:
- ./autogen.sh
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-build-arch: configure
- dh $@
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-build: configure
- dh $@
%:
- dh $@
+ dh $@ --with autotools_dev --parallel
+
+
+# dh_make generated override targets
+# This is example for Cmake (See https://bugs.debian.org/641051 )
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-gtk-doc
+
+override_dh_strip:
+ dh_strip --dbg-package=libgexiv2-dbg
+
+override_dh_install:
+ dh_install --list-missing
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]