r7172 - in /trunk/libsyntax-highlight-perl-improved-perl/debian: changelog control patches/ patches/series patches/viewperl.patch rules viewperl.1 watch

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Aug 26 21:07:46 UTC 2007


Author: gregoa-guest
Date: Sun Aug 26 21:07:46 2007
New Revision: 7172

URL: http://svn.debian.org/wsvn/?sc=1&rev=7172
Log:
* Add watch file.
* Patch viewperl to make it use the actual library we're installing.
* Add manpage for viewperl.

Added:
    trunk/libsyntax-highlight-perl-improved-perl/debian/patches/
    trunk/libsyntax-highlight-perl-improved-perl/debian/patches/series
    trunk/libsyntax-highlight-perl-improved-perl/debian/patches/viewperl.patch
    trunk/libsyntax-highlight-perl-improved-perl/debian/viewperl.1
    trunk/libsyntax-highlight-perl-improved-perl/debian/watch
Modified:
    trunk/libsyntax-highlight-perl-improved-perl/debian/changelog
    trunk/libsyntax-highlight-perl-improved-perl/debian/control
    trunk/libsyntax-highlight-perl-improved-perl/debian/rules

Modified: trunk/libsyntax-highlight-perl-improved-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libsyntax-highlight-perl-improved-perl/debian/changelog?rev=7172&op=diff
==============================================================================
--- trunk/libsyntax-highlight-perl-improved-perl/debian/changelog (original)
+++ trunk/libsyntax-highlight-perl-improved-perl/debian/changelog Sun Aug 26 21:07:46 2007
@@ -1,3 +1,11 @@
+libsyntax-highlight-perl-improved-perl (1.01-2) UNRELEASED; urgency=low
+
+  * Add watch file.
+  * Patch viewperl to make it use the actual library we're installing.
+  * Add manpage for viewperl.
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 26 Aug 2007 23:06:02 +0200
+
 libsyntax-highlight-perl-improved-perl (1.01-1) unstable; urgency=low
 
   * Initial Release.

Modified: trunk/libsyntax-highlight-perl-improved-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libsyntax-highlight-perl-improved-perl/debian/control?rev=7172&op=diff
==============================================================================
--- trunk/libsyntax-highlight-perl-improved-perl/debian/control (original)
+++ trunk/libsyntax-highlight-perl-improved-perl/debian/control Sun Aug 26 21:07:46 2007
@@ -1,10 +1,10 @@
 Source: libsyntax-highlight-perl-improved-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 5.0.0), quilt
 Build-Depends-Indep: perl (>= 5.8.8-7)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>
+Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libsyntax-highlight-perl-improved-perl/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-perl-improved-perl/

Added: trunk/libsyntax-highlight-perl-improved-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libsyntax-highlight-perl-improved-perl/debian/patches/series?rev=7172&op=file
==============================================================================
--- trunk/libsyntax-highlight-perl-improved-perl/debian/patches/series (added)
+++ trunk/libsyntax-highlight-perl-improved-perl/debian/patches/series Sun Aug 26 21:07:46 2007
@@ -1,0 +1,1 @@
+viewperl.patch

Added: trunk/libsyntax-highlight-perl-improved-perl/debian/patches/viewperl.patch
URL: http://svn.debian.org/wsvn/trunk/libsyntax-highlight-perl-improved-perl/debian/patches/viewperl.patch?rev=7172&op=file
==============================================================================
--- trunk/libsyntax-highlight-perl-improved-perl/debian/patches/viewperl.patch (added)
+++ trunk/libsyntax-highlight-perl-improved-perl/debian/patches/viewperl.patch Sun Aug 26 21:07:46 2007
@@ -1,0 +1,31 @@
+Index: libsyntax-highlight-perl-improved-perl/viewperl
+===================================================================
+--- libsyntax-highlight-perl-improved-perl.orig/viewperl	2007-08-26 22:54:32.000000000 +0200
++++ libsyntax-highlight-perl-improved-perl/viewperl	2007-08-26 22:54:46.000000000 +0200
+@@ -16,7 +16,7 @@
+ 
+ use FileHandle;
+ use Getopt::Long;
+-use Syntax::Highlight::Perl 1.0;
++use Syntax::Highlight::Perl::Improved 1.0;
+ 
+ 
+ #=====================================================================
+@@ -69,7 +69,7 @@
+     bgwhite   => "\e[47m",
+ );
+ 
+-$formatter = new Syntax::Highlight::Perl;
++$formatter = new Syntax::Highlight::Perl::Improved;
+ 
+ #
+ # Set up formatter to do ANSI colors.
+@@ -283,7 +283,7 @@
+ 
+ 
+ #
+-# Convert module names (eg, Syntax::Highlight::Perl) to
++# Convert module names (eg, Syntax::Highlight::Perl::Improved) to
+ # fully qualified file names using current state of @INC.
+ #
+ # Returns undef on error (file-not-found).

Modified: trunk/libsyntax-highlight-perl-improved-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libsyntax-highlight-perl-improved-perl/debian/rules?rev=7172&op=diff
==============================================================================
--- trunk/libsyntax-highlight-perl-improved-perl/debian/rules (original)
+++ trunk/libsyntax-highlight-perl-improved-perl/debian/rules Sun Aug 26 21:07:46 2007
@@ -6,6 +6,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
 
 # If set to a true value then MakeMaker's prompt function will
 # always return the default without waiting for user input.
@@ -20,7 +22,7 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: patch
 	dh_testdir
 
 	# Add commands to compile the package here
