Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=8b3664939299ae73872a00f049740a26e817b311

commit 8b3664939299ae73872a00f049740a26e817b311
Author: crazy <cr...@frugalware.org>
Date:   Tue Feb 23 10:35:43 2010 +0100

soprano-2.4.0.1-2-x86_64
* rebuilt with qt4
* added patch to stop soprano being verbose
* about what java stuff is loading ..
* changed gcj.patch to llok in /usr/lib now

diff --git a/source/apps/soprano/FrugalBuild b/source/apps/soprano/FrugalBuild
index 97e0b1b..0effaff 100644
--- a/source/apps/soprano/FrugalBuild
+++ b/source/apps/soprano/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=soprano
pkgver=2.4.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="RDF storage, parsing, and serialization framework"
_F_sourceforge_ext=".tar.bz2"
makedepends=('libgcj-awt' 'libqtgui') ## what for GUI ?
@@ -15,13 +15,14 @@ depends=("libqtnetwork>=$_F_kde_qtver" 
"libqtdbus>=$_F_kde_qtver" 'libgcc' 'cluc
groups=('apps')
archs=('i686' 'x86_64' 'ppc')
options=('scriptlet')
-source=($source gcj.patch)
+source=($source gcj.patch no_verbose_thx.patch)
sha1sums=('8455e16533ee6352594da5d5252d267fda75f4db' \
-          'bee03fc02b4c6be0f6212c09f39786e99ae52205')
+          '2b165ad1ab178a7f8c5ad4cac86a6121c34183c7' \
+          'b2994b54615bf3e2e0c3daa142dc69e1d44c18fd')

subpkgs=("${subpk...@]}" "$pkgname-backend-sesame2")
subdescs=("${subdes...@]}" "Sesame2 storage Backend (java-based)")
-subdepends=("${subdepen...@]}" "libgcj libqtcore>=$_F_kde_qtver libgcc")
+subdepends=("${subdepen...@]}" "libgcj>=4.4.3-2 libqtcore>=$_F_kde_qtver 
libgcc")
subrodepends=("${subrodepen...@]}" "$pkgname=$pkgver")
subgroups=("${subgrou...@]}" 'apps')
subprovides=("${subprovid...@]}" "$pkgname-sesame2")
diff --git a/source/apps/soprano/gcj.patch b/source/apps/soprano/gcj.patch
index b5ebd40..e8b74e5 100644
--- a/source/apps/soprano/gcj.patch
+++ b/source/apps/soprano/gcj.patch
@@ -8,7 +8,7 @@ better way.

if(NOT SOPRANO_DISABLE_SESAME2_BACKEND)
+  set(JAVA_INCLUDE_PATH /usr/lib/gcc/i686-frugalware-linux/4.4.3/include/)
-+  set(JAVA_JVM_LIBRARY /usr/lib/gcj-4.4.3-10/libjvm.so)
++  set(JAVA_JVM_LIBRARY /usr/lib/libjvm.so)
find_package(JNI)
if(JAVA_INCLUDE_PATH AND JAVA_JVM_LIBRARY)
file(READ ${JAVA_INCLUDE_PATH}/jni.h jni_header_data)
diff --git a/source/apps/soprano/no_verbose_thx.patch 
b/source/apps/soprano/no_verbose_thx.patch
new file mode 100644
index 0000000..e3a09a9
--- /dev/null
+++ b/source/apps/soprano/no_verbose_thx.patch
@@ -0,0 +1,20 @@
+diff -Naur soprano-2.4.0.1/backends/sesame2/jniwrapper.cpp 
soprano-2.4.0.1-p/backends/sesame2/jniwrapper.cpp
+--- soprano-2.4.0.1/backends/sesame2/jniwrapper.cpp    2009-08-21 
09:05:13.000000000 +0200
++++ soprano-2.4.0.1-p/backends/sesame2/jniwrapper.cpp  2010-02-17 
20:57:48.000000000 +0100
+@@ -67,12 +67,11 @@
+         JavaVMInitArgs vmArgs;
+         JavaVMOption vmOptions[4];
+         vmOptions[0].optionString = ( char* 
)"-Djava.class.path="SESAME2_CLASSPATH;
+-        vmOptions[1].optionString = ( char* )"-verbose:jni,gc,class";
+-        vmOptions[2].optionString = ( char* )"-Xms256m";
+-        vmOptions[3].optionString = ( char* )"-Xmx256m";
++        vmOptions[1].optionString = ( char* )"-Xms256m";
++        vmOptions[2].optionString = ( char* )"-Xmx256m";
+         vmArgs.version = JNI_VERSION_1_4;
+         vmArgs.options = vmOptions;
+-        vmArgs.nOptions = 4;
++        vmArgs.nOptions = 3;
+
+         // create the VM
+         JavaVM* jvm = 0;
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to