r50290 - in /packages/unstable/gedit-plugins/debian: changelog control control.in description.sh rules
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Sun Sep 11 01:29:03 UTC 2016
Author: biebl
Date: Sun Sep 11 01:29:03 2016
New Revision: 50290
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=50290
Log:
Use the substvar mechanism to generate the package description. This
simplifies debian/rules.
Added:
packages/unstable/gedit-plugins/debian/description.sh (with props)
Modified:
packages/unstable/gedit-plugins/debian/changelog
packages/unstable/gedit-plugins/debian/control
packages/unstable/gedit-plugins/debian/control.in
packages/unstable/gedit-plugins/debian/rules
Modified: packages/unstable/gedit-plugins/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gedit-plugins/debian/changelog?rev=50290&op=diff
==============================================================================
--- packages/unstable/gedit-plugins/debian/changelog [utf-8] (original)
+++ packages/unstable/gedit-plugins/debian/changelog [utf-8] Sun Sep 11 01:29:03 2016
@@ -3,6 +3,8 @@
* Add Enhances: gedit.
* Drop upper version restriction on gedit. It seems to work fine with newer
versions of gedit and the package would be uninstallable otherwise.
+ * Use the substvar mechanism to generate the package description. This
+ simplifies debian/rules.
-- Michael Biebl <biebl at debian.org> Sat, 10 Sep 2016 20:56:32 +0200
Modified: packages/unstable/gedit-plugins/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gedit-plugins/debian/control?rev=50290&op=diff
==============================================================================
--- packages/unstable/gedit-plugins/debian/control [utf-8] (original)
+++ packages/unstable/gedit-plugins/debian/control [utf-8] Sun Sep 11 01:29:03 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: gedit-plugins
Section: gnome
Priority: optional
@@ -55,22 +59,4 @@
gedit-plugins contain a set of plugins for gedit, GNOME's text editor.
.
The following plugins are included:
- * Bookmarks: Easy document navigation with bookmarks
- * Bracket Completion: Automatically adds closing brackets.
- * Character Map: Insert special characters just by clicking on them.
- * Code Comment: Comment out or uncomment a selected block of code.
- * Color Picker: Pick a color from a dialog and insert its hexadecimal representation.
- * Color Scheme Editor: Source code color scheme editor
- * Commander: Command line interface for advanced editing
- * Dashboard: A Dashboard for new tabs
- * Draw Spaces: Draw spaces and tabs
- * Find in Files: Find text in all files of a folder.
- * Git: Highlight lines that have been changed since the last commit
- * Join/Split Lines: Join several lines or split long ones
- * Multi Edit: Edit document in multiple places at once
- * Smart Spaces: Forget you're not using tabulations.
- * SyncTeX: Synchronize between LaTeX and PDF with gedit and evince.
- * Embedded Terminal: Embed a terminal in the bottom pane.
- * Text Size: Easily increase and decrease the text size
- * Word Completion: Word completion using the completion framework
-
+ ${Description}
Modified: packages/unstable/gedit-plugins/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gedit-plugins/debian/control.in?rev=50290&op=diff
==============================================================================
--- packages/unstable/gedit-plugins/debian/control.in [utf-8] (original)
+++ packages/unstable/gedit-plugins/debian/control.in [utf-8] Sun Sep 11 01:29:03 2016
@@ -55,4 +55,4 @@
gedit-plugins contain a set of plugins for gedit, GNOME's text editor.
.
The following plugins are included:
- @PLUGINS_DESCRIPTION@
+ ${Description}
Added: packages/unstable/gedit-plugins/debian/description.sh
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gedit-plugins/debian/description.sh?rev=50290&op=file
==============================================================================
--- packages/unstable/gedit-plugins/debian/description.sh (added)
+++ packages/unstable/gedit-plugins/debian/description.sh [utf-8] Sun Sep 11 01:29:03 2016
@@ -0,0 +1,5 @@
+#!/bin/sh
+echo -n "Description="
+#find . -iname \*.desktop.in.in | sort | while read f; do cat $f | awk -f debian/desktop2description.awk | sed 's/.*/ &\\/' | tr -d '\n'; echo -n '${Newline}'; done
+find . -iname \*.desktop.in.in | sort | while read f; do cat $f | awk -f debian/desktop2description.awk | sed 's/.*/ &\$\{Newline\}/' | tr -d '\n'; done
+echo
Propchange: packages/unstable/gedit-plugins/debian/description.sh
------------------------------------------------------------------------------
svn:executable = *
Modified: packages/unstable/gedit-plugins/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gedit-plugins/debian/rules?rev=50290&op=diff
==============================================================================
--- packages/unstable/gedit-plugins/debian/rules [utf-8] (original)
+++ packages/unstable/gedit-plugins/debian/rules [utf-8] Sun Sep 11 01:29:03 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
@@ -15,12 +14,8 @@
DEB_PYTHON3_MODULE_PACKAGES := gedit-plugins
export PYTHON=/usr/bin/python3
-clean::
- plugins_desc_script="/^ @PLUGINS_DESCRIPTION@\$$/ c \\$$(find . -iname \*.desktop.in.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/gedit-plugins::
+ sh debian/description.sh >> debian/gedit-plugins.substvars
binary-install/gedit-plugins::
find debian/$(cdbs_curpkg) -name '*.la' -delete
More information about the pkg-gnome-commits
mailing list