[Debian-islamic-commits] [SCM] Packaging for Zekr branch, master, updated. 0375b58d6f10885602ad59d802a33fca83db5775
أحمد المحمودي (Ahmed El-Mahmoudy)
aelmahmoudy at users.sourceforge.net
Tue Dec 1 11:29:55 UTC 2009
The following commit has been merged in the master branch:
commit c57c8f8cc0e26e65c1da7f1b791bcf7e141a084e
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date: Tue Dec 1 11:27:08 2009 +0200
Added build_manifest.diff patch to add Class-Path & Main-Class
attributes to manifest
diff --git a/debian/patches/build_manifest.diff b/debian/patches/build_manifest.diff
new file mode 100644
index 0000000..7ffabb1
--- /dev/null
+++ b/debian/patches/build_manifest.diff
@@ -0,0 +1,21 @@
+Description: Add Class-Path & Main-Class attributes to manifest
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
+--- a/build.xml
++++ b/build.xml
+@@ -90,7 +90,15 @@
+ </target>
+
+ <target name="dist" depends="compile">
+- <jar jarfile="${distdir}" basedir="${build_classdir}" />
++ <pathconvert property="class_path" pathsep=" ">
++ <path refid="buildlibs" />
++ </pathconvert>
++ <jar jarfile="${distdir}" basedir="${build_classdir}">
++ <manifest>
++ <attribute name="Main-Class" value="${main_class}" />
++ <attribute name="Class-Path" value="${class_path}" />
++ </manifest>
++ </jar>
+ <delete dir="${builddir}" />
+ </target>
+
diff --git a/debian/patches/series b/debian/patches/series
index f2382ac..663cdbc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
02_build_xml.patch
03_KeyboardShortcut_oldswt.patch
03_mozilla_five_home.diff
+build_manifest.diff
--
Packaging for Zekr
More information about the Debian-islamic-commits
mailing list