kde5 needen library and programs moved.

This commit is contained in:
Ertuğrul Erata
2015-07-28 10:10:58 +03:00
parent d7a324d292
commit 8539a93625
62 changed files with 2309 additions and 32 deletions
+45
View File
@@ -0,0 +1,45 @@
#!/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 shelltools
from pisi.actionsapi import perlmodules
from pisi.actionsapi import get
def setup():
shelltools.export("AUTOPOINT", "/bin/true")
# autotools.autoreconf("-vfi")
autotools.configure("--disable-silent-rules \
--disable-static \
--disable-rpath \
--enable-perl \
--enable-ruby \
--enable-lua \
--enable-tcl \
--enable-python \
--with-rrd-default-font=/usr/share/fonts/dejavu/DejaVuSansMono.ttf \
--with-perl-options='installdirs=vendor destdir=%(DESTDIR)s' \
--with-ruby-options='sitedir=%(DESTDIR)s/usr/lib/ruby' \
" % {"DESTDIR": get.installDIR()})
pisitools.dosed("Makefile", "^RRDDOCDIR.*$", "RRDDOCDIR=${datadir}/doc/${PACKAGE}")
pisitools.dosed("doc/Makefile", "^RRDDOCDIR.*$", "RRDDOCDIR=${datadir}/doc/${PACKAGE}")
pisitools.dosed("bindings/Makefile", "^RRDDOCDIR.*$", "RRDDOCDIR=${datadir}/doc/${PACKAGE}")
pisitools.dosed("examples/Makefile", "examplesdir = .*$", "examplesdir = $(datadir)/doc/${PACKAGE}/examples")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s includedir=/usr/include" % get.installDIR())
# remove unnecessary files
perlmodules.removePacklist()
perlmodules.removePodfiles()
@@ -0,0 +1,22 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -148,7 +148,7 @@
AC_PROG_CPP
AC_PROG_CC
AM_PROG_CC_C_O
-AC_PROG_LIBTOOL
+LT_INIT
dnl Try to detect/use GNU features
CFLAGS="$CFLAGS -D_GNU_SOURCE"
@@ -204,9 +204,6 @@
AC_CHECK_FUNC(acos, , AC_CHECK_LIB(m, acos))
-dnl add pic flag in any case this makes sure all our code is relocatable
-eval `./libtool --config | grep pic_flag=`
-CFLAGS="$CFLAGS $pic_flag"
dnl Checks for library functions.
@@ -0,0 +1,27 @@
Install dir:
/usr/$(get_libdir)/rrdtool/ifOctets.tcl
/usr/$(get_libdir)/rrdtool/pkgIndex.tcl
Due to the following change, pkglib_{DATA,SCRIPTS} is invalid:
http://git.savannah.gnu.org/cgit/automake.git/commit/?id=9ca632642b006ac6b0fc4ce0ae5b34023faa8cbf
---
bindings/tcl/Makefile.am | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/bindings/tcl/Makefile.am b/bindings/tcl/Makefile.am
index c0e8b0f..b7205e7 100644
--- a/bindings/tcl/Makefile.am
+++ b/bindings/tcl/Makefile.am
@@ -27,8 +27,9 @@ tclpkgdir = @TCL_PACKAGE_DIR@
tclpkg_DATA = pkgIndex.tcl
tclpkg_SCRIPTS = ifOctets.tcl
else
-pkglib_DATA = pkgIndex.tcl
-pkglib_SCRIPTS = ifOctets.tcl
+tclpkgdir = $(libdir)/@PACKAGE@
+tclpkg_DATA = pkgIndex.tcl
+tclpkg_SCRIPTS = ifOctets.tcl
endif
# Automake doen't like `tclrrd$(VERSION)$(TCL_SHLIB_SUFFIX)' as
+118
View File
@@ -0,0 +1,118 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>rrdtool</Name>
<Homepage>http://oss.oetiker.ch/rrdtool/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>A system to store and display time-series data</Summary>
<Description>RRD is the acronym for Round Robin Database. RRD is a system to store and display time-series data (i.e. network bandwidth, machine/room temperature, server load average).</Description>
<Archive sha1sum="cd6397be2f9fc51af07ad868ac1f9f3c184e30df" type="targz">http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.5.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>lua-devel</Dependency>
<Dependency>tcl-devel</Dependency>
<Dependency>ruby-devel</Dependency>
<Dependency>cairo-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>libart_lgpl</Dependency>
<Dependency>dejavu-fonts</Dependency>
<Dependency>perl</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>python</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>tcp-wrappers-devel</Dependency>
</BuildDependencies>
<Patches>
<!--Patch level="1">rrdtool-1.4.7-ruby-2-fix.patch</Patch-->
<!-- <Patch level="1">0001_rrdtool-1.4.7-configure.ac.patch</Patch> -->
<!-- <Patch level="1">rrdtool-1.4.5-automake-1.11.2.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>rrdtool</Name>
<RuntimeDependencies>
<Dependency>lua</Dependency>
<Dependency>tcl</Dependency>
<Dependency>ruby</Dependency>
<Dependency>cairo</Dependency>
<Dependency>pango</Dependency>
<Dependency>libart_lgpl</Dependency>
<Dependency>dejavu-fonts</Dependency>
<Dependency>perl</Dependency>
<Dependency>glib2</Dependency>
<Dependency>python</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>tcp-wrappers</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/rrdtool</Path>
</Files>
</Package>
<Package>
<Name>rrdtool-devel</Name>
<RuntimeDependencies>
<Dependency release="current">rrdtool</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2015-04-25</Date>
<Version>1.5.2</Version>
<Comment>Rebuild for ruby, ver. bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-12-20</Date>
<Version>1.4.7</Version>
<Comment>Rebuild for lua.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="4">
<Date>2014-05-28</Date>
<Version>1.4.7</Version>
<Comment>Rebuild, rm unused deps.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="3">
<Date>2013-12-01</Date>
<Version>1.4.7</Version>
<Comment>Rebuild for new perl.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-05-29</Date>
<Version>1.4.7</Version>
<Comment>Build for ruby 2.0</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-01</Date>
<Version>1.4.7</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>rrdtool</Name>
<Summary xml:lang="tr">Zaman serisi verilerini saklamak ve göstermek için bir araç</Summary>
<Description xml:lang="tr">RRD, Round Robin Database için kullanılan bir kısaltmadır. RRD, zaman serisi verilerini (ör. ağ bantgenişliği, makine/oda sıcaklığı, ortalama sunucu yükü) saklamak ve göstermek için kullanılan bir sistemdir.</Description>
</Source>
</PISI>