[Pkg-cli-libs-commits] r3715 - in /packages/semweb: ./ branches/ tags/ trunk/ trunk/debian/ trunk/debian/patches/

meebey at users.alioth.debian.org meebey at users.alioth.debian.org
Sun May 4 16:46:34 UTC 2008


Author: meebey
Date: Sun May  4 16:46:34 2008
New Revision: 3715

URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=3715
Log:
- initial import of semweb


Added:
    packages/semweb/
    packages/semweb/branches/
    packages/semweb/tags/
    packages/semweb/trunk/
    packages/semweb/trunk/debian/
    packages/semweb/trunk/debian/SemWeb.source
    packages/semweb/trunk/debian/changelog
    packages/semweb/trunk/debian/clean
    packages/semweb/trunk/debian/compat
    packages/semweb/trunk/debian/control
    packages/semweb/trunk/debian/copyright
    packages/semweb/trunk/debian/libsemweb1.0-cil.install
    packages/semweb/trunk/debian/libsemweb1.0-cil.installcligac
    packages/semweb/trunk/debian/libsemweb1.0-cil.links
    packages/semweb/trunk/debian/monodoc-semweb-manual.install
    packages/semweb/trunk/debian/monodoc-semweb-manual.postinst
    packages/semweb/trunk/debian/monodoc-semweb-manual.postrm
    packages/semweb/trunk/debian/patches/
    packages/semweb/trunk/debian/patches/00list
    packages/semweb/trunk/debian/patches/enable_AssemblyDelaySign.dpatch   (with props)
    packages/semweb/trunk/debian/patches/fix_mysql_linkage.dpatch   (with props)
    packages/semweb/trunk/debian/patches/fix_store_builds.dpatch   (with props)
    packages/semweb/trunk/debian/rules   (with props)
    packages/semweb/trunk/debian/semweb.pc
    packages/semweb/trunk/debian/semweb.snk.uu

Added: packages/semweb/trunk/debian/SemWeb.source
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/SemWeb.source?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/SemWeb.source (added)
+++ packages/semweb/trunk/debian/SemWeb.source Sun May  4 16:46:34 2008
@@ -1,0 +1,4 @@
+<?xml version="1.0"?>
+<monodoc>
+  <source provider="ecma" basefile="SemWeb" path="semweb"/>
+</monodoc>

Added: packages/semweb/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/changelog?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/changelog (added)
+++ packages/semweb/trunk/debian/changelog Sun May  4 16:46:34 2008
@@ -1,0 +1,33 @@
+semweb (1.05-1~pre1) 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 <meebey at debian.org>  Sun, 04 May 2008 14:09:48 +0200

Added: packages/semweb/trunk/debian/clean
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/clean?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/clean (added)
+++ packages/semweb/trunk/debian/clean Sun May  4 16:46:34 2008
@@ -1,0 +1,1 @@
+bin_generics/SemWeb.SQLServerStore.dll*

Added: packages/semweb/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/compat?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/compat (added)
+++ packages/semweb/trunk/debian/compat Sun May  4 16:46:34 2008
@@ -1,0 +1,1 @@
+7

Added: packages/semweb/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/control?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/control (added)
+++ packages/semweb/trunk/debian/control Sun May  4 16:46:34 2008
@@ -1,0 +1,48 @@
+Source: semweb
+Section: libs
+Priority: optional
+Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team at lists.alioth.debian.org>
+Uploaders: Mirco Bauer <meebey at debian.org>
+Build-Depends: debhelper (>= 7), dpatch
+Build-Depends-Indep: cli-common-dev (>= 0.5.4),
+ sharutils,
+ mono-gmcs (>= 1.1.6),
+ mono-gac,
+ mono-1.0-devel,
+ pkg-config,
+ monodoc-base,
+ libmono-npgsql2.0-cil,
+ libmono-system-data2.0-cil,
+ libmono-system-web2.0-cil,
+ libmono-sqlite2.0-cil,
+ libmysql5.0-cil
+Standards-Version: 3.7.3
+Homepage: http://razor.occams.info/code/semweb/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-cli-libs/packages/semweb/trunk/
+
+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
+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 packages contains the compiled XML documentation for SemWeb

