[Pkg-php-commits] r906 - zend-framework/trunk/debian

Raphael Geissert atomo64-guest at alioth.debian.org
Sat Oct 20 02:18:35 UTC 2007


Author: atomo64-guest
Date: 2007-10-20 02:18:35 +0000 (Sat, 20 Oct 2007)
New Revision: 906

Added:
   zend-framework/trunk/debian/zend-framework-manual-XX.dirs.tpl
   zend-framework/trunk/debian/zend-framework-manual-XX.install.tpl
   zend-framework/trunk/debian/zend-framework-manual-XX.links.tpl
Removed:
   zend-framework/trunk/debian/zend-framework-manual-de.dirs
   zend-framework/trunk/debian/zend-framework-manual-de.install
   zend-framework/trunk/debian/zend-framework-manual-de.links
   zend-framework/trunk/debian/zend-framework-manual-es.dirs
   zend-framework/trunk/debian/zend-framework-manual-es.install
   zend-framework/trunk/debian/zend-framework-manual-es.links
   zend-framework/trunk/debian/zend-framework-manual-fr.dirs
   zend-framework/trunk/debian/zend-framework-manual-fr.install
   zend-framework/trunk/debian/zend-framework-manual-fr.links
   zend-framework/trunk/debian/zend-framework-manual-ja.dirs
   zend-framework/trunk/debian/zend-framework-manual-ja.install
   zend-framework/trunk/debian/zend-framework-manual-ja.links
   zend-framework/trunk/debian/zend-framework-manual-ru.dirs
   zend-framework/trunk/debian/zend-framework-manual-ru.install
   zend-framework/trunk/debian/zend-framework-manual-ru.links
Modified:
   zend-framework/trunk/debian/changelog
   zend-framework/trunk/debian/control
   zend-framework/trunk/debian/get-orig-source.sh
   zend-framework/trunk/debian/rules
Log:
Fixed some issues with debian/get-orig-source.sh
Updated to v1.0.2: added Simplified Chinese documentation
Language .dirs, .install and .links files are now generated by debian/rules

Modified: zend-framework/trunk/debian/changelog
===================================================================
--- zend-framework/trunk/debian/changelog	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/changelog	2007-10-20 02:18:35 UTC (rev 906)
@@ -1,12 +1,7 @@
-zend-framework (1.0.1-1) UNRELEASED; urgency=low
+zend-framework (1.0.2-1) UNRELEASED; urgency=low
 
