r24498 - in /trunk/libsyntax-highlight-engine-kate-perl/debian: ./ README.source changelog compat control copyright libsyntax-highlight-engine-kate-perl.examples repack.sh rules watch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Aug 23 02:54:26 UTC 2008


Author: gregoa
Date: Sat Aug 23 02:54:24 2008
New Revision: 24498

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24498
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libsyntax-highlight-engine-kate-perl/debian/
    trunk/libsyntax-highlight-engine-kate-perl/debian/README.source
    trunk/libsyntax-highlight-engine-kate-perl/debian/changelog
    trunk/libsyntax-highlight-engine-kate-perl/debian/compat
    trunk/libsyntax-highlight-engine-kate-perl/debian/control
    trunk/libsyntax-highlight-engine-kate-perl/debian/copyright
    trunk/libsyntax-highlight-engine-kate-perl/debian/libsyntax-highlight-engine-kate-perl.examples
    trunk/libsyntax-highlight-engine-kate-perl/debian/repack.sh
    trunk/libsyntax-highlight-engine-kate-perl/debian/rules   (with props)
    trunk/libsyntax-highlight-engine-kate-perl/debian/watch

Added: trunk/libsyntax-highlight-engine-kate-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/debian/README.source?rev=24498&op=file
==============================================================================
--- trunk/libsyntax-highlight-engine-kate-perl/debian/README.source (added)
+++ trunk/libsyntax-highlight-engine-kate-perl/debian/README.source Sat Aug 23 02:54:24 2008
@@ -1,0 +1,5 @@
+The +dfsg version is produced by removing
+samples/highlight.asm-avr and samples/highlight.java 
+from the upstream tarball.
+
+This can be automated with debian/repack.sh.