Added: packages/semweb/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/copyright?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/copyright (added)
+++ packages/semweb/trunk/debian/copyright Sun May  4 16:46:34 2008
@@ -1,0 +1,115 @@
+This package was debianized by Mirco Bauer <meebey at debian.org> 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 <meebey at debian.org> on Sub,  4 May 2008 18:11:54 +0200.
+
+The current Debian maintainer(s) is/are:
+Tim Retout <tim at retout.co.uk>
+
+Copyright:
+Copyright (c) 2005-2008 Joshua Tauberer <http://razor.occams.info>
+
+src/Euler.cs:
+Copyright (c) 2006 Jos De Roo
+
+src/SQLServerStore.cs:
+Copyright (c) 2008 Khaled Hammouda <khaledh at gmail.com>
+
+src/Util.cs:
+Copyright (c) 2005-2008 Joshua Tauberer <http://razor.occams.info>
+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., 59 Temple Place - Suite 330,   
+ Boston, MA 02111-1307, 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,&nbsp;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.

Added: packages/semweb/trunk/debian/libsemweb1.0-cil.install
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/libsemweb1.0-cil.install?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/libsemweb1.0-cil.install (added)
+++ packages/semweb/trunk/debian/libsemweb1.0-cil.install Sun May  4 16:46:34 2008
@@ -1,0 +1,2 @@
+bin_generics/SemWeb.dll*	/usr/lib/cli/semweb-1.0/
+/usr/lib/pkgconfig/

Added: packages/semweb/trunk/debian/libsemweb1.0-cil.installcligac
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/libsemweb1.0-cil.installcligac?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/libsemweb1.0-cil.installcligac (added)
+++ packages/semweb/trunk/debian/libsemweb1.0-cil.installcligac Sun May  4 16:46:34 2008
@@ -1,0 +1,1 @@
+/usr/lib/cli/semweb-1.0/SemWeb.dll

Added: packages/semweb/trunk/debian/libsemweb1.0-cil.links
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/libsemweb1.0-cil.links?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/libsemweb1.0-cil.links (added)
+++ packages/semweb/trunk/debian/libsemweb1.0-cil.links Sun May  4 16:46:34 2008
@@ -1,0 +1,1 @@
+usr/lib/pkgconfig/semweb-1.0.pc /usr/lib/pkgconfig/semweb.pc

Added: packages/semweb/trunk/debian/monodoc-semweb-manual.install
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/monodoc-semweb-manual.install?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/monodoc-semweb-manual.install (added)
+++ packages/semweb/trunk/debian/monodoc-semweb-manual.install Sun May  4 16:46:34 2008
@@ -1,0 +1,3 @@
+debian/SemWeb.source		/usr/lib/monodoc/sources/
+bin_generics/SemWeb.tree	/usr/lib/monodoc/sources/
+bin_generics/SemWeb.zip		/usr/lib/monodoc/sources/

Added: packages/semweb/trunk/debian/monodoc-semweb-manual.postinst
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/monodoc-semweb-manual.postinst?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/monodoc-semweb-manual.postinst (added)
+++ packages/semweb/trunk/debian/monodoc-semweb-manual.postinst Sun May  4 16:46:34 2008
@@ -1,0 +1,19 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "configure" ]; then
+	# Add the node entry
+	grep -v db4o /usr/lib/monodoc/monodoc.xml \
+	           | sed 's@  <node label="Various" name="various">@  <node label="Various" name="various">\n    <node label="SemWeb" name="semweb"/>@' \
+	           > /usr/lib/monodoc/monodoc.xml.new
+	mv /usr/lib/monodoc/monodoc.xml.new \
+	   /usr/lib/monodoc/monodoc.xml
+	
+	# Rebuild the index
+	if [ -x /usr/bin/monodoc ]; then
+		echo "generating monodoc search index..."
+		/usr/bin/monodoc --make-index > /dev/null
+	fi
+fi
+
+#DEBHELPER#

Added: packages/semweb/trunk/debian/monodoc-semweb-manual.postrm
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/monodoc-semweb-manual.postrm?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/monodoc-semweb-manual.postrm (added)
+++ packages/semweb/trunk/debian/monodoc-semweb-manual.postrm Sun May  4 16:46:34 2008
@@ -1,0 +1,18 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "remove" ]; then
+	# Remove the node entry
+	grep -v semweb /usr/lib/monodoc/monodoc.xml \
+	           > /usr/lib/monodoc/monodoc.xml.new
+	mv /usr/lib/monodoc/monodoc.xml.new \
+	   /usr/lib/monodoc/monodoc.xml
+
+	# Rebuild the index
+	if [ -x /usr/bin/monodoc ]; then
+		echo "generating monodoc search index..."
+		/usr/bin/monodoc --make-index > /dev/null
+	fi
+fi
+                
+#DEBHELPER#

