r51553 - in /packages/unstable/anjuta-extras/debian: changelog control control.in description.sh rules
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Wed Oct 26 14:55:29 UTC 2016
Author: biebl
Date: Wed Oct 26 14:55:28 2016
New Revision: 51553
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=51553
Log:
Use the substvar mechanism to generate the package description. This
simplifies debian/rules.
Added:
packages/unstable/anjuta-extras/debian/description.sh (with props)
Modified:
packages/unstable/anjuta-extras/debian/changelog
packages/unstable/anjuta-extras/debian/control
packages/unstable/anjuta-extras/debian/control.in
packages/unstable/anjuta-extras/debian/rules
Modified: packages/unstable/anjuta-extras/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/anjuta-extras/debian/changelog?rev=51553&op=diff
==============================================================================
--- packages/unstable/anjuta-extras/debian/changelog [utf-8] (original)
+++ packages/unstable/anjuta-extras/debian/changelog [utf-8] Wed Oct 26 14:55:28 2016
@@ -1,3 +1,10 @@
+anjuta-extras (3.10.0-5) UNRELEASED; urgency=medium
+
+ * Use the substvar mechanism to generate the package description. This
+ simplifies debian/rules.
+
+ -- Michael Biebl <biebl at debian.org> Wed, 26 Oct 2016 16:53:28 +0200
+
anjuta-extras (3.10.0-4) unstable; urgency=medium
* Drop obsolete Replaces from pre-wheezy.
Modified: packages/unstable/anjuta-extras/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/anjuta-extras/debian/control?rev=51553&op=diff
==============================================================================
--- packages/unstable/anjuta-extras/debian/control [utf-8] (original)
+++ packages/unstable/anjuta-extras/debian/control [utf-8] Wed Oct 26 14:55:28 2016
@@ -1,3 +1,7 @@
+# This file is autogenerated. DO NOT EDIT!
+#
+# Modifications should be made to debian/control.in instead.
+# This file is regenerated automatically in the clean target.
Source: anjuta-extras
Section: gnome
Priority: optional
@@ -31,7 +35,4 @@
anjuta-extras contain a set of plugins for anjuta, GNOME development IDE.
.
The following plugins are included:
- * Sample Plugin: Sample Plugin for Anjuta.
- * Scintilla Editor: An alternate editor based on Scintilla
- * Scratchbox: Change build commands to use scratchbox 1 or 2
-
+ ${Description}
Modified: packages/unstable/anjuta-extras/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/anjuta-extras/debian/control.in?rev=51553&op=diff
==============================================================================
--- packages/unstable/anjuta-extras/debian/control.in [utf-8] (original)
+++ packages/unstable/anjuta-extras/debian/control.in [utf-8] Wed Oct 26 14:55:28 2016
@@ -31,4 +31,4 @@
anjuta-extras contain a set of plugins for anjuta, GNOME development IDE.
.
The following plugins are included:
- @PLUGINS_DESCRIPTION@
+ ${Description}
Added: packages/unstable/anjuta-extras/debian/description.sh
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/anjuta-extras/debian/description.sh?rev=51553&op=file
==============================================================================
--- packages/unstable/anjuta-extras/debian/description.sh (added)
+++ packages/unstable/anjuta-extras/debian/description.sh [utf-8] Wed Oct 26 14:55:28 2016
@@ -0,0 +1,4 @@
+#!/bin/sh
+echo -n "Description="
+find . -iname \*.plugin.in | sort | while read f; do cat $f | awk -f debian/desktop2description.awk | sed 's/.*/ &\$\{Newline\}/' | tr -d '\n'; done
+echo
Propchange: packages/unstable/anjuta-extras/debian/description.sh
------------------------------------------------------------------------------
svn:executable = *
Modified: packages/unstable/anjuta-extras/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/anjuta-extras/debian/rules?rev=51553&op=diff
==============================================================================
--- packages/unstable/anjuta-extras/debian/rules [utf-8] (original)
+++ packages/unstable/anjuta-extras/debian/rules [utf-8] Wed Oct 26 14:55:28 2016
@@ -1,6 +1,5 @@
#!/usr/bin/make -f
-DISABLE_UPDATE_UPLOADERS := 1
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk
@@ -11,12 +10,8 @@
LDFLAGS += -Wl,--as-needed
DEB_DH_MAKESHLIBS_ARGS_anjuta-extras := --no-act
-clean::
- plugins_desc_script="/^ @PLUGINS_DESCRIPTION@\$$/ c \\$$(find . -iname \*.plugin.in | sort | while read f; do cat $$f | awk -f debian/desktop2description.awk; done | sed 's/.*/ &\\/'; echo " ")"; \
- sed \
- -e "s#@GNOME_TEAM@#$(UPLOADERS)#g" \
- -e "$$plugins_desc_script" \
- debian/control.in > debian/control
+binary-predeb/anjuta-extras::
+ sh debian/description.sh >> debian/anjuta-extras.substvars
binary-install/anjuta-extras::
find debian/$(cdbs_curpkg) -name \*.la -exec rm -f {} \;
More information about the pkg-gnome-commits
mailing list