Merge pull request #7 from ayhanyalcinsoy/master
qt5 dependencies moved into main repo
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>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>desktop.lookandfeel</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 2
|
||||
# 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
|
||||
|
||||
WorkDir = "hicolor-icon-theme-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
autotools.configure()
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("README", "ChangeLog")
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>icon-theme-hicolor</Name>
|
||||
<Homepage>http://icon-theme.freedesktop.org/wiki/HicolorTheme</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Default icon theme</Summary>
|
||||
<Description>Hicolor icon theme contains the basic directories and files needed for icon theme support.</Description>
|
||||
<Archive sha1sum="87368844d1fcef899c3dc4e59f07264340606538" type="targz">http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.12.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>icon-theme-hicolor</Name>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2013-08-26</Date>
|
||||
<Version>0.12</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-24</Date>
|
||||
<Version>0.12</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>icon-theme-hicolor</Name>
|
||||
<Summary xml:lang="tr">Temel simge teması</Summary>
|
||||
<Description xml:lang="tr">Hicolor, simge teması desteği için ihtiyaç duyulan temel dizin ve dosyalarıni içeren temel bir simge temasıdır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
libexec = "/tmp"
|
||||
sysconf = "--sysconfdir=/tmp"
|
||||
else:
|
||||
libexec = "/usr/libexec/at-spi2"
|
||||
sysconf = ""
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-vif")
|
||||
autotools.configure("--disable-static \
|
||||
--disable-silent-rules \
|
||||
--disable-xevie \
|
||||
--libexecdir=%s\
|
||||
--with-dbus-daemondir=/usr/bin \
|
||||
%s \
|
||||
" % (libexec, sysconf))
|
||||
|
||||
#pisitools.dosed("libtool", "^(hardcode_libdir_flag_spec=).*", '\\1""')
|
||||
pisitools.dosed("libtool", "^(runpath_var=)LD_RUN_PATH", "\\1DIE_RPATH_DIE")
|
||||
pisitools.dosed("libtool", "( -shared )", " -Wl,--as-needed\\1")
|
||||
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
#pisitools.removeDir("/etc")
|
||||
if get.buildTYPE() == "emul32":
|
||||
pisitools.dosed("%s/usr/share/dbus-1/services" % get.installDIR(), "^(Exec=)\/tmp", r"\1/usr/libexec/at-spi2")
|
||||
pisitools.removeDir("/tmp")
|
||||
return
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "README", "NEWS")
|
||||
@@ -0,0 +1,152 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>at-spi2-core</Name>
|
||||
<Homepage>http://www.linuxfoundation.org/collaborate/workgroups/accessibility</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2+</License>
|
||||
<IsA>service</IsA>
|
||||
<Summary>Protocol definitions and daemons for D-Bus at-spi</Summary>
|
||||
<Description>at-spi allows assistive technologies to access GTK-based applications. Essentially it exposes the internals of applications over D-Bus for automation.</Description>
|
||||
<Archive sha1sum="efff62fb8cb8f629d5cdb2fca3e249fa69a12899" type="tarxz">mirrors://gnome/at-spi2-core/2.16/at-spi2-core-2.16.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libXtst-devel</Dependency>
|
||||
<Dependency>libXi-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>at-spi2-core</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libXtst</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
<Path fileType="executable">/usr/libexec</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>at-spi2-core-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for at-spi2-core</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>dbus-32bit</Dependency>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>libXtst-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>dbus-32bit</Dependency>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>at-spi2-core-devel</Name>
|
||||
<Summary>at-spi2-core için geliştirme dosyaları</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">at-spi2-core</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="11">
|
||||
<Date>2015-04-17</Date>
|
||||
<Version>2.16.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2014-04-14</Date>
|
||||
<Version>2.12.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2013-10-10</Date>
|
||||
<Version>2.10.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2013-09-07</Date>
|
||||
<Version>2.8.0</Version>
|
||||
<Comment>Fix build.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-08-30</Date>
|
||||
<Version>2.8.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-07-27</Date>
|
||||
<Version>2.8.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-06-17</Date>
|
||||
<Version>2.8.0</Version>
|
||||
<Comment>Rebuild with new pisi release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-06-17</Date>
|
||||
<Version>2.8.0</Version>
|
||||
<Comment>Rebuild with new pisi release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-04-23</Date>
|
||||
<Version>2.8.0</Version>
|
||||
<Comment>Dep fixed</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-04-17</Date>
|
||||
<Version>2.8.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-22</Date>
|
||||
<Version>2.7.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>at-spi2-core</Name>
|
||||
<Summary xml:lang="tr">D-Bus at-spi için protokol tanımları ve hizmetleri</Summary>
|
||||
<Description xml:lang="tr">at-spi2-core, erişilebilirlik teknolojilerinin uygulamalara D-Bus üzerinden erişerek onları otomatik olarak denetlemesini sağlar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>at-spi2-core-32bit</Name>
|
||||
<Summary xml:lang="en">32-bit shared libraries for at-spi2-core</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>at-spi2-core-devel</Name>
|
||||
<Summary xml:lang="tr">at-spi2-core için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>desktop.misc</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.export("EMACS", "no")
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import piksemel
|
||||
import os
|
||||
|
||||
def updateData(filepath):
|
||||
parse = piksemel.parse(filepath)
|
||||
|
||||
for icon in parse.tags("File"):
|
||||
path = icon.getTagData("Path")
|
||||
if path.startswith("usr/share/applications"):
|
||||
os.system("/usr/bin/update-desktop-database -q")
|
||||
return
|
||||
|
||||
def setupPackage(metapath, filepath):
|
||||
updateData(filepath)
|
||||
|
||||
def cleanupPackage(metapath, filepath):
|
||||
pass
|
||||
|
||||
def postCleanupPackage(metapath, filepath):
|
||||
updateData(filepath)
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>desktop-file-utils</Name>
|
||||
<Homepage>http://www.freedesktop.org/software/desktop-file-utils/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Command line utilities to work with desktop menu entries</Summary>
|
||||
<Description>desktop files are used to describe an application for inclusion in GNOME or KDE menus. This package contains desktop-file-validate which checks whether a .desktop file complies with the specification and desktop-file-install which installs a desktop file to the standard directory, optionally fixing it up in the process.</Description>
|
||||
<Archive sha1sum="5412232434ba8726358be4f59520c8adb1c58732" type="tarxz">http://freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-0.21.tar.xz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>desktop-file-utils</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2013-09-07</Date>
|
||||
<Version>0.21</Version>
|
||||
<Comment>Add comar script.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-08-26</Date>
|
||||
<Version>0.21</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-21</Date>
|
||||
<Version>0.21</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>desktop-file-utils</Name>
|
||||
<Summary xml:lang="tr">Masaüstü menü girdilerini yönetmek için komut satırı araçları</Summary>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,55 @@
|
||||
#!/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
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import libtools
|
||||
|
||||
def setup():
|
||||
options = "-with-xinput=yes \
|
||||
--enable-man"
|
||||
|
||||
#shelltools.export("CFLAGS", get.CFLAGS().replace("-fomit-frame-pointer",""))
|
||||
#gtk2 needs -DGTK_COMPILATION CPPFLAG when compiling itself
|
||||
#Avoid "Only <gtk/gtk.h> can be included directly error"
|
||||
shelltools.export("CPPFLAGS", "-DGTK_COMPILATION")
|
||||
|
||||
if get.buildTYPE() == "_emul32":
|
||||
options += " --libdir=/usr/lib32 \
|
||||
--bindir=/_emul32/bin \
|
||||
--sbindir=/_emul32/sbin \
|
||||
--disable-cups"
|
||||
|
||||
shelltools.export("CC", "%s -m32" % get.CC())
|
||||
shelltools.export("CXX", "%s -m32" % get.CC())
|
||||
shelltools.export("CXXFLAGS", "%s -m32" % get.CFLAGS())
|
||||
shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())
|
||||
shelltools.export("CPPFLAGS", "-DGTK_COMPILATION")
|
||||
|
||||
autotools.autoconf()
|
||||
autotools.configure(options)
|
||||
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# remove empty dir
|
||||
#pisitools.removeDir("/usr/share/man")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "README*", "HACKING", "ChangeLog*", "NEWS*")
|
||||
|
||||
if get.buildTYPE() == "_emul32":
|
||||
for binaries in ["gtk-query-immodules-2.0", "gtk-demo"]:
|
||||
pisitools.domove("/_emul32/bin/%s" % binaries, "/usr/bin/", "%s-32bit" % binaries)
|
||||
pisitools.removeDir("/_emul32")
|
||||
#hack to install gdkconfig.h in gdk headers dir
|
||||
pisitools.dosym("/usr/lib/gtk-2.0/include/gdkconfig.h","/usr/include/gtk-2.0/gdk/gdkconfig.h")
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import piksemel
|
||||
import os
|
||||
import fnmatch
|
||||
|
||||
def updateData(filepath):
|
||||
parse = piksemel.parse(filepath)
|
||||
|
||||
iconFound = False
|
||||
immoduleFound = False
|
||||
|
||||
for icon in parse.tags("File"):
|
||||
path = icon.getTagData("Path")
|
||||
if path.startswith("usr/share/icons/hicolor") and not iconFound:
|
||||
os.system("/usr/bin/gtk-update-icon-cache -f /usr/share/icons/hicolor")
|
||||
iconFound = True
|
||||
if immoduleFound:
|
||||
return
|
||||
|
||||
if fnmatch.fnmatch(path, "usr/lib/gtk-2.0/*immodules/*.so") and not immoduleFound:
|
||||
os.system("/usr/bin/gtk-query-immodules-2.0 --update-cache")
|
||||
immoduleFound = True
|
||||
if iconFound:
|
||||
return
|
||||
|
||||
if fnmatch.fnmatch(path, "usr/lib32/gtk-2.0/*immodules/*.so") and not immoduleFound:
|
||||
os.system("/usr/bin/gtk-query-immodules-2.0-32bit --update-cache")
|
||||
immoduleFound = True
|
||||
if iconFound:
|
||||
return
|
||||
|
||||
def setupPackage(metapath, filepath):
|
||||
updateData(filepath)
|
||||
|
||||
def cleanupPackage(metapath, filepath):
|
||||
pass
|
||||
|
||||
def postCleanupPackage(metapath, filepath):
|
||||
updateData(filepath)
|
||||
@@ -0,0 +1,258 @@
|
||||
diff -up gtk+-2.19.7/gtk/gtkstatusicon.c.icon-padding gtk+-2.19.7/gtk/gtkstatusicon.c
|
||||
--- gtk+-2.19.7/gtk/gtkstatusicon.c.icon-padding 2010-03-08 08:42:22.000000000 -0500
|
||||
+++ gtk+-2.19.7/gtk/gtkstatusicon.c 2010-03-10 00:40:11.165527903 -0500
|
||||
@@ -170,6 +170,7 @@ static void gtk_status_icon_screen_c
|
||||
GdkScreen *old_screen);
|
||||
static void gtk_status_icon_embedded_changed (GtkStatusIcon *status_icon);
|
||||
static void gtk_status_icon_orientation_changed (GtkStatusIcon *status_icon);
|
||||
+static void gtk_status_icon_padding_changed (GtkStatusIcon *status_icon);
|
||||
static gboolean gtk_status_icon_scroll (GtkStatusIcon *status_icon,
|
||||
GdkEventScroll *event);
|
||||
static gboolean gtk_status_icon_query_tooltip (GtkStatusIcon *status_icon,
|
||||
@@ -850,6 +851,8 @@ gtk_status_icon_init (GtkStatusIcon *sta
|
||||
G_CALLBACK (gtk_status_icon_embedded_changed), status_icon);
|
||||
g_signal_connect_swapped (priv->tray_icon, "notify::orientation",
|
||||
G_CALLBACK (gtk_status_icon_orientation_changed), status_icon);
|
||||
+ g_signal_connect_swapped (priv->tray_icon, "notify::padding",
|
||||
+ G_CALLBACK (gtk_status_icon_padding_changed), status_icon);
|
||||
g_signal_connect_swapped (priv->tray_icon, "button-press-event",
|
||||
G_CALLBACK (gtk_status_icon_button_press), status_icon);
|
||||
g_signal_connect_swapped (priv->tray_icon, "button-release-event",
|
||||
@@ -975,6 +978,8 @@ gtk_status_icon_finalize (GObject *objec
|
||||
g_signal_handlers_disconnect_by_func (priv->tray_icon,
|
||||
gtk_status_icon_orientation_changed, status_icon);
|
||||
g_signal_handlers_disconnect_by_func (priv->tray_icon,
|
||||
+ gtk_status_icon_padding_changed, status_icon);
|
||||
+ g_signal_handlers_disconnect_by_func (priv->tray_icon,
|
||||
gtk_status_icon_button_press, status_icon);
|
||||
g_signal_handlers_disconnect_by_func (priv->tray_icon,
|
||||
gtk_status_icon_button_release, status_icon);
|
||||
@@ -1679,14 +1684,32 @@ gtk_status_icon_screen_changed (GtkStatu
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
|
||||
static void
|
||||
+gtk_status_icon_padding_changed (GtkStatusIcon *status_icon)
|
||||
+{
|
||||
+ GtkStatusIconPrivate *priv = status_icon->priv;
|
||||
+ GtkOrientation orientation;
|
||||
+ gint padding;
|
||||
+
|
||||
+ orientation = _gtk_tray_icon_get_orientation (GTK_TRAY_ICON (priv->tray_icon));
|
||||
+ padding = _gtk_tray_icon_get_padding (GTK_TRAY_ICON (priv->tray_icon));
|
||||
+
|
||||
+ if (orientation == GTK_ORIENTATION_HORIZONTAL)
|
||||
+ gtk_misc_set_padding (GTK_MISC (priv->image), padding, 0);
|
||||
+ else
|
||||
+ gtk_misc_set_padding (GTK_MISC (priv->image), 0, padding);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
gtk_status_icon_embedded_changed (GtkStatusIcon *status_icon)
|
||||
{
|
||||
+ gtk_status_icon_padding_changed (status_icon);
|
||||
g_object_notify (G_OBJECT (status_icon), "embedded");
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_status_icon_orientation_changed (GtkStatusIcon *status_icon)
|
||||
{
|
||||
+ gtk_status_icon_padding_changed (status_icon);
|
||||
g_object_notify (G_OBJECT (status_icon), "orientation");
|
||||
}
|
||||
|
||||
@@ -1804,7 +1827,7 @@ gtk_status_icon_reset_image_data (GtkSta
|
||||
|
||||
g_object_notify (G_OBJECT (status_icon), "stock");
|
||||
break;
|
||||
-
|
||||
+
|
||||
case GTK_IMAGE_ICON_NAME:
|
||||
g_free (priv->image_data.icon_name);
|
||||
priv->image_data.icon_name = NULL;
|
||||
diff -up gtk+-2.19.7/gtk/gtktrayicon.h.icon-padding gtk+-2.19.7/gtk/gtktrayicon.h
|
||||
--- gtk+-2.19.7/gtk/gtktrayicon.h.icon-padding 2009-10-18 01:35:45.000000000 -0400
|
||||
+++ gtk+-2.19.7/gtk/gtktrayicon.h 2010-03-10 00:40:11.169528392 -0500
|
||||
@@ -69,7 +69,8 @@ void _gtk_tray_icon_cancel_mes
|
||||
guint id);
|
||||
|
||||
GtkOrientation _gtk_tray_icon_get_orientation (GtkTrayIcon *icon);
|
||||
-
|
||||
+gint _gtk_tray_icon_get_padding (GtkTrayIcon *icon);
|
||||
+
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_TRAY_ICON_H__ */
|
||||
diff -up gtk+-2.19.7/gtk/gtktrayicon-x11.c.icon-padding gtk+-2.19.7/gtk/gtktrayicon-x11.c
|
||||
--- gtk+-2.19.7/gtk/gtktrayicon-x11.c.icon-padding 2010-03-08 21:01:28.000000000 -0500
|
||||
+++ gtk+-2.19.7/gtk/gtktrayicon-x11.c 2010-03-10 00:49:48.229509604 -0500
|
||||
@@ -43,23 +43,26 @@
|
||||
|
||||
enum {
|
||||
PROP_0,
|
||||
- PROP_ORIENTATION
|
||||
+ PROP_ORIENTATION,
|
||||
+ PROP_PADDING
|
||||
};
|
||||
|
||||
struct _GtkTrayIconPrivate
|
||||
{
|
||||
guint stamp;
|
||||
-
|
||||
+
|
||||
Atom selection_atom;
|
||||
Atom manager_atom;
|
||||
Atom system_tray_opcode_atom;
|
||||
Atom orientation_atom;
|
||||
Atom visual_atom;
|
||||
+ Atom padding_atom;
|
||||
Window manager_window;
|
||||
GdkVisual *manager_visual;
|
||||
gboolean manager_visual_rgba;
|
||||
|
||||
GtkOrientation orientation;
|
||||
+ gint padding;
|
||||
};
|
||||
|
||||
static void gtk_tray_icon_constructed (GObject *object);
|
||||
@@ -113,6 +116,16 @@ gtk_tray_icon_class_init (GtkTrayIconCla
|
||||
GTK_ORIENTATION_HORIZONTAL,
|
||||
GTK_PARAM_READABLE));
|
||||
|
||||
+ g_object_class_install_property (gobject_class,
|
||||
+ PROP_PADDING,
|
||||
+ g_param_spec_int ("padding",
|
||||
+ P_("Padding"),
|
||||
+ P_("Padding that should be put around icons in the tray"),
|
||||
+ 0,
|
||||
+ G_MAXINT,
|
||||
+ 0,
|
||||
+ GTK_PARAM_READABLE));
|
||||
+
|
||||
g_type_class_add_private (class, sizeof (GtkTrayIconPrivate));
|
||||
}
|
||||
|
||||
@@ -124,6 +137,7 @@ gtk_tray_icon_init (GtkTrayIcon *icon)
|
||||
|
||||
icon->priv->stamp = 1;
|
||||
icon->priv->orientation = GTK_ORIENTATION_HORIZONTAL;
|
||||
+ icon->priv->padding = 0;
|
||||
|
||||
gtk_widget_set_app_paintable (GTK_WIDGET (icon), TRUE);
|
||||
gtk_widget_add_events (GTK_WIDGET (icon), GDK_PROPERTY_CHANGE_MASK);
|
||||
@@ -161,6 +175,10 @@ gtk_tray_icon_constructed (GObject *obje
|
||||
"_NET_SYSTEM_TRAY_VISUAL",
|
||||
False);
|
||||
|
||||
+ icon->priv->padding_atom = XInternAtom (xdisplay,
|
||||
+ "_NET_SYSTEM_TRAY_PADDING",
|
||||
+ False);
|
||||
+
|
||||
/* Add a root window filter so that we get changes on MANAGER */
|
||||
gdk_window_add_filter (root_window,
|
||||
gtk_tray_icon_manager_filter, icon);
|
||||
@@ -212,6 +230,9 @@ gtk_tray_icon_get_property (GObject *
|
||||
case PROP_ORIENTATION:
|
||||
g_value_set_enum (value, icon->priv->orientation);
|
||||
break;
|
||||
+ case PROP_PADDING:
|
||||
+ g_value_set_int (value, icon->priv->padding);
|
||||
+ break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
@@ -372,9 +393,58 @@ gtk_tray_icon_get_visual_property (GtkTr
|
||||
XFree (prop.prop);
|
||||
}
|
||||
|
||||
+static void
|
||||
+gtk_tray_icon_get_padding_property (GtkTrayIcon *icon)
|
||||
+{
|
||||
+ GdkScreen *screen = gtk_widget_get_screen (GTK_WIDGET (icon));
|
||||
+ GdkDisplay *display = gdk_screen_get_display (screen);
|
||||
+ Display *xdisplay = GDK_DISPLAY_XDISPLAY (display);
|
||||
+
|
||||
+ Atom type;
|
||||
+ int format;
|
||||
+ union {
|
||||
+ gulong *prop;
|
||||
+ guchar *prop_ch;
|
||||
+ } prop = { NULL };
|
||||
+ gulong nitems;
|
||||
+ gulong bytes_after;
|
||||
+ int error, result;
|
||||
+
|
||||
+ g_assert (icon->priv->manager_window != None);
|
||||
+
|
||||
+ gdk_error_trap_push ();
|
||||
+ type = None;
|
||||
+ result = XGetWindowProperty (xdisplay,
|
||||
+ icon->priv->manager_window,
|
||||
+ icon->priv->padding_atom,
|
||||
+ 0, G_MAXLONG, FALSE,
|
||||
+ XA_CARDINAL,
|
||||
+ &type, &format, &nitems,
|
||||
+ &bytes_after, &(prop.prop_ch));
|
||||
+ error = gdk_error_trap_pop ();
|
||||
+
|
||||
+ if (!error && result == Success &&
|
||||
+ type == XA_CARDINAL && nitems == 1 && format == 32)
|
||||
+ {
|
||||
+ gint padding;
|
||||
+
|
||||
+ padding = prop.prop[0];
|
||||
+
|
||||
+ if (icon->priv->padding != padding)
|
||||
+ {
|
||||
+ icon->priv->padding = padding;
|
||||
+
|
||||
+ g_object_notify (G_OBJECT (icon), "padding");
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (type != None)
|
||||
+ XFree (prop.prop);
|
||||
+}
|
||||
+
|
||||
static GdkFilterReturn
|
||||
-gtk_tray_icon_manager_filter (GdkXEvent *xevent,
|
||||
- GdkEvent *event,
|
||||
+gtk_tray_icon_manager_filter (GdkXEvent *xevent,
|
||||
+ GdkEvent *event,
|
||||
gpointer user_data)
|
||||
{
|
||||
GtkTrayIcon *icon = user_data;
|
||||
@@ -399,6 +469,11 @@ gtk_tray_icon_manager_filter (GdkXEvent
|
||||
|
||||
gtk_tray_icon_get_orientation_property (icon);
|
||||
}
|
||||
+ else if (xev->xany.type == PropertyNotify &&
|
||||
+ xev->xproperty.atom == icon->priv->padding_atom)
|
||||
+ {
|
||||
+ gtk_tray_icon_get_padding_property (icon);
|
||||
+ }
|
||||
else if (xev->xany.type == DestroyNotify)
|
||||
{
|
||||
GTK_NOTE (PLUGSOCKET,
|
||||
@@ -504,6 +579,7 @@ gtk_tray_icon_update_manager_window (Gtk
|
||||
|
||||
gtk_tray_icon_get_orientation_property (icon);
|
||||
gtk_tray_icon_get_visual_property (icon);
|
||||
+ gtk_tray_icon_get_padding_property (icon);
|
||||
|
||||
if (gtk_widget_get_realized (GTK_WIDGET (icon)))
|
||||
{
|
||||
@@ -740,6 +816,14 @@ _gtk_tray_icon_get_orientation (GtkTrayI
|
||||
return icon->priv->orientation;
|
||||
}
|
||||
|
||||
+gint
|
||||
+_gtk_tray_icon_get_padding (GtkTrayIcon *icon)
|
||||
+{
|
||||
+ g_return_val_if_fail (GTK_IS_TRAY_ICON (icon), 0);
|
||||
+
|
||||
+ return icon->priv->padding;
|
||||
+}
|
||||
+
|
||||
|
||||
#define __GTK_TRAY_ICON_X11_C__
|
||||
#include "gtkaliasdef.c"
|
||||
@@ -0,0 +1,9 @@
|
||||
diff -up gtk+-2.18.2/gtk/gtk-builder-convert.system-python gtk+-2.18.2/gtk/gtk-builder-convert
|
||||
--- gtk+-2.18.2/gtk/gtk-builder-convert.system-python 2009-10-13 15:59:50.423385098 -0400
|
||||
+++ gtk+-2.18.2/gtk/gtk-builder-convert 2009-10-13 16:00:31.876142050 -0400
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python
|
||||
#
|
||||
# Copyright (C) 2006-2008 Async Open Source
|
||||
# Henrique Romano <henrique@async.com.br>
|
||||
@@ -0,0 +1,182 @@
|
||||
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
|
||||
index 5cc2334..204a2b6 100644
|
||||
--- a/gtk/gtktooltip.c
|
||||
+++ b/gtk/gtktooltip.c
|
||||
@@ -903,53 +903,128 @@ gtk_tooltip_position (GtkTooltip *tooltip,
|
||||
{
|
||||
gint x, y;
|
||||
GdkScreen *screen;
|
||||
+ gint monitor_num;
|
||||
+ GdkRectangle monitor;
|
||||
+ GtkRequisition requisition;
|
||||
+ guint cursor_size;
|
||||
+ GdkRectangle bounds;
|
||||
+
|
||||
+#define MAX_DISTANCE 32
|
||||
|
||||
tooltip->tooltip_widget = new_tooltip_widget;
|
||||
|
||||
+ screen = gtk_widget_get_screen (new_tooltip_widget);
|
||||
+
|
||||
+ gtk_widget_size_request (GTK_WIDGET (tooltip->current_window), &requisition);
|
||||
+
|
||||
+ monitor_num = gdk_screen_get_monitor_at_point (screen,
|
||||
+ tooltip->last_x,
|
||||
+ tooltip->last_y);
|
||||
+ gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
|
||||
+
|
||||
+ get_bounding_box (new_tooltip_widget, &bounds);
|
||||
+
|
||||
/* Position the tooltip */
|
||||
- /* FIXME: should we swap this when RTL is enabled? */
|
||||
- if (tooltip->keyboard_mode_enabled)
|
||||
+
|
||||
+ cursor_size = gdk_display_get_default_cursor_size (display);
|
||||
+
|
||||
+ /* Try below */
|
||||
+ x = bounds.x + bounds.width / 2 - requisition.width / 2;
|
||||
+ y = bounds.y + bounds.height + 4;
|
||||
+
|
||||
+ if (y + requisition.height <= monitor.y + monitor.height)
|
||||
{
|
||||
- GdkRectangle bounds;
|
||||
+ if (tooltip->keyboard_mode_enabled)
|
||||
+ goto found;
|
||||
|
||||
- get_bounding_box (new_tooltip_widget, &bounds);
|
||||
+ if (y <= tooltip->last_y + cursor_size + MAX_DISTANCE)
|
||||
+ {
|
||||
+ if (tooltip->last_x + cursor_size + MAX_DISTANCE < x)
|
||||
+ x = tooltip->last_x + cursor_size + MAX_DISTANCE;
|
||||
+ else if (x + requisition.width < tooltip->last_x - MAX_DISTANCE)
|
||||
+ x = tooltip->last_x - MAX_DISTANCE - requisition.width;
|
||||
|
||||
- /* For keyboard mode we position the tooltip below the widget,
|
||||
- * right of the center of the widget.
|
||||
- */
|
||||
- x = bounds.x + bounds.width / 2;
|
||||
- y = bounds.y + bounds.height + 4;
|
||||
+ goto found;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ /* Try above */
|
||||
+ x = bounds.x + bounds.width / 2 - requisition.width / 2;
|
||||
+ y = bounds.y - requisition.height - 4;
|
||||
+
|
||||
+ if (y >= monitor.y)
|
||||
+ {
|
||||
+ if (tooltip->keyboard_mode_enabled)
|
||||
+ goto found;
|
||||
+
|
||||
+ if (y + requisition.height >= tooltip->last_y - MAX_DISTANCE)
|
||||
+ {
|
||||
+ if (tooltip->last_x + cursor_size + MAX_DISTANCE < x)
|
||||
+ x = tooltip->last_x + cursor_size + MAX_DISTANCE;
|
||||
+ else if (x + requisition.width < tooltip->last_x - MAX_DISTANCE)
|
||||
+ x = tooltip->last_x - MAX_DISTANCE - requisition.width;
|
||||
+
|
||||
+ goto found;
|
||||
+ }
|
||||
}
|
||||
- else
|
||||
+
|
||||
+ /* Try right FIXME: flip on rtl ? */
|
||||
+ x = bounds.x + bounds.width + 4;
|
||||
+ y = bounds.y + bounds.height / 2 - requisition.height / 2;
|
||||
+
|
||||
+ if (x + requisition.width <= monitor.x + monitor.width)
|
||||
{
|
||||
- guint cursor_size;
|
||||
+ if (tooltip->keyboard_mode_enabled)
|
||||
+ goto found;
|
||||
|
||||
- x = tooltip->last_x;
|
||||
- y = tooltip->last_y;
|
||||
+ if (x <= tooltip->last_x + cursor_size + MAX_DISTANCE)
|
||||
+ {
|
||||
+ if (tooltip->last_y + cursor_size + MAX_DISTANCE < y)
|
||||
+ y = tooltip->last_y + cursor_size + MAX_DISTANCE;
|
||||
+ else if (y + requisition.height < tooltip->last_y - MAX_DISTANCE)
|
||||
+ y = tooltip->last_y - MAX_DISTANCE - requisition.height;
|
||||
|
||||
- /* For mouse mode, we position the tooltip right of the cursor,
|
||||
- * a little below the cursor's center.
|
||||
- */
|
||||
- cursor_size = gdk_display_get_default_cursor_size (display);
|
||||
- x += cursor_size / 2;
|
||||
- y += cursor_size / 2;
|
||||
+ goto found;
|
||||
+ }
|
||||
}
|
||||
|
||||
- screen = gtk_widget_get_screen (new_tooltip_widget);
|
||||
+ /* Try left FIXME: flip on rtl ? */
|
||||
+ x = bounds.x - requisition.width - 4;
|
||||
+ y = bounds.y + bounds.height / 2 - requisition.height / 2;
|
||||
|
||||
- /* Show it */
|
||||
- if (tooltip->current_window)
|
||||
+ if (x >= monitor.x)
|
||||
{
|
||||
- gint monitor_num;
|
||||
- GdkRectangle monitor;
|
||||
- GtkRequisition requisition;
|
||||
+ if (tooltip->keyboard_mode_enabled)
|
||||
+ goto found;
|
||||
|
||||
- gtk_widget_size_request (GTK_WIDGET (tooltip->current_window),
|
||||
- &requisition);
|
||||
+ if (x + requisition.width >= tooltip->last_x - MAX_DISTANCE)
|
||||
+ {
|
||||
+ if (tooltip->last_y + cursor_size + MAX_DISTANCE < y)
|
||||
+ y = tooltip->last_y + cursor_size + MAX_DISTANCE;
|
||||
+ else if (y + requisition.height < tooltip->last_y - MAX_DISTANCE)
|
||||
+ y = tooltip->last_y - MAX_DISTANCE - requisition.height;
|
||||
|
||||
- monitor_num = gdk_screen_get_monitor_at_point (screen, x, y);
|
||||
- gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
|
||||
+ goto found;
|
||||
+ }
|
||||
+ }
|
||||
|
||||
+ /* Fallback */
|
||||
+ if (tooltip->keyboard_mode_enabled)
|
||||
+ {
|
||||
+ x = bounds.x + bounds.width / 2 - requisition.width / 2;
|
||||
+ y = bounds.y + bounds.height + 4;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ /* At cursor */
|
||||
+ x = tooltip->last_x + cursor_size * 3 / 4;
|
||||
+ y = tooltip->last_y + cursor_size * 3 / 4;
|
||||
+ }
|
||||
+
|
||||
+found:
|
||||
+ /* Show it */
|
||||
+ if (tooltip->current_window)
|
||||
+ {
|
||||
if (x + requisition.width > monitor.x + monitor.width)
|
||||
x -= x - (monitor.x + monitor.width) + requisition.width;
|
||||
else if (x < monitor.x)
|
||||
@@ -957,7 +1032,9 @@ gtk_tooltip_position (GtkTooltip *tooltip,
|
||||
|
||||
if (y + requisition.height > monitor.y + monitor.height)
|
||||
y -= y - (monitor.y + monitor.height) + requisition.height;
|
||||
-
|
||||
+ else if (y < monitor.y)
|
||||
+ y = monitor.y;
|
||||
+
|
||||
if (!tooltip->keyboard_mode_enabled)
|
||||
{
|
||||
/* don't pop up under the pointer */
|
||||
@@ -965,7 +1042,7 @@ gtk_tooltip_position (GtkTooltip *tooltip,
|
||||
y <= tooltip->last_y && tooltip->last_y < y + requisition.height)
|
||||
y = tooltip->last_y - requisition.height - 2;
|
||||
}
|
||||
-
|
||||
+
|
||||
gtk_window_move (GTK_WINDOW (tooltip->current_window), x, y);
|
||||
gtk_widget_show (GTK_WIDGET (tooltip->current_window));
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
diff -up gtk+-2.24.7/gtk/gtkmenushell.c.window-dragging gtk+-2.24.7/gtk/gtkmenushell.c
|
||||
--- gtk+-2.24.7/gtk/gtkmenushell.c.window-dragging 2011-08-15 22:30:52.000000000 -0400
|
||||
+++ gtk+-2.24.7/gtk/gtkmenushell.c 2011-10-17 19:50:52.180468086 -0400
|
||||
@@ -589,18 +589,45 @@ gtk_menu_shell_button_press (GtkWidget
|
||||
|
||||
if (!menu_shell->active || !menu_shell->button)
|
||||
{
|
||||
- _gtk_menu_shell_activate (menu_shell);
|
||||
+ gboolean initially_active = menu_shell->active;
|
||||
|
||||
menu_shell->button = event->button;
|
||||
|
||||
- if (menu_item && _gtk_menu_item_is_selectable (menu_item) &&
|
||||
- menu_item->parent == widget &&
|
||||
- menu_item != menu_shell->active_menu_item)
|
||||
+ if (menu_item)
|
||||
{
|
||||
- if (GTK_MENU_SHELL_GET_CLASS (menu_shell)->submenu_placement == GTK_TOP_BOTTOM)
|
||||
+ if (_gtk_menu_item_is_selectable (menu_item) &&
|
||||
+ menu_item->parent == widget &&
|
||||
+ menu_item != menu_shell->active_menu_item)
|
||||
{
|
||||
- menu_shell->activate_time = event->time;
|
||||
- gtk_menu_shell_select_item (menu_shell, menu_item);
|
||||
+ _gtk_menu_shell_activate (menu_shell);
|
||||
+ menu_shell->button = event->button;
|
||||
+
|
||||
+ if (GTK_MENU_SHELL_GET_CLASS (menu_shell)->submenu_placement == GTK_TOP_BOTTOM)
|
||||
+ {
|
||||
+ menu_shell->activate_time = event->time;
|
||||
+ gtk_menu_shell_select_item (menu_shell, menu_item);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ if (!initially_active)
|
||||
+ {
|
||||
+ gboolean window_drag = FALSE;
|
||||
+
|
||||
+ gtk_widget_style_get (widget,
|
||||
+ "window-dragging", &window_drag,
|
||||
+ NULL);
|
||||
+
|
||||
+ if (window_drag)
|
||||
+ {
|
||||
+ gtk_menu_shell_deactivate (menu_shell);
|
||||
+ gtk_window_begin_move_drag (GTK_WINDOW (gtk_widget_get_toplevel (widget)),
|
||||
+ event->button,
|
||||
+ event->x_root,
|
||||
+ event->y_root,
|
||||
+ event->time);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
}
|
||||
diff -up gtk+-2.24.7/gtk/gtktoolbar.c.window-dragging gtk+-2.24.7/gtk/gtktoolbar.c
|
||||
--- gtk+-2.24.7/gtk/gtktoolbar.c.window-dragging 2011-10-01 11:29:06.000000000 -0400
|
||||
+++ gtk+-2.24.7/gtk/gtktoolbar.c 2011-10-17 19:52:56.104463657 -0400
|
||||
@@ -2701,6 +2701,8 @@ static gboolean
|
||||
gtk_toolbar_button_press (GtkWidget *toolbar,
|
||||
GdkEventButton *event)
|
||||
{
|
||||
+ GtkWidget *window;
|
||||
+
|
||||
if (_gtk_button_event_triggers_context_menu (event))
|
||||
{
|
||||
gboolean return_value;
|
||||
@@ -2711,7 +2713,29 @@ gtk_toolbar_button_press (GtkWidget
|
||||
|
||||
return return_value;
|
||||
}
|
||||
-
|
||||
+
|
||||
+ window = gtk_widget_get_toplevel (toolbar);
|
||||
+
|
||||
+ if (window)
|
||||
+ {
|
||||
+ gboolean window_drag = FALSE;
|
||||
+
|
||||
+ gtk_widget_style_get (toolbar,
|
||||
+ "window-dragging", &window_drag,
|
||||
+ NULL);
|
||||
+
|
||||
+ if (window_drag)
|
||||
+ {
|
||||
+ gtk_window_begin_move_drag (GTK_WINDOW (window),
|
||||
+ event->button,
|
||||
+ event->x_root,
|
||||
+ event->y_root,
|
||||
+ event->time);
|
||||
+
|
||||
+ return TRUE;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
diff -up gtk+-2.24.7/gtk/gtkwidget.c.window-dragging gtk+-2.24.7/gtk/gtkwidget.c
|
||||
--- gtk+-2.24.7/gtk/gtkwidget.c.window-dragging 2011-10-17 19:50:52.175468086 -0400
|
||||
+++ gtk+-2.24.7/gtk/gtkwidget.c 2011-10-17 19:50:52.184468086 -0400
|
||||
@@ -2467,6 +2467,13 @@ gtk_widget_class_init (GtkWidgetClass *k
|
||||
0.0, 1.0, 0.04,
|
||||
GTK_PARAM_READABLE));
|
||||
|
||||
+ gtk_widget_class_install_style_property (klass,
|
||||
+ g_param_spec_boolean ("window-dragging",
|
||||
+ P_("Window dragging"),
|
||||
+ P_("Window dragging"),
|
||||
+ FALSE,
|
||||
+ GTK_PARAM_READWRITE));
|
||||
+
|
||||
/**
|
||||
* GtkWidget:draw-border:
|
||||
*
|
||||
@@ -0,0 +1,3 @@
|
||||
gtk-icon-theme-name = "Faenza"
|
||||
gtk-theme-name = "MediterraneanLightDarkest"
|
||||
gtk-font-name = "DejaVuSans 10"
|
||||
@@ -0,0 +1,15 @@
|
||||
Index: gtk+-2.16.5/gdk/x11/gdkxid.c
|
||||
===================================================================
|
||||
--- gtk+-2.16.5.orig/gdk/x11/gdkxid.c
|
||||
+++ gtk+-2.16.5/gdk/x11/gdkxid.c
|
||||
@@ -57,8 +57,10 @@ _gdk_xid_table_insert (GdkDisplay *displ
|
||||
display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash,
|
||||
(GEqualFunc) gdk_xid_equal);
|
||||
|
||||
+ /*
|
||||
if (g_hash_table_lookup (display_x11->xid_ht, xid))
|
||||
g_warning ("XID collision, trouble ahead");
|
||||
+ */
|
||||
|
||||
g_hash_table_insert (display_x11->xid_ht, xid, data);
|
||||
}
|
||||
@@ -0,0 +1,258 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gtk2</Name>
|
||||
<Homepage>http://www.gtk.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<Summary>The GIMP Toolkit version 2</Summary>
|
||||
<Description>GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites.</Description>
|
||||
<Archive sha1sum="0aa5a1d93f740cc1bbd9c6342dd54f082ee2eca3" type="tarxz">mirrors://gnome/gtk+/2.24/gtk+-2.24.23.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cups-devel</Dependency>
|
||||
<Dependency>libXi-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>libXrandr-devel</Dependency>
|
||||
<Dependency>libXfixes-devel</Dependency>
|
||||
<Dependency>libXrender-devel</Dependency>
|
||||
<Dependency>libXdamage-devel</Dependency>
|
||||
<Dependency>libXcursor-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>libXinerama-devel</Dependency>
|
||||
<Dependency>libXcomposite-devel</Dependency>
|
||||
<Dependency>atk-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--Patch level="1">gtk2-fixdso.patch</Patch> -->
|
||||
<Patch level="1">xid-collision-debug.patch</Patch>
|
||||
|
||||
<!-- fedora patches -->
|
||||
<Patch level="1">fedora/system-python.patch</Patch>
|
||||
<Patch level="1">fedora/icon-padding.patch</Patch>
|
||||
<Patch level="1">fedora/tooltip-positioning.patch</Patch>
|
||||
<Patch level="1">fedora/window-dragging.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gtk2</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>cups</Dependency>
|
||||
<Dependency>libXi</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>libXrandr</Dependency>
|
||||
<Dependency>libXfixes</Dependency>
|
||||
<Dependency>libXrender</Dependency>
|
||||
<Dependency>libXdamage</Dependency>
|
||||
<Dependency>libXcursor</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>libXinerama</Dependency>
|
||||
<Dependency>libXcomposite</Dependency>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>dejavu-fonts</Dependency>
|
||||
<Dependency>gtk-theme-mediterranean</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/themes</Path>
|
||||
<Path fileType="data">/usr/share/gtk-2.0</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
<!-- Use Clearlooks as default theme for now until native Oxygen GTK style is ready -->
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/gtk-2.0/gtkrc">gtkrc</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Provides>
|
||||
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gtk2-demo</Name>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>GTK demo application</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">gtk2</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/gtk-demo</Path>
|
||||
<Path fileType="data">/usr/share/gtk-2.0/demo</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gtk2-docs</Name>
|
||||
<IsA>data:doc</IsA>
|
||||
<Summary>GTK reference documents</Summary>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gtk2-devel</Name>
|
||||
<Summary>Development files for gtk2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">gtk2</Dependency>
|
||||
<Dependency>atk-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib32/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gtk2-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for gtk2</Summary>
|
||||
<BuildType>_emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>cairo-32bit</Dependency>
|
||||
<Dependency>cups-32bit</Dependency>
|
||||
<Dependency>fontconfig-32bit</Dependency>
|
||||
<Dependency>pango-32bit</Dependency>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>atk-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>gdk-pixbuf-32bit</Dependency>
|
||||
<Dependency>libXcomposite-32bit</Dependency>
|
||||
<Dependency>libXcursor-32bit</Dependency>
|
||||
<Dependency>libXdamage-32bit</Dependency>
|
||||
<Dependency>libXext-32bit</Dependency>
|
||||
<Dependency>libXfixes-32bit</Dependency>
|
||||
<Dependency>libXi-32bit</Dependency>
|
||||
<Dependency>libXinerama-32bit</Dependency>
|
||||
<Dependency>libXrandr-32bit</Dependency>
|
||||
<Dependency>libXrender-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">gtk2</Dependency>
|
||||
<Dependency>cairo-32bit</Dependency>
|
||||
<Dependency>pango-32bit</Dependency>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>atk-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>cups-32bit</Dependency>
|
||||
<Dependency>fontconfig-32bit</Dependency>
|
||||
<Dependency>gdk-pixbuf-32bit</Dependency>
|
||||
<Dependency>libXcomposite-32bit</Dependency>
|
||||
<Dependency>libXcursor-32bit</Dependency>
|
||||
<Dependency>libXdamage-32bit</Dependency>
|
||||
<Dependency>libXext-32bit</Dependency>
|
||||
<Dependency>libXfixes-32bit</Dependency>
|
||||
<Dependency>libXi-32bit</Dependency>
|
||||
<Dependency>libXinerama-32bit</Dependency>
|
||||
<Dependency>libXrandr-32bit</Dependency>
|
||||
<Dependency>libXrender-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/*-32bit</Path>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="10">
|
||||
<Date>2014-05-17</Date>
|
||||
<Version>2.24.23</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2014-04-06</Date>
|
||||
<Version>2.24.22</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2014-02-06</Date>
|
||||
<Version>2.24.22</Version>
|
||||
<Comment>Set proper settings to gtkrc, change location of gtkrc.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-10-21</Date>
|
||||
<Version>2.24.22</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-09-05</Date>
|
||||
<Version>2.24.21</Version>
|
||||
<Comment>Minor version bump, cleanup.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-09-05</Date>
|
||||
<Version>2.24.20</Version>
|
||||
<Comment>Add missing method and fix pakhandler.py</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-07-06</Date>
|
||||
<Version>2.24.20</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-04-20</Date>
|
||||
<Version>2.24.17</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-23</Date>
|
||||
<Version>2.24.16</Version>
|
||||
<Comment>Version bump, add new cppflags, enhancements.</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-01-23</Date>
|
||||
<Version>2.24.14</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-25</Date>
|
||||
<Version>2.24.13</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdem Artan</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gtk2</Name>
|
||||
<Summary xml:lang="tr">GTK grafik arayüz kitaplığı versiyon 2</Summary>
|
||||
<Description xml:lang="tr">GTK+, grafik kullanıcı arayüzü oluşturma amaçlı araçlardan oluşur. GTK+ hem küçük, hem de büyük uygulamalar için ideal olan, eksiksiz bir araçtır.</Description>
|
||||
<Description xml:lang="fr">GTK+ est une boîte à outil multi-plateforme servant à créer des interfaces graphiques. Offrant un ensemble complet de widgets (objets graphiques), GTK+ convient aussi bien pour les petits projets que pour les suites complètes d'applications.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gtk2-demo</Name>
|
||||
<Summary xml:lang="tr">GTK demo uyulaması</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gtk2-docs</Name>
|
||||
<Summary xml:lang="tr">GTK referans dökümanları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gtk2-devel</Name>
|
||||
<Summary xml:lang="tr">gtk2 için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gtk2-32bit</Name>
|
||||
<Summary xml:lang="tr">gtk2 için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>hardware</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>hardware.misc</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
|
||||
WorkDir = "mtdev-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf('-vfi')
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ChangeLog", "COPYING", "README")
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmtdev</Name>
|
||||
<Homepage>http://bitmath.org/code/mtdev</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Multitouch Protocol Translation Library</Summary>
|
||||
<Description>The libmtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol.</Description>
|
||||
<Archive sha1sum="346115a91b68652170d02d7b1c0722cf1cacf4eb" type="targz">http://bitmath.org/code/mtdev/mtdev-1.1.5.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmtdev</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmtdev-devel</Name>
|
||||
<Summary>Development files of libmtdev</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libmtdev</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmtdev-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libmtdev</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libmtdev</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-16</Date>
|
||||
<Version>1.1.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>1.1.3</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-03</Date>
|
||||
<Version>1.1.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmtdev</Name>
|
||||
<Summary xml:lang="tr">Çoklu Dokunmatik Protokol Dönüşüm Kütüphanesi</Summary>
|
||||
<Description xml:lang="tr">Libmtdev kütüphanesi, kernel MT olaylarının tüm çeşitlerini slotlu B tipi protokole dönüştürür.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmtdev-devel</Name>
|
||||
<Summary xml:lang="tr">Libmtdev için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>hardware.printer</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,98 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
#pisitools.flags.add("-fstack-protector-all", "-DLDAP_DEPRECATED=1")
|
||||
pisitools.dosed("config-scripts/cups-sharedlibs.m4", "( -shared )", " -Wl,--as-needed\\1")
|
||||
|
||||
# For --enable-avahi
|
||||
autotools.aclocal("-I config-scripts")
|
||||
autotools.autoconf("-I config-scripts")
|
||||
|
||||
options = '--with-cups-user=lp \
|
||||
--with-cups-group=lp \
|
||||
--with-system-groups=lpadmin \
|
||||
--with-docdir=/usr/share/cups/html \
|
||||
--with-dbusdir=/etc/dbus-1 \
|
||||
--with-optim="%s" \
|
||||
--with-php=/usr/bin/php-cgi \
|
||||
--with-cupsd-file-perm=0755 \
|
||||
--with-log-file-perm=0600 \
|
||||
--without-java \
|
||||
--enable-acl \
|
||||
--enable-ssl=yes \
|
||||
--enable-libpaper \
|
||||
--enable-libusb=yes \
|
||||
--enable-debug \
|
||||
--enable-avahi \
|
||||
--enable-gssapi \
|
||||
--enable-dbus \
|
||||
--enable-pam=yes \
|
||||
--enable-relro \
|
||||
--enable-dnssd \
|
||||
--enable-browsing \
|
||||
--enable-threads \
|
||||
--enable-raw-printing \
|
||||
--disable-gnutls \
|
||||
--disable-launchd \
|
||||
--without-rcdir \
|
||||
--libdir=/usr/lib \
|
||||
--without-perl \
|
||||
--with-logdir=/var/log/cups \
|
||||
KRB5CONFIG=/usr/bin/krb5-config \
|
||||
--localstatedir=/var \
|
||||
--with-rundir=/run/cups \
|
||||
--with-xinetd=/etc/xinetd.d \
|
||||
' % get.CFLAGS()
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options += ' \
|
||||
--enable-libusb=no \
|
||||
--disable-avahi \
|
||||
--disable-dnssd \
|
||||
--disable-gssapi \
|
||||
--disable-dbus \
|
||||
--bindir=/usr/bin32 \
|
||||
--sbindir=/usr/sbin32 \
|
||||
--libdir=/usr/lib32'
|
||||
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
#def check():
|
||||
#autotools.make("check")
|
||||
|
||||
def install():
|
||||
if get.buildTYPE() == "emul32":
|
||||
# SERVERBIN is hardcoded to /usr/lib/cups, thus it overwrites 64 bit libraries
|
||||
autotools.rawInstall("BUILDROOT=%s SERVERBIN=%s/usr/serverbin32 install-libs" % (get.installDIR(), get.installDIR()))
|
||||
pisitools.domove("/usr/bin32/cups-config", "/usr/bin", "cups-config-32bit")
|
||||
pisitools.removeDir("/usr/bin32")
|
||||
pisitools.removeDir("/usr/sbin32")
|
||||
pisitools.removeDir("/usr/serverbin32")
|
||||
|
||||
# remove files now part of cups-filters
|
||||
pisitools.remove("/usr/share/cups/data/testprint")
|
||||
pisitools.removeDir("/usr/share/cups/banners")
|
||||
pisitools.dodir("/usr/share/cups/banners")
|
||||
return
|
||||
|
||||
autotools.rawInstall("BUILDROOT=%s install-headers install-libs install-data install-exec" % get.installDIR())
|
||||
shelltools.chmod("%s/run/cups/certs" % get.installDIR(), 0755)
|
||||
|
||||
pisitools.dodir("/usr/share/cups/profiles")
|
||||
|
||||
# Serial backend needs to run as root
|
||||
#shelltools.chmod("%s/usr/lib/cups/backend/serial" % get.installDIR(), 0700)
|
||||
|
||||
pisitools.dodoc("CHANGES.txt", "CREDITS.txt", "LICENSE.txt", "README.txt")
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import re
|
||||
|
||||
ownerships = {
|
||||
"/run/cups" : "root:lp",
|
||||
"/var/log/cups" : "root:lp",
|
||||
}
|
||||
|
||||
CUPSD_CONFIG_FILE = "/etc/cups/cupsd.conf"
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
for directory,owners in ownerships.items():
|
||||
if os.path.exists(directory):
|
||||
os.system("chown %s %s" % (owners, directory))
|
||||
|
||||
# Replace possible pnpadmin leftover from cupsd.conf
|
||||
if os.path.exists(CUPSD_CONFIG_FILE):
|
||||
cupsd = open(CUPSD_CONFIG_FILE, "r").read()
|
||||
open(CUPSD_CONFIG_FILE, "w").write(re.sub("pnpadmin", "lpadmin", cupsd))
|
||||
@@ -0,0 +1,50 @@
|
||||
from comar.service import *
|
||||
import os
|
||||
|
||||
serviceType = "server"
|
||||
serviceDefault = "on"
|
||||
serviceDesc = _({"en": "CUPS Printer Server",
|
||||
"tr": "CUPS Yazıcı Sunucusu"})
|
||||
serviceConf = "cups"
|
||||
|
||||
PIDFILE = "/run/cups/cupsd.pid"
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
# FIXME: After avahi before hal
|
||||
startDependencies("avahi")
|
||||
|
||||
# Load ppdev and lp drivers if wanted
|
||||
if config.get("LOAD_LP_MODULE") == "yes":
|
||||
os.system("/sbin/modprobe -q lp")
|
||||
os.system("/sbin/modprobe -q ppdev")
|
||||
|
||||
startService(command="/usr/sbin/cupsd",
|
||||
donotify=True)
|
||||
os.system("pidof -o %PPID /usr/sbin/cupsd > " + PIDFILE)
|
||||
|
||||
# Tell udevd to replay printer events
|
||||
# One for low-level usb
|
||||
os.system("udevadm trigger --subsystem-match=usb \
|
||||
--attr-match=bInterfaceClass=07 \
|
||||
--attr-match=bInterfaceSubClass=01 \
|
||||
--action=add")
|
||||
# One for usblp backend
|
||||
os.system("udevadm trigger --subsystem-match=usb \
|
||||
--property-match=DEVNAME=\"/dev/usb/lp*\" \
|
||||
--action=add")
|
||||
|
||||
|
||||
@synchronized
|
||||
def reload():
|
||||
if os.path.exists(PIDFILE):
|
||||
# 1 is SIGHUP
|
||||
os.kill(int(open(PIDFILE, "r").read().strip()), 1)
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(pidfile=PIDFILE, donotify=True)
|
||||
if os.path.isfile(PIDFILE): os.unlink(PIDFILE)
|
||||
|
||||
def status():
|
||||
return isServiceRunning(pidfile=PIDFILE)
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -ruN cups-1.6.2.orig/config-scripts/cups-directories.m4 cups-1.6.2/config-scripts/cups-directories.m4
|
||||
--- cups-1.6.2.orig/config-scripts/cups-directories.m4 2012-10-01 03:55:23.000000000 +0200
|
||||
+++ cups-1.6.2/config-scripts/cups-directories.m4 2013-04-02 00:11:41.000000000 +0200
|
||||
@@ -420,7 +420,7 @@
|
||||
;;
|
||||
*)
|
||||
# All others
|
||||
- CUPS_STATEDIR="$localstatedir/run/cups"
|
||||
+ CUPS_STATEDIR="/run/cups"
|
||||
;;
|
||||
esac])
|
||||
AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$CUPS_STATEDIR")
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -up cups-1.5b1/config-scripts/cups-ssl.m4.no-export-ssllibs cups-1.5b1/config-scripts/cups-ssl.m4
|
||||
--- cups-1.6.2/config-scripts/cups-ssl.m4.no-export-ssllibs 2011-05-11 02:52:08.000000000 +0200
|
||||
+++ cups-1.6.2/config-scripts/cups-ssl.m4 2011-05-23 17:47:27.000000000 +0200
|
||||
@@ -180,7 +180,7 @@
|
||||
AC_SUBST(SSLFLAGS)
|
||||
AC_SUBST(SSLLIBS)
|
||||
|
||||
-EXPORT_SSLLIBS="$SSLLIBS"
|
||||
+EXPORT_SSLLIBS=""
|
||||
AC_SUBST(EXPORT_SSLLIBS)
|
||||
|
||||
dnl
|
||||
@@ -0,0 +1,11 @@
|
||||
diff -up cups-2.0rc1/config-scripts/cups-ssl.m4.no-gcry cups-2.0rc1/config-scripts/cups-ssl.m4
|
||||
--- cups-2.0rc1/config-scripts/cups-ssl.m4.no-gcry 2014-09-12 15:41:23.324760213 +0200
|
||||
+++ cups-2.0rc1/config-scripts/cups-ssl.m4 2014-09-12 15:43:13.124203363 +0200
|
||||
@@ -60,7 +60,6 @@ if test x$enable_ssl != xno; then
|
||||
dnl Then look for GNU TLS...
|
||||
if test $have_ssl = 0 -a "x$enable_gnutls" != "xno" -a "x$PKGCONFIG" != x; then
|
||||
AC_PATH_TOOL(LIBGNUTLSCONFIG,libgnutls-config)
|
||||
- AC_PATH_TOOL(LIBGCRYPTCONFIG,libgcrypt-config)
|
||||
if $PKGCONFIG --exists gnutls; then
|
||||
have_ssl=1
|
||||
SSLLIBS=`$PKGCONFIG --libs gnutls`
|
||||
@@ -0,0 +1,18 @@
|
||||
diff -up cups-1.5b1/config-scripts/cups-manpages.m4.no-gzip-man cups-1.5b1/config-scripts/cups-manpages.m4
|
||||
--- cups-1.5b1/config-scripts/cups-manpages.m4.no-gzip-man 2011-05-12 07:21:56.000000000 +0200
|
||||
+++ cups-1.5b1/config-scripts/cups-manpages.m4 2011-05-23 17:25:50.000000000 +0200
|
||||
@@ -69,10 +69,10 @@ case "$uname" in
|
||||
;;
|
||||
Linux* | GNU* | Darwin*)
|
||||
# Linux, GNU Hurd, and OS X
|
||||
- MAN1EXT=1.gz
|
||||
- MAN5EXT=5.gz
|
||||
- MAN7EXT=7.gz
|
||||
- MAN8EXT=8.gz
|
||||
+ MAN1EXT=1
|
||||
+ MAN5EXT=5
|
||||
+ MAN7EXT=7
|
||||
+ MAN8EXT=8
|
||||
MAN8DIR=8
|
||||
;;
|
||||
*)
|
||||
@@ -0,0 +1,5 @@
|
||||
/var/log/cups/*_log {
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
Description: Applications could not get the PPD file for
|
||||
statically-configured IPP-shared print queues
|
||||
Author: Till Kamppeter <till.kamppeter@gmail.com>
|
||||
Bug-Upstream: http://cups.org/str.php?L4178
|
||||
Last-Updated: 2012-09-19
|
||||
|
||||
--- a/cups/util.c
|
||||
+++ b/cups/util.c
|
||||
@@ -1731,6 +1731,22 @@
|
||||
|
||||
return (1);
|
||||
}
|
||||
+ else if (device_uri &&
|
||||
+ (!strncmp(device_uri, "ipp:", 4) != NULL ||
|
||||
+ !strncmp(device_uri, "ipps:", 5) != NULL))
|
||||
+ {
|
||||
+ /*
|
||||
+ * Statically-configured IPP shared printer.
|
||||
+ */
|
||||
+
|
||||
+ httpSeparateURI(HTTP_URI_CODING_ALL,
|
||||
+ device_uri,
|
||||
+ scheme, sizeof(scheme), username, sizeof(username),
|
||||
+ host, hostsize, port, resource, resourcesize);
|
||||
+ ippDelete(response);
|
||||
+
|
||||
+ return (1);
|
||||
+ }
|
||||
else if ((attr = ippFindAttribute(response, "member-uris",
|
||||
IPP_TAG_URI)) != NULL)
|
||||
{
|
||||
@@ -0,0 +1,95 @@
|
||||
diff -up cups-1.6.2/cups/http-support.c.avahi-address cups-1.6.2/cups/http-support.c
|
||||
--- cups-1.6.2/cups/http-support.c.avahi-address 2013-03-11 18:44:36.000000000 +0000
|
||||
+++ cups-1.6.2/cups/http-support.c 2013-06-28 13:42:15.834715511 +0100
|
||||
@@ -2121,7 +2121,7 @@ http_resolve_cb(
|
||||
const char *type, /* I - Registration type */
|
||||
const char *domain, /* I - Domain (unused) */
|
||||
const char *hostTarget, /* I - Hostname */
|
||||
- const AvahiAddress *address, /* I - Address (unused) */
|
||||
+ const AvahiAddress *address, /* I - Address */
|
||||
uint16_t port, /* I - Port number */
|
||||
AvahiStringList *txt, /* I - TXT record */
|
||||
AvahiLookupResultFlags flags, /* I - Lookup flags (unused) */
|
||||
@@ -2248,41 +2248,59 @@ http_resolve_cb(
|
||||
* getting the IP address of the .local name and then do reverse-lookups...
|
||||
*/
|
||||
|
||||
- http_addrlist_t *addrlist, /* List of addresses */
|
||||
- *addr; /* Current address */
|
||||
+ http_addr_t addr;
|
||||
+ size_t addrlen;
|
||||
+ int error;
|
||||
|
||||
DEBUG_printf(("8http_resolve_cb: Looking up \"%s\".", hostTarget));
|
||||
|
||||
- snprintf(fqdn, sizeof(fqdn), "%d", ntohs(port));
|
||||
- if ((addrlist = httpAddrGetList(hostTarget, AF_UNSPEC, fqdn)) != NULL)
|
||||
+ switch (address->proto)
|
||||
{
|
||||
- for (addr = addrlist; addr; addr = addr->next)
|
||||
+ case AVAHI_PROTO_INET:
|
||||
+ addr.ipv4.sin_family = AF_INET;
|
||||
+ addrlen = sizeof (addr.ipv4.sin_addr);
|
||||
+ memcpy (&addr.ipv4.sin_addr, &address->data, addrlen);
|
||||
+ break;
|
||||
+ case AVAHI_PROTO_INET6:
|
||||
+ addr.ipv6.sin6_family = AF_INET6;
|
||||
+ addrlen = sizeof (addr.ipv6.sin6_addr);
|
||||
+ memcpy (&addr.ipv6.sin6_addr, &address->data, addrlen);
|
||||
+ break;
|
||||
+ default:
|
||||
+ DEBUG_printf(("8http_resolve_cb: unknown address family %d",
|
||||
+ address->proto));
|
||||
+ addrlen = 0;
|
||||
+ }
|
||||
+
|
||||
+ if (addrlen > 0) {
|
||||
+ error = getnameinfo(&addr.addr, httpAddrLength (&addr),
|
||||
+ fqdn, sizeof(fqdn), NULL, 0, NI_NAMEREQD);
|
||||
+
|
||||
+ if (!error)
|
||||
{
|
||||
- int error = getnameinfo(&(addr->addr.addr),
|
||||
- httpAddrLength(&(addr->addr)),
|
||||
- fqdn, sizeof(fqdn), NULL, 0, NI_NAMEREQD);
|
||||
+ DEBUG_printf(("8http_resolve_cb: Found \"%s\".", fqdn));
|
||||
|
||||
- if (!error)
|
||||
+ if ((hostptr = fqdn + strlen(fqdn) - 6) <= fqdn ||
|
||||
+ _cups_strcasecmp(hostptr, ".local"))
|
||||
{
|
||||
- DEBUG_printf(("8http_resolve_cb: Found \"%s\".", fqdn));
|
||||
-
|
||||
- if ((hostptr = fqdn + strlen(fqdn) - 6) <= fqdn ||
|
||||
- _cups_strcasecmp(hostptr, ".local"))
|
||||
- {
|
||||
- hostTarget = fqdn;
|
||||
- break;
|
||||
- }
|
||||
+ hostTarget = fqdn;
|
||||
}
|
||||
+ } else {
|
||||
+ avahi_address_snprint (fqdn, sizeof (fqdn), address);
|
||||
+ hostTarget = fqdn;
|
||||
#ifdef DEBUG
|
||||
- else
|
||||
- DEBUG_printf(("8http_resolve_cb: \"%s\" did not resolve: %d",
|
||||
- httpAddrString(&(addr->addr), fqdn, sizeof(fqdn)),
|
||||
- error));
|
||||
+ DEBUG_printf(("8http_resolve_cb: \"%s\" did not resolve: %d",
|
||||
+ fqdn, error));
|
||||
#endif /* DEBUG */
|
||||
}
|
||||
-
|
||||
- httpAddrFreeList(addrlist);
|
||||
}
|
||||
+ } else {
|
||||
+ /*
|
||||
+ * Use the IP address that responded...
|
||||
+ */
|
||||
+
|
||||
+ avahi_address_snprint (fqdn, sizeof (fqdn), address);
|
||||
+ hostTarget = fqdn;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -0,0 +1,17 @@
|
||||
diff -up cups-1.6.2/cups/dest.c.enum-all cups-1.6.2/cups/dest.c
|
||||
--- cups-1.6.2/cups/dest.c.enum-all 2013-06-04 10:58:36.169786250 +0100
|
||||
+++ cups-1.6.2/cups/dest.c 2013-06-04 10:59:02.147900811 +0100
|
||||
@@ -2724,9 +2724,12 @@ cups_dnssd_browse_cb(
|
||||
break;
|
||||
|
||||
case AVAHI_BROWSER_REMOVE:
|
||||
- case AVAHI_BROWSER_ALL_FOR_NOW:
|
||||
case AVAHI_BROWSER_CACHE_EXHAUSTED:
|
||||
break;
|
||||
+
|
||||
+ case AVAHI_BROWSER_ALL_FOR_NOW:
|
||||
+ avahi_simple_poll_quit(data->simple_poll);
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
diff -up cups-1.6.4/scheduler/job.c.final-content-type cups-1.6.4/scheduler/job.c
|
||||
--- cups-1.6.4/scheduler/job.c.final-content-type 2013-09-27 16:58:13.934775402 +0100
|
||||
+++ cups-1.6.4/scheduler/job.c 2013-09-27 17:00:57.716549576 +0100
|
||||
@@ -692,12 +692,7 @@ cupsdContinueJob(cupsd_job_t *job) /* I
|
||||
|
||||
if (!job->printer->remote)
|
||||
{
|
||||
- for (filter = (mime_filter_t *)cupsArrayLast(filters);
|
||||
- filter && filter->dst;
|
||||
- filter = (mime_filter_t *)cupsArrayPrev(filters))
|
||||
- if (strcmp(filter->dst->super, "printer") ||
|
||||
- strcmp(filter->dst->type, job->printer->name))
|
||||
- break;
|
||||
+ filter = (mime_filter_t *)cupsArrayLast(filters);
|
||||
|
||||
if (filter && filter->dst)
|
||||
{
|
||||
@@ -0,0 +1,26 @@
|
||||
diff -up cups-1.7b1/cups/http-addr.c.res_init cups-1.7b1/cups/http-addr.c
|
||||
--- cups-1.7b1/cups/http-addr.c.res_init 2013-03-20 19:14:10.000000000 +0100
|
||||
+++ cups-1.7b1/cups/http-addr.c 2013-04-19 12:01:36.927512159 +0200
|
||||
@@ -319,7 +319,8 @@ httpAddrLookup(
|
||||
|
||||
if (error)
|
||||
{
|
||||
- if (error == EAI_FAIL)
|
||||
+ if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA ||
|
||||
+ error == EAI_NONAME)
|
||||
cg->need_res_init = 1;
|
||||
|
||||
return (httpAddrString(addr, name, namelen));
|
||||
diff -up cups-1.7b1/cups/http-addrlist.c.res_init cups-1.7b1/cups/http-addrlist.c
|
||||
--- cups-1.7b1/cups/http-addrlist.c.res_init 2013-04-19 12:01:36.930512119 +0200
|
||||
+++ cups-1.7b1/cups/http-addrlist.c 2013-04-19 12:03:13.769229554 +0200
|
||||
@@ -581,7 +581,8 @@ httpAddrGetList(const char *hostname, /*
|
||||
}
|
||||
else
|
||||
{
|
||||
- if (error == EAI_FAIL)
|
||||
+ if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA ||
|
||||
+ error == EAI_NONAME)
|
||||
cg->need_res_init = 1;
|
||||
|
||||
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, gai_strerror(error), 0);
|
||||
@@ -0,0 +1,47 @@
|
||||
*PPD-Adobe: "4.3"
|
||||
*%
|
||||
*% Text-only printer definition
|
||||
*%
|
||||
*FormatVersion: "4.3"
|
||||
*FileVersion: "1.1"
|
||||
*LanguageVersion: English
|
||||
*LanguageEncoding: ISOLatin1
|
||||
*PCFileName: "TEXTONLY.PPD"
|
||||
*Manufacturer: "Generic"
|
||||
*Product: "(Generic)"
|
||||
*cupsVersion: 1.0
|
||||
*cupsManualCopies: True
|
||||
*cupsModelNumber: 2
|
||||
*cupsFilter: "text/plain 0 textonly"
|
||||
*ModelName: "Generic text-only printer"
|
||||
*ShortNickName: "Generic text-only printer"
|
||||
*NickName: "Generic text-only printer"
|
||||
*PSVersion: "(2017.000) 0"
|
||||
*LanguageLevel: "2"
|
||||
*ColorDevice: False
|
||||
*DefaultColorSpace: Gray
|
||||
*FileSystem: False
|
||||
*Throughput: "8"
|
||||
*LandscapeOrientation: Plus90
|
||||
*VariablePaperSize: False
|
||||
*TTRasterizer: Type42
|
||||
*DefaultImageableArea: Letter
|
||||
*ImageableArea Letter/US Letter: "18 36 594 756"
|
||||
*DefaultPaperDimension: Letter
|
||||
*PaperDimension Letter/Letter: "612 792"
|
||||
*OpenUI *PageSize/Media Size: PickOne
|
||||
*OrderDependency: 10 AnySetup *PageSize
|
||||
*DefaultPageSize: Letter
|
||||
*PageSize Letter/Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
|
||||
*CloseUI: *PageSize
|
||||
*OpenUI *PageRegion: PickOne
|
||||
*OrderDependency: 10 AnySetup *PageRegion
|
||||
*DefaultPageRegion: Letter
|
||||
*PageRegion Letter/Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
|
||||
*CloseUI: *PageRegion
|
||||
|
||||
*OpenUI *SendFF: Boolean
|
||||
*DefaultSendFF: False
|
||||
*SendFF True/True: ""
|
||||
*SendFF False/False: ""
|
||||
*CloseUI: *SendFF
|
||||
@@ -0,0 +1,25 @@
|
||||
Index: Makedefs.in
|
||||
===================================================================
|
||||
--- Makedefs.in (Revision 10520)
|
||||
+++ Makedefs.in (Arbeitskopie)
|
||||
@@ -40,14 +40,14 @@
|
||||
# Installation programs...
|
||||
#
|
||||
|
||||
-INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@
|
||||
-INSTALL_COMPDATA = $(INSTALL) -c -m 444 @INSTALL_GZIP@
|
||||
+INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m 755 @INSTALL_STRIP@
|
||||
+INSTALL_COMPDATA = $(INSTALL) -c -m 644 @INSTALL_GZIP@
|
||||
INSTALL_CONFIG = $(INSTALL) -c -m @CUPS_CONFIG_FILE_PERM@
|
||||
-INSTALL_DATA = $(INSTALL) -c -m 444
|
||||
+INSTALL_DATA = $(INSTALL) -c -m 644
|
||||
INSTALL_DIR = $(INSTALL) -d
|
||||
-INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@
|
||||
-INSTALL_MAN = $(INSTALL) -c -m 444
|
||||
-INSTALL_SCRIPT = $(INSTALL) -c -m 555
|
||||
+INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m 755 @INSTALL_STRIP@
|
||||
+INSTALL_MAN = $(INSTALL) -c -m 644
|
||||
+INSTALL_SCRIPT = $(INSTALL) -c -m 755
|
||||
|
||||
#
|
||||
# Default user, group, and system groups for the scheduler...
|
||||
@@ -0,0 +1,25 @@
|
||||
From 7bb9184b40bea3c4b9f46362642e5d40053a3ae1 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Maier <tamiko@kyomu.43-1.org>
|
||||
Date: Wed, 19 Nov 2014 18:44:33 +0100
|
||||
Subject: [PATCH] fix compilation
|
||||
|
||||
---
|
||||
test/ippserver.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/ippserver.c b/test/ippserver.c
|
||||
index c785e5f..1c64668 100644
|
||||
--- a/test/ippserver.c
|
||||
+++ b/test/ippserver.c
|
||||
@@ -421,7 +421,7 @@ static int valid_job_attributes(_ipp_client_t *client);
|
||||
|
||||
# ifdef HAVE_DNSSD
|
||||
static DNSServiceRef DNSSDMaster = NULL;
|
||||
-# else /* HAVE_AVAHI */
|
||||
+# elif defined(HAVE_AVAHI)
|
||||
static AvahiThreadedPoll *DNSSDMaster = NULL;
|
||||
static AvahiClient *DNSSDClient = NULL;
|
||||
# endif /* HAVE_DNSSD */
|
||||
--
|
||||
2.0.4
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
--- a/cups/usersys.c
|
||||
+++ b/cups/usersys.c
|
||||
@@ -1044,7 +1044,9 @@
|
||||
options = 0;
|
||||
}
|
||||
|
||||
+#ifdef HAVE_SSL
|
||||
_httpTLSSetOptions(options);
|
||||
+#endif /* HAVE_SSL */
|
||||
}
|
||||
}
|
||||
|
||||
--- a/scheduler/conf.c
|
||||
+++ b/scheduler/conf.c
|
||||
@@ -2975,7 +2975,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
+#ifdef HAVE_SSL
|
||||
_httpTLSSetOptions(options);
|
||||
+#endif /* HAVE_SSL */
|
||||
}
|
||||
else if ((!_cups_strcasecmp(line, "Port") || !_cups_strcasecmp(line, "Listen")
|
||||
#ifdef HAVE_SSL
|
||||
@@ -0,0 +1,73 @@
|
||||
From 33e0d4c8e450fe69b195422c0880aaa96ca9478d Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Maier <tamiko@kyomu.43-1.org>
|
||||
Date: Wed, 19 Nov 2014 18:00:06 +0100
|
||||
Subject: [PATCH] change systemd service files to gentoo naming scheme
|
||||
|
||||
---
|
||||
scheduler/Makefile | 10 +++++-----
|
||||
scheduler/org.cups.cupsd.path.in | 2 +-
|
||||
scheduler/org.cups.cupsd.service.in | 2 +-
|
||||
3 files changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/scheduler/Makefile b/scheduler/Makefile
|
||||
index 3e0884a..b354420 100644
|
||||
--- a/scheduler/Makefile
|
||||
+++ b/scheduler/Makefile
|
||||
@@ -203,11 +203,11 @@ install-data:
|
||||
if test "x$(SYSTEMD_DIR)" != x; then \
|
||||
echo Installing systemd configuration files...; \
|
||||
$(INSTALL_DIR) $(BUILDROOT)$(SYSTEMD_DIR); \
|
||||
- $(INSTALL_DATA) org.cups.cupsd.path $(BUILDROOT)$(SYSTEMD_DIR); \
|
||||
- $(INSTALL_DATA) org.cups.cupsd.service $(BUILDROOT)$(SYSTEMD_DIR); \
|
||||
- $(INSTALL_DATA) org.cups.cupsd.socket $(BUILDROOT)$(SYSTEMD_DIR); \
|
||||
- $(INSTALL_DATA) org.cups.cups-lpdAT.service $(BUILDROOT)$(SYSTEMD_DIR)/org.cups.cups-lpd@.service; \
|
||||
- $(INSTALL_DATA) org.cups.cups-lpd.socket $(BUILDROOT)$(SYSTEMD_DIR); \
|
||||
+ $(INSTALL_DATA) org.cups.cupsd.path $(BUILDROOT)$(SYSTEMD_DIR)/cups.path; \
|
||||
+ $(INSTALL_DATA) org.cups.cupsd.service $(BUILDROOT)$(SYSTEMD_DIR)/cups.service; \
|
||||
+ $(INSTALL_DATA) org.cups.cupsd.socket $(BUILDROOT)$(SYSTEMD_DIR)/cups.socket; \
|
||||
+ $(INSTALL_DATA) org.cups.cups-lpdAT.service $(BUILDROOT)$(SYSTEMD_DIR)/cups-lpd@.service; \
|
||||
+ $(INSTALL_DATA) org.cups.cups-lpd.socket $(BUILDROOT)$(SYSTEMD_DIR)/cups-lpd.socket; \
|
||||
elif test "x$(XINETD)" != x; then \
|
||||
echo Installing xinetd configuration file for cups-lpd...; \
|
||||
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(XINETD); \
|
||||
diff --git a/scheduler/org.cups.cupsd.path.in b/scheduler/org.cups.cupsd.path.in
|
||||
index 1bccc6f..90c8576 100644
|
||||
--- a/scheduler/org.cups.cupsd.path.in
|
||||
+++ b/scheduler/org.cups.cupsd.path.in
|
||||
@@ -2,7 +2,7 @@
|
||||
Description=CUPS Scheduler
|
||||
|
||||
[Path]
|
||||
-PathExists=@CUPS_CACHEDIR@/org.cups.cupsd
|
||||
+PathExists=@CUPS_CACHEDIR@/d*
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
diff --git a/scheduler/org.cups.cupsd.service.in b/scheduler/org.cups.cupsd.service.in
|
||||
index 0a27c76..7a04248 100644
|
||||
--- a/scheduler/org.cups.cupsd.service.in
|
||||
+++ b/scheduler/org.cups.cupsd.service.in
|
||||
@@ -7,5 +7,5 @@ ExecStart=@sbindir@/cupsd -l
|
||||
Type=simple
|
||||
|
||||
[Install]
|
||||
-Also=org.cups.cupsd.socket org.cups.cupsd.path
|
||||
+Also=cups.socket cups.path
|
||||
WantedBy=printer.target
|
||||
diff --git a/scheduler/org.cups.cupsd.socket.in b/scheduler/org.cups.cupsd.socket.in
|
||||
--- a/scheduler/org.cups.cupsd.socket.in
|
||||
+++ a/scheduler/org.cups.cupsd.socket.in
|
||||
@@ -3,6 +3,10 @@
|
||||
|
||||
[Socket]
|
||||
ListenStream=@CUPS_DEFAULT_DOMAINSOCKET@
|
||||
+ListenStream=[::1]:631
|
||||
+ListenStream=127.0.0.1:631
|
||||
+BindIPv6Only=ipv6-only
|
||||
+ReusePort=true
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
--
|
||||
2.0.4
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
diff -Nuar cups-1.6.1.orig/config.h.in cups-1.6.1/config.h.in
|
||||
--- cups-1.6.1.orig/config.h.in 2012-07-16 21:21:43.000000000 +0300
|
||||
+++ cups-1.6.1/config.h.in 2013-03-13 18:46:13.805434622 +0200
|
||||
@@ -127,7 +127,7 @@
|
||||
#define CUPS_SBINDIR "/usr/sbin"
|
||||
#define CUPS_SERVERBIN "/usr/lib/cups"
|
||||
#define CUPS_SERVERROOT "/etc/cups"
|
||||
-#define CUPS_STATEDIR "/var/run/cups"
|
||||
+#define CUPS_STATEDIR "/run/cups"
|
||||
|
||||
|
||||
/*
|
||||
diff -Nuar cups-1.6.1.orig/doc/help/security.html cups-1.6.1/doc/help/security.html
|
||||
--- cups-1.6.1.orig/doc/help/security.html 2011-04-29 00:20:12.000000000 +0300
|
||||
+++ cups-1.6.1/doc/help/security.html 2013-03-13 18:45:47.222433880 +0200
|
||||
@@ -53,7 +53,7 @@
|
||||
<LI>Local certificate authentication passes 128-bit
|
||||
"certificates" that identify an authenticated user.
|
||||
Certificates are created on-the-fly from random data and
|
||||
- stored in files under <VAR>/var/run/cups/certs</VAR>.
|
||||
+ stored in files under <VAR>/run/cups/certs</VAR>.
|
||||
They have restricted read permissions: root +
|
||||
system-group(s) for the root certificate, and lp + lp
|
||||
for CGI certificates.
|
||||
diff -Nuar cups-1.6.1.orig/scheduler/org.cups.cupsd.plist cups-1.6.1/scheduler/org.cups.cupsd.plist
|
||||
--- cups-1.6.1.orig/scheduler/org.cups.cupsd.plist 2011-04-20 21:15:44.000000000 +0300
|
||||
+++ cups-1.6.1/scheduler/org.cups.cupsd.plist 2013-03-13 18:44:26.286431623 +0200
|
||||
@@ -54,7 +54,7 @@
|
||||
<key>SockPathMode</key>
|
||||
<integer>49663</integer>
|
||||
<key>SockPathName</key>
|
||||
- <string>/private/var/run/cupsd</string>
|
||||
+ <string>/run/cupsd</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
diff -Nuar cups-1.6.1.orig/xcode/config.h cups-1.6.1/xcode/config.h
|
||||
--- cups-1.6.1.orig/xcode/config.h 2012-07-16 21:21:43.000000000 +0300
|
||||
+++ cups-1.6.1/xcode/config.h 2013-03-13 18:43:13.618429596 +0200
|
||||
@@ -100,7 +100,7 @@
|
||||
* Do we have domain socket support, and if so what is the default one?
|
||||
*/
|
||||
|
||||
-#define CUPS_DEFAULT_DOMAINSOCKET "/private/var/run/cupsd"
|
||||
+#define CUPS_DEFAULT_DOMAINSOCKET "/run/cupsd"
|
||||
|
||||
|
||||
/*
|
||||
@@ -0,0 +1,37 @@
|
||||
--- cups-config.in~ 2014-01-18 13:56:12.423297761 +0100
|
||||
+++ cups-config.in 2014-01-18 13:56:59.459964275 +0100
|
||||
@@ -50,7 +50,7 @@ else
|
||||
CFLAGS="$CFLAGS -I$includedir"
|
||||
fi
|
||||
|
||||
- if test $libdir != /usr/lib -a $libdir != /usr/lib32 -a $libdir != /usr/lib64; then
|
||||
+ if test $libdir != /usr/lib -a $libdir != /usr/lib32 -a $libdir != /usr/lib; then
|
||||
LDFLAGS="$LDFLAGS -L$libdir"
|
||||
fi
|
||||
fi
|
||||
--- config-scripts/cups-directories.m4~ 2014-01-18 13:56:23.529964393 +0100
|
||||
+++ config-scripts/cups-directories.m4 2014-01-18 13:57:40.706630807 +0100
|
||||
@@ -103,8 +103,8 @@ dnl Fix "libdir" variable...
|
||||
if test "$libdir" = "\${exec_prefix}/lib"; then
|
||||
case "$uname" in
|
||||
Linux*)
|
||||
- if test -d /usr/lib64 -a ! -d /usr/lib64/fakeroot; then
|
||||
- libdir="$exec_prefix/lib64"
|
||||
+ if test -d /usr/lib -a ! -d /usr/lib/fakeroot; then
|
||||
+ libdir="$exec_prefix/lib"
|
||||
fi
|
||||
;;
|
||||
HP-UX*)
|
||||
--- configure~ 2014-01-18 13:56:32.346631030 +0100
|
||||
+++ configure 2014-01-18 13:57:12.076630898 +0100
|
||||
@@ -5893,8 +5893,8 @@ fi
|
||||
if test "$libdir" = "\${exec_prefix}/lib"; then
|
||||
case "$uname" in
|
||||
Linux*)
|
||||
- if test -d /usr/lib64 -a ! -d /usr/lib64/fakeroot; then
|
||||
- libdir="$exec_prefix/lib64"
|
||||
+ if test -d /usr/lib -a ! -d /usr/lib/fakeroot; then
|
||||
+ libdir="$exec_prefix/lib"
|
||||
fi
|
||||
;;
|
||||
HP-UX*)
|
||||
@@ -0,0 +1,26 @@
|
||||
Index: cups-1.4.4/config-scripts/cups-compiler.m4
|
||||
===================================================================
|
||||
--- cups-1.4.4.orig/config-scripts/cups-compiler.m4
|
||||
+++ cups-1.4.4/config-scripts/cups-compiler.m4
|
||||
@@ -30,7 +30,7 @@ dnl For debugging, keep symbols, otherwi
|
||||
if test x$enable_debug = xyes; then
|
||||
OPTIM="-g"
|
||||
else
|
||||
- INSTALL_STRIP="-s"
|
||||
+ INSTALL_STRIP=""
|
||||
fi
|
||||
|
||||
dnl Debug printfs can slow things down, so provide a separate option for that
|
||||
Index: cups-1.4.4/configure
|
||||
===================================================================
|
||||
--- cups-1.4.4.orig/configure
|
||||
+++ cups-1.4.4/configure
|
||||
@@ -10978,7 +10978,7 @@ fi
|
||||
if test x$enable_debug = xyes; then
|
||||
OPTIM="-g"
|
||||
else
|
||||
- INSTALL_STRIP="-s"
|
||||
+ INSTALL_STRIP=""
|
||||
fi
|
||||
|
||||
if test x$enable_debug_printfs = xyes; then
|
||||
@@ -0,0 +1,22 @@
|
||||
--- config-scripts/cups-network.m4~ 2014-01-18 14:05:51.353295869 +0100
|
||||
+++ config-scripts/cups-network.m4 2014-01-18 14:07:25.179962227 +0100
|
||||
@@ -45,7 +45,7 @@ if test x$enable_domainsocket != xno -a
|
||||
case "$uname" in
|
||||
Darwin*)
|
||||
# Darwin and MaxOS X do their own thing...
|
||||
- CUPS_DEFAULT_DOMAINSOCKET="$localstatedir/run/cupsd"
|
||||
+ CUPS_DEFAULT_DOMAINSOCKET="/run/cupsd"
|
||||
;;
|
||||
*)
|
||||
# All others use FHS standard...
|
||||
--- config-scripts/cups-directories.m4~ 2014-01-18 14:05:59.609962507 +0100
|
||||
+++ config-scripts/cups-directories.m4 2014-01-18 14:07:13.516628933 +0100
|
||||
@@ -420,7 +420,7 @@ AC_ARG_WITH(rundir, [ --with-rundir
|
||||
;;
|
||||
*)
|
||||
# All others
|
||||
- CUPS_STATEDIR="$localstatedir/run/cups"
|
||||
+ CUPS_STATEDIR="/run/cups"
|
||||
;;
|
||||
esac])
|
||||
AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$CUPS_STATEDIR")
|
||||
@@ -0,0 +1,95 @@
|
||||
diff -up cups-2.0rc1/cups/http-support.c.avahi-address cups-2.0rc1/cups/http-support.c
|
||||
--- cups-2.0rc1/cups/http-support.c.avahi-address 2014-08-28 17:37:22.000000000 +0200
|
||||
+++ cups-2.0rc1/cups/http-support.c 2014-09-12 15:31:45.062950696 +0200
|
||||
@@ -2342,7 +2342,7 @@ http_resolve_cb(
|
||||
const char *type, /* I - Registration type */
|
||||
const char *domain, /* I - Domain (unused) */
|
||||
const char *hostTarget, /* I - Hostname */
|
||||
- const AvahiAddress *address, /* I - Address (unused) */
|
||||
+ const AvahiAddress *address, /* I - Address */
|
||||
uint16_t port, /* I - Port number */
|
||||
AvahiStringList *txt, /* I - TXT record */
|
||||
AvahiLookupResultFlags flags, /* I - Lookup flags (unused) */
|
||||
@@ -2495,39 +2495,62 @@ http_resolve_cb(
|
||||
* getting the IP address of the .local name and then do reverse-lookups...
|
||||
*/
|
||||
|
||||
- http_addrlist_t *addrlist, /* List of addresses */
|
||||
- *addr; /* Current address */
|
||||
+ http_addr_t addr;
|
||||
+ size_t addrlen;
|
||||
+ int error;
|
||||
|
||||
DEBUG_printf(("8http_resolve_cb: Looking up \"%s\".", hostTarget));
|
||||
|
||||
- snprintf(fqdn, sizeof(fqdn), "%d", ntohs(port));
|
||||
- if ((addrlist = httpAddrGetList(hostTarget, AF_UNSPEC, fqdn)) != NULL)
|
||||
+ switch (address->proto)
|
||||
{
|
||||
- for (addr = addrlist; addr; addr = addr->next)
|
||||
+ case AVAHI_PROTO_INET:
|
||||
+ addr.ipv4.sin_family = AF_INET;
|
||||
+ addrlen = sizeof (addr.ipv4.sin_addr);
|
||||
+ memcpy (&addr.ipv4.sin_addr, &address->data, addrlen);
|
||||
+ break;
|
||||
+ case AVAHI_PROTO_INET6:
|
||||
+ addr.ipv6.sin6_family = AF_INET6;
|
||||
+ addrlen = sizeof (addr.ipv6.sin6_addr);
|
||||
+ memcpy (&addr.ipv6.sin6_addr, &address->data, addrlen);
|
||||
+ break;
|
||||
+ default:
|
||||
+ DEBUG_printf(("8http_resolve_cb: unknown address family %d",
|
||||
+ address->proto));
|
||||
+ addrlen = 0;
|
||||
+ }
|
||||
+
|
||||
+ if (addrlen > 0) {
|
||||
+ error = getnameinfo(&addr.addr, httpAddrLength (&addr),
|
||||
+ fqdn, sizeof(fqdn), NULL, 0, NI_NAMEREQD);
|
||||
+
|
||||
+ if (!error)
|
||||
{
|
||||
- int error = getnameinfo(&(addr->addr.addr), (socklen_t)httpAddrLength(&(addr->addr)), fqdn, sizeof(fqdn), NULL, 0, NI_NAMEREQD);
|
||||
+ DEBUG_printf(("8http_resolve_cb: Found \"%s\".", fqdn));
|
||||
|
||||
- if (!error)
|
||||
- {
|
||||
- DEBUG_printf(("8http_resolve_cb: Found \"%s\".", fqdn));
|
||||
+ if ((hostptr = fqdn + strlen(fqdn) - 6) <= fqdn ||
|
||||
+ _cups_strcasecmp(hostptr, ".local"))
|
||||
|
||||
- if ((hostptr = fqdn + strlen(fqdn) - 6) <= fqdn ||
|
||||
- _cups_strcasecmp(hostptr, ".local"))
|
||||
- {
|
||||
- hostTarget = fqdn;
|
||||
- break;
|
||||
- }
|
||||
+ {
|
||||
+ hostTarget = fqdn;
|
||||
}
|
||||
+ } else {
|
||||
+ avahi_address_snprint (fqdn, sizeof (fqdn), address);
|
||||
+ hostTarget = fqdn;
|
||||
+
|
||||
#ifdef DEBUG
|
||||
- else
|
||||
- DEBUG_printf(("8http_resolve_cb: \"%s\" did not resolve: %d",
|
||||
- httpAddrString(&(addr->addr), fqdn, sizeof(fqdn)),
|
||||
- error));
|
||||
+ DEBUG_printf(("8http_resolve_cb: \"%s\" did not resolve: %d",
|
||||
+ fqdn, error));
|
||||
#endif /* DEBUG */
|
||||
}
|
||||
|
||||
- httpAddrFreeList(addrlist);
|
||||
}
|
||||
+ } else {
|
||||
+ /*
|
||||
+ * Use the IP address that responded...
|
||||
+ */
|
||||
+
|
||||
+ avahi_address_snprint (fqdn, sizeof (fqdn), address);
|
||||
+ hostTarget = fqdn;
|
||||
}
|
||||
|
||||
/*
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
||||
d /run/cups 0755 root lp
|
||||
d /run/cups/certs 0755 lp lpadmin
|
||||
@@ -0,0 +1,244 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cups</Name>
|
||||
<Homepage>http://www.cups.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>service</IsA>
|
||||
<Summary>Common Unix Printing System</Summary>
|
||||
<Description>cups provides a portable printing layer for *nix-based operating systems.</Description>
|
||||
<Archive sha1sum="3de556237dcb7c9f3df0eb853a53cb93e1879a8f" type="tarbz2">http://www.cups.org/software/2.0.3/cups-2.0.3-source.tar.bz2</Archive>
|
||||
<!-- <Archive sha1sum="062beea95c6f8dda0a5e7eed51604e22806ffad3" type="tar" target="cups-1.6.4">http://source.pisilinux.org/1.0/cups-tr.tar</Archive> -->
|
||||
<BuildDependencies>
|
||||
<Dependency>acl-devel</Dependency>
|
||||
<Dependency>pam-devel</Dependency>
|
||||
<Dependency>dbus-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>libusb-devel</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>avahi-devel</Dependency>
|
||||
<Dependency>cups-filters</Dependency>
|
||||
<Dependency>mit-kerberos</Dependency>
|
||||
<Dependency>libpaper-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- ARCH Linux patches -->
|
||||
<Patch level="1">archlinux/cups-no-export-ssllibs.patch</Patch>
|
||||
<Patch level="1">archlinux/cups-no-gzip-man.patch</Patch>
|
||||
<Patch level="1">archlinux/cups-1.6.2-statedir.patch</Patch>
|
||||
<Patch level="1">archlinux/cups-no-gcrypt.patch</Patch>
|
||||
|
||||
|
||||
<!-- Debian patches -->
|
||||
|
||||
<!-- Fedora patches -->
|
||||
<Patch level="1">fedora/cups-enum-all.patch</Patch>
|
||||
<Patch level="1">fedora/cups-final-content-type.patch</Patch>
|
||||
<Patch level="1">fedora/cups-res_init.patch</Patch>
|
||||
|
||||
<!-- Gentoo patches -->
|
||||
<Patch>gentoo/cups-1.6.0-fix-install-perms.patch</Patch>
|
||||
<Patch>gentoo/cups-2.0.1-rename-systemd-service-files.patch</Patch>
|
||||
<!--<Patch>gentoo/cups-2.0.1-fix-linkage-to-gnutls.patch</Patch>
|
||||
<Patch>gentoo/cups-2.0.1-fix-compilation.patch</Patch>-->
|
||||
|
||||
<!-- Pisi Linux patches -->
|
||||
<Patch>pisilinux/lib64.patch</Patch>
|
||||
<Patch level="1">pisilinux/nostrip.patch</Patch>
|
||||
<Patch level="1">pisilinux/cups-run.patch</Patch>
|
||||
|
||||
<!-- Pld-linux patches -->
|
||||
<Patch>pld-linux/cups-avahi-address.patch</Patch>
|
||||
<!--<Patch>pld-linux/cups-avahi-no-threaded.patch</Patch>-->
|
||||
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cups</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>acl</Dependency>
|
||||
<Dependency>pam</Dependency>
|
||||
<Dependency>dbus</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>libusb</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpaper</Dependency>
|
||||
<Dependency>avahi-libs</Dependency>
|
||||
<Dependency>mit-kerberos</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/cups/*conf</Path>
|
||||
<Path fileType="config">/usr/lib/tmpfiles.d/cups.conf</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/var/cache/cups/rss</Path>
|
||||
<Path fileType="data">/var/spool/cups/tmp</Path>
|
||||
<Path fileType="data">/run/cups/certs</Path>
|
||||
<Path fileType="data">/var/log/cups</Path>
|
||||
<Path fileType="data">/etc</Path>
|
||||
<Path fileType="data">/lib/udev/rules.d</Path>
|
||||
<Path fileType="data">/lib/systemd/system</Path>
|
||||
<Path fileType="data">/usr/share/cups</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/cups.conf">tmpfiles.conf</AdditionalFile>
|
||||
|
||||
<!-- logrotate file for CUPS logs -->
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/logrotate.d/cups">cups.logrotate</AdditionalFile>
|
||||
|
||||
<!-- Generic textonly ppd from Fedora which is also used by Ubuntu -->
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/cups/model/textonly.ppd">fedora/textonly.ppd</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Provides>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>cups-devel</Name>
|
||||
<Summary>Development files for cups</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">cups</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="executable">/usr/bin/cups-config</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>cups-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for cups</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>openssl-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>openssl-32bit</Dependency>
|
||||
<Dependency release="current">cups</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/cups-config-32bit</Path>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="14">
|
||||
<Date>2015-06-10</Date>
|
||||
<Version>2.0.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2014-02-05</Date>
|
||||
<Version>2.0.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2014-09-25</Date>
|
||||
<Version>1.7.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>1.7.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2014-01-30</Date>
|
||||
<Version>1.7.1</Version>
|
||||
<Comment>Fix comar service.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2014-01-18</Date>
|
||||
<Version>1.7.1</Version>
|
||||
<Comment>Add tmpfiles.conf. Rebuild.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2014-01-17</Date>
|
||||
<Version>1.7.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-11-1</Date>
|
||||
<Version>1.7.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-10-14</Date>
|
||||
<Version>1.6.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-07-13</Date>
|
||||
<Version>1.6.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-05-19</Date>
|
||||
<Version>1.6.1</Version>
|
||||
<Comment>Lib64 path correction.</Comment>
|
||||
<Name>Ertan Güven</Name>
|
||||
<Email>ertan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-03-13</Date>
|
||||
<Version>1.6.1</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Ertan Güven</Name>
|
||||
<Email>ertan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2012-10-18</Date>
|
||||
<Version>1.5.4</Version>
|
||||
<Comment>Fixed</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-18</Date>
|
||||
<Version>1.5.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cups</Name>
|
||||
<Summary xml:lang="tr">Unix Ortak Yazdırma Sistemi</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cups-php</Name>
|
||||
<Summary xml:lang="tr">PHP için CUPS programlama kitaplığı</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>cups-devel</Name>
|
||||
<Summary xml:lang="tr">cups için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>cups-32bit</Name>
|
||||
<Summary xml:lang="tr">cups için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,36 @@
|
||||
#!/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
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
options = "--disable-aload"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options += " --disable-python"
|
||||
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
|
||||
|
||||
autotools.autoreconf("-fi")
|
||||
|
||||
autotools.configure(options)
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
# rpath fix
|
||||
pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
|
||||
pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
if get.buildTYPE() == "emul32": return
|
||||
|
||||
pisitools.dodoc("ChangeLog", "TODO", "COPYING", "doc/*.txt")
|
||||
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>alsa-lib</Name>
|
||||
<Homepage>http://www.alsa-project.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>The Advanced Linux Sound Architecture (ALSA) library</Summary>
|
||||
<Description>alsa-lib provides ALSA runtime libraries to simplify application programming and provide higher level functionality as well as support for the older OSS API, providing binary compatibility for most OSS programs.</Description>
|
||||
<Archive sha1sum="9b81d20417170db2a91452bfe537d0893ef4df89" type="tarbz2">ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.29.tar.bz2</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>alsa-lib</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/alsa</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>alsa-lib-devel</Name>
|
||||
<Summary>Development files for alsa-lib</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">alsa-lib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include/sys</Path>
|
||||
<Path fileType="header">/usr/include/alsa</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>alsa-lib-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for alsa-lib</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">alsa-lib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2015-03-04</Date>
|
||||
<Version>1.0.29</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-08-19</Date>
|
||||
<Version>1.0.28</Version>
|
||||
<Comment>Rebuild version 28.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-08-19</Date>
|
||||
<Version>1.0.28</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-26</Date>
|
||||
<Version>1.0.27.2</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-03-05</Date>
|
||||
<Version>1.0.27.2</Version>
|
||||
<Comment>Rebuild for buildhost</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-22</Date>
|
||||
<Version>1.0.27.2</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-27</Date>
|
||||
<Version>1.0.27.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-13</Date>
|
||||
<Version>1.0.26.20121013</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>alsa-lib</Name>
|
||||
<Summary xml:lang="tr">Gelişmiş Linux Ses Mimarisi kütüphanesi</Summary>
|
||||
<Description xml:lang="tr">alsa-lib, ses aygıtlarına erişim sağlayarak kolayca uygulama yazılmasını sağlayan bir kütüphanedir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>alsa-lib-devel</Name>
|
||||
<Summary xml:lang="tr">alsa-lib için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>alsa-lib-32bit</Name>
|
||||
<Summary xml:lang="tr">alsa-lib için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>hardware.sound</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>multimedia</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>multimedia.graphics</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-fi")
|
||||
if not get.buildTYPE() == "emul32":
|
||||
autotools.configure("--with-jpeg8")
|
||||
else:
|
||||
pisitools.dosed("configure", "(NAFLAGS='-fel)f64( -DELF -D__x86_64__)", "\\1f32\\2")
|
||||
autotools.configure("--with-jpeg8 --without-simd")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
if get.buildTYPE() == "emul32": return
|
||||
|
||||
# provide jpegint.h as it is required by various software
|
||||
pisitools.insinto("/usr/lib/include", "jpegint.h")
|
||||
@@ -0,0 +1,18 @@
|
||||
--- Makefile.am~ 2013-05-15 20:34:26.015505251 +0200
|
||||
+++ Makefile.am 2013-05-15 20:34:45.183504551 +0200
|
||||
@@ -123,14 +123,10 @@
|
||||
DOCS= install.txt coderules.txt filelist.txt jconfig.txt change.log \
|
||||
rdrle.c wrrle.c BUILDING.txt ChangeLog.txt
|
||||
|
||||
-docdir = $(datadir)/doc
|
||||
+docdir = $(datadir)/doc/libjpeg-turbo
|
||||
dist_doc_DATA = README README-turbo.txt libjpeg.txt structure.txt usage.txt \
|
||||
wizard.txt
|
||||
|
||||
-exampledir = $(datadir)/doc
|
||||
-dist_example_DATA = example.c
|
||||
-
|
||||
-
|
||||
EXTRA_DIST = win release $(DOCS) testimages CMakeLists.txt \
|
||||
sharedlib/CMakeLists.txt cmakescripts libjpeg.map.in doc doxygen.config \
|
||||
jccolext.c jdcolext.c jdmrgext.c
|
||||
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libjpeg-turbo</Name>
|
||||
<Homepage>http://www.libjpeg-turbo.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3</License>
|
||||
<PartOf>multimedia.graphics</PartOf>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>MMX, SSE, and SSE2 SIMD accelerated JPEG library</Summary>
|
||||
<Description>libjpeg-turbo is a derivative of libjpeg for x86 and x86-64 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression. libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg v6b, all else being equal.</Description>
|
||||
<Archive sha1sum="5fa19252e5ca992cfa40446a0210ceff55fbe468" type="targz">mirrors://sourceforge/libjpeg-turbo/1.3.1/libjpeg-turbo-1.3.1.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch>fix_doc.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libjpeg-turbo</Name>
|
||||
<Replaces>
|
||||
<Package>jpeg</Package>
|
||||
</Replaces>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libjpeg-turbo-devel</Name>
|
||||
<Summary>Development files for libjpeg-turbo</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency releaseFrom="current">libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Replaces>
|
||||
<Package>jpeg-devel</Package>
|
||||
</Replaces>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/include/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libjpeg-turbo-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for jpeg</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Replaces>
|
||||
<Package>jpeg-32bit</Package>
|
||||
</Replaces>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2014-05-15</Date>
|
||||
<Version>1.3.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-05-15</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Switching from jpeg to libjpeg-turbo</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-05-12</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Source url write mirrors</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-04-21</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Fixed</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-07-31</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>First Release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libjpeg-turbo</Name>
|
||||
<Summary xml:lang="en">MMX, SSE, and SSE2 SIMD accelerated JPEG library</Summary>
|
||||
<Description xml:lang="en">libjpeg-turbo is a derivative of libjpeg for x86 and x86-64 processors which
|
||||
uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression. libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg v6b, all else being equal.</Description>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>libjpeg-turbo-devel</Name>
|
||||
<Summary xml:lang="tr">libjpeg-turbo için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,42 @@
|
||||
#!/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 get
|
||||
|
||||
|
||||
def setup():
|
||||
shelltools.sym("makefiles/configure.in", "configure.in")
|
||||
shelltools.sym("makefiles/Makefile.am", "Makefile.am")
|
||||
shelltools.sym("makefiles/makefile.linux", "Makefile")
|
||||
#shelltools.sym("contrib/gcc/sdl-mngplay/acinclude.m4", "acinclude.m4")
|
||||
|
||||
shelltools.system("sed -i -e 's/unroll-loops/& -fPIC/' Makefile ")
|
||||
|
||||
autotools.autoreconf("-fiv")
|
||||
autotools.configure("--with-jpeg \
|
||||
--with-lcms \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking")
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options = " --libdir=/usr/lib32 \
|
||||
--with-jpeg \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking"
|
||||
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.doman("doc/man/*")
|
||||
pisitools.dodoc("CHANGES", "LICENSE", "README*", "doc/doc.readme", "doc/misc/*", "doc/libmng.txt")
|
||||
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmng</Name>
|
||||
<Homepage>http://www.libmng.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Multiple Image Networkgraphics lib (animated png's)</Summary>
|
||||
<Description>Libmng -The reference library for reading, displaying, writing and examining Multiple-Image Network Graphics. MNG is the animation extension to the popular PNG image-format.</Description>
|
||||
<Archive sha1sum="ed63ebddb3d556a730024e2d6a6e00b8c0f5bc41" type="targz">http://sourceforge.net/projects/libmng/files/libmng-devel/2.0.2/libmng-2.0.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>lcms-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmng</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmng-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libmng</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="header">/usr/include/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmng-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libmng</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib-32bit </Dependency>
|
||||
<Dependency>lcms2-32bit</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit </Dependency>
|
||||
<Dependency release="current">libmng</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-19</Date>
|
||||
<Version>2.0.2</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-31</Date>
|
||||
<Version>2.0.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-12-16</Date>
|
||||
<Version>1.0.10</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmng</Name>
|
||||
<Summary xml:lang="tr">Çoklu resim Networkgraphics (Animasyonlu png)</Summary>
|
||||
<Description xml:lang="tr">Libmng, Çoklu Görüntü Ağ Grafiklerini (MNG) okuma, görüntüleme, yazma ve denemek için başvuru kütüphanesidir. MNG popüler PNG görüntü formatı için animasyon uzantısıdır.</Description>
|
||||
<Description xml:lang="fr">Libmng - La librairie de référence pour lire, afficher, écrire et examiner des Multiple-Image Network Graphics (graphiques orientés réseaux composés d'images multiples). MNG est l'extension d'animation pour le format d'image populaire PNG.</Description>
|
||||
<Description xml:lang="es">Libmng -librería de referencia para lectura, visualización, escritura y análisis de gráficos tipo Multiple-Image Network. MNG es la extensión de animación al formato popular de imágenes PNG.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/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 get
|
||||
|
||||
def setup():
|
||||
shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())
|
||||
|
||||
autotools.autoreconf("-vfi")
|
||||
autotools.configure("--disable-static \
|
||||
--disable-rpath \
|
||||
--without-x \
|
||||
--enable-cxx \
|
||||
--with-pic")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
if get.buildTYPE() == "emul32": return
|
||||
|
||||
pisitools.rename("/%s/tiff-%s" % (get.docDIR(), get.srcVERSION()), get.srcNAME())
|
||||
@@ -0,0 +1,13 @@
|
||||
--- libtiff/tif_dir.c 2011-04-04 05:58:54.000000000 -0400
|
||||
+++ libtiff/tif_dir.c.oden 2011-04-04 05:59:08.000000000 -0400
|
||||
@@ -370,6 +370,10 @@ _TIFFVSetField(TIFF* tif, ttag_t tag, va
|
||||
case TIFFTAG_YCBCRSUBSAMPLING:
|
||||
td->td_ycbcrsubsampling[0] = (uint16) va_arg(ap, int);
|
||||
td->td_ycbcrsubsampling[1] = (uint16) va_arg(ap, int);
|
||||
+ if (td->td_ycbcrsubsampling[0] > 4)
|
||||
+ td->td_ycbcrsubsampling[0] = (td->td_compression == 7) ? 1 : 2;
|
||||
+ if (td->td_ycbcrsubsampling[1] > 4)
|
||||
+ td->td_ycbcrsubsampling[1] = (td->td_compression == 7) ? 1 : 2;
|
||||
break;
|
||||
case TIFFTAG_TRANSFERFUNCTION:
|
||||
v = (td->td_samplesperpixel - td->td_extrasamples) > 1 ? 3 : 1;
|
||||
@@ -0,0 +1,24 @@
|
||||
diff -Naur tiff-3.9.1/Makefile.am tiff-3.9.1.oden/Makefile.am
|
||||
--- tiff-3.9.1/Makefile.am 2009-08-21 18:46:01.000000000 +0200
|
||||
+++ tiff-3.9.1.oden/Makefile.am 2009-08-30 12:43:13.000000000 +0200
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
dist_doc_DATA = $(docfiles)
|
||||
|
||||
-SUBDIRS = port libtiff tools build contrib test man html
|
||||
+SUBDIRS = port libtiff tools build test man html
|
||||
|
||||
release:
|
||||
(rm -f $(top_srcdir)/RELEASE-DATE && echo $(LIBTIFF_RELEASE_DATE) > $(top_srcdir)/RELEASE-DATE)
|
||||
diff -Naur tiff-3.9.1/Makefile.in tiff-3.9.1.oden/Makefile.in
|
||||
--- tiff-3.9.1/Makefile.in 2009-08-28 20:41:13.000000000 +0200
|
||||
+++ tiff-3.9.1.oden/Makefile.in 2009-08-30 12:43:33.000000000 +0200
|
||||
@@ -331,7 +331,7 @@
|
||||
nmake.opt
|
||||
|
||||
dist_doc_DATA = $(docfiles)
|
||||
-SUBDIRS = port libtiff tools build contrib test man html
|
||||
+SUBDIRS = port libtiff tools build test man html
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
@@ -0,0 +1,10 @@
|
||||
--- libtiff/tif_jpeg.c 2010-09-30 13:43:31.045146032 +0200
|
||||
+++ libtiff/tif_jpeg.c.oden 2010-09-30 13:44:59.005141117 +0200
|
||||
@@ -850,6 +850,7 @@ JPEGPreDecode(TIFF* tif, tsample_t s)
|
||||
if (downsampled_output) {
|
||||
/* Need to use raw-data interface to libjpeg */
|
||||
sp->cinfo.d.raw_data_out = TRUE;
|
||||
+ sp->cinfo.d.do_fancy_upsampling = FALSE;
|
||||
tif->tif_decoderow = JPEGDecodeRaw;
|
||||
tif->tif_decodestrip = JPEGDecodeRaw;
|
||||
tif->tif_decodetile = JPEGDecodeRaw;
|
||||
@@ -0,0 +1,107 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>tiff</Name>
|
||||
<Homepage>http://www.remotesensing.org/libtiff/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Library for manipulation of TIFF (Tag Image File Format) images</Summary>
|
||||
<Description>This software provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.</Description>
|
||||
<Archive sha1sum="652e97b78f1444237a82cbcfe014310e776eb6f0" type="targz">ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>jbigkit-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>tiff</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>jbigkit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-devel</Name>
|
||||
<Summary>Developement files for tiff</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">tiff</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-docs</Name>
|
||||
<Summary>Documentation for tiff</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>tiff</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for tiff</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">tiff</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
<Dependency>xz-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-19</Date>
|
||||
<Version>4.0.3</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-02-08</Date>
|
||||
<Version>4.0.3</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2" type="security">
|
||||
<Date>2013-07-26</Date>
|
||||
<Version>4.0.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1" type="security">
|
||||
<Date>2012-08-29</Date>
|
||||
<Version>4.0.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>tiff</Name>
|
||||
<Summary xml:lang="tr">TIFF (Tag Image File Format) türündeki resimleri işlemeye aracılık eden kütüphane</Summary>
|
||||
<Description xml:lang="tr">Bu kütüphane TIFF (Tag Image File Format) resim biçimi desteği sağlar. Bu biçim resim bilgisi saklamak için pek çok yerde kullanılır.</Description>
|
||||
<Description xml:lang="fr">Ce logiciel fournit le support pour le format "Tag Image File Format" (TIFF), un format très employé pour stocker des informations d'image.</Description>
|
||||
<Description xml:lang="es">Este software facilita soporte para el formato de imagen etiqueteado (TIFF), un formato para almacenamiento de imágenes de uso común.</Description>
|
||||
<Description xml:lang="pl">Biblioteka do manipulacji plikami w formacie TIFF.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-docs</Name>
|
||||
<Summary xml:lang="tr">tiff için belgelendirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-devel</Name>
|
||||
<Summary xml:lang="tr">tiff için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-32bit</Name>
|
||||
<Summary xml:lang="tr">tiff için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 2
|
||||
# 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():
|
||||
autotools.configure("\
|
||||
--disable-static \
|
||||
--enable-experimental \
|
||||
--enable-libwebpdecoder \
|
||||
--enable-libwebpdemux \
|
||||
--enable-libwebpmux \
|
||||
--enable-swap-16bit-csp \
|
||||
")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "PATENTS", "README")
|
||||
#shelltools.move("%s/libwebp-0.2.1/doc/*" % get.workDIR(),"%s/usr/share/doc/webp" % get.installDIR())
|
||||
#shelltools.move("%s/libwebp-0.2.1/README" % get.workDIR(),"%s/usr/share/doc/webp" % get.installDIR())
|
||||
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>webp</Name>
|
||||
<Homepage>http://code.google.com/p/webp/downloads/list</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>Copyright (c) 2010, Google Inc. All rights reserved.</License>
|
||||
<IsA>application</IsA>
|
||||
<Summary>webp image format and format conversion png,jpeg,tiff</Summary>
|
||||
<Description>webp image format and format conversion png,jpeg,tiff</Description>
|
||||
<Archive sha1sum="1c307a61c4d0018620b4ba9a58e8f48a8d6640ef" type="targz">http://downloads.webmproject.org/releases/webp/libwebp-0.4.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>giflib-devel</Dependency>
|
||||
<Dependency>mesa-glu-devel</Dependency>
|
||||
<Dependency>freeglut-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>webp</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>giflib</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>freeglut</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libwebp*</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc/webp</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>webp-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>webp</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2015-04-06</Date>
|
||||
<Version>0.4.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-21</Date>
|
||||
<Version>0.4.0</Version>
|
||||
<Comment>rebuild</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-04-21</Date>
|
||||
<Version>0.4.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-25</Date>
|
||||
<Version>0.3.1</Version>
|
||||
<Comment>rebuild for unused</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-19</Date>
|
||||
<Version>0.3.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-12-11</Date>
|
||||
<Version>0.2.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>can</Name>
|
||||
<Email>qazsew@mynet.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>webp</Name>
|
||||
<Summary xml:lang="tr">webp resim formatı kütüphanesi ve png,jpeg,tiff resim formatlarına dönüştürme aracı</Summary>
|
||||
<Description xml:lang="tr">webp resim formatı kütüphanesi ve png,jpeg,tiff resim formatlarına dönüştürme aracı</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>webp</Name>
|
||||
<Summary xml:lang="tr">webp resim formatı kütüphanesi ve png,jpeg,tiff resim formatlarına dönüştürme aracı</Summary>
|
||||
</Package>
|
||||
<Package>
|
||||
<Name>webp-devel</Name>
|
||||
<Summary xml:lang="tr">webp için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/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 get
|
||||
|
||||
def setup():
|
||||
autotools.configure('--enable-fbdev \
|
||||
--enable-mmx \
|
||||
--enable-sse \
|
||||
--enable-jpeg \
|
||||
--enable-png \
|
||||
--enable-gif \
|
||||
--enable-freetype \
|
||||
--enable-multi \
|
||||
--enable-sysfs \
|
||||
--disable-sdl \
|
||||
--disable-multi \
|
||||
--disable-debug \
|
||||
--disable-static \
|
||||
--enable-zlib \
|
||||
--enable-x11 \
|
||||
--enable-video4linux \
|
||||
--enable-video4linux2 \
|
||||
--with-inputdrivers="all" \
|
||||
--with-gfxdrivers="all" \
|
||||
--disable-vnc')
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dohtml("docs/html/")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README*", "TODO", "fb.modes")
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>DirectFB</Name>
|
||||
<Homepage>http://www.directfb.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Thin library on top of the Linux framebuffer devices</Summary>
|
||||
<Description>DirectFB is a thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system with support for translucent windows and multiple display layers.</Description>
|
||||
<Archive sha1sum="ff3dc6885f2875586849d88ee9f87fca866259b0" type="targz">http://www.directfb.org/downloads/Core/DirectFB-1.7/DirectFB-1.7.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>giflib-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>mesa-glu-devel</Dependency>
|
||||
<Dependency>libdrm-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>libmng-devel</Dependency>
|
||||
<Dependency>libvdpau-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>DirectFB-docs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>DirectFB</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>DirectFB</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>giflib</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>mesa-glu</Dependency>
|
||||
<Dependency>libdrm</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>libmng</Dependency>
|
||||
<Dependency>libvdpau</Dependency>
|
||||
<Dependency>webp</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>jasper</Dependency>
|
||||
<Dependency>libkms</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>DirectFB-devel</Name>
|
||||
<Summary>Development files for DirectFB</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">DirectFB</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2014-05-21</Date>
|
||||
<Version>1.7.1</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-04-23</Date>
|
||||
<Version>1.7.1</Version>
|
||||
<Comment>Rebuild for webp</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-28</Date>
|
||||
<Version>1.7.1</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-10-14</Date>
|
||||
<Version>1.7.1</Version>
|
||||
<Comment>version bump</Comment>
|
||||
<Name>Erdinç >Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-29</Date>
|
||||
<Version>1.5.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>DirectFB</Name>
|
||||
<Summary xml:lang="tr">Linux framebuffer aygıtlarının üstünde çalışan hafif bir kütüphane</Summary>
|
||||
<Description xml:lang="tr">DirectFB donanımsal grafik hızlandırması, giriş aygıtları işleme ve soyutlama sağlayan yarısaydam pencereler ve çoklu görüntü katmanlarını destekleyen pencere sistemi ile bütünleşik bir kütüphanedir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>DirectFB-devel</Name>
|
||||
<Summary xml:lang="tr">DirectFB için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>multimedia.misc</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>multimedia.sound</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/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 cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "openal-soft-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
options = "-DALSA=1 \
|
||||
-DPULSEAUDIO=1 \
|
||||
-DOSS=1 \
|
||||
-DEXAMPLES=OFF"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options += " -DCMAKE_INSTALL_PREFIX=/emul32 \
|
||||
-DLIB_SUFFIX=32"
|
||||
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
|
||||
|
||||
cmaketools.configure(options)
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# is there any "libdir" prefix for cmake ?
|
||||
if get.buildTYPE() == "emul32":
|
||||
from distutils.dir_util import copy_tree
|
||||
copy_tree("%s/emul32/lib32/" % get.installDIR(), "%s/usr/lib32" % get.installDIR())
|
||||
pisitools.removeDir("/emul32")
|
||||
pisitools.dosed("%s/usr/lib32/pkgconfig/openal.pc" % get.installDIR(), "emul32", "usr")
|
||||
return
|
||||
|
||||
pisitools.dodoc("COPYING", "alsoftrc.sample")
|
||||
@@ -0,0 +1,32 @@
|
||||
--- OpenAL32/Include/alu.h.orig
|
||||
+++ OpenAL32/Include/alu.h
|
||||
@@ -224,6 +224,29 @@
|
||||
return a0*mu*mu2 + a1*mu2 + a2*mu + a3;
|
||||
}
|
||||
|
||||
+#if defined(_FPU_GETCW) && defined(_FPU_SETCW)
|
||||
+ #ifndef _FPU_EXTENDED
|
||||
+ #define _FPU_EXTENDED 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_DOUBLE
|
||||
+ #define _FPU_DOUBLE 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_SINGLE
|
||||
+ #define _FPU_SINGLE 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_RC_NEAREST
|
||||
+ #define _FPU_RC_NEAREST 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_RC_DOWN
|
||||
+ #define _FPU_RC_DOWN 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_RC_UP
|
||||
+ #define _FPU_RC_UP 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_RC_ZERO
|
||||
+ #define _FPU_RC_ZERO 0
|
||||
+ #endif
|
||||
+#endif
|
||||
|
||||
static __inline int SetMixerFPUMode(void)
|
||||
{
|
||||
@@ -0,0 +1,17 @@
|
||||
diff -Nur openal-soft-1.13-old//CMakeLists.txt openal-soft-1.13/CMakeLists.txt
|
||||
--- openal-soft-1.13-old//CMakeLists.txt 2011-04-15 10:39:56.860000093 +0300
|
||||
+++ openal-soft-1.13/CMakeLists.txt 2011-04-15 11:30:47.593000620 +0300
|
||||
@@ -246,10 +246,10 @@
|
||||
MESSAGE(FATAL_ERROR "No sleep function found!")
|
||||
ENDIF()
|
||||
|
||||
- CHECK_C_COMPILER_FLAG(-pthread HAVE_PTHREAD)
|
||||
+ CHECK_C_COMPILER_FLAG(-lpthread HAVE_PTHREAD)
|
||||
IF(HAVE_PTHREAD)
|
||||
- ADD_DEFINITIONS(-pthread)
|
||||
- SET(EXTRA_LIBS ${EXTRA_LIBS} -pthread)
|
||||
+ ADD_DEFINITIONS(-lpthread)
|
||||
+ SET(EXTRA_LIBS ${EXTRA_LIBS} -lpthread)
|
||||
ENDIF()
|
||||
|
||||
# We need pthreads outside of Windows
|
||||
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>openal</Name>
|
||||
<Homepage>http://kcat.strangesoft.net/openal.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Open Audio Library is a vendor-neutral API for interactive spatialized audio</Summary>
|
||||
<Description>OpenAL is a cross-platform 3D audio API appropriate for use with gaming applications and many other types of audio applications. The basic OpenAL objects are a Listener, a Source, and a Buffer.</Description>
|
||||
<Archive sha1sum="a0e73a46740c52ccbde38a3912c5b0fd72679ec8" type="tarbz2">http://kcat.strangesoft.net/openal-releases/openal-soft-1.15.1.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">pthread.patch</Patch>
|
||||
<Patch level="0">no-fpuextended.patch</Patch>
|
||||
<!-- <Patch level="1">openal-soft-1.14-x86.patch</Patch> -->
|
||||
<!-- <Patch level="0">libsndio-dlopen-change.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>openal</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc/openal</Path>
|
||||
<Path fileType="data">/usr/share/openal</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>openal-devel</Name>
|
||||
<Summary>Development files for openal</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">openal</Dependency>
|
||||
<Dependency>pulseaudio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig/openal.pc</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig/openal.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>openal-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for openal</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">openal</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>1.15.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-01</Date>
|
||||
<Version>1.15.1</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-31</Date>
|
||||
<Version>1.14</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Fatih Turgel</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user