libwmf:moved into main repo for pisi 2.0
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
#!/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 get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
|
||||
def setup():
|
||||
shelltools.unlink("configure.ac")
|
||||
shelltools.sym("patches/acconfig.h", "acconfig.h")
|
||||
|
||||
autotools.autoreconf("-fi")
|
||||
pisitools.dosed("src/Makefile.in", "@LIBWMF_GDK_PIXBUF_TRUE@", "#")
|
||||
autotools.configure("--without-expat \
|
||||
--with-libxml2 \
|
||||
--with-jpeg \
|
||||
--with-x \
|
||||
--with-gsfontdir=/usr/share/fonts/default/ghostscript \
|
||||
--with-fontdir=/usr/share/libwmf/fonts \
|
||||
--with-docdir=/usr/share/doc/%s \
|
||||
--disable-static" % get.srcNAME() )
|
||||
def build():
|
||||
autotools.make("LIBTOOL=/usr/bin/libtool")
|
||||
|
||||
def install():
|
||||
pisitools.dosed("fonts/fontmap", "libwmf/fonts", "fonts/default/ghostscript")
|
||||
|
||||
autotools.rawInstall("DESTDIR=%s \
|
||||
fontdir=/usr/share/libwmf/fonts \
|
||||
wmfonedocdir=/usr/share/doc/%s/caolan \
|
||||
wmfdocdir=/usr/share/doc/%s" %
|
||||
( get.installDIR(), get.srcNAME(), get.srcNAME() ) )
|
||||
|
||||
if shelltools.isDirectory("%s/usr/lib/gtk-2.0" % get.installDIR()):
|
||||
# seems "/usr/lib/gtk-2.0" no longer exists, so need check
|
||||
pisitools.removeDir("/usr/lib/gtk-2.0")
|
||||
|
||||
# These fonts included in gnu-gs-fonts-std package.
|
||||
pisitools.remove("/usr/share/libwmf/fonts/*afm")
|
||||
pisitools.remove("/usr/share/libwmf/fonts/*pfb")
|
||||
|
||||
pisitools.dodoc("README", "AUTHORS", "CREDITS", "ChangeLog", "NEWS", "TODO")
|
||||
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libwmf</Name>
|
||||
<Homepage>http://wvware.sourceforge.net/libwmf.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Library for reading and converting WMF files</Summary>
|
||||
<Description>A library for reading and converting Windows MetaFile vector graphics (WMF).</Description>
|
||||
<Archive sha1sum="822ab3bd0f5e8f39ad732f2774a8e9f18fc91e89" type="targz">mirrors://sourceforge/wvware/libwmf-0.2.8.4.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>harfbuzz-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libwmf</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>harfbuzz</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/libwmf</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libwmf-devel</Name>
|
||||
<Summary>Development files for libwmf</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libwmf</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/libwmf-config</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-24</Date>
|
||||
<Version>0.2.8.4</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-01</Date>
|
||||
<Version>0.2.8.4</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>0.2.8.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libwmf</Name>
|
||||
<Summary xml:lang="tr">WMF (Windows metafile) okuma ve dönüştürme kitaplığı</Summary>
|
||||
<Description xml:lang="tr">Microsoft Word gibi uygulamaların kullandığı WMF (Windows metafile) dosyalarını standart formatlara (PNG, JPEG, PS, EPS, SVG gibi) dönüştürebilmek ve gösterebilmek için gereken kütüphanedir.</Description>
|
||||
<Description xml:lang="fr">Librairie pour convertir les fichiers WMF.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libwmf-devel</Name>
|
||||
<Summary xml:lang="tr">libwmf için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user