[Python-apps-commits] r3408 - in packages/txt2tags/trunk (9 files)

jmw-guest at users.alioth.debian.org jmw-guest at users.alioth.debian.org
Sun Aug 9 00:44:20 UTC 2009


    Date: Sunday, August 9, 2009 @ 00:44:19
  Author: jmw-guest
Revision: 3408

Set up quilt patch system and convert all changes to patches

Added:
  packages/txt2tags/trunk/debian/patches/
  packages/txt2tags/trunk/debian/patches/doc-makefile
  packages/txt2tags/trunk/debian/patches/po-makefile
  packages/txt2tags/trunk/debian/patches/series
Modified:
  packages/txt2tags/trunk/debian/changelog
  packages/txt2tags/trunk/debian/control
  packages/txt2tags/trunk/debian/rules
Deleted:
  packages/txt2tags/trunk/doc/
  packages/txt2tags/trunk/po/

Modified: packages/txt2tags/trunk/debian/changelog
===================================================================
--- packages/txt2tags/trunk/debian/changelog	2009-08-09 00:22:58 UTC (rev 3407)
+++ packages/txt2tags/trunk/debian/changelog	2009-08-09 00:44:19 UTC (rev 3408)
@@ -28,8 +28,9 @@
     dh_installman)
   * Convert packaging to use debhelper's auto-sequencer
   * Update information in debian/copyright and debian/README.Debian
+  * Use quilt patch system; convert all current changes to quilt patches
 
- -- Jonathan Wiltshire <debian at jwiltshire.org.uk>  Sun, 09 Aug 2009 00:39:09 +0100
+ -- Jonathan Wiltshire <debian at jwiltshire.org.uk>  Sun, 09 Aug 2009 01:43:41 +0100
 
 txt2tags (2.3-1) unstable; urgency=low
 

Modified: packages/txt2tags/trunk/debian/control
===================================================================
--- packages/txt2tags/trunk/debian/control	2009-08-09 00:22:58 UTC (rev 3407)
+++ packages/txt2tags/trunk/debian/control	2009-08-09 00:44:19 UTC (rev 3408)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Uploaders: Jonathan Wiltshire <debian at jwiltshire.org.uk>, "Ales Zabala Alava (Shagi)" <shagi at gisa-elkartea.org>, Eder L. Marques <eder at edermarques.net>
-Build-Depends: debhelper (>= 7.2.8)
+Build-Depends: debhelper (>= 7.2.8), quilt (>= 0.46-7)
 Build-Depends-Indep: gettext
 Standards-Version: 3.8.0
 Homepage: http://txt2tags.sourceforge.net/

Added: packages/txt2tags/trunk/debian/patches/doc-makefile
===================================================================
--- packages/txt2tags/trunk/debian/patches/doc-makefile	                        (rev 0)
+++ packages/txt2tags/trunk/debian/patches/doc-makefile	2009-08-09 00:44:19 UTC (rev 3408)
@@ -0,0 +1,37 @@
+Build manual pages for all languages for txt2tags
+--- /dev/null
++++ txt2tags-2.5/doc/Makefile
+@@ -0,0 +1,33 @@
++#!/usr/bin/make -f
++# -*- makefile -*-
++#
++#    Copyright (C) 2009 Jonathan Wiltshire
++#
++#    This program is free software; you can redistribute it and/or modify
++#    it under the terms of the GNU General Public License as published by
++#    the Free Software Foundation; either version 2 of the License, or
++#    (at your option) any later version.
++#
++#    This program is distributed in the hope that it will be useful,
++#    but WITHOUT ANY WARRANTY; without even the implied warranty of
++#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++#    GNU General Public License for more details.
++#
++#    You should have received a copy of the GNU General Public License along
++#    with this program; if not, write to the Free Software Foundation, Inc.,
++#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
++
++PACKAGE = txt2tags
++SECTION = 1
++
++PAGES = manpage-ca.man manpage-it.man manpage-es.man manpage.man \
++        manpage-zh.man manpage-fr.man manpage-pt.man
++
++clean:
++	rm -f *.$(SECTION)
++
++build:
++	for p in $(PAGES); do \
++            s=`basename $$p .man | sed -e 's/manpage/$(PACKAGE)/;s/-/./'`; \
++            cp "$$p" "$$s.$(SECTION)"; \
++	done

Added: packages/txt2tags/trunk/debian/patches/po-makefile
===================================================================
--- packages/txt2tags/trunk/debian/patches/po-makefile	                        (rev 0)
+++ packages/txt2tags/trunk/debian/patches/po-makefile	2009-08-09 00:44:19 UTC (rev 3408)
@@ -0,0 +1,25 @@
+Build and install l10n files for txt2tags
+--- /dev/null
++++ txt2tags-2.5/po/Makefile
+@@ -0,0 +1,21 @@
++INSTALL= /usr/bin/install -c
++INSTALLNLSDIR=$(BASEDIR)/usr/share/locale
++
++PACKAGE = txt2tags
++
++CATALOGS = de.po es.po fi.po fr.po hu.po it.po pt_BR.po zh_CN.po
++%.mo: %.po
++	msgfmt --statistics --check --verbose --output-file=$@ $<
++
++clean:
++	rm -f *.mo
++
++distclean: clean
++
++install: $(CATALOGS)
++	for n in $(CATALOGS); do \
++	    l=`basename $$n .po`; \
++	    $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l; \
++	    $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
++	    $(INSTALL) -m 644 $$n $(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(PACKAGE).mo; \
++	done

Added: packages/txt2tags/trunk/debian/patches/series
===================================================================
--- packages/txt2tags/trunk/debian/patches/series	                        (rev 0)
+++ packages/txt2tags/trunk/debian/patches/series	2009-08-09 00:44:19 UTC (rev 3408)
@@ -0,0 +1,2 @@
+po-makefile
+doc-makefile

Modified: packages/txt2tags/trunk/debian/rules
===================================================================
--- packages/txt2tags/trunk/debian/rules	2009-08-09 00:22:58 UTC (rev 3407)
+++ packages/txt2tags/trunk/debian/rules	2009-08-09 00:44:19 UTC (rev 3408)
@@ -3,11 +3,14 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-override_dh_auto_clean: 
+override_dh_clean:
+	dh_quilt_patch
 	cd doc && $(MAKE) clean
 	cd po && $(MAKE) clean
+	dh_quilt_unpatch
 
 override_dh_auto_build:
+	dh_quilt_patch
 	dh_auto_build
 	cd doc && $(MAKE) build
 




More information about the Python-apps-commits mailing list