raptor2,rasqal,redland for libreoffice
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
docdir = "/%s/%s" % (get.docDIR(), get.srcNAME())
|
||||
|
||||
def setup():
|
||||
pisitools.cflags.add("-fno-strict-aliasing")
|
||||
pisitools.cxxflags.add("-fno-strict-aliasing")
|
||||
|
||||
autotools.configure("--disable-static \
|
||||
--disable-gtk-doc \
|
||||
--with-raptor=system \
|
||||
--with-rasqal=system ")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dohtml("*.html")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog*", "COPYING", "NEWS", "README")
|
||||
@@ -0,0 +1,13 @@
|
||||
diff -Nuar redland-1.0.10.orig/src/rdf_digest.c redland-1.0.10/src/rdf_digest.c
|
||||
--- redland-1.0.10.orig/src/rdf_digest.c 2010-03-07 01:30:22.588657802 +0200
|
||||
+++ redland-1.0.10/src/rdf_digest.c 2010-03-07 01:37:17.716408728 +0200
|
||||
@@ -209,6 +209,9 @@
|
||||
{
|
||||
librdf_digest* d;
|
||||
|
||||
+ if (!factory)
|
||||
+ return NULL;
|
||||
+
|
||||
librdf_world_open(world);
|
||||
|
||||
d=(librdf_digest*)LIBRDF_CALLOC(librdf_digest, 1, sizeof(librdf_digest));
|
||||
@@ -0,0 +1,34 @@
|
||||
diff -Naur redland-1.0.9-orig/configure.ac redland-1.0.9/configure.ac
|
||||
--- redland-1.0.9-orig/configure.ac 2009-07-28 14:59:04.361703816 +0300
|
||||
+++ redland-1.0.9/configure.ac 2009-07-28 14:59:16.608454149 +0300
|
||||
@@ -977,8 +977,6 @@
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
redland.rdf
|
||||
-docs/Makefile
|
||||
-docs/version.xml
|
||||
examples/Makefile
|
||||
src/Makefile
|
||||
src/redland.spec
|
||||
@@ -990,9 +988,6 @@
|
||||
AC_CONFIG_FILES([redland-config], [chmod +x redland-config])
|
||||
AC_CONFIG_FILES([redland-src-config], [chmod +x redland-src-config])
|
||||
|
||||
-dnl Check for gtk-doc and docbook
|
||||
-GTK_DOC_CHECK([1.3])
|
||||
-
|
||||
AC_OUTPUT
|
||||
|
||||
AC_MSG_RESULT([
|
||||
diff -Naur redland-1.0.9-orig/Makefile.am redland-1.0.9/Makefile.am
|
||||
--- redland-1.0.9-orig/Makefile.am 2009-07-28 14:59:04.365626697 +0300
|
||||
+++ redland-1.0.9/Makefile.am 2009-07-28 14:59:24.224454025 +0300
|
||||
@@ -34,7 +34,7 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
|
||||
|
||||
# Subdirectories to build/install/distribute etc.
|
||||
-SUBDIRS=$(subdirs) src examples utils demos docs data
|
||||
+SUBDIRS=$(subdirs) src examples utils demos data
|
||||
|
||||
EXTRA_DIST=ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 ChangeLog.4 \
|
||||
ChangeLog.5 ChangeLog.6 ChangeLog.7 \
|
||||
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>redland</Name>
|
||||
<Homepage>http://librdf.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<License>Apache-2.0</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>High-level interface for the Resource Description Framework</Summary>
|
||||
<Description>Redland is a set of free software C libraries that provide support for the Resource Description Framework (RDF).</Description>
|
||||
<Archive sha1sum="a47a7e98f934d17d60a241db90be407a0abe3c5d" type="targz">http://download.librdf.org/source/redland-1.0.17.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>rasqal-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>redland</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>rasqal</Dependency>
|
||||
<Dependency>raptor2</Dependency>
|
||||
<Dependency>libtool-ltdl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc/html/redland/</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/redland</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>redland-devel</Name>
|
||||
<Summary>Development files for redland</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">redland</Dependency>
|
||||
<!-- librdf.h includes headers from packages below -->
|
||||
<Dependency>raptor2-devel</Dependency>
|
||||
<Dependency>rasqal-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="executable">/usr/bin/redland-config</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/redland-config*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2017-03-03</Date>
|
||||
<Version>1.0.17</Version>
|
||||
<Comment>First Relase</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>redland</Name>
|
||||
<Summary xml:lang="tr">RDF (Resource Description Framework) için üst seviye katman kitaplıkları</Summary>
|
||||
<Description xml:lang="tr">Redland, RDF (Resource Description Framework) desteği sağlayan C kitaplıklarından oluşur.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>redland-devel</Name>
|
||||
<Summary xml:lang="tr">redland için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user