r51452 - in /desktop/unstable/gnome-applets/debian: changelog control control.in rules

mitya57 at users.alioth.debian.org mitya57 at users.alioth.debian.org
Sun Oct 16 20:02:27 UTC 2016


Author: mitya57
Date: Sun Oct 16 20:02:26 2016
New Revision: 51452

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=51452
Log:
Convert from CDBS to debhelper.

Modified:
    desktop/unstable/gnome-applets/debian/changelog
    desktop/unstable/gnome-applets/debian/control
    desktop/unstable/gnome-applets/debian/control.in
    desktop/unstable/gnome-applets/debian/rules

Modified: desktop/unstable/gnome-applets/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-applets/debian/changelog?rev=51452&op=diff
==============================================================================
--- desktop/unstable/gnome-applets/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gnome-applets/debian/changelog	[utf-8] Sun Oct 16 20:02:26 2016
@@ -3,6 +3,7 @@
   * New upstream release.
   * Bump libgtk-3-dev dependency to 3.20.0, following configure.ac.
   * Bump libpanel-applet-dev dependency to 3.22.0, following configure.ac.
+  * Convert from CDBS to debhelper.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sun, 16 Oct 2016 18:25:33 +0300
 

Modified: desktop/unstable/gnome-applets/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-applets/debian/control?rev=51452&op=diff
==============================================================================
--- desktop/unstable/gnome-applets/debian/control	[utf-8] (original)
+++ desktop/unstable/gnome-applets/debian/control	[utf-8] Sun Oct 16 20:02:26 2016
@@ -7,8 +7,7 @@
 Priority: optional
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
 Uploaders: Dmitry Shachnev <mitya57 at debian.org>, Laurent Bigonville <bigon at debian.org>
-Build-Depends: cdbs (>= 0.4.90~),
-               dh-autoreconf,
+Build-Depends: dh-autoreconf,
                debhelper (>= 9.20160114~),
                libgtk-3-dev (>= 3.20.0),
                libglib2.0-dev (>= 2.44.0),
@@ -33,7 +32,7 @@
                docbook-utils,
                yelp-tools,
                libcpufreq-dev,
-               gnome-pkg-tools (>= 0.10),
+               gnome-pkg-tools (>= 0.17),
                libupower-glib-dev (>= 0.99)
 Standards-Version: 3.9.8
 Homepage: https://wiki.gnome.org/Projects/GnomeApplets

Modified: desktop/unstable/gnome-applets/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-applets/debian/control.in?rev=51452&op=diff
==============================================================================
--- desktop/unstable/gnome-applets/debian/control.in	[utf-8] (original)
+++ desktop/unstable/gnome-applets/debian/control.in	[utf-8] Sun Oct 16 20:02:26 2016
@@ -3,8 +3,7 @@
 Priority: optional
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
 Uploaders: @GNOME_TEAM@
-Build-Depends: cdbs (>= 0.4.90~),
-               dh-autoreconf,
+Build-Depends: dh-autoreconf,
                debhelper (>= 9.20160114~),
                libgtk-3-dev (>= 3.20.0),
                libglib2.0-dev (>= 2.44.0),
@@ -29,7 +28,7 @@
                docbook-utils,
                yelp-tools,
                libcpufreq-dev,
-               gnome-pkg-tools (>= 0.10),
+               gnome-pkg-tools (>= 0.17),
                libupower-glib-dev (>= 0.99)
 Standards-Version: 3.9.8
 Homepage: https://wiki.gnome.org/Projects/GnomeApplets

Modified: desktop/unstable/gnome-applets/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-applets/debian/rules?rev=51452&op=diff
==============================================================================
--- desktop/unstable/gnome-applets/debian/rules	[utf-8] (original)
+++ desktop/unstable/gnome-applets/debian/rules	[utf-8] Sun Oct 16 20:02:26 2016
@@ -1,34 +1,31 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/autoreconf.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/gnome.mk
-include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
--include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
+export DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
-LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+%:
+	dh $@ --with autoreconf,gnome
 
-DATADIR = /usr/share/gnome-applets
-
-DEB_CONFIGURE_EXTRA_FLAGS += \
+override_dh_auto_configure:
+	dh_auto_configure -- --libdir=$$\{prefix}/lib \
 	--enable-ipv6 \
 	--enable-suid=no
 
-MANPAGES += debian/cpufreq-selector.1
-DEB_INSTALL_CHANGELOGS_ALL = ./NEWS
+override_dh_installchangelogs:
+	dh_installchangelogs ./NEWS
 
-DEB_DH_STRIP_ARGS_ALL += --dbgsym-migration='gnome-applets-dbg (<< 3.20.0-1~)'
-DEB_DH_MAKESHLIBS_ARGS_gnome-applets += --no-act
+override_dh_installdocs:
+	dh_installdocs -A ./AUTHORS
 
-# Build manual pages
-build/gnome-applets:: $(MANPAGES)
+override_dh_strip:
+	dh_strip --dbgsym-migration='gnome-applets-dbg (<< 3.20.0-1~)'
 
-debian/cpufreq-selector.1: debian/cpufreq-selector.sgml
-	docbook-to-man $< > $@
+override_dh_auto_build:
+	dh_auto_build
+	docbook-to-man debian/cpufreq-selector.sgml > debian/cpufreq-selector.1
 
-binary-install/gnome-applets::
-	rm debian/gnome-applets/usr/lib/gnome-applets/5.0/libwindow-picker-applet.la
+override_dh_install:
+	rm -f debian/tmp/usr/lib/gnome-applets/*.la
+	dh_install --list-missing
 
-clean::
-	rm -f $(MANPAGES)
+override_dh_auto_clean:
+	rm -f debian/cpufreq-selector.1




More information about the pkg-gnome-commits mailing list