Added: trunk/libsyntax-highlight-engine-kate-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/debian/changelog?rev=24498&op=file
==============================================================================
--- trunk/libsyntax-highlight-engine-kate-perl/debian/changelog (added)
+++ trunk/libsyntax-highlight-engine-kate-perl/debian/changelog Sat Aug 23 02:54:24 2008
@@ -1,0 +1,5 @@
+libsyntax-highlight-engine-kate-perl (0.04+dfsg-1) unstable; urgency=low
+
+  * Initial release (closes: #495368).
+
+ -- gregor herrmann <gregoa at debian.org>  Fri, 22 Aug 2008 22:40:41 -0300

Added: trunk/libsyntax-highlight-engine-kate-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/debian/compat?rev=24498&op=file
==============================================================================
--- trunk/libsyntax-highlight-engine-kate-perl/debian/compat (added)
+++ trunk/libsyntax-highlight-engine-kate-perl/debian/compat Sat Aug 23 02:54:24 2008
@@ -1,0 +1,1 @@
+7

Added: trunk/libsyntax-highlight-engine-kate-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/debian/control?rev=24498&op=file
==============================================================================
--- trunk/libsyntax-highlight-engine-kate-perl/debian/control (added)
+++ trunk/libsyntax-highlight-engine-kate-perl/debian/control Sat Aug 23 02:54:24 2008
@@ -1,0 +1,21 @@
+Source: libsyntax-highlight-engine-kate-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl (>= 5.6.10-12)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: gregor herrmann <gregoa at debian.org>
+Standards-Version: 3.8.0
+Homepage: http://search.cpan.org/dist/Syntax-Highlight-Engine-Kate/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/
+
+Package: libsyntax-highlight-engine-kate-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description:  port to Perl of the syntax highlight engine of the Kate texteditor
+ Syntax::Highlight::Engine::Kate is a port to perl of the syntax highlight
+ engine of the Kate text editor.
+ .
+ The language xml files of kate have been rewritten to perl modules using a
+ script. These modules function as plugins to this module.

Added: trunk/libsyntax-highlight-engine-kate-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/debian/copyright?rev=24498&op=file
==============================================================================
--- trunk/libsyntax-highlight-engine-kate-perl/debian/copyright (added)
+++ trunk/libsyntax-highlight-engine-kate-perl/debian/copyright Sat Aug 23 02:54:24 2008
@@ -1,0 +1,35 @@
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Hans Jeuken (haje <at> toneel <dot> demon <dot> nl)
+Upstream-Source: http://search.cpan.org/dist/Syntax-Highlight-Engine-Kate/
+Upstream-Name: Syntax-Highlight-Engine-Kate
+X-Comment: The files samples/highlight.asm-avr and samples/highlight.java have
+ been removed from the upstream tarball because they don't contain a license.
+
+Files: *
+Copyright: 2006 by Hans Jeuken
+License: Artistic | GPL-1+
+ This library is free software; you can redistribute it and/or modify
+ it under the same terms as Perl itself, either Perl version 5.8.3 or,
+ at your option, any later version of Perl 5 you may have available.
+
+Files: debian/*
+Copyright: 2008, members of the Debian Perl Group
+ cf. debian/changelog
+License: Artistic | GPL-1+
+
+
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in /usr/share/common-licenses/Artistic
+
+License: GPL-1+
+    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 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'
+ 

Added: trunk/libsyntax-highlight-engine-kate-perl/debian/libsyntax-highlight-engine-kate-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/debian/libsyntax-highlight-engine-kate-perl.examples?rev=24498&op=file
==============================================================================
--- trunk/libsyntax-highlight-engine-kate-perl/debian/libsyntax-highlight-engine-kate-perl.examples (added)
+++ trunk/libsyntax-highlight-engine-kate-perl/debian/libsyntax-highlight-engine-kate-perl.examples Sat Aug 23 02:54:24 2008
@@ -1,0 +1,4 @@
+samples
+bin
+README
+

Added: trunk/libsyntax-highlight-engine-kate-perl/debian/repack.sh
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/debian/repack.sh?rev=24498&op=file
==============================================================================
--- trunk/libsyntax-highlight-engine-kate-perl/debian/repack.sh (added)
+++ trunk/libsyntax-highlight-engine-kate-perl/debian/repack.sh Sat Aug 23 02:54:24 2008
@@ -1,0 +1,50 @@
+#!/bin/sh
+# Repackage upstream source to exclude non-distributable files
+# should be called as "repack.sh --upstream-source <ver> <downloaded file>
+# (for example, via uscan)
+
+set -e
+set -u
+
+VER="$2"
+FILE="$3"
+DVER="${VER}+dfsg"
+PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'`
+
+REPACK_DIR="$PKG-$DVER.orig" # DevRef § 6.7.8.2
+
+echo -e "\nRepackaging $FILE\n"
+
+DIR=`mktemp -d ./tmpRepackXXXXXX`
+trap "rm -rf \"$DIR\"" QUIT INT EXIT
+
+# Create an extra directory to cope with rootless tarballs
+UP_BASE="$DIR/unpack"
+mkdir "$UP_BASE"
+tar xzf "$FILE" -C "$UP_BASE"
+
+if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then
+	# Tarball does contain a root directory
+	UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`"
+fi
+
+## Remove stuff
+rm -vf $UP_BASE/samples/highlight.asm-avr
+rm -vf $UP_BASE/samples/highlight.java
+sed -i '/highlight.asm-avr/ D' $UP_BASE/MANIFEST
+sed -i '/highlight.java/ D' $UP_BASE/MANIFEST
+sed -i '/highlight.asm-avr/ D' $UP_BASE/REGISTERED
+sed -i '/highlight.java/ D' $UP_BASE/REGISTERED
+## End
+
+mv "$UP_BASE" "$DIR/$REPACK_DIR"
+
+# Using a pipe hides tar errors!
+tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR"
+gzip -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.gz"
+
+mv "$DIR/repacked.tar.gz" "$FILE"
+
+echo "*** $FILE repackaged"
+
+prename --verbose --force "s/$VER/$DVER/" $FILE

Added: trunk/libsyntax-highlight-engine-kate-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/debian/rules?rev=24498&op=file
==============================================================================
--- trunk/libsyntax-highlight-engine-kate-perl/debian/rules (added)
+++ trunk/libsyntax-highlight-engine-kate-perl/debian/rules Sat Aug 23 02:54:24 2008
@@ -1,0 +1,28 @@
+#!/usr/bin/make -f
+
+get-orig-source:
+	uscan --verbose --force-download
+
+build: build-stamp
+build-stamp:
+	dh build
+	touch $@
+
+clean:
+	dh $@
+
+install: install-stamp
+install-stamp: build-stamp
+	dh install
+	chmod -x $(CURDIR)/debian/libsyntax-highlight-engine-kate-perl/usr/share/perl5/Syntax/Highlight/Engine/Kate.pod
+	chmod -x $(CURDIR)/debian/libsyntax-highlight-engine-kate-perl/usr/share/doc/libsyntax-highlight-engine-kate-perl/examples/samples/*
+	touch $@
+
+binary-arch:
+
+binary-indep: install
+	dh $@
+
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build

Propchange: trunk/libsyntax-highlight-engine-kate-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libsyntax-highlight-engine-kate-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-kate-perl/debian/watch?rev=24498&op=file
==============================================================================
--- trunk/libsyntax-highlight-engine-kate-perl/debian/watch (added)
+++ trunk/libsyntax-highlight-engine-kate-perl/debian/watch Sat Aug 23 02:54:24 2008
@@ -1,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+opts="dversionmangle=s/\+dfsg$//" \
+http://search.cpan.org/dist/Syntax-Highlight-Engine-Kate/   .*/Syntax-Highlight-Engine-Kate-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian debian/repack.sh




More information about the Pkg-perl-cvs-commits mailing list