From 2f07126a7a7fe65f61dfc93ce7fa6457671c0ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 3 Jun 2017 10:28:47 +0200 Subject: Use the automatic debug symbol packages --- debian/rules | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index f8d940b..4b0e1b1 100755 --- a/debian/rules +++ b/debian/rules @@ -10,18 +10,10 @@ B_DATE:=$(shell LC_ALL=C date --utc -d "$(CHDATE)") dh $@ override_dh_auto_configure: - ./configure --prefix=/usr --libexec=/usr/lib --disable-schemas-compile + ./configure --prefix=/usr --libexec=/usr/lib --disable-schemas-compile override_dh_install: dh_install - # Touch the generated C files with mtime of debian/changelog, - # find -type f -name '*.c' -exec touch -r $(CURDIR)/debian/changelog {} \; - # then install these C files required for debugging into the shotwell-dbg package. - mkdir -p debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source - find -type f -name '*.c' -exec cp --parent '{}' debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source/ ';' - cd debian/shotwell-dbg/usr/share/doc/shotwell-dbg && \ - tar --mode=go=rX,u+rw,a-s --mtime="$(B_DATE)" -cJf temp-source.tar.xz temp-source - rm -fr debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source # Remove unwanted la files rm -f debian/shotwell/usr/lib/shotwell/plugins/builtin/*.la rm -f debian/shotwell/usr/lib/*.la @@ -29,9 +21,6 @@ override_dh_install: override_dh_installchangelogs: dh_installchangelogs NEWS -override_dh_strip: - dh_strip --dbg-package=shotwell-dbg - override_dh_compress: dh_compress -X.tar.xz -- cgit v1.2.3 From dd658f644920cb305f6090cd441d5cbc3e2609a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 3 Jun 2017 12:22:07 +0200 Subject: Use the upstream ChangeLog as changelog and add NEWS to docs --- debian/rules | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 4b0e1b1..9c1d293 100755 --- a/debian/rules +++ b/debian/rules @@ -17,13 +17,3 @@ override_dh_install: # Remove unwanted la files rm -f debian/shotwell/usr/lib/shotwell/plugins/builtin/*.la rm -f debian/shotwell/usr/lib/*.la - -override_dh_installchangelogs: - dh_installchangelogs NEWS - -override_dh_compress: - dh_compress -X.tar.xz - -override_dh_installman: - dh_installman - rm -fr debian/shotwell-common/usr/share/man -- cgit v1.2.3 From 18e6cff861ee839166613feb4354af70eac0a62d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 4 Jun 2017 10:34:47 +0200 Subject: Use dh_auto_configure instead of ./configure. Update rm paths for multiarch --- debian/rules | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 9c1d293..7b659ca 100755 --- a/debian/rules +++ b/debian/rules @@ -10,10 +10,13 @@ B_DATE:=$(shell LC_ALL=C date --utc -d "$(CHDATE)") dh $@ override_dh_auto_configure: - ./configure --prefix=/usr --libexec=/usr/lib --disable-schemas-compile + dh_auto_configure -- --prefix=/usr \ + --libexec=/usr/lib \ + --disable-schemas-compile override_dh_install: dh_install # Remove unwanted la files - rm -f debian/shotwell/usr/lib/shotwell/plugins/builtin/*.la - rm -f debian/shotwell/usr/lib/*.la + rm -f debian/shotwell/usr/lib/*/shotwell/plugins/builtin/*.la + rm -f debian/shotwell/usr/lib/*/*shotwell*.a + rm -f debian/shotwell/usr/lib/*/*shotwell*.la -- cgit v1.2.3