oxygen-fonts rebuild

This commit is contained in:
Ertuğrul Erata
2015-08-28 23:29:16 +03:00
5 changed files with 182 additions and 17 deletions
+30
View File
@@ -0,0 +1,30 @@
#!/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 pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import libtools
from pisi.actionsapi import get
#WorkDir = "fontforge-%s-b" % get.srcVERSION().split('_')[-1]
def setup():
#pisitools.dosed("configure.ac", "fontforge_package_name", "fontforge")
#shelltools.system("./autogen.sh")
autotools.configure()
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "LICENSE")
+124
View File
@@ -0,0 +1,124 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>fontforge</Name>
<Homepage>http://fontforge.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<Icon>fontforge</Icon>
<IsA>app:console</IsA>
<IsA>app:gui</IsA>
<Summary>Font editor and converter</Summary>
<Description>FontForge is a font editor that lets you create your own postscript, truetype, opentype, cid-keyed, multi-master, cff, svg and bitmap (bdf, FON, NFNT) fonts, or edit existing ones. Also lets you convert one format to another. FontForge also has support for many macintosh font formats.</Description>
<Archive sha1sum="2dd442baee9cd16efb5928bf51cc3d6b9c73d9af" type="targz">https://github.com/fontforge/fontforge/releases/download/20150824/fontforge-20150824.tar.gz</Archive>
<Archive sha1sum="efbc7c9d3e95159f5600dc71f9cccb370e46bb94" target="fontforge-20150824" type="targz">http://fontforge.org/cidmaps.tgz</Archive>
<BuildDependencies>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>cairo-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>libXft-devel</Dependency>
<Dependency>libXi-devel</Dependency>
<Dependency>giflib-devel</Dependency>
<Dependency>libspiro-devel</Dependency>
<Dependency>xdg-utils</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>readline-devel</Dependency>
<Dependency>libtool-ltdl</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>fontforge</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libpng</Dependency>
<Dependency>python</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>freetype</Dependency>
<Dependency>readline</Dependency>
<Dependency>libtool-ltdl</Dependency>
<Dependency>tiff</Dependency>
<Dependency>cairo</Dependency>
<Dependency>libXi</Dependency>
<Dependency>pango</Dependency>
<Dependency>libXft</Dependency>
<Dependency>giflib</Dependency>
<Dependency>libspiro</Dependency>
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/mime</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/fontforge</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<Package>
<Name>fontforge-devel</Name>
<Summary>Development files for fontforge</Summary>
<RuntimeDependencies>
<Dependency>tiff-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>cairo-devel</Dependency>
<Dependency release="current">fontforge</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2015-08-28</Date>
<Version>2.0.20150824</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="4">
<Date>2014-03-01</Date>
<Version>2.0.20140101</Version>
<Comment>Rebuild Unused</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-01</Date>
<Version>2.0.20140101</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-02</Date>
<Version>20120731</Version>
<Comment>Rebuild for RC.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-25</Date>
<Version>20120731</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>fontforge</Name>
<Summary xml:lang="tr">Postscript yazı tipi düzenleyici ve çevirici</Summary>
<Description xml:lang="tr">FontForge kendi postscript, truetype, opentype, cid-keyed, multi-master, cff, svg, bitmap (bdf, FON, NFNT) fontlarınızı yaratmanıza veya hali hazırda varolan fontlarınızı düzenlemenize olanak tanıyan bir font düzenleyicidir. FontForge Macintosh font formatlarının çoğunu da desteklemektedir.</Description>
</Source>
<Package>
<Name>fontforge-devel</Name>
<Summary xml:lang="tr">fontforge için geliştirme dosyaları</Summary>
</Package>
</PISI>
+6 -9
View File
@@ -2,22 +2,19 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
from pisi.actionsapi import kde5
def setup():
cmaketools.configure()
kde5.configure()
def build():
cmaketools.make()
kde5.make()
def install():
cmaketools.install()
kde5.install()
#def install():
# pisitools.insinto("/usr/share/fonts/oxygen", "*/*.ttf")
pisitools.dodoc("COPYING-OFL", "README")
pisitools.dodoc("COPYING-OFL", "README.md")
+9 -8
View File
@@ -15,28 +15,29 @@
<Archive sha1sum="6336d12705332d95d70fa03e710dc0a87e5be69a" type="tarxz">http://download.kde.org/stable/plasma/5.4.0/oxygen-fonts-5.4.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<!--Dependency>fontforge</Dependency-1-->
<Dependency>extra-cmake-modules</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>fontforge</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>oxygen-fonts</Name>
<RuntimeDependencies>
<Dependency>fontconfig</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/fonts</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2015-08-27</Date>
<Date>2014-08-27</Date>
<Version>5.4.0</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
<Comment>Version bump</Comment>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-03-02</Date>