-  * New upstream version.
-
- -- Raphael Geissert <atomo64 at gmail.com>  Wed, 01 Aug 2007 10:20:03 -0500
-
-zend-framework (1.0.0-1) unstable; urgency=low
-
   * Initial release (Closes: #428760).
 
- -- Raphael Geissert <atomo64 at gmail.com>  Thu, 19 Jul 2007 20:46:18 -0500
+ -- Raphael Geissert <atomo64 at gmail.com>  Fri, 19 Oct 2007 20:34:34 -0500
 
+

Modified: zend-framework/trunk/debian/control
===================================================================
--- zend-framework/trunk/debian/control	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/control	2007-10-20 02:18:35 UTC (rev 906)
@@ -1,9 +1,11 @@
 Source: zend-framework
 Priority: extra
-Maintainer: Raphael Geissert <atomo64 at gmail.com>
+Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
+Uploaders: Raphael Geissert <atomo64 at gmail.com>
 Build-Depends: debhelper (>= 5), quilt (>= 0.40)
 Standards-Version: 3.7.2
 Section: web
+Homepage: http://framework.zend.com/
 
 Package: zend-framework
 Section: web
@@ -14,8 +16,6 @@
  Zend Framework is a high quality framework for developing Web Applications
  and Web Services with PHP. 
  It provides solutions for building modern, robust, and secure websites.
- .
- Homepage: http://framework.zend.com/
 
 Package: zend-framework-api-doc
 Section: doc
@@ -30,7 +30,7 @@
 Package: zend-framework-manual
 Section: doc
 Architecture: all
-Description: Programmer's Reference Guide of the Zend Framework
+Description: Zend Framework's Programmer Reference Guide
  Zend Framework is a high quality framework for developing Web Applications
  and Web Services with PHP. 
  It provides solutions for building modern, robust, and secure websites.
@@ -40,7 +40,7 @@
 Package: zend-framework-manual-de
 Section: doc
 Architecture: all
-Description: Programmer's Reference Guide of the Zend Framework, German version
+Description: Zend Framework's Programmer Reference Guide, German version
  Zend Framework is a high quality framework for developing Web Applications
  and Web Services with PHP. 
  It provides solutions for building modern, robust, and secure websites.
@@ -50,7 +50,7 @@
 Package: zend-framework-manual-fr
 Section: doc
 Architecture: all
-Description: Programmer's Reference Guide of the Zend Framework, French version
+Description: Zend Framework's Programmer Reference Guide, French version
  Zend Framework is a high quality framework for developing Web Applications
  and Web Services with PHP. 
  It provides solutions for building modern, robust, and secure websites.
@@ -60,7 +60,7 @@
 Package: zend-framework-manual-ja
 Section: doc
 Architecture: all
-Description: Programmer's Reference Guide of the Zend Framework, Japanese version
+Description: Zend Framework's Programmer Reference Guide, Japanese version
  Zend Framework is a high quality framework for developing Web Applications
  and Web Services with PHP. 
  It provides solutions for building modern, robust, and secure websites.
@@ -70,9 +70,19 @@
 Package: zend-framework-manual-ru
 Section: doc
 Architecture: all
-Description: Programmer's Reference Guide of the Zend Framework, Russian version
+Description: Zend Framework's Programmer Reference Guide, Russian version
  Zend Framework is a high quality framework for developing Web Applications
  and Web Services with PHP. 
  It provides solutions for building modern, robust, and secure websites.
  .
  This package contains the Programmer's Reference Guide, Russian version.
+
+Package: zend-framework-manual-zh
+Section: doc
+Architecture: all
+Description: Zend Framework's Programmer Reference Guide, Simplified Chinese version
+ Zend Framework is a high quality framework for developing Web Applications
+ and Web Services with PHP.
+ It provides solutions for building modern, robust, and secure websites.
+ .
+ This package contains the Programmer's Reference Guide, Simplified Chinese version.

Modified: zend-framework/trunk/debian/get-orig-source.sh
===================================================================
--- zend-framework/trunk/debian/get-orig-source.sh	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/get-orig-source.sh	2007-10-20 02:18:35 UTC (rev 906)
@@ -3,12 +3,12 @@
 dh_testdir
 
 
-alias untgz='tar -xvvzf --atime-preserve '
+alias untgz='tar --atime-preserve -xvvzf'
 RESULT=`uscan --dehs --no-download`
 DEBIANVERSION=`echo "$RESULT" | grep debian-uversion | awk "-F>" '{ print $2 }' | awk "-F<" '{ print $1 }'`
 UPSTREAMVERSION=`echo "$RESULT" | grep upstream-version | awk "-F>" '{ print $2 }' | awk "-F<" '{ print $1 }'`
 
-DOCLANGS="en fr ja de ru"
+DOCLANGS="en fr ja de ru zh"
 
 if [ "$DEBIANVERSION" != "$UPSTREAMVERSION" ]; then
     BASEURL="http://framework.zend.com/releases/ZendFramework-$UPSTREAMVERSION"

Modified: zend-framework/trunk/debian/rules
===================================================================
--- zend-framework/trunk/debian/rules	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/rules	2007-10-20 02:18:35 UTC (rev 906)
@@ -8,15 +8,32 @@
 get-orig-source:
 	(sh debian/get-orig-source.sh)
 
+debian/language.packages:
+	(cd debian; \
+		for lang in `ls -A $(CURDIR)/documentation/manual/core/`; do \
+			if [ "$$lang" = "en" ]; then continue; fi; \
+			for tfile in `ls -A $(CURDIR)/debian | grep XX | grep tpl`; do \
+				dest_file="`echo "$$tfile" | sed "s/XX/$$lang/;s/\.tpl//"`"; \
+				sed "s/#LANG#/$$lang/g;" \
+					< $$tfile > $$dest_file; \
+				echo "$$dest_file" >> language.packages; \
+			done; \
+		done; \
+	);
+
 build: patch
 
 clean: unpatch
 	dh_testdir
 	dh_testroot
 	$(RM) -r debian/tmp
+	(cd debian/; \
+		[ ! -f "language.packages" ] || (cat language.packages | xargs $(RM);); \
+		$(RM) language.packages; \
+	);
 	dh_clean
 
-install: build
+install: build debian/language.packages
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs NEWS.txt
@@ -40,4 +57,4 @@
 binary-arch:
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch install
+.PHONY: build clean binary-indep binary-arch install get-orig-source

Added: zend-framework/trunk/debian/zend-framework-manual-XX.dirs.tpl
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-XX.dirs.tpl	                        (rev 0)
+++ zend-framework/trunk/debian/zend-framework-manual-XX.dirs.tpl	2007-10-20 02:18:35 UTC (rev 906)
@@ -0,0 +1,3 @@
+usr/share/doc/zend-framework-manual-#LANG#/HTML
+usr/share/doc/zend-framework/manual/#LANG#
+

Added: zend-framework/trunk/debian/zend-framework-manual-XX.install.tpl
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-XX.install.tpl	                        (rev 0)
+++ zend-framework/trunk/debian/zend-framework-manual-XX.install.tpl	2007-10-20 02:18:35 UTC (rev 906)
@@ -0,0 +1 @@
+documentation/manual/core/#LANG#/* usr/share/doc/zend-framework-manual-#LANG#/HTML/

Added: zend-framework/trunk/debian/zend-framework-manual-XX.links.tpl
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-XX.links.tpl	                        (rev 0)
+++ zend-framework/trunk/debian/zend-framework-manual-XX.links.tpl	2007-10-20 02:18:35 UTC (rev 906)
@@ -0,0 +1 @@
+usr/share/doc/zend-framework-manual-#LANG#/HTML usr/share/doc/zend-framework/manual/#LANG#/HTML

Deleted: zend-framework/trunk/debian/zend-framework-manual-de.dirs
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-de.dirs	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-de.dirs	2007-10-20 02:18:35 UTC (rev 906)
@@ -1,3 +0,0 @@
-usr/share/doc/zend-framework-manual-de/HTML
-usr/share/doc/zend-framework/manual/de
-

Deleted: zend-framework/trunk/debian/zend-framework-manual-de.install
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-de.install	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-de.install	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-documentation/manual/core/de/* usr/share/doc/zend-framework-manual-de/HTML/

Deleted: zend-framework/trunk/debian/zend-framework-manual-de.links
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-de.links	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-de.links	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-usr/share/doc/zend-framework-manual-de/HTML usr/share/doc/zend-framework/manual/de/HTML

Deleted: zend-framework/trunk/debian/zend-framework-manual-es.dirs
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-es.dirs	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-es.dirs	2007-10-20 02:18:35 UTC (rev 906)
@@ -1,3 +0,0 @@
-usr/share/doc/zend-framework-manual-es/HTML
-usr/share/doc/zend-framework/manual/es
-

Deleted: zend-framework/trunk/debian/zend-framework-manual-es.install
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-es.install	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-es.install	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-documentation/manual/core/es/* usr/share/doc/zend-framework-manual-es/HTML/

Deleted: zend-framework/trunk/debian/zend-framework-manual-es.links
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-es.links	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-es.links	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-usr/share/doc/zend-framework-manual-es/HTML usr/share/doc/zend-framework/manual/es/HTML

Deleted: zend-framework/trunk/debian/zend-framework-manual-fr.dirs
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-fr.dirs	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-fr.dirs	2007-10-20 02:18:35 UTC (rev 906)
@@ -1,3 +0,0 @@
-usr/share/doc/zend-framework-manual-fr/HTML
-usr/share/doc/zend-framework/manual/fr
-

Deleted: zend-framework/trunk/debian/zend-framework-manual-fr.install
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-fr.install	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-fr.install	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-documentation/manual/core/fr/* usr/share/doc/zend-framework-manual-fr/HTML/

Deleted: zend-framework/trunk/debian/zend-framework-manual-fr.links
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-fr.links	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-fr.links	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-usr/share/doc/zend-framework-manual-fr/HTML usr/share/doc/zend-framework/manual/fr/HTML

Deleted: zend-framework/trunk/debian/zend-framework-manual-ja.dirs
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-ja.dirs	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-ja.dirs	2007-10-20 02:18:35 UTC (rev 906)
@@ -1,3 +0,0 @@
-usr/share/doc/zend-framework-manual-ja/HTML
-usr/share/doc/zend-framework/manual/ja
-

Deleted: zend-framework/trunk/debian/zend-framework-manual-ja.install
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-ja.install	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-ja.install	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-documentation/manual/core/ja/* usr/share/doc/zend-framework-manual-ja/HTML/

Deleted: zend-framework/trunk/debian/zend-framework-manual-ja.links
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-ja.links	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-ja.links	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-usr/share/doc/zend-framework-manual-ja/HTML usr/share/doc/zend-framework/manual/ja/HTML

Deleted: zend-framework/trunk/debian/zend-framework-manual-ru.dirs
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-ru.dirs	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-ru.dirs	2007-10-20 02:18:35 UTC (rev 906)
@@ -1,3 +0,0 @@
-usr/share/doc/zend-framework-manual-ru/HTML
-usr/share/doc/zend-framework/manual/ru
-

Deleted: zend-framework/trunk/debian/zend-framework-manual-ru.install
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-ru.install	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-ru.install	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-documentation/manual/core/ru/* usr/share/doc/zend-framework-manual-ru/HTML/

Deleted: zend-framework/trunk/debian/zend-framework-manual-ru.links
===================================================================
--- zend-framework/trunk/debian/zend-framework-manual-ru.links	2007-10-19 01:45:59 UTC (rev 905)
+++ zend-framework/trunk/debian/zend-framework-manual-ru.links	2007-10-20 02:18:35 UTC (rev 906)
@@ -1 +0,0 @@
-usr/share/doc/zend-framework-manual-ru/HTML usr/share/doc/zend-framework/manual/ru/HTML




More information about the Pkg-php-commits mailing list