@@ -29,7 +31,7 @@
 
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 
@@ -65,6 +67,7 @@
 	dh_testroot
 	dh_installdocs README
 	dh_installchangelogs ChangeLog
+	dh_installman debian/viewperl.1
 	dh_perl
 	dh_link
 	dh_strip

Added: trunk/libsyntax-highlight-perl-improved-perl/debian/viewperl.1
URL: http://svn.debian.org/wsvn/trunk/libsyntax-highlight-perl-improved-perl/debian/viewperl.1?rev=7172&op=file
==============================================================================
--- trunk/libsyntax-highlight-perl-improved-perl/debian/viewperl.1 (added)
+++ trunk/libsyntax-highlight-perl-improved-perl/debian/viewperl.1 Sun Aug 26 21:07:46 2007
@@ -1,0 +1,107 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
+.TH VIEWPERL "1" "August 2007" "viewperl" "User Commands"
+.SH NAME
+viewperl - quickly view syntax highlighted Perl code
+.SH SYNOPSIS
+.B viewperl
+[\fIOPTION\fR]... \fIFILE\fR...
+.SH DESCRIPTION
+View a Perl source code file, syntax highlighted.
+.TP
+\fB\-c\fR, \fB\-\-code\fR=\fICODE\fR
+view CODE, syntax highlighted
+.TP
+\fB\-l\fR, \fB\-\-lines\fR
+display line numbers
+.TP
+\fB\-L\fR, \fB\-\-no\-lines\fR
+supress display of line numbers (default)
+.TP
+\fB\-m\fR, \fB\-\-module\fR=\fIFILE\fR
+consider FILE the name of a module, not a file name
+.TP
+\fB\-n\fR, \fB\-\-name\fR
+display the name of each file (default)
+.TP
+\fB\-N\fR, \fB\-\-no\-name\fR
+supress display of file names (implied by \fB\-\-no\-reset\fR)
+.TP
+\fB\-p\fR, \fB\-\-pod\fR
+display inline POD documentation (default)
+.TP
+\fB\-P\fR, \fB\-\-no\-pod\fR
+hide POD documentation (line numbers still increment)
+.TP
+\fB\-r\fR, \fB\-\-reset\fR
+reset formatting and line numbers each file (default)
+.TP
+\fB\-R\fR, \fB\-\-no\-reset\fR
+supress resetting of formatting and line numbers
+.TP
+\fB\-s\fR, \fB\-\-shift\fR=\fIWIDTH\fR
+set tab width (default is 4)
+.TP
+\fB\-t\fR, \fB\-\-tabs\fR
+translate tabs into spaces (default)
+.TP
+\fB\-T\fR, \fB\-\-no\-tabs\fR
+supress translating of tabs into spaces
+.TP
+\fB\-\-help\fR
+display this help and exit
+.PP
+Note that module names should be given as they would appear after a Perl `use' or
+`require' statement.  `Getopt::Long', for example.
+.PP
+Each string given using \fB\-c\fR is considered a different file, so line number and
+formatting resets will apply.
+.PP
+View a Perl source code file, syntax highlighted.
+.TP
+\fB\-c\fR, \fB\-\-code\fR=\fICODE\fR
+view CODE, syntax highlighted
+.TP
+\fB\-l\fR, \fB\-\-lines\fR
+display line numbers
+.TP
+\fB\-L\fR, \fB\-\-no\-lines\fR
+supress display of line numbers (default)
+.TP
+\fB\-m\fR, \fB\-\-module\fR=\fIFILE\fR
+consider FILE the name of a module, not a file name
+.TP
+\fB\-n\fR, \fB\-\-name\fR
+display the name of each file (default)
+.TP
+\fB\-N\fR, \fB\-\-no\-name\fR
+supress display of file names (implied by \fB\-\-no\-reset\fR)
+.TP
+\fB\-p\fR, \fB\-\-pod\fR
+display inline POD documentation (default)
+.TP
+\fB\-P\fR, \fB\-\-no\-pod\fR
+hide POD documentation (line numbers still increment)
+.TP
+\fB\-r\fR, \fB\-\-reset\fR
+reset formatting and line numbers each file (default)
+.TP
+\fB\-R\fR, \fB\-\-no\-reset\fR
+supress resetting of formatting and line numbers
+.TP
+\fB\-s\fR, \fB\-\-shift\fR=\fIWIDTH\fR
+set tab width (default is 4)
+.TP
+\fB\-t\fR, \fB\-\-tabs\fR
+translate tabs into spaces (default)
+.TP
+\fB\-T\fR, \fB\-\-no\-tabs\fR
+supress translating of tabs into spaces
+.TP
+\fB\-\-help\fR
+display this help and exit
+.PP
+Note that module names should be given as they would appear after a Perl `use' or
+`require' statement.  `Getopt::Long', for example.
+.PP
+Each string given using \fB\-c\fR is considered a different file, so line number and
+formatting resets will apply.

Added: trunk/libsyntax-highlight-perl-improved-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libsyntax-highlight-perl-improved-perl/debian/watch?rev=7172&op=file
==============================================================================
--- trunk/libsyntax-highlight-perl-improved-perl/debian/watch (added)
+++ trunk/libsyntax-highlight-perl-improved-perl/debian/watch Sun Aug 26 21:07:46 2007
@@ -1,0 +1,2 @@
+version=3
+http://cpan.org/modules/by-module/Syntax/Syntax-Highlight-Perl-Improved-([\d\.]+)\.tar\.gz




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