Added: packages/semweb/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/patches/00list?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/patches/00list (added)
+++ packages/semweb/trunk/debian/patches/00list Sun May  4 16:46:34 2008
@@ -1,0 +1,3 @@
+fix_mysql_linkage
+fix_store_builds
+enable_AssemblyDelaySign

Added: packages/semweb/trunk/debian/patches/enable_AssemblyDelaySign.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/patches/enable_AssemblyDelaySign.dpatch?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/patches/enable_AssemblyDelaySign.dpatch (added)
+++ packages/semweb/trunk/debian/patches/enable_AssemblyDelaySign.dpatch Sun May  4 16:46:34 2008
@@ -1,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## enable_AssemblyDelaySign.dpatch by Mirco Bauer <meebey at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad semweb-1.05+dfsg~/src/AssemblyInfo.cs semweb-1.05+dfsg/src/AssemblyInfo.cs
+--- semweb-1.05+dfsg~/src/AssemblyInfo.cs	2008-05-04 17:25:56.000000000 +0200
++++ semweb-1.05+dfsg/src/AssemblyInfo.cs	2008-05-04 17:27:09.000000000 +0200
+@@ -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 @@
+ [assembly: AssemblyCopyright("Copyright (c) 2008 Joshua Tauberer <http://razor.occams.info>")]
+ [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")]
+ 

Propchange: packages/semweb/trunk/debian/patches/enable_AssemblyDelaySign.dpatch
------------------------------------------------------------------------------
    svn:executable = 

Added: packages/semweb/trunk/debian/patches/fix_mysql_linkage.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/patches/fix_mysql_linkage.dpatch?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/patches/fix_mysql_linkage.dpatch (added)
+++ packages/semweb/trunk/debian/patches/fix_mysql_linkage.dpatch Sun May  4 16:46:34 2008
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_mysql_linkage.dpatch by Mirco Bauer <meebey at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad semweb-1.05+dfsg~/Makefile semweb-1.05+dfsg/Makefile
+--- semweb-1.05+dfsg~/Makefile	2008-05-04 15:19:34.000000000 +0200
++++ semweb-1.05+dfsg/Makefile	2008-05-04 15:21:14.000000000 +0200
+@@ -96,7 +96,7 @@
+ 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

Propchange: packages/semweb/trunk/debian/patches/fix_mysql_linkage.dpatch
------------------------------------------------------------------------------
    svn:executable = 

Added: packages/semweb/trunk/debian/patches/fix_store_builds.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/patches/fix_store_builds.dpatch?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/patches/fix_store_builds.dpatch (added)
+++ packages/semweb/trunk/debian/patches/fix_store_builds.dpatch Sun May  4 16:46:34 2008
@@ -1,0 +1,55 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_store_builds.dpatch by Mirco Bauer <meebey at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad semweb-1.05+dfsg~/Makefile semweb-1.05+dfsg/Makefile
+--- semweb-1.05+dfsg~/Makefile	2008-05-04 17:25:57.000000000 +0200
++++ semweb-1.05+dfsg/Makefile	2008-05-04 17:26:27.000000000 +0200
+@@ -66,7 +66,7 @@
+ 
+ $(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.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 @@
+ 
+ $(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 @@
+ $(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
+ 
+ $(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

Propchange: packages/semweb/trunk/debian/patches/fix_store_builds.dpatch
------------------------------------------------------------------------------
    svn:executable = 

Added: packages/semweb/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/rules?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/rules (added)
+++ packages/semweb/trunk/debian/rules Sun May  4 16:46:34 2008
@@ -1,0 +1,94 @@
+#!/usr/bin/make -f
+export DH_VERBOSE=1
+export MONO_DISABLE_SHM=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
+
+include /usr/share/dpatch/dpatch.make
+
+build: patch-stamp
+	dh $@ --before build
+	# unpack signing key
+	cd debian && uudecode < semweb.snk.uu
+
+	# compile
+	$(MAKE) PROFILE=DOTNET2 $(LIBS)
+
+	# sign libs
+	for LIB in $(LIBS); do \
+		sn -R $$LIB debian/semweb.snk; \
+	done
+	dh $@ --after build
+	
+	# build API docs
+	#for LIB in $(LIBS); do \
+	#	monodocer \
+	#	  --assembly:$$LIB \
+	#	  --path:$(CURDIR)/bin_generics/monodocer; \
+	#done
+	monodocer \
+	  --assembly:bin_generics/SemWeb.dll \
+	  --path:$(CURDIR)/bin_generics/monodocer; \
+	mdassembler \
+	  --out $(CURDIR)/bin_generics/SemWeb \
+	  --ecma $(CURDIR)/bin_generics/monodocer
+
+install: build
+	dh $@ --before dh_install
+	# pkg-config
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/pkgconfig
+	cp debian/semweb.pc $(CURDIR)/debian/tmp/usr/lib/pkgconfig/
+	mv $(CURDIR)/debian/tmp/usr/lib/pkgconfig/semweb.pc \
+	   $(CURDIR)/debian/tmp/usr/lib/pkgconfig/semweb-$(DEB_CLI_ABI_VERSION).pc
+	perl -pe 's/#VERSION#/$(VERSION)/' -i \
+	  $(CURDIR)/debian/tmp/usr/lib/pkgconfig/semweb-$(DEB_CLI_ABI_VERSION).pc
+	perl -pe 's/#DEB_CLI_ABI_VERSION#/$(DEB_CLI_ABI_VERSION)/' -i \
+	  $(CURDIR)/debian/tmp/usr/lib/pkgconfig/semweb-$(DEB_CLI_ABI_VERSION).pc
+	dh $@ --remaining
+
+	dh $@ --until dh_install
+	dh_installcligac -i
+	dh $@ --after dh_install
+
+	dh $@ --until dh_fixperms
+	dh_clifixperms -i
+	dh $@ --after dh_fixperms
+
+binary: binary-indep
+binary-indep: install
+	dh_clistrip -i
+	dh_makeclilibs -i -m $(DEB_CLI_API_VERSION)
+	dh_shlibdeps -i
+	dh_clideps -i
+	
+	dh $@
+
+clean: unpatch
+	# clean up our signing key
+	rm -f debian/semweb.snk
+	# 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"
+	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 $@
+
+%:
+	dh $@

Propchange: packages/semweb/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = 

Added: packages/semweb/trunk/debian/semweb.pc
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/semweb.pc?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/semweb.pc (added)
+++ packages/semweb/trunk/debian/semweb.pc Sun May  4 16:46:34 2008
@@ -1,0 +1,8 @@
+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

Added: packages/semweb/trunk/debian/semweb.snk.uu
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/semweb/trunk/debian/semweb.snk.uu?rev=3715&op=file
==============================================================================
--- packages/semweb/trunk/debian/semweb.snk.uu (added)
+++ packages/semweb/trunk/debian/semweb.snk.uu Sun May  4 16:46:34 2008
@@ -1,0 +1,17 @@
+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[.7<T&H]F35O(&R/;TI6OWQNNBRGN[F.^8^
+M%DA01B['NT.O.#>GB9]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;B<E?WJB-*V?>E2"_;*IEPH8=]=%;@(^.*?5\YU5\
+M at R6,JVZ^$W5I/^V/>$MN\S%"K_MG-:(<_FE7US,K<YU5\A_/R2J(0H at BY!]'
+M<<G,8?@)@#B<])`^I?;8@:["_@*TRC%'H^EPCP*'"D$YO1]O0F&4]^N>$([1
+MEY=4OJ%RL8LD<!:[_F/$.=EXCRRVX66V]3+:.:II at T8.K=`,ICG&9=L\;(;U
+M;1M,`?,9W<>A1Y([?@EFK;(CJ at AA(FB;6Y(G._XGN2.YV/C5DGBF7(_@`T-9
+M8O[\-*RF:6<"?FKM)",X6G489958VE7-%%.\U#7HCT1 at S(+V\D\@4#@.%0J>
+MLM+Y5%BN66PCG`LU8-I)8G"!H(F\AZR<7 at 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




More information about the Pkg-cli-libs-commits mailing list