[Python-apps-commits] r3611 - in packages/phatch/trunk/debian (4 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sat Aug 29 15:20:26 UTC 2009


    Date: Saturday, August 29, 2009 @ 15:20:25
  Author: piotr
Revision: 3611

  - phatch-doc (documentation for developers)
* Add locate to phatch-cli's Depends (used to find fonts)
* Add python-sphinx to build depens (docs are regenerated at build time)

Modified:
  packages/phatch/trunk/debian/changelog
  packages/phatch/trunk/debian/control
  packages/phatch/trunk/debian/rules
Deleted:
  packages/phatch/trunk/debian/phatch-launcher

Modified: packages/phatch/trunk/debian/changelog
===================================================================
--- packages/phatch/trunk/debian/changelog	2009-08-29 00:47:34 UTC (rev 3610)
+++ packages/phatch/trunk/debian/changelog	2009-08-29 15:20:25 UTC (rev 3611)
@@ -30,12 +30,15 @@
     - removed, no longer needed
   * Splitting out the package, new binary packages:
     - phatch-cli (command line interface)
+    - phatch-doc (documentation for developers)
     - phatch-nautilus (Python nautilus integration)
   * Add blender and inkscape to phatch's Suggests
   * Add imagemagick, libjpeg-progs, exiftran, xcftools and dcraw to
     phatch-cli's Recommends (new actions will use them)
   * Add ttf-freefont and ttf-thai-tlwg to phatch-cli Depends (and add symlinks
     to use fonts from these packages instead of local copies)
+  * Add locate to phatch-cli's Depends (used to find fonts)
+  * Add python-sphinx to build depens (docs are regenerated at build time)
   * Bump Standards-Version to 3.8.3 (no changes needed)
 
  -- Piotr Ożarowski <piotr at debian.org>  Tue, 25 Aug 2009 20:41:45 +0200

Modified: packages/phatch/trunk/debian/control
===================================================================
--- packages/phatch/trunk/debian/control	2009-08-29 00:47:34 UTC (rev 3610)
+++ packages/phatch/trunk/debian/control	2009-08-29 15:20:25 UTC (rev 3611)
@@ -13,7 +13,8 @@
                python (>= 2.3.5-11)
 Build-Depends-Indep: python-support (>= 0.5.3),
                      python-nautilus,
-                     pkg-config
+                     pkg-config,
+                     python-sphinx
 
 Package: phatch
 Architecture: all
@@ -42,7 +43,8 @@
          python-pyexiv2,
          libtiff-tools,
          ttf-freefont,
-         ttf-thai-tlwg
+         ttf-thai-tlwg,
+         locate
 # move Recommends to phatch-plugins if we'll decide to split out plugins:
 Recommends: xcftools,
          dcraw,
@@ -70,3 +72,18 @@
  stamping.
  .
  This package integrates Phatch with Nautilus.
+
+Package: phatch-doc
+Architecture: all
+Priority: extra
+Section: doc
+Depends: ${misc:Depends}, libjs-jquery
+Suggests: phatch
+Description: simple to use Photo Batch Processor - developer documentation
+ Phatch handles all popular image formats and can duplicate (sub)folder
+ hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded
+ corners, ... and more in minutes instead of hours or days if you do it
+ manually. Phatch allows you to use EXIF and IPTC tags for renaming and data
+ stamping.
+ .
+ This package provides Phatch documentation for developers.

Deleted: packages/phatch/trunk/debian/phatch-launcher
===================================================================
--- packages/phatch/trunk/debian/phatch-launcher	2009-08-29 00:47:34 UTC (rev 3610)
+++ packages/phatch/trunk/debian/phatch-launcher	2009-08-29 15:20:25 UTC (rev 3611)
@@ -1,3 +0,0 @@
-#!/bin/sh
-# Launch phatch
-exec python /usr/share/phatch/phatch/phatch.py $@

Modified: packages/phatch/trunk/debian/rules
===================================================================
--- packages/phatch/trunk/debian/rules	2009-08-29 00:47:34 UTC (rev 3610)
+++ packages/phatch/trunk/debian/rules	2009-08-29 15:20:25 UTC (rev 3611)
@@ -7,6 +7,7 @@
 
 PKG_P_DIR=$(CURDIR)/debian/phatch
 PKG_C_DIR=$(CURDIR)/debian/phatch-cli
+PKG_D_DIR=$(CURDIR)/debian/phatch-doc
 PKG_N_DIR=$(CURDIR)/debian/phatch-nautilus
 
 # install to phatch-cli by default and move files later
@@ -25,4 +26,16 @@
 binary-install/phatch-nautilus:: binary-install/phatch-cli
 	mkdir -p $(PKG_N_DIR)/usr/share/phatch/phatch/lib/linux/
 	mv $(PKG_C_DIR)/usr/lib $(PKG_N_DIR)/usr/
-	mv $(PKG_C_DIR)/usr/share/phatch/phatch/lib/linux/nautilusExtension.py $(PKG_N_DIR)/usr/share/phatch/phatch/lib/linux/
+	mv $(PKG_C_DIR)/usr/share/phatch/phatch/lib/linux/nautilusExtension.py\
+	   $(PKG_N_DIR)/usr/share/phatch/phatch/lib/linux/
+
+binary-install/phatch-docs::
+	mkdir -p $(PKG_D_DIR)/usr/share/doc/phatch/html/
+	cd docs && python update.py
+	dh_install -p phatch-doc docs/build/html /usr/share/doc/phatch/
+	dh_link -p phatch-doc /usr/share/javascript/jquery/jquery.js \
+	    /usr/share/doc/phatch/html/_static/jquery.js
+	rm -f $(PKG_D_DIR)/usr/share/doc/phatch/html/.buildinfo
+
+clean::
+	rm -rf docs/build




More information about the Python-apps-commits mailing list