[Pkg-php-commits] r943 - in pear: . php-text-highlighter php-text-highlighter/trunk php-text-highlighter/trunk/debian

Thijs Kinkhorst thijs at alioth.debian.org
Sun Dec 30 23:57:55 UTC 2007


Author: thijs
Date: 2007-12-30 23:57:55 +0000 (Sun, 30 Dec 2007)
New Revision: 943

Added:
   pear/php-text-highlighter/
   pear/php-text-highlighter/branches/
   pear/php-text-highlighter/tags/
   pear/php-text-highlighter/trunk/
   pear/php-text-highlighter/trunk/debian/
   pear/php-text-highlighter/trunk/debian/changelog
   pear/php-text-highlighter/trunk/debian/compat
   pear/php-text-highlighter/trunk/debian/control
   pear/php-text-highlighter/trunk/debian/copyright
   pear/php-text-highlighter/trunk/debian/rules
   pear/php-text-highlighter/trunk/debian/svn-deblayout
   pear/php-text-highlighter/trunk/debian/watch
Log:
add new php-text-highlighter package


Added: pear/php-text-highlighter/trunk/debian/changelog
===================================================================
--- pear/php-text-highlighter/trunk/debian/changelog	                        (rev 0)
+++ pear/php-text-highlighter/trunk/debian/changelog	2007-12-30 23:57:55 UTC (rev 943)
@@ -0,0 +1,5 @@
+php-text-highlighter (0.7.0-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Thijs Kinkhorst <thijs at debian.org>  Mon, 31 Dec 2007 00:21:09 +0100

Added: pear/php-text-highlighter/trunk/debian/compat
===================================================================
--- pear/php-text-highlighter/trunk/debian/compat	                        (rev 0)
+++ pear/php-text-highlighter/trunk/debian/compat	2007-12-30 23:57:55 UTC (rev 943)
@@ -0,0 +1 @@
+5

Added: pear/php-text-highlighter/trunk/debian/control
===================================================================
--- pear/php-text-highlighter/trunk/debian/control	                        (rev 0)
+++ pear/php-text-highlighter/trunk/debian/control	2007-12-30 23:57:55 UTC (rev 943)
@@ -0,0 +1,20 @@
+Source: php-text-highlighter
+Section: web
+Priority: optional
+Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
+Uploaders: Thijs Kinkhorst <thijs at debian.org>
+Build-Depends: debhelper (>= 5) 
+Build-Depends-Indep: php-pear
+Vcs-Svn: svn://svn.debian.org/pkg-php/pear/php-text-highlighter/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/php-text-highlighter/trunk
+Standards-Version: 3.7.3
+
+Package: php-text-highlighter
+Architecture: all
+Depends: php-pear
+Description: PHP PEAR module for syntax colouring various file formats
+ This class implements syntax highlighting for many different file formats
+ to HTML and CSS output.
+ .
+ It provides a base class with a descendent classes generator class.
+ File format definitions are made in XML.

Added: pear/php-text-highlighter/trunk/debian/copyright
===================================================================
--- pear/php-text-highlighter/trunk/debian/copyright	                        (rev 0)
+++ pear/php-text-highlighter/trunk/debian/copyright	2007-12-30 23:57:55 UTC (rev 943)
@@ -0,0 +1,66 @@
+This package was debianized by Thijs Kinkhorst <thijs at debian.org> and is
+currently maintained by the Debian PHP Maintainers
+<pkg-php-maint at lists.alioth.debian.org>
+
+It was downloaded from http://pear.php.net/package/Text_Highlighter
+
+Text_Highlighter is copyright 2004-2006 Andrey Demenev <demenev at gmail.com>.
+
+Licence:
+
+-------------------------------------------------------------------- 
+                  The PHP License, version 3.0
+Copyright (c) 1999 - 2006 The PHP Group. All rights reserved.
+-------------------------------------------------------------------- 
+
+Redistribution and use in source and binary forms, with or without
+modification, is permitted provided that the following conditions
+are met:
+
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+ 
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+ 
+  3. The name "PHP" must not be used to endorse or promote products
+     derived from this software without prior written permission. For
+     written permission, please contact group at php.net.
+  
+  4. Products derived from this software may not be called "PHP", nor
+     may "PHP" appear in their name, without prior written permission
+     from group at php.net.  You may indicate that your software works in
+     conjunction with PHP by saying "Foo for PHP" instead of calling
+     it "PHP Foo" or "phpfoo"
+ 
+  5. The PHP Group may publish revised and/or new versions of the
+     license from time to time. Each version will be given a
+     distinguishing version number.
+     Once covered code has been published under a particular version
+     of the license, you may always continue to use it under the terms
+     of that version. You may also choose to use such covered code
+     under the terms of any subsequent version of the license
+     published by the PHP Group. No one other than the PHP Group has
+     the right to modify the terms applicable to covered code created
+     under this License.
+
+  6. Redistributions of any form whatsoever must retain the following
+     acknowledgment:
+     "This product includes PHP, freely available from
+     <http://www.php.net/>".
+
+THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND 
+ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
+PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PHP
+DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+

Added: pear/php-text-highlighter/trunk/debian/rules
===================================================================
--- pear/php-text-highlighter/trunk/debian/rules	                        (rev 0)
+++ pear/php-text-highlighter/trunk/debian/rules	2007-12-30 23:57:55 UTC (rev 943)
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
+DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
+DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
+
+PEAR ?= /usr/bin/pear
+pear_pkg = $(shell ls |grep Text_Highlighter)
+package = php-text-highlighter
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	if [ -f $(pear_pkg)/package.xml ]; then \
+		rm $(pear_pkg)/package.xml; \
+	fi
+	dh_clean build-stamp configure-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/package.
+	cp package.xml $(pear_pkg)/package.xml
+	$(PEAR) install -n -R debian/$(package) $(pear_pkg)/package.xml
+	rm -f debian/$(package)/usr/share/php/.filemap
+	rm -f debian/$(package)/usr/share/php/.lock
+	rm -rf debian/$(package)/usr/share/php/.channels
+	rm -rf debian/$(package)/usr/share/php/.depdblock
+	rm -rf debian/$(package)/usr/share/php/.depdb
+	rm -rf debian/$(package)/usr/share/php/.registry/.channel.pecl.php.net
+	rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri
+
+	# remove duplicated files, these files are in /usr/share/doc/package
+	rm -rf debian/$(package)/usr/share/php/docs
+	rm -rf debian/$(package)/usr/share/php/tests
+	rm -rf debian/$(package)/tmp
+
+# Build architecture-dependent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs $(pear_pkg)/README
+	dh_installchangelogs 
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch:
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+
+get-orig-source:
+	wget http://download.pear.php.net/package/Text_Highlighter-${DEB_UPSTREAM_VERSION}.tgz -O php-text-highlighter_${DEB_UPSTREAM_VERSION}.orig.tar.gz


Property changes on: pear/php-text-highlighter/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: pear/php-text-highlighter/trunk/debian/svn-deblayout
===================================================================
--- pear/php-text-highlighter/trunk/debian/svn-deblayout	                        (rev 0)
+++ pear/php-text-highlighter/trunk/debian/svn-deblayout	2007-12-30 23:57:55 UTC (rev 943)
@@ -0,0 +1,3 @@
+origDir=../../upstream
+buildArea=../../build-area
+

Added: pear/php-text-highlighter/trunk/debian/watch
===================================================================
--- pear/php-text-highlighter/trunk/debian/watch	                        (rev 0)
+++ pear/php-text-highlighter/trunk/debian/watch	2007-12-30 23:57:55 UTC (rev 943)
@@ -0,0 +1,2 @@
+version=3
+http://pear.php.net/package/Text_Highlighter http://download.pear.php.net/package/Text_Highlighter-([\d.RC]+).tgz




More information about the Pkg-php-commits mailing list