Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=kdetesting.git;a=commitdiff;h=2d62e9ad2ac61b006fea09d2d00e915d383751d6
commit 2d62e9ad2ac61b006fea09d2d00e915d383751d6 Author: crazy <cr...@frugalware.org> Date: Mon Feb 8 20:16:46 2010 +0100 virtuoso-6.1.0-1-x86_64 * New package for kde4.4 * stripped down to only that what kde4 need diff --git a/source/apps/virtuoso/FrugalBuild b/source/apps/virtuoso/FrugalBuild new file mode 100644 index 0000000..4a7c906 --- /dev/null +++ b/source/apps/virtuoso/FrugalBuild @@ -0,0 +1,28 @@ +# Compiling Time: 0.01 SBU +# Maintainer: crazy <cr...@frugalware.org> + +pkgname=virtuoso +pkgver=6.1.0 +pkgrel=1 +pkgdesc="Virtuoso is an innovative Universal Server platform for SQL, RDF, XML, and Web Services" +_F_sourceforge_name="$pkgname-opensource" +Finclude sourceforge +url="http://www.openlinksw.com/dataspace/dav/wiki/Main/" +depends=('glibc' 'libldap') +groups=('apps') +archs=('i686' 'x86_64' 'ppc') +source=($source build-only-what-kde-need.patch) +Fconfopts="$Fconfopts --disable-static" +sha1sums=('11d68d3b8d7fef05017eaba6dcc86050db71d211' \ + 'e17dacd4d1a4fdd3717d5f0a0f60e04684cb7c4f') + +build() +{ + Fcd + Fpatchall + Fautoreconf + Fmake + Fmakeinstall +} + +# optimization OK diff --git a/source/apps/virtuoso/build-only-what-kde-need.patch b/source/apps/virtuoso/build-only-what-kde-need.patch new file mode 100644 index 0000000..93f4a4d --- /dev/null +++ b/source/apps/virtuoso/build-only-what-kde-need.patch @@ -0,0 +1,73 @@ +diff -Naur virtuoso-opensource-6.1.0/binsrc/Makefile.am virtuoso-opensource-6.1.0-build-only-what-kde-need/binsrc/Makefile.am +--- virtuoso-opensource-6.1.0/binsrc/Makefile.am 2009-04-21 23:21:06.000000000 +0200 ++++ virtuoso-opensource-6.1.0-build-only-what-kde-need/binsrc/Makefile.am 2010-02-08 18:14:39.000000000 +0100 +@@ -19,8 +19,7 @@ + # + # + +-SUBDIRS = dav mono virtuoso tests rdf_mappers driver maildrop sqldoc hosting bpel b3s tutorial yacutia samples vsp ws sync vspx vad cached_resources virtodbc virtoledb virtuoso_sink xddl VirtuosoClient.Net oat isparql jena sesame sesame2 sesame3 redland +- ++SUBDIRS = virtuoso driver + + # ---------------------------------------------------------------------- + # +diff -Naur virtuoso-opensource-6.1.0/binsrc/virtuoso/Makefile.am virtuoso-opensource-6.1.0-build-only-what-kde-need/binsrc/virtuoso/Makefile.am +--- virtuoso-opensource-6.1.0/binsrc/virtuoso/Makefile.am 2009-10-16 18:49:43.000000000 +0200 ++++ virtuoso-opensource-6.1.0-build-only-what-kde-need/binsrc/virtuoso/Makefile.am 2010-02-08 18:13:28.000000000 +0100 +@@ -41,7 +41,7 @@ + + LIBS += @ZLIB_LIB@ + +-lib_LTLIBRARIES = libvirtuoso-t.la $(IODBC_LIBS) $(MONO_LIBS) $(IODBC_MONO_LIBS) ++noinst_LTLIBRARIES = libvirtuoso-t.la $(IODBC_LIBS) $(MONO_LIBS) $(IODBC_MONO_LIBS) + bin_PROGRAMS = virtuoso-t $(IODBC_PROGS) + + noinst_SCRIPTS = virtuoso +diff -Naur virtuoso-opensource-6.1.0/libsrc/Makefile.am virtuoso-opensource-6.1.0-build-only-what-kde-need/libsrc/Makefile.am +--- virtuoso-opensource-6.1.0/libsrc/Makefile.am 2007-12-11 14:47:44.000000000 +0100 ++++ virtuoso-opensource-6.1.0-build-only-what-kde-need/libsrc/Makefile.am 2010-02-08 18:13:28.000000000 +0100 +@@ -19,7 +19,7 @@ + # + # + +-SUBDIRS = util zlib odbcsdk Dk Thread langfunc Wi plugin Tidy Xml.new JDBCDriverType4 ++SUBDIRS = util zlib odbcsdk Dk Thread langfunc Wi plugin Tidy Xml.new + + noinst_HEADERS = Dk.h libutil.h + +diff -Naur virtuoso-opensource-6.1.0/libsrc/Wi/http_client.c virtuoso-opensource-6.1.0-build-only-what-kde-need/libsrc/Wi/http_client.c +--- virtuoso-opensource-6.1.0/libsrc/Wi/http_client.c 2010-02-02 21:27:43.000000000 +0100 ++++ virtuoso-opensource-6.1.0-build-only-what-kde-need/libsrc/Wi/http_client.c 2010-02-08 18:15:01.000000000 +0100 +@@ -412,7 +412,7 @@ + socksreq[8] = 0; /* no name */ + if (name) + { +- strncat ((char*)socksreq + 8, name, sizeof(socksreq) - 8); ++ strncat ((char*)socksreq + 8, name, sizeof(socksreq) - 8 - strlen(name) - 1); + socksreq[sizeof (socksreq) - 1] = 0; + packetsize = 9 + strlen ((char *) socksreq + 8); + } +diff -Naur virtuoso-opensource-6.1.0/libsrc/Wi/sqlovdb.c virtuoso-opensource-6.1.0-build-only-what-kde-need/libsrc/Wi/sqlovdb.c +--- virtuoso-opensource-6.1.0/libsrc/Wi/sqlovdb.c 2009-08-19 09:54:34.000000000 +0200 ++++ virtuoso-opensource-6.1.0-build-only-what-kde-need/libsrc/Wi/sqlovdb.c 2010-02-08 18:15:01.000000000 +0100 +@@ -104,7 +104,7 @@ + return loc; + } + +-#define NO_VDB GPF_T1 ("This build does not include virtual database support.") ++#define NO_VDB do { GPF_T1 ("This build does not include virtual database support."); abort(); } while(0) + + void + sqlo_table_new_locus (sqlo_t * so, df_elt_t * tb_dfe, remote_ds_t * rds, dk_set_t col_preds, dk_set_t * after_test, dk_set_t after_join_test, dk_set_t * vdb_join_test) +diff -Naur virtuoso-opensource-6.1.0/Makefile.am virtuoso-opensource-6.1.0-build-only-what-kde-need/Makefile.am +--- virtuoso-opensource-6.1.0/Makefile.am 2010-02-03 17:09:01.000000000 +0100 ++++ virtuoso-opensource-6.1.0-build-only-what-kde-need/Makefile.am 2010-02-08 18:13:28.000000000 +0100 +@@ -23,7 +23,7 @@ + ACLOCAL_AMFLAGS = -I binsrc/config + + +-SUBDIRS = . docsrc libsrc binsrc appsrc ++SUBDIRS = . libsrc binsrc + + dist_doc_DATA = \ + AUTHORS \ _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git