debian/0000755000000000000000000000000011706330345007170 5ustar debian/watch0000644000000000000000000000015011706330201010204 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://razor.occams.info/code/semweb/ semweb-([\d\.]+)\.tgz debian/patches/0000755000000000000000000000000011706330201010606 5ustar debian/patches/series0000644000000000000000000000017111706330201012022 0ustar 01-fix_mysql_linkage.patch 02-fix_store_builds.patch 03-enable_AssemblyDelaySign.patch 04-use_mono-csc_as_compiler.patch debian/patches/03-enable_AssemblyDelaySign.patch0000644000000000000000000000174711706330201016745 0ustar Description: enabled delayed assemblies sign Author: Mirco Bauer Forwarded: not-needed --- src/AssemblyInfo.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- semweb.orig/src/AssemblyInfo.cs +++ semweb/src/AssemblyInfo.cs @@ -1,6 +1,7 @@ using System.Reflection; using System.Runtime.CompilerServices; +#if MAIN [assembly: AssemblyTitle("SemWeb")] [assembly: AssemblyDescription("A library for applications using RDF and the semantic web.")] [assembly: AssemblyConfiguration("")] @@ -9,10 +10,9 @@ using System.Runtime.CompilerServices; [assembly: AssemblyCopyright("Copyright (c) 2008 Joshua Tauberer ")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +#endif [assembly: AssemblyVersion("1.0.5.0")] -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] - +[assembly: AssemblyDelaySign(true)] +[assembly: AssemblyKeyFile("debian/semweb.snk")] debian/patches/01-fix_mysql_linkage.patch0000644000000000000000000000145111706330201015553 0ustar Description: use pkgconfig to link to MySql library Author: Mirco Bauer Forwarded: not-needed --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- semweb.orig/Makefile +++ semweb/Makefile @@ -96,7 +96,7 @@ $(BIN)/SemWeb.MySQLStore.dll: src/MySQLS ifneq "$(PROFILE)" "DOTNET1" # the MySql.Data lib we are compiling against is 2.0. ifneq "$(mysql_available)" "0" $(MCS) -debug src/MySQLStore.cs -out:$(BIN)/SemWeb.MySQLStore.dll -t:library\ - -r:$(BIN)/SemWeb.dll -r:System.Data -r:MySql.Data -d:CONNECTOR -lib:lib + -r:$(BIN)/SemWeb.dll -r:System.Data -pkg:mysql-connector-net -d:CONNECTOR -lib:lib #$(MCS) -debug src/MySQLStore.cs -out:$(BIN)/SemWeb.MySQLStore-ByteFX.dll -t:library\ # -r:$(BIN)/SemWeb.dll -r:System.Data -r:ByteFX.Data -d:BYTEFX else debian/patches/04-use_mono-csc_as_compiler.patch0000644000000000000000000000101011706330201017007 0ustar Description: use csc instead of gmcs as compiler Author: Jo Shields Forwarded: not-needed --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- git.orig/Makefile +++ git/Makefile @@ -35,12 +35,12 @@ ifeq "$(PROFILE)" "DOTNET2" BIN=bin_generics -MCS=gmcs -d:DOTNET2 +MCS=mono-csc -d:DOTNET2 endif ifeq "$(PROFILE)" "DOTNET3" BIN=bin_linq -MCS=gmcs -d:DOTNET3 -langversion:linq +MCS=mono-csc -d:DOTNET3 -langversion:linq endif ifeq "$(PROFILE)" "SILVERLIGHT" debian/patches/02-fix_store_builds.patch0000644000000000000000000000467711706330201015430 0ustar Description: fix store builds Author: Mirco Bauer --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- semweb.orig/Makefile +++ semweb/Makefile @@ -66,7 +66,7 @@ MAIN_SOURCES = \ $(BIN)/SemWeb.dll: $(MAIN_SOURCES) Makefile mkdir -p $(BIN) - $(MCS) -debug $(MAIN_SOURCES) -out:$(BIN)/SemWeb.dll -t:library \ + $(MCS) -debug -d:MAIN $(MAIN_SOURCES) -out:$(BIN)/SemWeb.dll -t:library \ -r:System.Data -r:System.Web # Auxiliary Assemblies @@ -78,7 +78,7 @@ $(BIN)/SemWeb.Sparql.dll: src/SparqlEngi $(BIN)/SemWeb.PostgreSQLStore.dll: src/PostgreSQLStore.cs ifneq "$(npgsql_available)" "0" - $(MCS) -debug src/PostgreSQLStore.cs -out:$(BIN)/SemWeb.PostgreSQLStore.dll -t:library \ + $(MCS) -debug src/AssemblyInfo.cs src/PostgreSQLStore.cs -out:$(BIN)/SemWeb.PostgreSQLStore.dll -t:library \ -r:$(BIN)/SemWeb.dll -r:System.Data -r:Npgsql else @echo "SKIPPING compilation of SemWeb.PosgreSQLStore.dll because Npgsql assembly seems to be not available in the GAC."; @@ -86,7 +86,7 @@ endif $(BIN)/SemWeb.SqliteStore.dll: src/SQLiteStore.cs ifneq "$(sqlite_available)" "0" - $(MCS) -debug src/SQLiteStore.cs -out:$(BIN)/SemWeb.SqliteStore.dll -t:library \ + $(MCS) -debug src/AssemblyInfo.cs src/SQLiteStore.cs -out:$(BIN)/SemWeb.SqliteStore.dll -t:library \ -r:$(BIN)/SemWeb.dll -r:System.Data -r:Mono.Data.SqliteClient else @echo "SKIPPING compilation of SemWeb.SqliteStore.dll because Mono.Data.SqliteClient assembly seems to be not available in the GAC."; @@ -95,7 +95,7 @@ endif $(BIN)/SemWeb.MySQLStore.dll: src/MySQLStore.cs ifneq "$(PROFILE)" "DOTNET1" # the MySql.Data lib we are compiling against is 2.0. ifneq "$(mysql_available)" "0" - $(MCS) -debug src/MySQLStore.cs -out:$(BIN)/SemWeb.MySQLStore.dll -t:library\ + $(MCS) -debug src/AssemblyInfo.cs src/MySQLStore.cs -out:$(BIN)/SemWeb.MySQLStore.dll -t:library\ -r:$(BIN)/SemWeb.dll -r:System.Data -pkg:mysql-connector-net -d:CONNECTOR -lib:lib #$(MCS) -debug src/MySQLStore.cs -out:$(BIN)/SemWeb.MySQLStore-ByteFX.dll -t:library\ # -r:$(BIN)/SemWeb.dll -r:System.Data -r:ByteFX.Data -d:BYTEFX @@ -105,7 +105,7 @@ endif endif $(BIN)/SemWeb.SQLServerStore.dll: src/SQLServerStore.cs - $(MCS) -debug src/SQLServerStore.cs -out:$(BIN)/SemWeb.SQLServerStore.dll -t:library\ + $(MCS) -debug src/AssemblyInfo.cs src/SQLServerStore.cs -out:$(BIN)/SemWeb.SQLServerStore.dll -t:library\ -r:$(BIN)/SemWeb.dll -r:System.Data # Utility programs debian/libsemweb1.0-cil.links0000644000000000000000000000007511706330201013160 0ustar usr/lib/pkgconfig/semweb-1.0.pc /usr/lib/pkgconfig/semweb.pc debian/README.source0000644000000000000000000000054211706330201011337 0ustar semweb for Debian ----------------- This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. Please see: /usr/share/doc/quilt/README.source for more information on how to apply the patches, modify patches, or remove a patch. debian/compat0000644000000000000000000000000211706330201010355 0ustar 7 debian/SemWeb.source0000644000000000000000000000014711706330201011565 0ustar debian/libsemweb1.0-cil.installcligac0000644000000000000000000000004311706330201014644 0ustar /usr/lib/cli/semweb-1.0/SemWeb.dll debian/libsemweb1.0-cil.install0000644000000000000000000000012311706330201013500 0ustar bin_generics/SemWeb.dll* /usr/lib/cli/semweb-1.0/ /usr/lib/pkgconfig/semweb-1.0.pc debian/semweb.snk.uu0000644000000000000000000000152311706330201011607 0ustar begin 644 semweb.snk M!P(````D``!24T$R``0``!$```"5RHCU(V>$W93DTZ:W!ELNK35Q-3O/"\)^ MZSL$U'O3Y\JA!P0Z).V`-\*91(-L'QQO;;2U@\;YU>0AQ"D>^BVL``^VB8[K MOS*/LD)5J;7FUX>AO\.LRHYNQ[.7GB9]S9M#[@&8SL.!\PNC'9!K\J,HB=%K4#@M,I1("+UP. M5CIG:^#?E+-*&[-,"X"W6S>3\67U!G%PJ0^N=J%K#+E+-4ONZ<[&N_9L'1[? MO)XCX>PSOL'6]R)E8CL;BE2"_;*IEPH8=]=%;@(^.*?5\YU5\ M@R6,JVZ^$W5I/^V/>$MN\S%"K_MG-:(<_FE7US,K$([1 MEY=4OJ%RL8LDA1Y([?@EFK;(CJ@AA(FB;6Y(G._XGN2.YV/C5DGBF7(_@`T-9 M8O[\-*RF:6<"?FKM)",X6G489958VE7-%%.\U#7HCT1@S(+V\D\@4#@.%0J> MLM+Y5%BN66PCG`LU8-I)8G"!H(F\AZR<7@L(,G]>X\.R"/24]THD>/R%Z#!@ MI&<,%*`=?>\W]UT4.!>&+6&D:P(J)_R2#)EB*]T^("4[^DS8=E^`R#;(^]M* +78:+V=0,*NI#KC@` ` end debian/control0000644000000000000000000000326211706330201010565 0ustar Source: semweb Section: cli-mono Priority: optional Maintainer: Debian CLI Libraries Team Uploaders: Mirco Bauer Build-Depends: debhelper (>= 7.0.50), cli-common-dev (>= 0.5.7), sharutils, mono-devel (>= 2.4.3), pkg-config, monodoc-base, libmysql-cil-dev Standards-Version: 3.9.2 Homepage: http://razor.occams.info/code/semweb/ Vcs-Browser: http://git.debian.org/?p=pkg-cli-libs/packages/semweb.git Vcs-Git: git://git.debian.org/pkg-cli-libs/packages/semweb.git Package: libsemweb1.0-cil Architecture: all Suggests: monodoc-semweb-manual Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends} Description: Semantic Web/RDF library SemWeb is a Semantic Web/RDF library written in C# for Mono and Microsoft .NET Framework. The library can be used for reading and writing RDF (XML, N3), keeping RDF in persistent storage (memory, MySQL, etc.), querying persistent storage via simple graph matching and SPARQL, and making SPARQL queries to remote endpoints. Limited RDFS and general-purpose inferencing is also possible. Package: monodoc-semweb-manual Section: doc Architecture: all Depends: monodoc-manual, ${misc:Depends} Description: compiled XML documentation for SemWeb SemWeb is a Semantic Web/RDF library written in C# for Mono and Microsoft .NET Framework. The library can be used for reading and writing RDF (XML, N3), keeping RDF in persistent storage (memory, MySQL, etc.), querying persistent storage via simple graph matching and SPARQL, and making SPARQL queries to remote endpoints. Limited RDFS and general-purpose inferencing is also possible. . This package contains the compiled XML documentation for SemWeb debian/clean0000644000000000000000000000020211706330201010156 0ustar bin_generics/SemWeb.SQLServerStore.dll* bin_generics/SemWeb.tree bin_generics/SemWeb.zip bin_generics/monodocer debian/semweb.snk debian/changelog0000644000000000000000000000711611706330201011036 0ustar semweb (1.05+dfsg-5) unstable; urgency=low * Team upload * Rebuild for CLR 4.0 transition * [800adf2] Use debsrc 3.0 (quilt) * [17253c9] Merge -arch and -indep things together. There are only Arch: all packages here, so there's no point in having all that cruft. * [73dca30] Drop deprecated cli.make include -- Chow Loong Jin Sat, 21 Jan 2012 02:20:34 +0800 semweb (1.05+dfsg-4) unstable; urgency=low * debian/control: + Fix typo in monodoc-semweb-manual description (Closes: #557701) + Update build-deps to Mono 2.4.3 standards, and fix broken MySQL Connector/NET build-dep * debian/monodoc-semweb-manual.postinst, debian/monodoc-semweb-manual.postrm: + Don't manually fiddle the search index (this is handled by a DPKG trigger) -- Jo Shields Mon, 09 Aug 2010 10:37:05 +0100 semweb (1.05+dfsg-3) unstable; urgency=low [ David Paleino ] * debian/rules: + fix docs generation commands (Closes: #533928) + rewritten using override targets and cli-common integration + fix clean target, FTBFS because of missing directory * debian/control: + raise dependency on debhelper to >= 7.0.50, to use override targets + raise dependency on cli-common-dev to >= 0.5.7, to use dh7 integration + bump Build-Depends from libmysql5.0-cil to libmysql6.0-cil + added ${misc:Depends} to monodoc-semweb-manual dependencies + Standards-Version bumped to 3.8.3: - move from Section libs to cli-mono * debian/patches/: + converted patches to quilt (also change debian/rules and debian/control) + added DEP-3 headers * debian/copyright: updated FSF postal address * debian/monodoc-semweb-manual.post*: fix monodoc calls, removed old postinst hack * debian/README.source added [ Mirco Bauer ] * debian/control: + Updated Vcs-* fields for the migrated git repository. * debian/patches/04-use_csc_as_compiler.patch debian/patches/04-use_mono-csc_as_compiler.patch debian/control: + Use mono-csc instead of csc and updated mono-devel build-dep. -- David Paleino Sat, 26 Sep 2009 00:00:42 +0200 semweb (1.05+dfsg-2) unstable; urgency=low * Update for Mono 2.0 transition + debian/patches/use_csc_as_compiler.dpatch: - Compiler is hard-coded in Makefile; change it * No-change standards bump to 3.8.0 * Tweak watch file to make uscan aware of mangled version -- Jo Shields Mon, 02 Mar 2009 15:16:38 +0000 semweb (1.05+dfsg-1) unstable; urgency=low * DFSG version of SemWeb 1.05 (deleted all pre-compiled binaries from the tarball) + For the record here a list of the deleted files: bin/IKVM.GNU.Classpath.dll bin/IKVM.Runtime.dll bin/Mono.GetOptions.dll bin/SemWeb.PostgreSQLStore.dll bin/SemWeb.SQLServerStore.dll bin/SemWeb.Sparql.dll bin/SemWeb.SqliteStore.dll bin/SemWeb.dll bin/euler.exe bin/rdfquery.exe bin/rdfstorage.exe bin/sparql-core.dll bin_generics/IKVM.GNU.Classpath.dll bin_generics/IKVM.Runtime.dll bin_generics/Mono.GetOptions.dll bin_generics/SemWeb.MySQLStore.dll bin_generics/SemWeb.PostgreSQLStore.dll bin_generics/SemWeb.SQLServerStore.dll bin_generics/SemWeb.Sparql.dll bin_generics/SemWeb.SqliteStore.dll bin_generics/SemWeb.dll bin_generics/euler.exe bin_generics/rdfquery.exe bin_generics/rdfstorage.exe bin_generics/sparql-core.dll * Initial release. -- Mirco Bauer Sun, 04 May 2008 14:09:48 +0200 debian/monodoc-semweb-manual.install0000644000000000000000000000022611706330201014740 0ustar debian/SemWeb.source /usr/lib/monodoc/sources/ bin_generics/SemWeb.tree /usr/lib/monodoc/sources/ bin_generics/SemWeb.zip /usr/lib/monodoc/sources/ debian/semweb.pc0000644000000000000000000000030711706330201010765 0ustar prefix=/usr libdir=${prefix}/lib pkglibdir=${libdir}/cli/semweb-#DEB_CLI_ABI_VERSION# Name: SemWeb Description: SemWeb - Semantic Web/RDF library Version: #VERSION# Libs: -r:${pkglibdir}/SemWeb.dll debian/copyright0000644000000000000000000001172611706330201011121 0ustar This package was debianized by Mirco Bauer on Sun, 4 May 2008 15:29:06 +0200. The copyright and licenses of the complete source code of semweb 1.05 was checked by Mirco Bauer on Sub, 4 May 2008 18:11:54 +0200. The current Debian maintainer(s) is/are: Mirco Bauer Copyright: Copyright (c) 2005-2008 Joshua Tauberer src/Euler.cs: Copyright (c) 2006 Jos De Roo src/SQLServerStore.cs: Copyright (c) 2008 Khaled Hammouda src/Util.cs: Copyright (c) 2005-2008 Joshua Tauberer Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GPL can be found in /usr/share/common-licenses/GPL. ------------------------------------------------------------------------------- src/Euler.cs The original Euler code is licensed under the W3C Software License. This is a very liberal translation of the original code into C#. W3C: This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications: - The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. - Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code. - Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders. ------------------------------------------------------------------------------- License notes from the author: The portions of this library not written by someone else are Copyright 2005-2008 Joshua Tauberer, and are dual-licensed under both the GNU GPL (version 2 or later) and the Creative Commons Attribution License. All source files not listed below were written originally by me. Thus for those source files written by me, you have two license options. The following components of this library are derived from other works: sparql-core.dll is based on the SPARQL Engine by Ryan Levering, which is covered by the GNU LGPL. The original Java JAR was coverted to a .NET assembly using IKVM (see below). Actually, I've made numerous changes to the library so it can take advantage of faster API paths in SemWeb. See: http://sparql.sourceforge.net/ IKVM*.dll are auxiliary assemblies for running the SPARQL engine. IKVM was written by Jeroen Frijters. See http://www.ikvm.net. The IVKM license is the zlib license, which is GPL compatible. Euler.cs is adapted from Jos De Roo's JavaScript Euler inferencing engine. See: http://www.agfa.com/w3c/euler/ The original source code (and thus this derived file) was licensed under the W3C Software License, which is GPL compatible. SQLServerStore.cs was contributed by Khaled Hammouda and is licensed under the GPL. debian/rules0000755000000000000000000000371211706330201010242 0ustar #!/usr/bin/make -f export DH_VERBOSE=1 DEB_VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2) VERSION = $(shell echo $(DEB_VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,') DEB_CLI_ABI_VERSION = 1.0 DEB_CLI_API_VERSION = 1.0.5 LIBS = bin_generics/SemWeb.dll \ bin_generics/SemWeb.PostgreSQLStore.dll \ bin_generics/SemWeb.MySQLStore.dll \ bin_generics/SemWeb.SqliteStore.dll \ bin_generics/SemWeb.SQLServerStore.dll override_dh_auto_build: # unpack signing key cd debian && uudecode < semweb.snk.uu # compile dh_auto_build -- PROFILE=DOTNET2 $(LIBS) # sign libs for LIB in $(LIBS); do \ sn -R $$LIB debian/semweb.snk; \ done # build API docs #for LIB in $(LIBS); do \ # mdoc update -i $$LIB -o $(CURDIR)/bin_generics/monodocer; \ #done mdoc update -o $(CURDIR)/bin_generics/monodocer \ bin_generics/SemWeb.dll mdoc assemble -o $(CURDIR)/bin_generics/SemWeb \ -f ecma $(CURDIR)/bin_generics/monodocer debian/semweb-$(DEB_CLI_ABI_VERSION).pc: debian/semweb.pc cat $< | sed -e 's/#VERSION#/$(VERSION)/;' | \ sed -e 's/#DEB_CLI_ABI_VERSION#/$(DEB_CLI_ABI_VERSION)/' > \ $@ override_dh_auto_install: debian/semweb-$(DEB_CLI_ABI_VERSION).pc # pkg-config mkdir -p $(CURDIR)/debian/tmp/usr/lib/pkgconfig install -m644 debian/semweb-$(DEB_CLI_ABI_VERSION).pc \ debian/tmp/usr/lib/pkgconfig/ dh_auto_install override_dh_makeclilibs: dh_makeclilibs -m $(DEB_CLI_API_VERSION) override_dh_auto_clean: # clean up our signing key rm -f debian/semweb.snk # clean up our .pc file rm -f debian/semweb-$(DEB_CLI_ABI_VERSION).pc # clean up our API docs rm -f bin_generics/SemWeb.tree \ bin_generics/SemWeb.zip rm -rf bin_generics/monodocer # workaround for broken "make clean" [ -d bin_generics/ ] || mkdir bin_generics/ for FILE in $(LIBS) \ bin_generics/SemWeb.Sparql.dll \ bin_generics/rdfstorage.exe \ bin_generics/rdfquery.exe \ bin_generics/euler.exe; do \ touch $$FILE; \ done dh_auto_clean %: dh $@ --with=cli debian/source/0000755000000000000000000000000011706330201010457 5ustar debian/source/format0000644000000000000000000000001411706330201011665 0ustar 3.0 (quilt)