[Debian-hebrew-package] [svn] r522 - pkg/bidiui/trunk/debian

Lior Kaplan kaplan at alioth.debian.org
Mon Nov 20 19:15:42 UTC 2006


Author: kaplan
Date: Mon Nov 20 20:15:41 2006
New Revision: 522

Modified:
   pkg/bidiui/trunk/debian/changelog
   pkg/bidiui/trunk/debian/rules
Log:
* Edit debian/rules in order to simply the creation of a Thunderbird
  compatible package (for other debian derivativs). Please read the
  comments there if you intend to create such a package.
* Update the Homepage URL in debian/control.

Modified: pkg/bidiui/trunk/debian/changelog
==============================================================================
--- pkg/bidiui/trunk/debian/changelog	(original)
+++ pkg/bidiui/trunk/debian/changelog	Mon Nov 20 20:15:41 2006
@@ -1,3 +1,12 @@
+bidiui (0.7.3-3) UNRELEASED; urgency=low
+
+  * Edit debian/rules in order to simply the creation of a Thunderbird
+    compatible package (for other debian derivativs). Please read the
+    comments there if you intend to create such a package.
+  * Update the Homepage URL in debian/control.
+
+ -- Lior Kaplan <kaplan at debian.org>  Mon, 20 Nov 2006 21:14:27 +0200
+
 bidiui (0.7.3-2) unstable; urgency=low
 
   * Change dependencies to reflect thunderbird's rename to icedove

Modified: pkg/bidiui/trunk/debian/rules
==============================================================================
--- pkg/bidiui/trunk/debian/rules	(original)
+++ pkg/bidiui/trunk/debian/rules	Mon Nov 20 20:15:41 2006
@@ -8,7 +8,20 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-INSTALLDIR=usr/share/icedove/extensions/\{54e72d7b-ed31-4736-854f-f517358f21ee\}
+# This line so for Debian derivatives still using thunderbird
+# instead of icedove. 
+# Changes need to be done:
+# 1. Change the comments between the lines bellow.
+# 2. Replace the word icedove in thunderbird on debian/control
+# 3. Replace the word icedove in thunderbird on debian/dirs
+# 4. Rename and edit debian/icedove-bidiui.links
+# Enjoy.
+
+#MAIL_PROGRAM=thunderbird
+MAIL_PROGRAM=icedove
+
+
+INSTALLDIR=usr/share/$(MAIL_PROGRAM)/extensions/\{54e72d7b-ed31-4736-854f-f517358f21ee\}
 
 configure: configure-stamp
 configure-stamp:
@@ -37,12 +50,12 @@
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
-	unzip -d debian/icedove-bidiui/$(INSTALLDIR) bidimailui_tbird.xpi
+	unzip -d debian/$(MAIL_PROGRAM)-bidiui/$(INSTALLDIR) bidimailui_tbird.xpi
 	# Make sure that the preferences files are in /etc
-	mv debian/icedove-bidiui/$(INSTALLDIR)/defaults/preferences/bidimailui.js \
-	    debian/icedove-bidiui/etc/icedove/bidiui.js
+	mv debian/$(MAIL_PROGRAM)-bidiui/$(INSTALLDIR)/defaults/preferences/bidimailui.js \
+	    debian/$(MAIL_PROGRAM)-bidiui/etc/$(MAIL_PROGRAM)/bidiui.js
 	ln -s /$(INSTALLDIR) \
-	    debian/icedove-bidiui/usr/lib/icedove/extensions/\{54e72d7b-ed31-4736-854f-f517358f21ee\}
+	    debian/$(MAIL_PROGRAM)-bidiui/usr/lib/$(MAIL_PROGRAM)/extensions/\{54e72d7b-ed31-4736-854f-f517358f21ee\}
 
 # Build architecture-independent files here.
 binary-indep: build install



More information about the Debian-hebrew-package mailing list