[Debian-islamic-commits] [SCM] Packaging for Thawab branch, master, updated. upstream/3.0.7-37-ga6f0899
أحمد المحمودي (Ahmed El-Mahmoudy)
aelmahmoudy at sabily.org
Sat Aug 7 15:13:56 UTC 2010
The following commit has been merged in the master branch:
commit a6f0899504db051d1899891bdf79588b1a62f276
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date: Sat Aug 7 17:49:31 2010 +0300
Install Thawab python package as a private package
diff --git a/debian/changelog b/debian/changelog
index 7644f8d..6f7ab9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,5 +5,7 @@ thawab (3.0.8-1) unstable; urgency=low
Makefile.
* Added a patch desktop-categories.diff, to add Education;Literature
to categories
+ * Added private-pkg.diff patch, to install Thawab python package as a
+ private package.
-- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Mon, 26 Jul 2010 22:48:05 +0300
diff --git a/debian/patches/private-pkg.diff b/debian/patches/private-pkg.diff
new file mode 100644
index 0000000..f92adcc
--- /dev/null
+++ b/debian/patches/private-pkg.diff
@@ -0,0 +1,12 @@
+Description: Install Thawab python package as private package
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
+Forwarded: not-needed
+--- a/thawab-gtk
++++ b/thawab-gtk
+@@ -1,4 +1,6 @@
+ #! /usr/bin/python
+ # -*- coding: UTF-8 -*-
++import sys
++sys.path.append("/usr/share/thawab")
+ from Thawab.gtkUi import main
+ main()
diff --git a/debian/patches/series b/debian/patches/series
index f43b747..ad8e6a0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+private-pkg.diff
separate_setup.py.diff
desktop-categories.diff
diff --git a/debian/rules b/debian/rules
index 8fb5c98..b1e9634 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ override_dh_auto_build:
dh_auto_build -Smakefile
override_dh_auto_install:
- dh_auto_install -Spython_distutils
+ dh_auto_install -Spython_distutils -- --install-lib=/usr/share/thawab
dh_auto_install -Smakefile
override_dh_auto_clean:
--
Packaging for Thawab
More information about the Debian-islamic-commits
mailing list