moved into main repo for pisi 2.0
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
# -*- 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 libtools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
# Do not rebuild docs
|
||||
shelltools.export("HASDOCBOOK", "no")
|
||||
|
||||
libtools.libtoolize("-f")
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--disable-static \
|
||||
--disable-docs \
|
||||
--with-cache-dir=/var/cache/fontconfig \
|
||||
--with-default-fonts=/usr/share/fonts \
|
||||
--with-add-fonts=/usr/local/share/fonts")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
if get.buildTYPE() == "emul32": return
|
||||
|
||||
pisitools.insinto("/etc/fonts", "fonts.conf", "fonts.conf.new")
|
||||
|
||||
enabled_configs = ("10-sub-pixel-rgb.conf", "70-yes-bitmaps.conf")
|
||||
disabled_configs = ("10-no-sub-pixel.conf",)
|
||||
|
||||
for cfg in enabled_configs:
|
||||
pisitools.dosym("../conf.avail/%s" % cfg, "/etc/fonts/conf.d/%s" % cfg)
|
||||
|
||||
for cfg in disabled_configs:
|
||||
pisitools.remove("/usr/share/fontconfig/conf.avail/%s" % cfg)
|
||||
|
||||
for i in ["fc-cat", "fc-list", "fc-match", "fc-cache"]:
|
||||
pisitools.doman("%s/*.1" % i)
|
||||
|
||||
pisitools.doman("doc/*.3")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "README", "doc/*.txt")
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
os.spawnle(os.P_WAIT, "/usr/bin/fc-cache", "/usr/bin/fc-cache", "-r", { "HOME": "/root/" })
|
||||
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import piksemel
|
||||
import subprocess
|
||||
|
||||
def updateCache(filepath):
|
||||
doc = piksemel.parse(filepath)
|
||||
for item in doc.tags("File"):
|
||||
path = item.getTagData("Path")
|
||||
if path.startswith("usr/share/fonts"):
|
||||
subprocess.call(["/usr/bin/fc-cache"])
|
||||
return
|
||||
|
||||
def setupPackage(metapath, filepath):
|
||||
updateCache(filepath)
|
||||
|
||||
def cleanupPackage(metapath, filepath):
|
||||
pass
|
||||
|
||||
def postCleanupPackage(metapath, filepath):
|
||||
updateCache(filepath)
|
||||
@@ -0,0 +1,60 @@
|
||||
diff -Nur fontconfig-2.6.0-old/conf.d/10-antialias.conf fontconfig-2.6.0/conf.d/10-antialias.conf
|
||||
--- fontconfig-2.6.0-old/conf.d/10-antialias.conf 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ fontconfig-2.6.0/conf.d/10-antialias.conf 2008-09-22 11:09:45.000000000 +0300
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
+<fontconfig>
|
||||
+<!-- Use the Antialiasing -->
|
||||
+ <match target="font">
|
||||
+ <edit name="antialias" mode="assign"><bool>true</bool></edit>
|
||||
+ </match>
|
||||
+</fontconfig>
|
||||
diff -Nur fontconfig-2.6.0-old/conf.d/10-hinting.conf fontconfig-2.6.0/conf.d/10-hinting.conf
|
||||
--- fontconfig-2.6.0-old/conf.d/10-hinting.conf 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ fontconfig-2.6.0/conf.d/10-hinting.conf 2008-09-22 11:09:45.000000000 +0300
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
+<fontconfig>
|
||||
+<!-- Use Hinting -->
|
||||
+ <match target="font">
|
||||
+ <edit name="hinting" mode="assign"><bool>true</bool></edit>
|
||||
+ </match>
|
||||
+</fontconfig>
|
||||
diff -Nur fontconfig-2.6.0-old/conf.d/10-hinting-full.conf fontconfig-2.6.0/conf.d/10-hinting-full.conf
|
||||
--- fontconfig-2.6.0-old/conf.d/10-hinting-full.conf 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ fontconfig-2.6.0/conf.d/10-hinting-full.conf 2008-09-22 11:09:45.000000000 +0300
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
+<fontconfig>
|
||||
+<!-- Use Full Hinting -->
|
||||
+ <match target="font">
|
||||
+ <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
|
||||
+ </match>
|
||||
+</fontconfig>
|
||||
diff -Nur fontconfig-2.6.0-old/conf.d/10-hinting-medium.conf fontconfig-2.6.0/conf.d/10-hinting-medium.conf
|
||||
--- fontconfig-2.6.0-old/conf.d/10-hinting-medium.conf 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ fontconfig-2.6.0/conf.d/10-hinting-medium.conf 2008-09-22 11:09:45.000000000 +0300
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
+<fontconfig>
|
||||
+<!-- Use Medium Hinting -->
|
||||
+ <match target="font">
|
||||
+ <edit name="hintstyle" mode="assign"><const>hintmedium</const></edit>
|
||||
+ </match>
|
||||
+</fontconfig>
|
||||
diff -Nur fontconfig-2.6.0-old/conf.d/10-hinting-slight.conf fontconfig-2.6.0/conf.d/10-hinting-slight.conf
|
||||
--- fontconfig-2.6.0-old/conf.d/10-hinting-slight.conf 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ fontconfig-2.6.0/conf.d/10-hinting-slight.conf 2008-09-22 11:09:45.000000000 +0300
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
+<fontconfig>
|
||||
+<!-- Use Slight Hinting -->
|
||||
+ <match target="font">
|
||||
+ <edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
|
||||
+ </match>
|
||||
+</fontconfig>
|
||||
@@ -0,0 +1,128 @@
|
||||
Index: fontconfig-2.8.0/conf.d/30-urw-aliases.conf
|
||||
===================================================================
|
||||
--- fontconfig-2.8.0.orig/conf.d/30-urw-aliases.conf
|
||||
+++ fontconfig-2.8.0/conf.d/30-urw-aliases.conf
|
||||
@@ -5,6 +5,13 @@
|
||||
URW provides metric and shape compatible fonts for some Adobe families.
|
||||
Helvetica, Courier, and Times are handled in 30-metric-aliases.conf.
|
||||
-->
|
||||
+
|
||||
+<!--
|
||||
+ However, these fonts are quite ugly and do not render well on-screen,
|
||||
+ so we avoid matching them if the application said `anymetrics'; in that
|
||||
+ case, a more generic font with different metrics but better appearance
|
||||
+ will be used.
|
||||
+
|
||||
<alias binding="same">
|
||||
<family>Avant Garde</family>
|
||||
<accept><family>URW Gothic L</family></accept>
|
||||
@@ -29,6 +36,109 @@
|
||||
<family>Zapf Dingbats</family>
|
||||
<accept><family>Dingbats</family></accept>
|
||||
</alias>
|
||||
+ -->
|
||||
+
|
||||
+ <match target="pattern">
|
||||
+ <test name="family">
|
||||
+ <string>Avant Garde</string>
|
||||
+ </test>
|
||||
+ <test name="anymetrics" qual="all" compare="not_eq">
|
||||
+ <bool>true</bool>
|
||||
+ </test>
|
||||
+ <edit name="family" mode="append">
|
||||
+ <string>URW Gothic L</string>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+ <match target="pattern">
|
||||
+ <test name="family">
|
||||
+ <string>Bookman</string>
|
||||
+ </test>
|
||||
+ <test name="anymetrics" qual="all" compare="not_eq">
|
||||
+ <bool>true</bool>
|
||||
+ </test>
|
||||
+ <edit name="family" mode="append">
|
||||
+ <string>URW Bookman L</string>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+ <match target="pattern">
|
||||
+ <test name="family">
|
||||
+ <string>Courier</string>
|
||||
+ </test>
|
||||
+ <test name="anymetrics" qual="all" compare="not_eq">
|
||||
+ <bool>true</bool>
|
||||
+ </test>
|
||||
+ <edit name="family" mode="append">
|
||||
+ <string>Nimbus Mono L</string>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+ <match target="pattern">
|
||||
+ <test name="family">
|
||||
+ <string>Helvetica</string>
|
||||
+ </test>
|
||||
+ <test name="anymetrics" qual="all" compare="not_eq">
|
||||
+ <bool>true</bool>
|
||||
+ </test>
|
||||
+ <edit name="family" mode="append">
|
||||
+ <string>Nimbus Sans L</string>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+ <match target="pattern">
|
||||
+ <test name="family">
|
||||
+ <string>New Century Schoolbook</string>
|
||||
+ </test>
|
||||
+ <test name="anymetrics" qual="all" compare="not_eq">
|
||||
+ <bool>true</bool>
|
||||
+ </test>
|
||||
+ <edit name="family" mode="append">
|
||||
+ <string>Century Schoolbook L</string>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+ <match target="pattern">
|
||||
+ <test name="family">
|
||||
+ <string>Palatino</string>
|
||||
+ </test>
|
||||
+ <test name="anymetrics" qual="all" compare="not_eq">
|
||||
+ <bool>true</bool>
|
||||
+ </test>
|
||||
+ <edit name="family" mode="append">
|
||||
+ <string>URW Palladio L</string>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+ <match target="pattern">
|
||||
+ <test name="family">
|
||||
+ <string>Times</string>
|
||||
+ </test>
|
||||
+ <test name="anymetrics" qual="all" compare="not_eq">
|
||||
+ <bool>true</bool>
|
||||
+ </test>
|
||||
+ <edit name="family" mode="append">
|
||||
+ <string>Nimbus Roman No9 L</string>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+ <match target="pattern">
|
||||
+ <test name="family">
|
||||
+ <string>Zapf Chancery</string>
|
||||
+ </test>
|
||||
+ <test name="anymetrics" qual="all" compare="not_eq">
|
||||
+ <bool>true</bool>
|
||||
+ </test>
|
||||
+ <edit name="family" mode="append">
|
||||
+ <string>URW Chancery L</string>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+ <match target="pattern">
|
||||
+ <test name="family">
|
||||
+ <string>Zapf Dingbats</string>
|
||||
+ </test>
|
||||
+ <test name="anymetrics" qual="all" compare="not_eq">
|
||||
+ <bool>true</bool>
|
||||
+ </test>
|
||||
+ <edit name="family" mode="append">
|
||||
+ <string>Dingbats</string>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+
|
||||
+
|
||||
<match target="pattern">
|
||||
<test name="family">
|
||||
<string>Symbol</string>
|
||||
@@ -0,0 +1,10 @@
|
||||
--- conf.d/50-user.conf.orig 2013-04-09 15:15:06.170861118 +0300
|
||||
+++ conf.d/50-user.conf 2013-04-09 15:15:37.679861962 +0300
|
||||
@@ -9,7 +9,4 @@
|
||||
-->
|
||||
<include ignore_missing="yes" prefix="xdg">fontconfig/conf.d</include>
|
||||
<include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>
|
||||
- <!-- the following elements will be removed in the future -->
|
||||
- <include ignore_missing="yes" deprecated="yes">~/.fonts.conf.d</include>
|
||||
- <include ignore_missing="yes" deprecated="yes">~/.fonts.conf</include>
|
||||
</fontconfig>
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -pruN fontconfig-2.8.90.orig/fc-cache/fc-cache.c fontconfig-2.8.90/fc-cache/fc-cache.c
|
||||
--- fontconfig-2.8.90.orig/fc-cache/fc-cache.c 2012-02-20 12:49:18.000000000 +0900
|
||||
+++ fontconfig-2.8.90/fc-cache/fc-cache.c 2012-03-06 12:28:26.000000000 +0900
|
||||
@@ -465,7 +465,7 @@ main (int argc, char **argv)
|
||||
FcConfigDestroy (config);
|
||||
FcFini ();
|
||||
if (changed)
|
||||
- sleep (2);
|
||||
+ sleep (1);
|
||||
if (verbose)
|
||||
printf ("%s: %s\n", argv[0], ret ? "failed" : "succeeded");
|
||||
return ret;
|
||||
@@ -0,0 +1,34 @@
|
||||
Index: fontconfig-2.8.0/conf.d/60-latin.conf
|
||||
===================================================================
|
||||
--- fontconfig-2.8.0.orig/conf.d/60-latin.conf
|
||||
+++ fontconfig-2.8.0/conf.d/60-latin.conf
|
||||
@@ -4,8 +4,8 @@
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
- <family>Bitstream Vera Serif</family>
|
||||
<family>DejaVu Serif</family>
|
||||
+ <family>Bitstream Vera Serif</family>
|
||||
<family>Times New Roman</family>
|
||||
<family>Thorndale AMT</family>
|
||||
<family>Luxi Serif</family>
|
||||
@@ -16,8 +16,8 @@
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
- <family>Bitstream Vera Sans</family>
|
||||
<family>DejaVu Sans</family>
|
||||
+ <family>Bitstream Vera Sans</family>
|
||||
<family>Verdana</family>
|
||||
<family>Arial</family>
|
||||
<family>Albany AMT</family>
|
||||
@@ -32,8 +32,8 @@
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
- <family>Bitstream Vera Sans Mono</family>
|
||||
<family>DejaVu Sans Mono</family>
|
||||
+ <family>Bitstream Vera Sans Mono</family>
|
||||
<family>Inconsolata</family>
|
||||
<family>Andale Mono</family>
|
||||
<family>Courier New</family>
|
||||
@@ -0,0 +1,26 @@
|
||||
diff -Nur fontconfig-2.6.0-old/conf.d/53-monospace-lcd-filter.conf fontconfig-2.6.0/conf.d/53-monospace-lcd-filter.conf
|
||||
--- fontconfig-2.6.0-old/conf.d/53-monospace-lcd-filter.conf 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ fontconfig-2.6.0/conf.d/53-monospace-lcd-filter.conf 2008-09-22 11:07:17.000000000 +0300
|
||||
@@ -0,0 +1,22 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
+<!-- conf.d/monospace-lcd-filter.conf -->
|
||||
+<fontconfig>
|
||||
+<!-- Use legacy LCD filter on smaller Monospace fonts -->
|
||||
+ <match target="font">
|
||||
+ <test name="family">
|
||||
+ <string>DejaVu Sans Mono</string>
|
||||
+ <string>Bitstream Vera Sans Mono</string>
|
||||
+ </test>
|
||||
+ <test name="pixelsize" compare="less_eq">
|
||||
+ <double>12.0</double>
|
||||
+ </test>
|
||||
+
|
||||
+ <edit name="lcd_filter" mode="assign">
|
||||
+ <const>lcdlegacy</const>
|
||||
+ </edit>
|
||||
+ <edit name="hintstyle" mode="assign">
|
||||
+ <const>hintfull</const>
|
||||
+ </edit>
|
||||
+ </match>
|
||||
+</fontconfig>
|
||||
@@ -0,0 +1,134 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>fontconfig</Name>
|
||||
<Homepage>http://fontconfig.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A library for configuring and customizing font access</Summary>
|
||||
<Description>Fontconfig is a library designed to provide system-wide font configuration, customization and application access.</Description>
|
||||
<Archive sha1sum="08565feea5a4e6375f9d8a7435dac04e52620ff2" type="tarbz2">http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.1.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- prefer dejavu over bitstream -->
|
||||
<Patch level="1">prefer_dejavu.patch</Patch>
|
||||
<Patch level="1">anymetrics_urw.patch</Patch>
|
||||
<Patch level="1">use_legacy_lcdfilter_on_small_monospace.patch</Patch>
|
||||
<Patch level="1">add_hinting_and_antialiasing_to_proper_fonts.patch</Patch>
|
||||
<!-- Sleep less in fc-cache -->
|
||||
<Patch level="1">fontconfig-2.8.0-sleep-less.patch</Patch>
|
||||
<!-- remove deprecated user conf dir -->
|
||||
<Patch level="0">deprecated-user-conf.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>fontconfig</Name>
|
||||
<RuntimeDependencies>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/fonts</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/var/cache/fontconfig</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>fontconfig-devel</Name>
|
||||
<Summary>Development files for fontconfig</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">fontconfig</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
<Path fileType="doc">/usr/share/doc/fontconfig/fontconfig-devel.txt</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>fontconfig-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for fontconfig</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>expat-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">fontconfig</Dependency>
|
||||
<Dependency>expat-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2014-05-17</Date>
|
||||
<Version>2.11.1</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-03-29</Date>
|
||||
<Version>2.11.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-02-01</Date>
|
||||
<Version>2.11.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-09-05</Date>
|
||||
<Version>2.10.93</Version>
|
||||
<Comment>Add missing method to pakhandler.py</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-06</Date>
|
||||
<Version>2.10.93</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2012-12-06</Date>
|
||||
<Version>2.10.92</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-12-06</Date>
|
||||
<Version>2.10.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>fontconfig</Name>
|
||||
<Summary xml:lang="tr">Yazıtiplerinin yapılandırılması ve özelleştirilmesi için bir kitaplık</Summary>
|
||||
<Summary xml:lang="pl">Biblioteka do konfigurowania pospolitych czcionek - obsługa plików binarnych</Summary>
|
||||
<Description xml:lang="tr">Fontconfig sistem genelindeki programlar için yazıtiplerinin ayarlanmasını, özelleştirilmesini ve programlar tarafından erişilmesini sağlar.</Description>
|
||||
<Description xml:lang="fr">Fontconfig est un librairie conçue pour fournir à tout le système accès à la possibilité de configurer, personnaliser et appliquer des fontes.</Description>
|
||||
<Description xml:lang="pl">Fontconfig jest biblioteką do konfigurowania i dostosowywania do własnych potrzeb czcionek, które nie zależą od systemu X Window. Została zaprojektowana, aby znajdować czcionki w systemie i dobierać je do wymagań określanych przez aplikacje.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>fontconfig-devel</Name>
|
||||
<Summary xml:lang="tr">fontconfig için geliştirme dosyaları</Summary>
|
||||
<Summary xml:lang="pl">Pliki nagłówkowe fontconfig</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>fontconfig-32bit</Name>
|
||||
<Summary xml:lang="tr">fontconfig için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
options = "--with-glib=yes \
|
||||
--with-freetype=yes \
|
||||
--with-cairo=yes \
|
||||
--with-icu=yes \
|
||||
--with-gobject=yes \
|
||||
--with-graphite2=yes"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options += "--with-glib=yes \
|
||||
--with-graphite2=no \
|
||||
--with-cairo=yes \
|
||||
--with-icu=yes"
|
||||
autotools.configure(options)
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
|
||||
@@ -0,0 +1,188 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>harfbuzz</Name>
|
||||
<Homepage>http://www.freedesktop.org/software/harfbuzz</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>OpenType text shaping engine.</Summary>
|
||||
<Description>The Harfbuzz package contains an OpenType text shaping engine.</Description>
|
||||
<Archive sha1sum="b9f546e9625926e32fe4b6da045689b456e77c22" type="tarbz2">http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.40.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>icu4c-devel</Dependency>
|
||||
<Dependency>graphite2-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>harfbuzz</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>icu4c</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>graphite2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>harfbuzz-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>icu4c-devel</Dependency>
|
||||
<Dependency release="current">harfbuzz</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/harfbuzz</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>harfbuzz-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for harfbuzz</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>icu4c-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
<Dependency>fontconfig-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>cairo-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>cairo-32bit</Dependency>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>icu4c-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="15">
|
||||
<Date>2015-04-06</Date>
|
||||
<Version>0.9.40</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="14">
|
||||
<Date>2015-01-24</Date>
|
||||
<Version>0.9.38</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2015-01-12</Date>
|
||||
<Version>0.9.37</Version>
|
||||
<Comment>Version Bump + rebuild.</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2014-08-15</Date>
|
||||
<Version>0.9.35</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2014-07-11</Date>
|
||||
<Version>0.9.30</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2014-06-09</Date>
|
||||
<Version>0.9.26</Version>
|
||||
<Comment>Better harfbuz with icu, cairo. Fix configure option format.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2014-05-17</Date>
|
||||
<Version>0.9.26</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2014-02-26</Date>
|
||||
<Version>0.9.26</Version>
|
||||
<Comment>Delete Unused Deps.</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-02-25</Date>
|
||||
<Version>0.9.26</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-02-22</Date>
|
||||
<Version>0.9.26</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-10-14</Date>
|
||||
<Version>0.9.19</Version>
|
||||
<Comment>Rebuild for icu4c</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-07-26</Date>
|
||||
<Version>0.9.19</Version>
|
||||
<Comment>Version bump. Fix build emul32</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-06-30</Date>
|
||||
<Version>0.9.18</Version>
|
||||
<Comment>V.Bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-01-22</Date>
|
||||
<Version>0.9.9</Version>
|
||||
<Comment>Add emul32</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-12-24</Date>
|
||||
<Version>0.9.9</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>harfbuzz</Name>
|
||||
<Summary xml:lang="en">OpenType text shaping engine</Summary>
|
||||
<Description xml:lang="en">The Harfbuzz package contains an OpenType text shaping engine.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user