[Python-apps-commits] r3947 - in packages/phatch/trunk/debian (changelog phatch.dirs rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon Oct 12 10:11:13 UTC 2009


    Date: Monday, October 12, 2009 @ 10:11:09
  Author: piotr
Revision: 3947

phatch.desktop file is now shipped by phatch package (LP: #449210)

Added:
  packages/phatch/trunk/debian/phatch.dirs
Modified:
  packages/phatch/trunk/debian/changelog
  packages/phatch/trunk/debian/rules

Modified: packages/phatch/trunk/debian/changelog
===================================================================
--- packages/phatch/trunk/debian/changelog	2009-10-12 06:40:49 UTC (rev 3946)
+++ packages/phatch/trunk/debian/changelog	2009-10-12 10:11:09 UTC (rev 3947)
@@ -1,3 +1,9 @@
+phatch (0.2.3-2) unstable; urgency=low
+
+  * phatch.desktop file is now shipped by phatch package (LP: #449210)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 12 Oct 2009 11:53:43 +0200
+
 phatch (0.2.3-1) unstable; urgency=low
 
   * Upstream bugfix release (Closes LP: #448845, #446725, #445943)

Added: packages/phatch/trunk/debian/phatch.dirs
===================================================================
--- packages/phatch/trunk/debian/phatch.dirs	                        (rev 0)
+++ packages/phatch/trunk/debian/phatch.dirs	2009-10-12 10:11:09 UTC (rev 3947)
@@ -0,0 +1,2 @@
+/usr/share/phatch/phatch/lib
+/usr/share/lintian/overrides

Modified: packages/phatch/trunk/debian/rules
===================================================================
--- packages/phatch/trunk/debian/rules	2009-10-12 06:40:49 UTC (rev 3946)
+++ packages/phatch/trunk/debian/rules	2009-10-12 10:11:09 UTC (rev 3947)
@@ -19,10 +19,13 @@
 	sed -i -e "s|import phatch|sys.path.insert(0,'/usr/share/phatch/');import phatch|" $(PKG_C_DIR)/usr/bin/phatch
 
 binary-install/phatch:: binary-install/phatch-cli
-	mkdir -p $(PKG_P_DIR)/usr/share/phatch/phatch/lib
+	dh_installdirs
 	mv $(PKG_C_DIR)/usr/share/phatch/phatch/pyWx $(PKG_P_DIR)/usr/share/phatch/phatch
 	mv $(PKG_C_DIR)/usr/share/phatch/phatch/lib/pyWx $(PKG_P_DIR)/usr/share/phatch/phatch/lib
+	mv $(PKG_C_DIR)/usr/share/applications $(PKG_P_DIR)/usr/share
 	dh_icons
+	echo "phatch: desktop-command-not-in-package /usr/share/applications/phatch.desktop phatch" \
+		>> $(PKG_P_DIR)/usr/share/lintian/overrides/phatch
 
 binary-install/phatch-nautilus:: binary-install/phatch-cli
 	mkdir -p $(PKG_N_DIR)/usr/share/phatch/phatch/lib/linux/




More information about the Python-apps-commits mailing list