diff --git a/hardware/printer/cups-filters/actions.py b/hardware/printer/cups-filters/actions.py new file mode 100644 index 0000000000..100c076853 --- /dev/null +++ b/hardware/printer/cups-filters/actions.py @@ -0,0 +1,32 @@ +# -*- 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 + +def setup(): + pisitools.dosed("configure", "localstatedir/run/cups", "localstatedir/cups") + + autotools.configure("--prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --with-rcdir=no \ + --localstatedir=/run \ + --with-browseremoteprotocols=DNSSD,CUPS \ + --with-test-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def check(): + autotools.make("check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README") diff --git a/hardware/printer/cups-filters/pspec.xml b/hardware/printer/cups-filters/pspec.xml new file mode 100644 index 0000000000..67ae9e2eae --- /dev/null +++ b/hardware/printer/cups-filters/pspec.xml @@ -0,0 +1,168 @@ + + + + + cups-filters + http://www.openprinting.org + + Marcin Bojara + marcin@pisilinux.org + + GPLv2 + GPLv3 + GPLv2+ + GPLv3+ + LGPLv2+ + MIT + data + library + app:console + OpenPrinting CUPS filters and backends + Contains backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc. In addition it contains additional filters developed independently of Apple, especially filters for the PDF-centric printing workflow introduced by OpenPrinting. + http://www.openprinting.org/download/cups-filters/cups-filters-1.0.66.tar.xz + + tiff-devel + ghostscript + lcms2-devel + gnutls-devel + mit-kerberos + fontconfig-devel + libjpeg-turbo-devel + qpdf-devel + ghostscript-devel + poppler-devel + + + + + cups-filters + + tiff + lcms2 + gnutls + fontconfig + foomatic-db + mit-kerberos + libjpeg-turbo + qpdf + ghostscript + poppler + + + cups + foomatic-filters + + + foomatic-filters + + + /usr/lib + /usr/share/man + /usr/share/doc + /usr/share/ppd + /usr/bin + /usr/share/cups + /etc/cups/cups-browsed.conf + /etc/fonts/conf.d/99pdftoopvp.conf + + + + + cups-filters-devel + Cups-filters için geliştirme dosyaları + + cups-filters + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2015-03-08 + 1.0.66 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-02-15 + 1.0.65 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2014-09-25 + 1.0.58 + Verison bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-17 + 1.0.53 + Verison bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-02-05 + 1.0.44 + Rebuild to replace foomatic-filters. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-01-28 + 1.0.44 + rebuild for unused and runtime dep. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-01-18 + 1.0.44 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-11-02 + 1.0.41 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-10-16 + 1.0.40 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-10-10 + 1.0.39 + Cersion bump,rebuil for new poppler. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-07-28 + 1.0.35 + Dep Fixed + PisiLinux Community + admins@pisilinux.org + + + 2013-07-01 + 1.0.35 + First release. + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/hardware/printer/cups-filters/translations.xml b/hardware/printer/cups-filters/translations.xml new file mode 100644 index 0000000000..7146f84d16 --- /dev/null +++ b/hardware/printer/cups-filters/translations.xml @@ -0,0 +1,14 @@ + + + + cups-filters + OpenPrinting CUPS filters and backends + Contains backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc. In addition it contains additional filters developed independently of Apple, especially filters for the PDF-centric printing workflow introduced by OpenPrinting. + + + + cups-filters-devel + Cups-filters için geliştirme dosyaları + Development files for cups-filters + + \ No newline at end of file diff --git a/hardware/printer/cups/actions.py b/hardware/printer/cups/actions.py index 1655420abc..e62d0fd502 100644 --- a/hardware/printer/cups/actions.py +++ b/hardware/printer/cups/actions.py @@ -32,7 +32,6 @@ def setup(): --enable-libpaper \ --enable-libusb=yes \ --enable-debug \ - --enable-avahi \ --enable-gssapi \ --enable-dbus \ --enable-pam=yes \ @@ -56,7 +55,6 @@ def setup(): if get.buildTYPE() == "emul32": options += ' \ --enable-libusb=no \ - --disable-avahi \ --disable-dnssd \ --disable-gssapi \ --disable-dbus \ diff --git a/hardware/printer/cups/comar/service.py b/hardware/printer/cups/comar/service.py index cc3baf190b..1f8271d078 100644 --- a/hardware/printer/cups/comar/service.py +++ b/hardware/printer/cups/comar/service.py @@ -12,7 +12,7 @@ PIDFILE = "/run/cups/cupsd.pid" @synchronized def start(): # FIXME: After avahi before hal - startDependencies("avahi") + # startDependencies("avahi") # Load ppdev and lp drivers if wanted if config.get("LOAD_LP_MODULE") == "yes": diff --git a/hardware/printer/cups/pspec.xml b/hardware/printer/cups/pspec.xml index c1e11be0c2..b3d8a96b97 100644 --- a/hardware/printer/cups/pspec.xml +++ b/hardware/printer/cups/pspec.xml @@ -21,7 +21,7 @@ zlib-devel libusb-devel libgcc - avahi-devel + cups-filters mit-kerberos libpaper-devel @@ -69,7 +69,7 @@ libusb libgcc libpaper - avahi-libs + mit-kerberos diff --git a/hardware/printer/libpaper/actions.py b/hardware/printer/libpaper/actions.py new file mode 100644 index 0000000000..59eb984ca8 --- /dev/null +++ b/hardware/printer/libpaper/actions.py @@ -0,0 +1,27 @@ +#!/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 + +def setup(): + autotools.configure('--disable-static') + + # Disable rpath + 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.install() + + for lang in shelltools.ls("debian/po/*.po"): + pisitools.domo(lang, shelltools.baseName(lang).replace(".po", ""), "libpaper.mo") + + pisitools.dodoc("README", "ChangeLog") diff --git a/hardware/printer/libpaper/files/libpaper-1.1.23-debianbug475683.patch b/hardware/printer/libpaper/files/libpaper-1.1.23-debianbug475683.patch new file mode 100644 index 0000000000..36135d0ef9 --- /dev/null +++ b/hardware/printer/libpaper/files/libpaper-1.1.23-debianbug475683.patch @@ -0,0 +1,12 @@ +diff -up libpaper-1.1.23+nmu1/lib/paperspecs.BAD libpaper-1.1.23+nmu1/lib/paperspecs +--- libpaper-1.1.23+nmu1/lib/paperspecs.BAD 2008-08-22 16:49:16.000000000 -0400 ++++ libpaper-1.1.23+nmu1/lib/paperspecs 2008-08-22 16:49:25.000000000 -0400 +@@ -40,7 +40,7 @@ c5 162 229 mm + c6 114 162 mm + c7 81 114 mm + c8 57 81 mm +-DL 312 624 ++DL 110 220 mm + Comm10 297 684 + Monarch 279 540 + archE 2592 3456 diff --git a/hardware/printer/libpaper/files/libpaper-useglibcfallback.patch b/hardware/printer/libpaper/files/libpaper-useglibcfallback.patch new file mode 100644 index 0000000000..cdf75c627e --- /dev/null +++ b/hardware/printer/libpaper/files/libpaper-useglibcfallback.patch @@ -0,0 +1,80 @@ +diff -ru libpaper-1.1.23.orig/lib/paper.c libpaper-1.1.23/lib/paper.c +--- libpaper-1.1.23.orig/lib/paper.c 2008-08-12 13:20:48.000000000 +0100 ++++ libpaper-1.1.23/lib/paper.c 2008-08-12 14:26:44.000000000 +0100 +@@ -22,6 +22,9 @@ + + #include + ++#include ++#include ++ + #include "paper.h" + + struct paper { +@@ -110,6 +113,27 @@ + } + + const char* defaultpapername(void) { ++#if defined(LC_PAPER) && defined(_GNU_SOURCE) ++ ++#define NL_PAPER_GET(x) \ ++ ((union { char *string; unsigned int word; })nl_langinfo(x)).word ++ ++#define PT_TO_MM(v) (unsigned int)((v * 2.54 * 10 / 72) + 0.5) ++ ++ const struct paper* pp; ++ ++ unsigned int w = NL_PAPER_GET(_NL_PAPER_WIDTH); ++ unsigned int h = NL_PAPER_GET(_NL_PAPER_HEIGHT); ++ ++ for (pp = paperfirst(); pp; pp = papernext(pp)) { ++ if ( ++ PT_TO_MM(pp->pswidth) == w && ++ PT_TO_MM(pp->psheight) == h ++ ) { ++ return pp->name; ++ } ++ } ++#endif + return PAPERSIZE; + } + +diff -ru libpaper-1.1.23.orig/man/paperconf.1.in libpaper-1.1.23/man/paperconf.1.in +--- libpaper-1.1.23.orig/man/paperconf.1.in 2008-08-12 13:20:48.000000000 +0100 ++++ libpaper-1.1.23/man/paperconf.1.in 2008-08-12 14:34:06.000000000 +0100 +@@ -48,10 +48,12 @@ + .B @PAPERSIZEVAR@ + environment variable, at the contents of the file specified by the + .B @PAPERCONFVAR@ +-environment variable, at the contects of ++environment variable, at the contents of the file + .B @PAPERCONF@ +-or by using +-.B letter ++, consulting the values controlled by the ++.B LC_PAPER ++locale setting, or by using ++.B @PAPERSIZE@ + as a fall-back value if none of the other alternatives are successful. + By default, width and height of the paper are printed in PostScript points. + .SH OPTIONS +diff -ru libpaper-1.1.23.orig/src/paperconf.c libpaper-1.1.23/src/paperconf.c +--- libpaper-1.1.23.orig/src/paperconf.c 2008-08-12 13:20:48.000000000 +0100 ++++ libpaper-1.1.23/src/paperconf.c 2008-08-12 14:13:33.000000000 +0100 +@@ -13,6 +13,7 @@ + #include + + #include ++#include + + + /* needed for GNU/Hurd */ +@@ -99,6 +100,8 @@ + + const char* progname; + ++ setlocale(LC_ALL, ""); ++ + progname = strrchr(*argv, '/'); + if (progname) { + ++progname; diff --git a/hardware/printer/libpaper/files/papersize b/hardware/printer/libpaper/files/papersize new file mode 100644 index 0000000000..f0d03c8312 --- /dev/null +++ b/hardware/printer/libpaper/files/papersize @@ -0,0 +1,2 @@ +# this is the default papersize for libpaper +a4 diff --git a/hardware/printer/libpaper/pspec.xml b/hardware/printer/libpaper/pspec.xml new file mode 100644 index 0000000000..704e8ed20c --- /dev/null +++ b/hardware/printer/libpaper/pspec.xml @@ -0,0 +1,66 @@ + + + + + libpaper + http://packages.debian.org/unstable/source/libpaper + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + Library for handling paper characteristics + Libpaper is a programming library for handling paper characteristics. + http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz + + libpaper-1.1.23-debianbug475683.patch + libpaper-useglibcfallback.patch + + + + + libpaper + + /usr/bin + /usr/sbin + /usr/lib + /etc/ + /usr/share/man + /usr/share/doc + /usr/share/locale + + + papersize + + + + + libpaper-devel + Development files for libpaper + + libpaper + + + /usr/include + /usr/share/man/man3 + + + + + + 2014-05-21 + 1.1.24 + rebuild + Kamil Atlı + suvarice@gmail.com + + + 2010-10-13 + 1.1.24 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/hardware/printer/libpaper/translations.xml b/hardware/printer/libpaper/translations.xml new file mode 100644 index 0000000000..c71061e17b --- /dev/null +++ b/hardware/printer/libpaper/translations.xml @@ -0,0 +1,14 @@ + + + + libpaper + Kağıt özelliklerini düzenlemek için kitaplık + libpaper, kağıt özelliklerini düzenlemek için bir programlama kitaplığıdır. + Libpaper es una librería de programación para manejar características de papel. + + + + libpaper-devel + libpaper için geliştirme dosyaları + + diff --git a/kernel/component.xml b/kernel/component.xml new file mode 100644 index 0000000000..7adc4a6762 --- /dev/null +++ b/kernel/component.xml @@ -0,0 +1,3 @@ + + kernel + diff --git a/kernel/drivers/component.xml b/kernel/drivers/component.xml new file mode 100644 index 0000000000..34152dc858 --- /dev/null +++ b/kernel/drivers/component.xml @@ -0,0 +1,3 @@ + + kernel.drivers + diff --git a/kernel/drivers/module-fglrx/actions.py b/kernel/drivers/module-fglrx/actions.py new file mode 100644 index 0000000000..ffa5251339 --- /dev/null +++ b/kernel/drivers/module-fglrx/actions.py @@ -0,0 +1,170 @@ +# -*- 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 kerneltools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +WorkDir = "./" +KDIR = kerneltools.getKernelVersion() +NoStrip = ["/lib/modules"] + +BuildDir = "common/lib/modules/fglrx/build_mod" + +if get.buildTYPE() == 'emul32': + Target = "x86" + Libdir = "/usr/lib32" +else: + Target = get.ARCH().replace("i686", "x86") + Libdir = "/usr/lib" + +XDir = "xpic" + ("_64a" if Target == "x86_64" else "") + + +def setup(): + shelltools.makedirs("%s/common" % get.workDIR()) + shelltools.move("lib", "%s/common/" % get.workDIR()) + shelltools.move("usr", "%s/common/" % get.workDIR()) + shelltools.move("etc", "%s/common/" % get.workDIR()) + #shelltools.export("SETUP_NOCHECK", "1") + #shelltools.system("sh amd-driver-installer-*-x86.x86_64.run --extract .") + + if get.buildTYPE() == "emul32": + return + + # Needed during kernel module compiling + shelltools.sym("../../../../../arch/%s/lib/modules/fglrx/build_mod/libfglrx_ip.a" % Target, "%s/libfglrx_ip.a" % BuildDir) + + pisitools.dosed("%s/make.sh" % BuildDir, r"^linuxincludes=.*", "linuxincludes=/lib/modules/%s/build/include" % KDIR) + pisitools.dosed("%s/make.sh" % BuildDir, r"^uname_r=.*", "uname_r=%s" % KDIR) + pisitools.dosed("common/etc/ati/authatieventsd.sh", "/var/lib/xdm/authdir/authfiles", "/var/run/xauth") + + + shelltools.system("patch -p1 < desktop-files.patch") + + #shelltools.system("patch -p1 < fglrx_gpl_symbol.patch") + #shelltools.system("patch -p1 < kolasa_4.0-cr4-strn.patch") + #shelltools.system("patch -p1 < lano1106_fglrx_intel_iommu.patch") + #shelltools.system("patch -p1 < lano1106_kcl_agp_13_4.patch") + shelltools.system("patch -p1 < makefile_compat.patch") + + + +def build(): + if get.buildTYPE() == "emul32": + return + + shelltools.cd(BuildDir) + shelltools.system("sh make.sh") + +def install(): + # Controlcenter binaries + if not get.buildTYPE() == 'emul32': + pisitools.dobin("arch/%s/usr/X11R6/bin/*" % Target) + pisitools.dobin("common/usr/X11R6/bin/*") + pisitools.dosbin("arch/%s/usr/sbin/*" % Target) + pisitools.dobin("arch/%s/usr/bin/*" % Target) + pisitools.dosbin("common/usr/sbin/*") + + # Controlcenter libraries + # The other files under /usr/share are common files like icon,man,doc ,etc .. + DIRS = { + "common/usr/share/doc/fglrx/examples/etc/acpi/events": "/etc/acpi", + "common/etc/*": "/etc", + "arch/%s/etc/OpenCL/*" % Target: "/etc/OpenCL", + "arch/%s/usr/X11R6/lib*/*" % Target: Libdir, + "arch/%s/usr/lib*/*" % Target: Libdir, + "common/usr/share/*": "/usr/share" + } + + # Emul32 package don't need files that belongs to /usr/share + if get.buildTYPE() == "emul32": + del DIRS["common/usr/share/*"] + del DIRS["common/etc/*"] + del DIRS["common/usr/share/doc/fglrx/examples/etc/acpi/events"] + + for source, target in DIRS.items(): + pisitools.insinto(target, source) + + # pisitools.insinto("usr/share/ati/lib64", "arch/%s/usr/share/ati/lib*/*" % Target) + + # X.org drivers + pisitools.domove("%s/modules" % Libdir, "%s/fglrx" % Libdir) + pisitools.insinto("%s/fglrx/modules" % Libdir, "%s/usr/X11R6/lib*/modules/*" % XDir) + pisitools.insinto("%s/xorg/modules" % Libdir, "%s/usr/X11R6/lib*/modules/*" % XDir) + + # libGl library name changed to fglrx-libGl since 1.15 + pisitools.domove("%s/fglrx/fglrx-libGL.so.1.2" % Libdir, "%s/fglrx" % Libdir, "libGL.so.1.2.0") + + pisitools.domove("%s/fglrx/modules/dri" % Libdir, "%s/xorg/modules/" % Libdir) + + pisitools.domove("%s/fglrx/modules/extensions/fglrx/fglrx-libglx.so" % Libdir, + "%s/fglrx/modules/extensions" % Libdir, "libglx.so") + + + # Necessary symlinks + pisitools.dosym("%s/xorg/modules/dri/fglrx_dri.so" % Libdir, "%s/dri/fglrx_dri.so" % Libdir) + + pisitools.dosym("libatiuki.so.1.0", "%s/libatiuki.so.1" % Libdir) + pisitools.dosym("libatiuki.so.1", "%s/libatiuki.so" % Libdir) + + pisitools.dosym("libfglrx_dm.so.1.0", "%s/libfglrx_dm.so.1" % Libdir) + pisitools.dosym("libfglrx_dm.so.1", "%s/libfglrx_dm.so" % Libdir) + + pisitools.dosym("libAMDXvBA.so.1.0", "%s/libAMDXvBA.so.1" % Libdir) + pisitools.dosym("libAMDXvBA.so.1", "%s/libAMDXvBA.so" % Libdir) + + pisitools.dosym("libXvBAW.so.1.0", "%s/libXvBAW.so.1" % Libdir) + pisitools.dosym("libXvBAW.so.1", "%s/libXvBAW.so" % Libdir) + + # remove static libs + pisitools.remove("%s/*.a" % Libdir) + if shelltools.isFile("%s%s/fglrx/modules/esut.a" % (get.installDIR(), Libdir)): + pisitools.remove("%s/fglrx/modules/esut.a" % Libdir) + + # compatibility links + pisitools.dosym("xorg/modules", "%s/modules" % Libdir) + + # OK, That's the end of emul32 build, it's time to exit. + if get.buildTYPE() == "emul32": + return + + # Another compatibility link + pisitools.dosym("/usr", "/usr/X11R6") + + pisitools.dosym("../security/console.apps/amdcccle-su", "/etc/pam.d/amdcccle-su") + + # copy compiled kernel module + pisitools.insinto("/lib/modules/%s/extra/fglrx" % KDIR, "common/lib/modules/fglrx/fglrx.%s.ko" % KDIR, "fglrx.ko") + pisitools.insinto("/lib/modules/%s/kernel/drivers/char/drm" % KDIR, "common/lib/modules/fglrx/fglrx.%s.ko" % KDIR, "fglrx.ko") + + # control script for ACPI lid state and AC adapter state + pisitools.insinto("/etc/acpi", "common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh") + + # not needed as xdg-utils package provides xdg-su + pisitools.remove("/usr/bin/amdxdg-su") + + pisitools.domove("/usr/share/icons/ccc_large.xpm", "/usr/share/pixmaps", "amdcccle.xpm") + pisitools.removeDir("/usr/share/icons") + + #LICENSE information + pisitools.dodoc("LICENSE.TXT") + + # Fix file permissions + exec_file_suffixes = (".sh", ".so", ".so.1.2.0") + exec_dir_suffixes = ("/bin", "/sbin", "/lib") + + import os + for root, dirs, files in os.walk(get.installDIR()): + for name in files: + filePath = os.path.join(root, name) + if os.path.islink(filePath): + continue + if root.endswith(exec_dir_suffixes) \ + or name.endswith(exec_file_suffixes): + shelltools.chmod(filePath, 0755) + else: + shelltools.chmod(filePath, 0644) diff --git a/kernel/drivers/module-fglrx/comar/package-emul32.py b/kernel/drivers/module-fglrx/comar/package-emul32.py new file mode 100644 index 0000000000..7a1f8a79a6 --- /dev/null +++ b/kernel/drivers/module-fglrx/comar/package-emul32.py @@ -0,0 +1,18 @@ +#!/usr/bin/python + +import os + +libdir = "/usr/lib32/fglrx" + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system("/usr/sbin/alternatives \ + --install /usr/lib32/libGL.so.1.2.0 libGL-32bit %(libdir)s/libGL.so.1.2.0 50 \ + --slave /usr/lib32/xorg/modules/volatile xorg-modules-volatile-32bit %(libdir)s/modules" + % {"libdir": libdir}) + +def preRemove(): + # FIXME This is not needed when upgrading package; but pisi does not + # provide a way to learn operation type. + #os.system("/usr/sbin/alternatives --remove libGL-32bit %s/libGL.so.1.2" % libdir) + pass + diff --git a/kernel/drivers/module-fglrx/comar/package.py b/kernel/drivers/module-fglrx/comar/package.py new file mode 100644 index 0000000000..5bd3c93c7d --- /dev/null +++ b/kernel/drivers/module-fglrx/comar/package.py @@ -0,0 +1,17 @@ +#!/usr/bin/python + +import os + +libdir = "/usr/lib/fglrx" + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system("/usr/sbin/alternatives \ + --install /usr/lib/libGL.so.1.2.0 libGL %(libdir)s/libGL.so.1.2.0 50 \ + --slave /usr/lib/xorg/modules/volatile xorg-modules-volatile %(libdir)s/modules" + % {"libdir": libdir}) + +def preRemove(): + # FIXME This is not needed when upgrading package; but pisi does not + # provide a way to learn operation type. + #os.system("/usr/sbin/alternatives --remove libGL %s/libGL.so.1.2" % libdir) + pass diff --git a/kernel/drivers/module-fglrx/comar/service.py b/kernel/drivers/module-fglrx/comar/service.py new file mode 100644 index 0000000000..a8ff970a21 --- /dev/null +++ b/kernel/drivers/module-fglrx/comar/service.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +serviceType = "local" +serviceDesc = _({"en": "ATI Events Daemon", + "tr": "ATI Olay Servisi"}) +serviceConf = "atieventsd" + +from comar.service import * + +@synchronized +def start(): + startService(command="/usr/sbin/atieventsd", + args=config.get("ATIEVENTSDOPTS", ""), + donotify=True) + +@synchronized +def stop(): + stopService(command="/usr/sbin/atieventsd", + donotify=True) + +def status(): + return isServiceRunning(command="/usr/sbin/atieventsd") diff --git a/kernel/drivers/module-fglrx/files/LICENSE.TXT b/kernel/drivers/module-fglrx/files/LICENSE.TXT new file mode 100644 index 0000000000..c1ab25ebf0 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/LICENSE.TXT @@ -0,0 +1,188 @@ + +AMD Software End User License Agreement + +PLEASE READ THIS LICENSE CAREFULLY BEFORE USING THE SOFTWARE. BY +DOWNLOADING, INSTALLING, COPYING OR USING THE SOFTWARE, YOU ARE AGREEING TO +BE BOUND BY THE TERMS OF THIS LICENSE. IF YOU ARE ACCESSING THE SOFTWARE +ELECTRONICALLY, SIGNIFY YOUR AGREEMENT BY CLICKING THE "AGREE/ACCEPT" +BUTTON. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, PROMPTLY RETURN +THE SOFTWARE TO THE PLACE WHERE YOU OBTAINED IT AND (IF APPLICABLE) YOUR +MONEY WILL BE REFUNDED OR IF THE SOFTWARE WAS ACCESSED ELECTRONICALLY CLICK +"DISAGREE/DECLINE". + +1. License. Advanced Micro Devices, Inc., on behalf of itself, its +subsidiaries and licensors (referred collectively as "AMD") grants to you +the following non-exclusive, right to use the software accompanying +this License (hereinafter "Software") subject to the following terms and +limitations: + + +(a) Regardless of the media upon which it is distributed, the Software is +licensed to you for use solely in conjunction with AMD hardware products to +which the Software relates ("AMD Hardware"). + +(b) You own the medium on which the Software is recorded, but AMD and, if +applicable, its licensors retain title to the Software and related +documentation. + +(c) You may: + + i) use the Software solely in connection with the AMD Hardware on a + single computer; + + ii) make one copy of the Software in machine-readable form for backup + purposes only. You must reproduce on such copy AMD's copyright notice and + any other proprietary legends that were on the original copy of the + Software; + + iii) transfer all your license rights in the Software provided you must + also transfer a copy of this License, the backup copy of the Software, + the AMD Hardware and the related documentation and provided the other + party reads and agrees to accept the terms and conditions of this + License. Upon such transfer your license rights are then terminated. + +(d) In addition to the license terms above, with respect to portions of +the Software in source code or binary form designed exclusively for use +with the Linux operating system ("AMD Linux Code"), you may use, display, +modify, copy, distribute, allow others to re-distribute, package and re- +package such AMD Linux Code for commercial and non-commercial purposes, +provided that: + + i) all binary components of the AMD Linux Code are not modified in any + way; + + ii) the AMD Linux Code is only used as part of the Software and in + connection with AMD Hardware; + + iii) all copyright notices of AMD are reproduced and you refer to these + license terms; + + iv) you may not offer or impose any terms on the use of AMD Linux + Code that alter or restrict this License; and + + v) if you have modified the AMD Linux Code, such modifications will be + made publicly available and are licensed under the same terms provided + herein to AMD or any other third party without further restriction, + royalty or any other license requirement; + + vi) to the extent there is any AMD sample or control panel source + code included in the AMD Linux Code, no rights are granted to modify such + code except for portions thereof that may be subject to third party + license terms that grant such rights; + + vii) no rights are granted to distribute the binary form of the AMD Linux + Kernel Module made by linking the AMD Proprietary Kernel Library and the + AMD Kernel Compatibility Layer binary compiled using Linux kernel + headers; + + viii) AMD is not obligated to provide any maintenance or technical + support for any code resulting from AMD Linux Code. + +2. Restrictions. The Software contains copyrighted and patented material, +trade secrets and other proprietary material. In order to protect them, +and except as permitted by this license or applicable legislation, you may +not: + + a) decompile, reverse engineer, disassemble or otherwise reduce the + Software to a human-perceivable form; + + b) modify, network, rent, lend, loan, distribute or create derivative + works based upon the Software in whole or in part; or + + c) electronically transmit the Software from one computer to another or + over a network or otherwise transfer the Software except as permitted by + this License. + +3. Termination. This License is effective until terminated. You may +terminate this License at any time by destroying the Software, related +documentation and all copies thereof. This License will terminate +immediately without notice from AMD if you fail to comply with any +provision of this License. Upon termination you must destroy the Software, +related documentation and all copies thereof. + +4. Government End Users. If you are acquiring the Software on behalf of +any unit or agency of the United States Government, the following +provisions apply. The Government agrees the Software and documentation +were developed at private expense and are provided with "RESTRICTED +RIGHTS". Use, duplication, or disclosure by the Government is subject to +restrictions as set forth in DFARS 227.7202-1(a) and 227.7202-3(a) (1995), +DFARS 252.227-7013(c)(1)(ii) (Oct 1988), FAR 12.212(a)(1995), FAR 52.227- +19, (June 1987) or FAR 52.227-14(ALT III) (June 1987),as amended from time +to time. In the event that this License, or any part thereof, is deemed +inconsistent with the minimum rights identified in the Restricted Rights +provisions, the minimum rights shall prevail. + +5. No Other License. No rights or licenses are granted by AMD under this +License, expressly or by implication, with respect to any proprietary +information or patent, copyright, trade secret or other intellectual +property right owned or controlled by AMD, except as expressly provided in +this License. + +6. Additional Licenses. DISTRIBUTION OR USE OF THE SOFTWARE WITH AN +OPERATING SYSTEM MAY REQUIRE ADDITIONAL LICENSES FROM THE OPERATING SYSTEM +VENDOR. + +7. Disclaimer of Warranty on Software. You expressly acknowledge and +agree that use of the Software is at your sole risk. The Software and +related documentation are provided "AS IS" and without warranty of any kind +and AMD EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FORA PARTICULAR PURPOSE, OF QUALITY, OF QUIET ENJOYMENT AND OF NON- +INFRINGEMENT OF THIRD PARTY RIGHTS. AMD DOES NOT WARRANT THAT THE +FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET YOUR REQUIREMENTS, OR THAT +THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT +DEFECTS IN THE SOFTWARE WILL BE CORRECTED. THE ENTIRE RISK AS TO THE +RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY YOU. FURTHERMORE, +AMD DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE ORTHE +RESULTS OF THE USE OF THE SOFTWARE OR RELATED DOCUMENTATION IN TERMS OF +THEIR CORRECTNESS, ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE. NO +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY AMD OR AMD'S AUTHORIZED +REPRESENTATIVE SHALL CREATE A WARRANTY OR IN ANY WAY INCREASE THE SCOPE OF +THIS WARRANTY. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU (AND NOT AMD OR +AMD'S AUTHORIZED REPRESENTATIVE) ASSUME THE ENTIRE COST OF ALL NECESSARY +SERVICING, REPAIR OR CORRECTION. THE SOFTWARE IS NOT INTENDED FOR USE IN +MEDICAL, LIFE SAVING OR LIFE SUSTAINING APPLICATIONS. SOME JURISDICTIONS +DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSION +MAY NOT APPLY TO YOU. + +8. Limitation of Liability. TO THE MAXIMUM EXTENT PERMITTED BY LAW, UNDER +NO CIRCUMSTANCES INCLUDING NEGLIGENCE, SHALL AMD, OR ITS DIRECTORS, +OFFICERS, EMPLOYEES OR AGENTS, BE LIABLE TO YOU FOR ANY INCIDENTAL, +INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING DAMAGES FOR LOSS OF +BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, AND +THE LIKE) ARISING OUT OF THE USE, MISUSE OR INABILITY TO USE THE SOFTWARE +OR RELATED DOCUMENTATION, BREACH OR DEFAULT, INCLUDING THOSE ARISING FROM +INFRINGEMENT OR ALLEGED INFRINGEMENT OF ANY PATENT, TRADEMARK, COPYRIGHT OR +OTHER INTELLECTUAL PROPERTY RIGHT, BY AMD, EVEN IF AMD OR AMD'S AUTHORIZED +REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME +JURISDICTIONS DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATION OR EXCLUSION +MAY NOT APPLY TO YOU. AMD will not be liable for 1) loss of, or damage to, +your records or data or 2) any damages claimed by you based on any third +party claim. In no event shall AMD's total liability to you for all +damages, losses, and causes of action (whether in contract, tort (including +negligence) or otherwise) exceed the amount paid by you for the Software. +The foregoing limitations will apply even if the above stated limitation +fails of its essential purpose. + +9. Controlling Law and Severability. This License shall be governed by +and construed under the laws of the Province of Ontario, Canada without +reference to its conflict of law principles. Any dispute related hereto +will be brought only in the courts in Toronto, Ontario, Canada and such +courts are agreed to be the convenient forum. In the event of any +conflicts between foreign law, rules, and regulations, and Canadian law, +rules, and regulations, Canadian law, rules and regulations shall prevail +and govern. The United Nations Convention on Contracts for the +International Sale of Goods shall not apply to this License. If for any +reason a court of competent jurisdiction finds any provision of this +License or portion thereof, to be unenforceable, that provision of the +License shall be enforced to the maximum extent permissible so as to effect +the intent of the parties, and the remainder of this License shall continue +in full force and effect. + +10. Complete Agreement. This License constitutes the entire agreement +between the parties with respect to the use of the Software and the related +documentation, and supersedes all prior or contemporaneous understandings +or agreements, written or oral, regarding such subject matter. No +amendment to or modification of this License will be binding unless in +writing and signed by a duly authorized representative of AMD. diff --git a/kernel/drivers/module-fglrx/files/ati-powermode.patch b/kernel/drivers/module-fglrx/files/ati-powermode.patch new file mode 100644 index 0000000000..a5b4b731ed --- /dev/null +++ b/kernel/drivers/module-fglrx/files/ati-powermode.patch @@ -0,0 +1,19 @@ +Index: work/common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh +=================================================================== +--- work.orig/common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh ++++ work/common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh +@@ -4,10 +4,12 @@ + # Control script for ACPI lid state and AC adapter state + # + ++test -d /sys/module/fglrx || exit 0 ++ + getXuser() { +- user=`finger| grep -m1 ":$displaynum " | awk '{print $1}'` ++ user=`who | grep -m1 ":$displaynum " | awk '{print $1}'` + if [ x"$user" = x"" ]; then +- user=`finger| grep -m1 ":$displaynum" | awk '{print $1}'` ++ user=`who | grep -m1 ":$displaynum" | awk '{print $1}'` + fi + if [ x"$user" != x"" ]; then + userhome=`getent passwd $user | cut -d: -f6` diff --git a/kernel/drivers/module-fglrx/files/atieventsd b/kernel/drivers/module-fglrx/files/atieventsd new file mode 100644 index 0000000000..b15a79aa67 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/atieventsd @@ -0,0 +1 @@ +ATIEVENTSDOPTS="" diff --git a/kernel/drivers/module-fglrx/files/atieventsd.service b/kernel/drivers/module-fglrx/files/atieventsd.service new file mode 100644 index 0000000000..bc82882a54 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/atieventsd.service @@ -0,0 +1,8 @@ +[Unit] +Description=ATI Events Daemon + +[Service] +ExecStart=/usr/sbin/atieventsd --nodaemon + +[Install] +WantedBy=multi-user.target diff --git a/kernel/drivers/module-fglrx/files/blacklist-fglrx.conf b/kernel/drivers/module-fglrx/files/blacklist-fglrx.conf new file mode 100644 index 0000000000..c3c4be20b8 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/blacklist-fglrx.conf @@ -0,0 +1,3 @@ +# Advanced Micro Devices, Inc. +# radeon conflicts with AMD Linux Graphics Driver +blacklist radeon diff --git a/kernel/drivers/module-fglrx/files/cold-fglrx-3.14-current_euid.patch b/kernel/drivers/module-fglrx/files/cold-fglrx-3.14-current_euid.patch new file mode 100644 index 0000000000..2bbf228274 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/cold-fglrx-3.14-current_euid.patch @@ -0,0 +1,14 @@ +--- 14.1/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-02-23 19:26:52.215995002 +0100 ++++ 14.1/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-02-23 19:27:59.320999596 +0100 +@@ -1761,7 +1761,11 @@ + #else + + #ifdef current_euid ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0) ++ return __kuid_val(current_euid()); ++#else + return current_euid(); ++#endif + #else + return current->euid; + #endif diff --git a/kernel/drivers/module-fglrx/files/desktop-files.patch b/kernel/drivers/module-fglrx/files/desktop-files.patch new file mode 100644 index 0000000000..a08c8c1455 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/desktop-files.patch @@ -0,0 +1,52 @@ +Index: work/common/usr/share/applications/amdcccle.desktop +=================================================================== +--- work.orig/common/usr/share/applications/amdcccle.desktop ++++ work/common/usr/share/applications/amdcccle.desktop +@@ -1,9 +1,10 @@ + [Desktop Entry] + Encoding=UTF-8 + Type=Application +-Exec=amdcccle +-Icon=ccc_large ++Exec=amdcccle ++Icon=amdcccle + Categories=GNOME;KDE;GTK;Qt;HardwareSettings;Settings; ++TryExec=/sys/module/fglrx + + + Name=AMD Catalyst Control Center +@@ -44,7 +45,7 @@ Name[sv]=AMD Catalyst Control Center + Comment[sv]=Möjliggör konfiguration av inställningar för AMD-grafikmaskinvara. + Name[th]=AMD Catalyst Control Center + Comment[th]=ยอมให้ตั้งค่าฮาร์ดแวร์กราฟิก AMD +-Name[tr]=AMD Catalyst Control Center ++Name[tr]=AMD Catalyst Denetim Merkezi + Comment[tr]=AMD grafik donanım ayarlarının yapılandırılmasına olanak sağlar. + Name[zh_CN]=AMD Catalyst Control Center + Comment[zh_CN]=允许配置 AMD 图形硬件设置。 +Index: work/common/usr/share/applications/amdccclesu.desktop +=================================================================== +--- work.orig/common/usr/share/applications/amdccclesu.desktop ++++ work/common/usr/share/applications/amdccclesu.desktop +@@ -1,9 +1,10 @@ + [Desktop Entry] + Encoding=UTF-8 + Type=Application +-Exec=amdxdg-su -c amdcccle ++Exec=xdg-su -c amdcccle + Categories=GNOME;KDE;GTK;Qt;HardwareSettings;Settings; +-Icon=ccc_large ++Icon=amdcccle ++TryExec=/sys/module/fglrx + + Name=AMD Catalyst Control Center (Administrative) + Comment=Allows the configuration of the AMD graphics hardware settings that requires administrative access. +@@ -43,7 +44,7 @@ Name[sv]=AMD Catalyst Control Center (Ad + Comment[sv]=Möjliggör konfiguration av inställningar för AMD-grafikmaskinvara som kräver administrativ åtkomst. + Name[th]=AMD Catalyst Control Center (สิทธิ์ผู้ดูแลระบบ) + Comment[th]=ยอมให้ตั้งค่าฮาร์ดแวร์กราฟิก AMD ที่ต้องใช้สิทธิ์ของผู้ดูแลระบบ +-Name[tr]=AMD Catalyst Control Center (Yönetici) ++Name[tr]=AMD Catalyst Denetim Merkezi (Yönetici) + Comment[tr]=Yönetici erişimi gerektiren AMD grafik donanım ayarlarının yapılandırılmasına olanak sağlar. + Name[zh_CN]=AMD Catalyst Control Center(管理) + Comment[zh_CN]=允许配置需要管理权限才能访问的 AMD 图形硬件设置。 diff --git a/kernel/drivers/module-fglrx/files/fglrx-fix-GL-redefines.patch b/kernel/drivers/module-fglrx/files/fglrx-fix-GL-redefines.patch new file mode 100644 index 0000000000..4131c0c873 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/fglrx-fix-GL-redefines.patch @@ -0,0 +1,49 @@ + +Already defined in mesa + +Signed-off-by: Thomas Backlund + +diff -Nurp fglrx-13.250.18.orig/common/usr/include/GL/glATI.h fglrx-13.250.18/common/usr/include/GL/glATI.h +--- fglrx-13.250.18.orig/common/usr/include/GL/glATI.h 2013-12-06 13:46:50.339162515 +0200 ++++ fglrx-13.250.18/common/usr/include/GL/glATI.h 2013-12-06 13:51:18.621140440 +0200 +@@ -5367,7 +5367,9 @@ typedef GLvoid (APIENTRY * PFNGLTEXRENDE + #define GL_SAMPLE_MASK_VALUE 0x8E52 + #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 + #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 ++#ifndef GL_PROXY_TEXTURE_2D_MULTISAMPLE + #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0X9101 ++#endif + #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 + #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 + #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E +@@ -5385,11 +5387,13 @@ typedef GLvoid (APIENTRY * PFNGLTEXRENDE + #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D + + typedef GLvoid (APIENTRY * PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield value); ++#if 0 + typedef GLvoid (APIENTRY * PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, + GLsizei width, GLsizei height, GLboolean fixedsamplelocations); ++ + typedef GLvoid (APIENTRY * PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, + GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +- ++#endif + // GL_EXT_timer_query + #define GL_TIME_ELAPSED_EXT 0x88BF + +@@ -6006,6 +6010,7 @@ typedef GLvoid (APIENTRY * PFNGLDEBUGMES + typedef GLvoid (APIENTRY * PFNGLDEBUGMESSAGECALLBACKARB)(GLvoid* callback, GLvoid* userParam); + typedef GLuint (APIENTRY * PFNGLGETDEBUGMESSAGELOGARB)(GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, GLchar* messageLog); + ++#if 0 + typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source, + GLenum type, + GLuint id, +@@ -6014,6 +6019,7 @@ typedef void (APIENTRY *GLDEBUGPROCARB)( + const GLchar* message, + GLvoid* userParam); + // end ARB_debug_output ++#endif + + + /* ARB_debug_group (KHR_debug) */ diff --git a/kernel/drivers/module-fglrx/files/fglrx-no_hotplug.patch b/kernel/drivers/module-fglrx/files/fglrx-no_hotplug.patch new file mode 100644 index 0000000000..9dea9c5399 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/fglrx-no_hotplug.patch @@ -0,0 +1,42 @@ +diff -Nurp fglrx.orig/lib/modules/fglrx/build_mod/firegl_public.c fglrx/lib/modules/fglrx/build_mod/firegl_public.c +--- fglrx.orig/lib/modules/fglrx/build_mod/firegl_public.c 2014-09-09 17:10:17.000000000 +0300 ++++ fglrx/lib/modules/fglrx/build_mod/firegl_public.c 2014-09-23 23:18:51.342432159 +0300 +@@ -1093,6 +1093,9 @@ static int fglrx_pci_suspend(struct pci_ + // directly here to allow suspend/resume without X server start. + firegl_pci_save_state((KCL_PCI_DevHandle)pdev, privdev); + pci_disable_device(pdev); ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0) ++ pci_ignore_hotplug(pdev); ++#endif + PMSG_EVENT(pdev->dev.power.power_state) = state; + } + else +diff -Nurp fglrx.orig/lib/modules/fglrx/build_mod/kcl_acpi.c fglrx/lib/modules/fglrx/build_mod/kcl_acpi.c +--- fglrx.orig/lib/modules/fglrx/build_mod/kcl_acpi.c 2014-09-09 17:10:17.000000000 +0300 ++++ fglrx/lib/modules/fglrx/build_mod/kcl_acpi.c 2014-09-23 23:45:27.016475868 +0300 +@@ -840,10 +840,12 @@ static acpi_status KCL_ACPI_Slot_No_Hotp + if(tdev != NULL) + { + device = (acpi_device_adr(tdev) >> 16) & 0xffff; ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) + if(PCI_SLOT(pdev->devfn) == device) + { + tdev->flags.no_hotplug = true; + } ++#endif + } + #endif + return 0; +diff -Nurp fglrx.orig/lib/modules/fglrx/build_mod/kcl_pci.c fglrx/lib/modules/fglrx/build_mod/kcl_pci.c +--- fglrx.orig/lib/modules/fglrx/build_mod/kcl_pci.c 2014-09-09 17:10:17.000000000 +0300 ++++ fglrx/lib/modules/fglrx/build_mod/kcl_pci.c 2014-09-23 23:23:32.085208398 +0300 +@@ -306,6 +306,9 @@ void ATI_API_CALL KCL_PCI_DisableDevice( + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20) + pci_disable_device((struct pci_dev*)dev); + #endif ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0) ++ pci_ignore_hotplug((struct pci_dev*)dev); ++#endif + } + + #if defined(__x86_64__) diff --git a/kernel/drivers/module-fglrx/files/fglrx_gpl_symbol.patch b/kernel/drivers/module-fglrx/files/fglrx_gpl_symbol.patch new file mode 100644 index 0000000000..2030b9eadd --- /dev/null +++ b/kernel/drivers/module-fglrx/files/fglrx_gpl_symbol.patch @@ -0,0 +1,11 @@ +--- 13.1/common/lib/modules/fglrx/build_mod/firegl_public.c 2013-01-15 22:33:27.000000000 +0100 ++++ 13.1/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-08-18 20:05:44.327520475 +0200 +@@ -250,7 +250,7 @@ + #endif + + #ifdef MODULE_LICENSE +-MODULE_LICENSE("Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY"); ++MODULE_LICENSE("GPL\0Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY"); + #endif + #ifdef MODULE_DEVICE_TABLE + MODULE_DEVICE_TABLE(pci, fglrx_pci_table); diff --git a/kernel/drivers/module-fglrx/files/kolasa_4.0-cr4-strn.patch b/kernel/drivers/module-fglrx/files/kolasa_4.0-cr4-strn.patch new file mode 100644 index 0000000000..7bce698bad --- /dev/null +++ b/kernel/drivers/module-fglrx/files/kolasa_4.0-cr4-strn.patch @@ -0,0 +1,70 @@ +diff -uNr 14.12/common/lib/modules/fglrx/build_mod/firegl_public.c 14.12_2/common/lib/modules/fglrx/build_mod/firegl_public.c +--- 14.12/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-11-28 21:02:10.000000000 +0100 ++++ 14.12_2/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-03-08 13:30:42.565275902 +0100 +@@ -4468,8 +4468,13 @@ + + if (cpu_has_pge) + { ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0) + cr4 = read_cr4(); + write_cr4(cr4 & ~X86_CR4_PGE); ++#else ++ cr4 = __read_cr4(); ++ __write_cr4(cr4 & ~X86_CR4_PGE); ++#endif + } + __flush_tlb(); + +@@ -4482,7 +4487,11 @@ + write_cr0(cr0 & 0xbfffffff); + if (cpu_has_pge) + { ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0) + write_cr4(cr4); ++#else ++ __write_cr4(cr4); ++#endif + } + local_irq_restore(flags); + +@@ -4509,8 +4518,13 @@ + + if (cpu_has_pge) + { ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0) + cr4 = read_cr4(); + write_cr4(cr4 & ~X86_CR4_PGE); ++#else ++ cr4 = __read_cr4(); ++ __write_cr4(cr4 & ~X86_CR4_PGE); ++#endif + } + __flush_tlb(); + +@@ -4522,7 +4536,11 @@ + write_cr0(cr0 & 0xbfffffff); + if (cpu_has_pge) + { ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0) + write_cr4(cr4); ++#else ++ __write_cr4(cr4); ++#endif + } + local_irq_restore(flags); + +diff -uNr 14.12/common/lib/modules/fglrx/build_mod/kcl_str.c 14.12_2/common/lib/modules/fglrx/build_mod/kcl_str.c +--- 14.12/common/lib/modules/fglrx/build_mod/kcl_str.c 2014-11-28 21:02:10.000000000 +0100 ++++ 14.12_2/common/lib/modules/fglrx/build_mod/kcl_str.c 2015-03-08 13:25:11.568396701 +0100 +@@ -169,7 +169,11 @@ + const char* s2, + KCL_TYPE_SizeSigned count) + { ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0) + return strnicmp(s1, s2, count); ++#else ++ return strncasecmp(s1, s2, count); ++#endif + } + + /** \brief Locate character in string diff --git a/kernel/drivers/module-fglrx/files/lano1106_fglrx_intel_iommu.patch b/kernel/drivers/module-fglrx/files/lano1106_fglrx_intel_iommu.patch new file mode 100644 index 0000000000..101654c41c --- /dev/null +++ b/kernel/drivers/module-fglrx/files/lano1106_fglrx_intel_iommu.patch @@ -0,0 +1,11 @@ +--- 13.4/common/lib/modules/fglrx/build_mod/firegl_public.c 2013-04-16 23:29:55.000000000 +0200 ++++ 13.4/common/lib/modules/fglrx/build_mod/firegl_public.c 2013-05-21 17:05:34.726681102 +0200 +@@ -93,7 +93,7 @@ + and they use different config options. These options can only be enabled + on x86_64 with newer 2.6 kernels (2.6.23 for intel, 2.6.26 for amd). + */ +-#if defined(CONFIG_AMD_IOMMU) || defined(CONFIG_DMAR) ++#if defined(CONFIG_AMD_IOMMU) || defined(CONFIG_INTEL_IOMMU) + #define FIREGL_DMA_REMAPPING + #endif + diff --git a/kernel/drivers/module-fglrx/files/lano1106_kcl_agp_13_4.patch b/kernel/drivers/module-fglrx/files/lano1106_kcl_agp_13_4.patch new file mode 100644 index 0000000000..d39c5aaeb1 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/lano1106_kcl_agp_13_4.patch @@ -0,0 +1,90 @@ +--- 13.4/common/lib/modules/fglrx/build_mod/kcl_agp.c 2013-05-24 16:45:52.236740084 -0400 ++++ 13.4/common/lib/modules/fglrx/build_mod/kcl_agp.c 2013-05-24 16:49:29.283579408 -0400 +@@ -56,6 +56,43 @@ unsigned int KCL_AGP_IsInUse(void) + return kcl_agp_is_in_use; + } + ++/** \brief Find AGP caps registers in PCI config space ++ ** \param dev PCI device handle ++ ** \return Positive register index on success, negative errno on error ++ */ ++int ATI_API_CALL KCL_AGP_FindCapsRegisters(KCL_PCI_DevHandle dev) ++{ ++ u8 capndx; ++ u32 cap_id; ++ ++ if (!dev) ++ { ++ return -ENODEV; ++ } ++ ++ pci_read_config_byte((struct pci_dev*)dev, 0x34, &capndx); ++ ++ if (capndx == 0x00) ++ { ++ return -ENODATA; ++ } ++ ++ do ++ { // search capability list for AGP caps ++ pci_read_config_dword((struct pci_dev*)dev, capndx, &cap_id); ++ ++ if ((cap_id & 0xff) == 0x02) ++ { ++ return capndx; ++ } ++ ++ capndx = (cap_id >> 8) & 0xff; ++ } ++ while (capndx != 0x00); ++ ++ return -ENODATA; ++} ++ + #if defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE) + + typedef struct { +@@ -272,43 +309,6 @@ int ATI_API_CALL KCL_AGP_Enable(unsigned + } + } + +-/** \brief Find AGP caps registers in PCI config space +- ** \param dev PCI device handle +- ** \return Positive register index on success, negative errno on error +- */ +-int ATI_API_CALL KCL_AGP_FindCapsRegisters(KCL_PCI_DevHandle dev) +-{ +- u8 capndx; +- u32 cap_id; +- +- if (!dev) +- { +- return -ENODEV; +- } +- +- pci_read_config_byte((struct pci_dev*)dev, 0x34, &capndx); +- +- if (capndx == 0x00) +- { +- return -ENODATA; +- } +- +- do +- { // search capability list for AGP caps +- pci_read_config_dword((struct pci_dev*)dev, capndx, &cap_id); +- +- if ((cap_id & 0xff) == 0x02) +- { +- return capndx; +- } +- +- capndx = (cap_id >> 8) & 0xff; +- } +- while (capndx != 0x00); +- +- return -ENODATA; +-} +- + /** \brief Get AGP caps + ** \param dev PCI device handle + ** \param caps pointer to caps vector diff --git a/kernel/drivers/module-fglrx/files/linux-3.10-proc.diff b/kernel/drivers/module-fglrx/files/linux-3.10-proc.diff new file mode 100644 index 0000000000..ce4871c065 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/linux-3.10-proc.diff @@ -0,0 +1,293 @@ +diff -Nur common/lib/modules/fglrx/build_mod/drmP.h common-r1/lib/modules/fglrx/build_mod/drmP.h +--- common/lib/modules/fglrx/build_mod/drmP.h 2013-05-15 09:26:23.555752577 +0300 ++++ common-r1/lib/modules/fglrx/build_mod/drmP.h 2013-05-16 10:39:17.496212055 +0300 +@@ -901,10 +901,6 @@ + int DRM(stub_unregister)(int minor); + + /* Proc support (drm_proc.h) */ +-extern struct proc_dir_entry *DRM(proc_init)(drm_device_t *dev, +- int minor, +- struct proc_dir_entry *root, +- struct proc_dir_entry **dev_root); + extern int DRM(proc_cleanup)(int minor, + struct proc_dir_entry *root, + struct proc_dir_entry *dev_root); +diff -Nur common/lib/modules/fglrx/build_mod/drm_proc.h common-r1/lib/modules/fglrx/build_mod/drm_proc.h +--- common/lib/modules/fglrx/build_mod/drm_proc.h 2013-05-15 09:26:23.555752577 +0300 ++++ common-r1/lib/modules/fglrx/build_mod/drm_proc.h 2013-05-19 02:16:16.584406160 +0300 +@@ -75,61 +75,6 @@ + #define DRM_PROC_ENTRIES (sizeof(DRM(proc_list))/sizeof(DRM(proc_list)[0])) + + /** +- * Initialize the DRI proc filesystem for a device. +- * +- * \param dev DRM device. +- * \param minor device minor number. +- * \param root DRI proc dir entry. +- * \param dev_root resulting DRI device proc dir entry. +- * \return root entry pointer on success, or NULL on failure. +- * +- * Create the DRI proc root entry "/proc/ati", the device proc root entry +- * "/proc/ati/%minor%/", and each entry in proc_list as +- * "/proc/ati/%minor%/%name%". +- */ +-struct proc_dir_entry *DRM(proc_init)(drm_device_t *dev, int minor, +- struct proc_dir_entry *root, +- struct proc_dir_entry **dev_root) +-{ +- struct proc_dir_entry *ent; +- int i, j; +- char name[64]; +- +- if (!minor) root = create_proc_entry("dri", S_IFDIR, NULL); +- if (!root) { +- DRM_ERROR("Cannot create /proc/ati\n"); +- return NULL; +- } +- +- sprintf(name, "%d", minor); +- *dev_root = create_proc_entry(name, S_IFDIR, root); +- if (!*dev_root) { +- DRM_ERROR("Cannot create /proc/ati/%s\n", name); +- return NULL; +- } +- +- for (i = 0; i < DRM_PROC_ENTRIES; i++) { +- ent = create_proc_entry(DRM(proc_list)[i].name, +- S_IFREG|S_IRUGO, *dev_root); +- if (!ent) { +- DRM_ERROR("Cannot create /proc/ati/%s/%s\n", +- name, DRM(proc_list)[i].name); +- for (j = 0; j < i; j++) +- remove_proc_entry(DRM(proc_list)[i].name, +- *dev_root); +- remove_proc_entry(name, root); +- if (!minor) remove_proc_entry("dri", NULL); +- return NULL; +- } +- ent->read_proc = DRM(proc_list)[i].f; +- ent->data = dev; +- } +- +- return root; +-} +- +- +-/** + * Cleanup the proc filesystem resources. + * + * \param minor device minor number. +diff -Nur common/lib/modules/fglrx/build_mod/firegl_public.c common-r1/lib/modules/fglrx/build_mod/firegl_public.c +--- common/lib/modules/fglrx/build_mod/firegl_public.c 2013-05-15 09:26:23.545752925 +0300 ++++ common-r1/lib/modules/fglrx/build_mod/firegl_public.c 2013-05-19 03:07:10.236552522 +0300 +@@ -583,6 +583,202 @@ + { "NULL", NULL, NULL} // Terminate List!!! + }; + ++ ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) ++typedef int (read_proc_t)(char *page, char **start, off_t off, int count, int *eof, void *data); ++typedef int (write_proc_t)(struct file *file, const char __user *buffer, unsigned long count, void *data); ++#else ++#define PDE_DATA(inode) (PDE((inode))->data) ++#endif ++ ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) ++typedef struct { ++ read_proc_t *read_func; ++ write_proc_t *write_func; ++ void *data; ++} gentoo_proc_wrapper_t; ++ ++#define GENTOO_PROC_WRAPPER_OVERFLOW_MAGIC 939750305 ++ ++static ssize_t gentoo_proc_wrapper_read (struct file *myfile, char __user *buffer, size_t count, loff_t *offset) { ++ int is_eof=0, retval; ++ char *start, *usebuffer=NULL; ++ gentoo_proc_wrapper_t* wrapper_data=(gentoo_proc_wrapper_t*)(myfile->private_data); ++ if (PAGE_SIZE<*offset) { ++ printk(KERN_ERR "Trying to read beyond 4k on proc\n"); ++ return -EIO; ++ } ++ //printk(KERN_NOTICE " call with: dev %p, func %p\n", wrapper_data->data, wrapper_data->read_func); ++ ++ usebuffer=kmalloc(2*PAGE_SIZE, GFP_KERNEL); ++ if (!usebuffer) ++ return -ENOMEM; ++ ((u32*)usebuffer)[1024]=GENTOO_PROC_WRAPPER_OVERFLOW_MAGIC; ++ ++ retval=wrapper_data->read_func(usebuffer, &start, *offset, count, &is_eof, wrapper_data->data); ++ ++ BUG_ON(GENTOO_PROC_WRAPPER_OVERFLOW_MAGIC != ((u32*)usebuffer)[1024]); ++ ++ if (0 > retval) ++ { ++ printk(KERN_ERR "Proc read failed with %d", retval); ++ goto out; ++ } ++ ++ if (copy_to_user(buffer, start, retval)) { ++ printk(KERN_NOTICE "copy to user failed in amd drivers proc code\n"); ++ retval=-EFAULT; ++ goto out; ++ } ++ *offset+=retval; ++ ++out: ++ if (usebuffer) ++ kfree(usebuffer); ++ return retval; ++} ++static ssize_t gentoo_proc_wrapper_write (struct file *myfile, const char __user *buffer, size_t count, loff_t *offset) { ++ gentoo_proc_wrapper_t* wrapper_data=(gentoo_proc_wrapper_t*)(myfile->private_data); ++ int retval=0; ++ void *usebuffer=NULL; ++ ++ BUG_ON(*offset); ++ if (!wrapper_data->write_func) ++ return -EPERM; ++ ++ usebuffer=kmalloc(count, GFP_KERNEL); ++ if (!usebuffer) ++ return -ENOMEM; ++ if (copy_from_user(usebuffer, buffer, count)) { ++ printk(KERN_NOTICE "copy from user failed in amd drivers proc code\n"); ++ retval=-EFAULT; ++ goto out; ++ } ++ ++ retval=wrapper_data->write_func(myfile, buffer, count, wrapper_data->data); ++ *offset+=retval; ++out: ++ if (usebuffer) ++ kfree(usebuffer); ++ return retval; ++} ++static int gentoo_proc_wrapper_open(struct inode *myinode, struct file *myfile) { ++ myfile->private_data=PDE_DATA(myinode); ++ return generic_file_open(myinode, myfile); ++} ++struct file_operations gentoo_proc_fops = { ++ .read=gentoo_proc_wrapper_read, ++ .write=gentoo_proc_wrapper_write, ++ .open=gentoo_proc_wrapper_open, ++}; ++ ++static void *gentoo_proc_wrapper_data(read_proc_t *reader, write_proc_t *writer, void *mydata) { ++ gentoo_proc_wrapper_t *retval=kmalloc(sizeof(gentoo_proc_wrapper_t), GFP_KERNEL); ++ if (!retval) ++ return retval; ++ retval->read_func=reader; ++ retval->write_func=writer; ++ retval->data=mydata; ++ return retval; ++} ++ ++static struct proc_dir_entry *firegl_proc_init( device_t *dev, ++ int minor, ++ struct proc_dir_entry *root, ++ struct proc_dir_entry **dev_root, ++ kcl_proc_list_t *proc_list ) // proc_list must be terminated! ++{ ++ struct proc_dir_entry *ent; ++ char name[64]; ++ kcl_proc_list_t *list = proc_list; ++ void *tempdata; ++ KCL_DEBUG1(FN_FIREGL_PROC, "minor %d, proc_list 0x%08lx\n", minor, (unsigned long)proc_list); ++ if (!minor) ++ { ++ root = proc_mkdir("ati", NULL); ++ } ++ ++ if (!root) ++ { ++ KCL_DEBUG_ERROR("Cannot create /proc/ati\n"); ++ return NULL; ++ } ++ ++ if (minor == 0) ++ { ++ // Global major debice number entry ++ tempdata=gentoo_proc_wrapper_data((read_proc_t*)firegl_major_proc_read, NULL, NULL); ++ if (!tempdata) ++ return NULL; ++ ent = proc_create_data("major", S_IFREG|S_IRUGO, root, &gentoo_proc_fops, tempdata); ++ if (!ent) ++ { ++ remove_proc_entry("ati", NULL); ++ KCL_DEBUG_ERROR("Cannot create /proc/ati/major\n"); ++ return NULL; ++ } ++ } ++ ++ sprintf(name, "%d", minor); ++ *dev_root = proc_mkdir(name, root); ++ if (!*dev_root) { ++ remove_proc_entry("major", root); ++ remove_proc_entry("ati", NULL); ++ KCL_DEBUG_ERROR("Cannot create /proc/ati/%s\n", name); ++ return NULL; ++ } ++ ++ while (list->f || list->fops) ++ { ++ struct file_operations *my_fops = &gentoo_proc_fops; ++ if (list->fops) ++ { ++ my_fops = (struct file_operations*)list->fops; ++ tempdata=(dev->pubdev.signature == FGL_DEVICE_SIGNATURE)? firegl_find_device(minor) : (dev); ++ } ++ else { ++ BUG_ON(!list->f); ++ tempdata=gentoo_proc_wrapper_data((read_proc_t*)list->f, NULL, (dev->pubdev.signature == FGL_DEVICE_SIGNATURE)? firegl_find_device(minor) : (dev) ); ++ if (!tempdata) ++ return NULL; ++ } ++ //printk(KERN_NOTICE "name %s, dev %p, func %p, data %p\n", list->name, (dev->pubdev.signature == FGL_DEVICE_SIGNATURE)? firegl_find_device(minor) : (dev), list->f, tempdata); ++ ent = proc_create_data(list->name, S_IFREG|S_IRUGO, *dev_root, my_fops, tempdata); ++ ++ if (!ent) ++ { ++ KCL_DEBUG_ERROR("Cannot create /proc/ati/%s/%s\n", name, list->name); ++ while (proc_list != list) ++ { ++ remove_proc_entry(proc_list->name, *dev_root); ++ proc_list++; ++ } ++ remove_proc_entry(name, root); ++ if (!minor) ++ { ++ remove_proc_entry("major", root); ++ remove_proc_entry("ati", NULL); ++ } ++ return NULL; ++ } ++ ++ list++; ++ } ++ ++ if (minor == 0) ++ { ++ // Global debug entry, only create it once ++ tempdata=gentoo_proc_wrapper_data((read_proc_t*)firegl_debug_proc_read_wrap, (write_proc_t*)firegl_debug_proc_write_wrap, dev); ++ if (!tempdata) ++ return NULL; ++ ent=proc_create_data("debug", S_IFREG|S_IRUGO, root, &gentoo_proc_fops, tempdata); ++ if (!ent) ++ return NULL; ++ } ++ ++ return root; ++} ++#else + static struct proc_dir_entry *firegl_proc_init( device_t *dev, + int minor, + struct proc_dir_entry *root, +@@ -677,6 +873,7 @@ + + return root; + } ++#endif + + static int firegl_proc_cleanup( int minor, + struct proc_dir_entry *root, diff --git a/kernel/drivers/module-fglrx/files/makefile_compat.patch b/kernel/drivers/module-fglrx/files/makefile_compat.patch new file mode 100644 index 0000000000..defa3d8d8d --- /dev/null +++ b/kernel/drivers/module-fglrx/files/makefile_compat.patch @@ -0,0 +1,10 @@ +--- 10.10/common/lib/modules/fglrx/build_mod/2.6.x/Makefile 2010-09-22 09:15:33.000000000 +0200 ++++ 10.10/common/lib/modules/fglrx/build_mod/2.6.x/Makefile 2010-10-01 17:57:21.057820899 +0200 +@@ -66,6 +66,7 @@ + -DFGL_GART_RESERVED_SLOT \ + -DFGL_LINUX253P1_VMA_API \ + -DPAGE_ATTR_FIX=$(PAGE_ATTR_FIX) \ ++ -DCOMPAT_ALLOC_USER_SPACE=$(COMPAT_ALLOC_USER_SPACE) \ + + ifeq ($(KERNELRELEASE),) + # on first call from remote location we get into this path diff --git a/kernel/drivers/module-fglrx/files/manjaro_fglrx_319.patch b/kernel/drivers/module-fglrx/files/manjaro_fglrx_319.patch new file mode 100644 index 0000000000..1b7eb0d889 --- /dev/null +++ b/kernel/drivers/module-fglrx/files/manjaro_fglrx_319.patch @@ -0,0 +1,22 @@ +--- a/firegl_public.c ++++ b/firegl_public.c +@@ -4820,8 +4824,8 @@ static unsigned long kasSetExecutionLeve + { + unsigned long orig_level; + +- orig_level = __get_cpu_var(kasExecutionLevel); +- __get_cpu_var(kasExecutionLevel) = level; ++ orig_level = __this_cpu_read(kasExecutionLevel); ++ __this_cpu_write(kasExecutionLevel, level); + + return orig_level; + } +@@ -4833,7 +4837,7 @@ static unsigned long kasSetExecutionLeve + */ + static unsigned long kas_GetExecutionLevel(void) + { +- return __get_cpu_var(kasExecutionLevel); ++ return __this_cpu_read(kasExecutionLevel); + } + + /** \brief Type definition for kas_spin_lock() parameter */ diff --git a/kernel/drivers/module-fglrx/files/modprobe.conf b/kernel/drivers/module-fglrx/files/modprobe.conf new file mode 100644 index 0000000000..d0d42f825c --- /dev/null +++ b/kernel/drivers/module-fglrx/files/modprobe.conf @@ -0,0 +1,2 @@ +# Fail if radeon loaded +install fglrx if /bin/grep -qw "^radeon" /proc/modules; then /bin/false; else /sbin/modprobe -i fglrx $CMDLINE_OPTS; fi diff --git a/kernel/drivers/module-fglrx/pspec.xml b/kernel/drivers/module-fglrx/pspec.xml new file mode 100644 index 0000000000..1e3bf1485b --- /dev/null +++ b/kernel/drivers/module-fglrx/pspec.xml @@ -0,0 +1,409 @@ + + + + + module-fglrx + http://ati.amd.com/support/driver.html + + PisiLinux Community + admins@pisilinux.org + + ATI + ATI display drivers. + Fglrx is a driver written by AMD(ATI) for ATI graphics cards.Radeons HD 2 3 4 X series are not supported + http://archive.ubuntu.com/ubuntu/pool/restricted/f/fglrx-installer/fglrx-installer_15.200.orig.tar.gz + + desktop-files.patch + makefile_compat.patch + fglrx_gpl_symbol.patch + kolasa_4.0-cr4-strn.patch + lano1106_fglrx_intel_iommu.patch + lano1106_kcl_agp_13_4.patch + LICENSE.TXT + + + kernel-module-headers + + + + + module-fglrx + + module-fglrx-legacy + + driver + Kernel module for ATI display drivers + + kernel + + + /lib/modules + /etc/conf.d + /etc/modprobe.d + + + blacklist-fglrx.conf + modprobe.conf + atieventsd + + + noDelta + + + + + xorg-video-fglrx + + xorg-video-fglrx-legacy + + driver + x11.driver + + + module-fglrx + + qt + mesa + libSM + libICE + uClibc + libXext + libXrandr + libXfixes + libXcursor + libXrender + fontconfig + libXxf86vm + libXinerama + xorg-server + + + /usr/share + /etc + /usr/bin + /usr/sbin + /usr/X11R6 + /usr/lib + /usr/share/doc + /usr/share/man + + + System.Package + System.Service + + + noDelta + + + + + xorg-video-fglrx-32bit + + xorg-video-fglrx-legacy-32bit + + emul32 + emul32 + 32-bit shared libraries for xorg-video-fglrx + + xvba-video-32bit + fontconfig-32bit + freetype-32bit + libXcursor-32bit + libXext-32bit + libXfixes-32bit + libXinerama-32bit + libXrandr-32bit + libXrender-32bit + libXxf86vm-32bit + libX11-32bit + glibc-32bit + + + xorg-video-fglrx + libXext-32bit + libX11-32bit + mesa-32bit + glibc-32bit + libgcc + + + /usr/lib32 + + + System.Package + + + noDelta + + + + + + 2015-05-26 + 15.20 + Rebuild for kernel-3.19.8 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-05 + 15.20 + Rebuild for kernel-3.19.6 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-24 + 15.20 + Rebuild for kernel-3.19.5 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-16 + 15.20 + Rebuild for kernel-3.19.4 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-02 + 15.20 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-03-01 + 14.12 + Rebuild for kernel-3.19.1 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-03-01 + 14.12 + Rebuild. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-02-01 + 14.12 + Version bump + Ergün Salman + Poyraz76@pisilinux.org + + + 2015-01-20 + 14.9 + Rebuild for kernel 3.18.1 + Ergün Salman + Poyraz76@pisilinux.org + + + 2014-12-08 + 14.9 + Rebuild for kernel 3.17.4 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-10-19 + 14.9 + Update unoffical release + * working with xorg-server 1.16 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-09-03 + 14.6 + Rebuild for kernel 3.16.1 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-07-24 + 14.6 + Rebuil for kernel 3.15.6 + Vedat Demir + vedat@pisilinux.org + + + 2014-06-15 + 14.6 + Version bump + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-02 + 14.4 + Version bump + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-02 + 14.3b + Rebuild for kernel 3.14.2. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-04-15 + 14.3b + Rebuild for kernel 3.13.10. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-04-11 + 14.3b + Version bump + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + 2014-03-23 + 13.4 + Rebuild for 3.13.6 + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-03-09 + 13.4 + Rebuild for 3.12.13 + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-03-02 + 13.4 + Rebuild for 3.12.13 + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-01-17 + 13.4 + Rebuild for 3.12.8 + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-12-17 + 13.4 + Rebuild for 3.12.5 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-12-14 + 13.4 + Rebuild for 3.12.5 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-23 + 13.4 + Rebuild for 3.10.20 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-05 + 13.4 + Rebuild for 3.10.18 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-08-30 + 13.4 + 3.10.15 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-30 + 13.4 + 3.10.13 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-30 + 13.4 + 3.10.12 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-30 + 13.4 + 3.10.10 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-20 + 13.4 + 3.10.9 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-20 + 13.4 + rebuild for kernele 3.10.6. + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-07-06 + 13.4 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-06-15 + 13.3_beta3 + build for Kernel 3.8.13 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-06-15 + 13.3_beta3 + rebuild for Kernel 3.8.13 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-05-26 + 13.3_beta3 + Kernel 3.9.3 + Osman Erkan + osman.erkan@pisilinux.org + + + 2013-05-12 + 13.3_beta3 + V.bump + Osman Erkan + osman.erkan@pisilinux.org + + + 2012-10-03 + 12.9_beta1 + First release + Erdem Artan + admins@pisilinux.org + + + diff --git a/kernel/drivers/module-fglrx/translations.xml b/kernel/drivers/module-fglrx/translations.xml new file mode 100644 index 0000000000..b4d3bf1f61 --- /dev/null +++ b/kernel/drivers/module-fglrx/translations.xml @@ -0,0 +1,25 @@ + + + + module-fglrx + ATI ekran kartı sürücüleri + AMD(ATI) tarafından ATI ekran kartları için yazılmış sürücüler.Radeon HD 2 3 4 X serisi ekran kartlarını desteklememektedir. + Pilote d'affichage ATI + Controlador display ATI + + + + module-fglrx + ATI ekran sürücüleri için çekirdek modülü + + + + xorg-video-fglrx + ATI ekran kartı sürücüleri için paylaşımlı kitaplıklar ve araçlar + + + + xorg-video-fglrx-32bit + xorg-video-fglrx için 32-bit paylaşımlı kitaplıklar + + diff --git a/kernel/drivers/module-nvidia-current/actions.py b/kernel/drivers/module-nvidia-current/actions.py new file mode 100644 index 0000000000..039211a9ca --- /dev/null +++ b/kernel/drivers/module-nvidia-current/actions.py @@ -0,0 +1,144 @@ +# -*- 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 +from pisi.actionsapi import kerneltools + +WorkDir = "." +KDIR = kerneltools.getKernelVersion() +NoStrip = ["/lib/modules"] + +version = get.srcVERSION() +driver_dir_name = "nvidia-current" +datadir = "/usr/share/%s" % driver_dir_name +libdir = "/usr/lib32" if get.buildTYPE() == 'emul32' else "/usr/lib" +arch = "x86" if get.buildTYPE() == 'emul32' else get.ARCH().replace("i6", "x") +nvlibdir = "%s/%s" % (libdir, driver_dir_name) +xorglibdir= "%s/xorg" % libdir + +def setup(): + shelltools.system("sh NVIDIA-Linux-%s-%s.run -x --target tmp" + % (arch, get.srcVERSION())) + shelltools.move("tmp/*", ".") + + # Our libc is TLS enabled so use TLS library + shelltools.unlink("*-tls.so*") + shelltools.move("tls/*", ".") + + # xorg-server provides libwfb.so + shelltools.unlink("libnvidia-wfb.so.*") + + shelltools.echo("ld.so.conf", nvlibdir) + shelltools.echo("XvMCConfig", "%s/libXvMCNVIDIA.so" % nvlibdir) + +def build(): + # We don't need kernel module for emul32 build + if get.buildTYPE() == 'emul32': + return + + shelltools.export("SYSSRC", "/lib/modules/%s/build" % KDIR) + shelltools.cd("kernel") + + autotools.make("module") + + shelltools.cd("uvm") + + autotools.make("module") + +def install(): + + if not get.buildTYPE() == 'emul32': + # Kernel driver + pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR, + "kernel/nvidia.ko") + + pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR, + "kernel/uvm/nvidia-uvm.ko") + + + # Command line tools and their man pages + pisitools.dobin("nvidia-smi") + pisitools.doman("nvidia-smi.1.gz") + + pisitools.dobin("nvidia-persistenced") + + + ### Libraries + # OpenGl library + pisitools.dolib("libGL.so.%s" % version, nvlibdir) + pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1.2.0" % nvlibdir) + + # OpenCL + pisitools.dolib("libOpenCL.so.1.0.0", libdir) + pisitools.dosym("libOpenCL.so.1.0.0", "%s/libOpenCL.so.1.0" % libdir) + pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so.1" % libdir) + + pisitools.dolib("libnvidia-opencl.so.%s" % version, libdir) + pisitools.dosym("libnvidia-opencl.so.%s" % version, "%s/libnvidia-opencl.so.1" % libdir) + pisitools.dosym("libnvidia-opencl.so.1", "%s/libnvidia-opencl.so" % libdir) + + # CUDA + pisitools.dolib("libcuda.so.%s" % version, libdir) + pisitools.dosym("libcuda.so.%s" % version, "%s/libcuda.so.1" % libdir) + pisitools.dosym("libcuda.so.1", "%s/libcuda.so" % libdir) + + pisitools.dolib("libnvcuvid.so.%s" % version, libdir) + pisitools.dosym("libnvcuvid.so.%s" % version, "%s/libnvcuvid.so.1" % libdir) + pisitools.dosym("libnvcuvid.so.1", "%s/libnvcuvid.so" % libdir) + + # NVML + # Provides programmatic access to static information and monitoring + # data for NVIDIA GPUs, as well as limited managment capabilities + pisitools.dolib("libnvidia-ml.so.%s" % version, libdir) + pisitools.dosym("libnvidia-ml.so.%s" % version, "%s/libnvidia-ml.so.1" % libdir) + + pisitools.dolib("libnvidia-cfg.so.%s" % version, libdir) + pisitools.dosym("libnvidia-cfg.so.%s" % version, "%s/libnvidia-cfg.so.1" % libdir) + + pisitools.dolib("libnvidia-compiler.so.%s" % version, libdir) + pisitools.dosym("libnvidia-compiler.so.%s" % version, "%s/libnvidia-compiler.so.1" % libdir) + + # OpenGL core library and others + for lib in ("glcore", "tls", "encode", "fbc", "glsi", "ifr", "eglcore"): + pisitools.dolib("libnvidia-%s.so.%s" % (lib, version), libdir) + pisitools.dosym("libnvidia-%s.so.%s" % (lib, version), "%s/libnvidia-%s.so.1" %(libdir, lib)) + + # VDPAU driver + pisitools.dolib("libvdpau_nvidia.so.%s" % version, "%s/vdpau" % nvlibdir) + pisitools.dosym("../nvidia-current/vdpau/libvdpau_nvidia.so.%s" % version, "%s/vdpau/libvdpau_nvidia.so.1" % nvlibdir.strip(driver_dir_name)) + + # X modules + pisitools.dolib("nvidia_drv.so", "%s/modules/drivers" % nvlibdir) + pisitools.dosym("%s/modules/drivers/nvidia_drv.so" % nvlibdir, "%s/modules/drivers/nvidia_drv.so" % xorglibdir) + pisitools.dolib("libglx.so.%s" % version, "%s/modules/extensions" % nvlibdir) + pisitools.dosym("libglx.so.%s" % version, "%s/modules/extensions/libglx.so" % nvlibdir) + + # Exit time for emul32 build + if get.buildTYPE() == 'emul32': + pisitools.insinto(datadir, "ld.so.conf", "32bit-ld.so.conf") + return + + pisitools.insinto("/etc/OpenCL/vendors", "nvidia.icd") + + pisitools.insinto(datadir, "ld.so.conf") + pisitools.insinto(datadir, "XvMCConfig") + + # Documentation + docdir = "xorg-video-%s" % driver_dir_name + pisitools.dodoc("LICENSE", "NVIDIA_Changelog", "README.txt", destDir=docdir) + pisitools.dohtml("html/*", destDir=docdir) + + ### Note + # This package includes nvidia-setting and nvidia-xconfig binaries. However + # we have seperate packages for each of them. Nvidia provides tarballs for + # these binaries. Don't forget to update these package with each NVIDIA + # driver update. + + # Nvidia-bug-report + # Comes with our own nvidia-xcfonig package + # pisitools.dobin("nvidia-bug-report.sh") diff --git a/kernel/drivers/module-nvidia-current/comar/package-emul32.py b/kernel/drivers/module-nvidia-current/comar/package-emul32.py new file mode 100644 index 0000000000..bddedd08c4 --- /dev/null +++ b/kernel/drivers/module-nvidia-current/comar/package-emul32.py @@ -0,0 +1,25 @@ +#!/usr/bin/python + +import os + +driver_dir_name = "nvidia-current" +libdir = "/usr/lib32/%s" % driver_dir_name +datadir = "/usr/share/%s" % driver_dir_name + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system(" /usr/sbin/alternatives \ + --install /usr/lib32/libGL.so.1.2.0 libGL-32bit %(libdir)s/libGL.so.1.2.0 50 \ + --slave /usr/lib32/xorg/modules/volatile xorg-modules-volatile-32bit %(libdir)s/modules" + % {"libdir": libdir, "datadir": datadir}) +# --slave /etc/ld.so.conf.d/10-nvidia-32bit.conf nvidia-ldsoconf-32bit %(datadir)s/32bit-ld.so.conf" + + # If this driver is in use, refresh links after installation. + if os.readlink("/etc/alternatives/libGL-32bit") == "%s/libGL.so.1.2.0" % libdir: + os.system("/usr/sbin/alternatives --set libGL-32bit %s/libGL.so.1.2.0" % libdir) + os.system("/sbin/ldconfig -X") + +def preRemove(): + # FIXME This is not needed when upgrading package; but pisi does not + # provide a way to learn operation type. + #os.system("/usr/sbin/alternatives --remove libGL-32bit %s/libGL.so.1.2.0" % libdir) + pass diff --git a/kernel/drivers/module-nvidia-current/comar/package.py b/kernel/drivers/module-nvidia-current/comar/package.py new file mode 100644 index 0000000000..71d446b906 --- /dev/null +++ b/kernel/drivers/module-nvidia-current/comar/package.py @@ -0,0 +1,26 @@ +#!/usr/bin/python + +import os + +driver_dir_name = "nvidia-current" +libdir = "/usr/lib/%s" % driver_dir_name +datadir = "/usr/share/%s" % driver_dir_name + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system(" /usr/sbin/alternatives \ + --install /usr/lib/libGL.so.1.2.0 libGL %(libdir)s/libGL.so.1.2.0 50 \ + --slave /usr/lib/xorg/modules/volatile xorg-modules-volatile %(libdir)s/modules" + % {"libdir": libdir, "datadir": datadir}) +# --slave /etc/X11/XvMCConfig XvMCConfig %(datadir)s/XvMCConfig \ +# --slave /etc/ld.so.conf.d/10-nvidia.conf nvidia-ldsoconf %(datadir)s/ld.so.conf" + + # If this driver is in use, refresh links after installation. + if os.readlink("/etc/alternatives/libGL") == "%s/libGL.so.1.2.0" % libdir: + os.system("/usr/sbin/alternatives --set libGL %s/libGL.so.1.2.0" % libdir) + os.system("/sbin/ldconfig -X") + +def preRemove(): + # FIXME This is not needed when upgrading package; but pisi does not + # provide a way to learn operation type. + #os.system("/usr/sbin/alternatives --remove libGL %s/libGL.so.1.2.0" % libdir) + pass diff --git a/kernel/drivers/module-nvidia-current/files/modprobe.conf b/kernel/drivers/module-nvidia-current/files/modprobe.conf new file mode 100644 index 0000000000..b84fe20d0a --- /dev/null +++ b/kernel/drivers/module-nvidia-current/files/modprobe.conf @@ -0,0 +1,8 @@ +# Blacklist by default since nvidia* modules have the same aliases +blacklist nvidia-current + +# Fail if nouveau loaded +install nvidia-current if /bin/grep -qw "^nouveau" /proc/modules; then /bin/false; else /sbin/modprobe -i nvidia-current $CMDLINE_OPTS; fi + +# Load the right module when requested with the name "nvidia" +install nvidia M=$(/bin/readlink /etc/alternatives/libGL | /usr/bin/cut -d/ -f4 | /bin/grep nvidia) && /sbin/modprobe $M $CMDLINE_OPTS diff --git a/kernel/drivers/module-nvidia-current/pspec.xml b/kernel/drivers/module-nvidia-current/pspec.xml new file mode 100644 index 0000000000..cf38dbfb58 --- /dev/null +++ b/kernel/drivers/module-nvidia-current/pspec.xml @@ -0,0 +1,408 @@ + + + + + module-nvidia-current + http://www.nvidia.com + + Marcin Bojara + marcin@pisilinux.org + + NVIDIA + NVIDIA drivers for GeForce 6xxx and newer GPUs + NVIDIA graphics drivers provide optimized 2D/3D performance. + ftp://download.nvidia.com/XFree86/Linux-x86/349.16/NVIDIA-Linux-x86-349.16.run + ftp://download.nvidia.com/XFree86/Linux-x86_64/349.16/NVIDIA-Linux-x86_64-349.16.run + + kernel-module-headers + libX11-devel + + + + + module-nvidia-current + driver + Kernel module for current NVIDIA graphics driver releases + + kernel + + + /lib/modules + + + noDelta + + + + + xorg-video-nvidia-current + driver + x11.driver + + libXext + libX11 + mesa + xorg-server + module-nvidia-current + + + /etc/OpenCL + /usr/bin + /usr/lib + /usr/share + /usr/share/doc + /usr/share/man + + + System.Package + + + noDelta + + + + + xorg-video-nvidia-current-32bit + emul32 + 32-bit shared libraries for xorg-video-nvidia-current + emul32 + + libvdpau-32bit + + + zlib-32bit + mesa-32bit + libX11-32bit + libXext-32bit + xorg-video-nvidia-current + + + /usr/lib32 + /usr/share/nvidia-current/32bit-ld.so.conf + + + System.Package + + + noDelta + + + + + + 2015-06-16 + 349.16 + Rebuild for kernel 3.19.8 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-22 + 349.16 + Rebuild for kernel 3.19.8 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-05 + 349.16 + Rebuild for kernel 3.19.6 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-24 + 349.16 + Rebuild for kernel 3.19.5 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-16 + 349.16 + Rebuild for kernel 3.19.4 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-02 + 349.12 + Rebuild for kernel 3.19.3 + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-03-31 + 349.12 + Version bump + Stefan Gronewold + groni@pisilinux.org + + + 2015-03-08 + 346.47 + Version bump, Rebuild for kernel 3.19.1 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-03-01 + 346.35 + Rebuild for kernel 3.19.0 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-31 + 346.35 + Rebuild for kernel 3.18.3 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-22 + 346.35 + Version bump. + Stefan Gronewold (groni) + groni@pisilinux.org + + + 2015-01-09 + 346.22 + Rebuild for kernel 3.18.1 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-11-29 + 343.22 + Rebuild for kernel 3.17.4 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-10-19 + 343.22 + Version bump, conform kernel 3.17.1 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-09-21 + 343.13 + Version bump and added symlink for bumblebee + Mathias Freire + mathiasfreire45@gmail.com + + + 2014-09-03 + 340.32 + Version bump, conform kernel 3.16.1 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-07-24 + 340.24 + Version bump for kernel 3.15.6 + Vedat Demir + vedat@pisilinux.org + + + 2014-06-15 + 340.17 + Version bump for kernel 3.15.0 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-29 + 337.19 + Version bump for kernel 3.14.4. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-02 + 337.12 + Version bump for kernel 3.14.2. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-04-15 + 334.21 + Rebuild for kernel 3.13.10. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-29 + 334.21 + Rebuild for 3.13.6 + Marcin Bojara + marcin@pisilinux.org + + + 2014-03-10 + 334.21 + Change module name. Remove module-nvidia-current-userspace + Marcin Bojara + marcin@pisilinux.org + + + 2014-03-07 + 334.21 + Version bump + Marcin Bojara + marcin@pisilinux.org + + + 2014-03-01 + 334.16 + version bump + PisiLinux Community + admins@pisilinux.org + + + 2014-01-15 + 331.38 + version bump + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-12-17 + 331.20 + Rebuild for 3.12.5 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-12-12 + 331.20 + Rebuild for 3.12.5 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-23 + 331.20 + Rebuild for 3.10.20 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-21 + 331.20 + Version bump + Richard de Bruin + richdb@pisilinux.org + + + 2013-11-05 + 325.15 + Rebuild for 3.10.18 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-09-28 + 325.15 + 3.10.15 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-09-28 + 325.15 + 3.10.13 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-09-18 + 325.15 + 3.10.12 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-20 + 325.15 + 3.10.10 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-20 + 325.15 + 3.10.9 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-20 + 325.15 + Version bump + Marcin Bojara + marcin@pisilinux.org + + + 2013-08-12 + 319.32 + rebuld for kernel 3.10.6 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-11 + 319.32 + rebuld for kernel 3.10.5 + Marcin Bojara + marcin@pisilinux.org + + + 2013-07-05 + 319.32 + Version bump + Marcin Bojara + marcin@pisilinux.org + + + 2013-06-05 + 319.17 + Kernel 3.8.13 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-05-26 + 319.17 + Kernel 3.9.3 + PisiLinux Community + admins@pisilinux.org + + + 2013-05-12 + 319.17 + Version bump + Marcin Bojara + marcin@pisilinux.org + + + 2013-03-06 + 313.26 + Version bump + Marcin Bojara + marcin@pisilinux.org + + + 2013-02-19 + 310.32 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/kernel/drivers/module-nvidia-current/translations.xml b/kernel/drivers/module-nvidia-current/translations.xml new file mode 100644 index 0000000000..28509a6e6d --- /dev/null +++ b/kernel/drivers/module-nvidia-current/translations.xml @@ -0,0 +1,25 @@ + + + + module-nvidia-current + GeForce 6xxx ve daha yeni NVIDIA ekran kartları için sürücüler + NVIDIA grafik sürücüleri daha iyi 2B/3B başarımı sağlar. + Controladores de kernel nVIDIA y glx para rendimiento optimizado 2d/3d en Linux (Para NV3X o mejor). + Controladores nVIDIA de kernel y glx para tarjetas NV3 o mejor (Geforce FX o mejor) + + + + module-nvidia-current + Güncel NVIDIA grafik sürücüleri için çekirdek modülü + + + + xorg-video-nvidia-current + Güncel NVIDIA userspace sürücüleri ve ikili dosyaları + + + + xorg-video-nvidia-current-32bit + xorg-video-nvidia-current için 32-bit paylaşımlı kitaplıklar + + diff --git a/kernel/drivers/module-nvidia304/actions.py b/kernel/drivers/module-nvidia304/actions.py new file mode 100644 index 0000000000..043480d88d --- /dev/null +++ b/kernel/drivers/module-nvidia304/actions.py @@ -0,0 +1,135 @@ +# -*- 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 kerneltools +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +WorkDir = "." +KDIR = kerneltools.getKernelVersion() +NoStrip = ["/lib/modules"] + +version = get.srcVERSION() +driver_dir_name = "nvidia304" +datadir = "/usr/share/%s" % driver_dir_name + +if get.buildTYPE() == 'emul32': + arch = "x86" + nvlibdir = "/usr/lib32/%s" % driver_dir_name + libdir = "/usr/lib32" +else: + arch = get.ARCH().replace("i686", "x86") + nvlibdir = "/usr/lib/%s" % driver_dir_name + libdir = "/usr/lib" + +def setup(): + shelltools.system("sh NVIDIA-Linux-%s-%s.run -x --target tmp" + % (arch, get.srcVERSION())) + shelltools.move("tmp/*", ".") + + shelltools.system("patch -p1 < NVIDIA-Linux-x86_64-304.125-kernel-3.19.patch") + + # Our libc is TLS enabled so use TLS library + shelltools.unlink("*-tls.so*") + shelltools.move("tls/*", ".") + + # xorg-server provides libwfb.so + shelltools.unlink("libnvidia-wfb.so.*") + + shelltools.echo("ld.so.conf", nvlibdir) + shelltools.echo("XvMCConfig", "%s/libXvMCNVIDIA.so" % nvlibdir) + +def build(): + # We don't need kernel module for emul32 build + if get.buildTYPE() == 'emul32': + return + + shelltools.export("SYSSRC", "/lib/modules/%s/build" % KDIR) + shelltools.cd("kernel") + + autotools.make("module") + +def install(): + + if not get.buildTYPE() == 'emul32': + # Kernel driver + pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR, + "kernel/nvidia.ko") + + # Command line tools and their man pages + pisitools.dobin("nvidia-smi") + pisitools.doman("nvidia-smi.1.gz") + + + ### Libraries + # OpenGl library + pisitools.dolib("libGL.so.%s" % version, nvlibdir) + pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1.2.0" % nvlibdir) + + # OpenCL + pisitools.dolib("libOpenCL.so.1.0.0", libdir) + pisitools.dosym("libOpenCL.so.1.0.0", "%s/libOpenCL.so.1.0" % libdir) + pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so.1" % libdir) + + # CUDA + pisitools.dolib("libcuda.so.%s" % version, libdir) + pisitools.dosym("libcuda.so.%s" % version, "%s/libcuda.so.1" % libdir) + pisitools.dosym("libcuda.so.1", "%s/libcuda.so" % libdir) + + pisitools.dolib("libnvcuvid.so.%s" % version, libdir) + pisitools.dosym("libnvcuvid.so.%s" % version, "%s/libnvcuvid.so.1" % libdir) + pisitools.dosym("libnvcuvid.so.1", "%s/libnvcuvid.so" % libdir) + + # NVML + # Provides programmatic access to static information and monitoring + # data for NVIDIA GPUs, as well as limited managment capabilities + pisitools.dolib("libnvidia-ml.so.%s" % version, libdir) + pisitools.dosym("libnvidia-ml.so.%s" % version, "%s/libnvidia-ml.so.1" % libdir) + + pisitools.dolib("libnvidia-cfg.so.%s" % version, libdir) + pisitools.dosym("libnvidia-cfg.so.%s" % version, "%s/libnvidia-cfg.so.1" % libdir) + + pisitools.dolib("libnvidia-compiler.so.%s" % version, libdir) + pisitools.dosym("libnvidia-compiler.so.%s" % version, "%s/libnvidia-compiler.so.1" % libdir) + + # OpenGL cpre library + for lib in ("glcore", "tls"): + pisitools.dolib("libnvidia-%s.so.%s" % (lib, version), libdir) + + # VDPAU driver + pisitools.dolib("libvdpau_nvidia.so.%s" % version, "%s/vdpau" % nvlibdir) + pisitools.dosym("../nvidia-current/vdpau/libvdpau_nvidia.so.%s" % version, "%s/vdpau/libvdpau_nvidia.so.1" % nvlibdir.strip(driver_dir_name)) + + # X modules + pisitools.dolib("nvidia_drv.so", "%s/modules/drivers" % nvlibdir) + pisitools.dolib("libglx.so.%s" % version, "%s/modules/extensions" % nvlibdir) + pisitools.dosym("libglx.so.%s" % version, "%s/modules/extensions/libglx.so" % nvlibdir) + + # Exit time for emul32 build + if get.buildTYPE() == 'emul32': + pisitools.insinto(datadir, "ld.so.conf", "32bit-ld.so.conf") + return + + pisitools.insinto("/etc/OpenCL/vendors", "nvidia.icd") + + pisitools.insinto(datadir, "ld.so.conf") + pisitools.insinto(datadir, "XvMCConfig") + + # Documentation + docdir = "xorg-video-%s" % driver_dir_name + pisitools.dodoc("LICENSE", "NVIDIA_Changelog", "README.txt", destDir=docdir) + pisitools.dohtml("html/*", destDir=docdir) + + ### Note + # This package includes nvidia-setting and nvidia-xconfig binaries. However + # we have seperate packages for each of them. Nvidia provides tarballs for + # these binaries. Don't forget to update these package with each NVIDIA + # driver update. + + # Nvidia-bug-report + # Comes with our own nvidia-xcfonig package + # pisitools.dobin("nvidia-bug-report.sh") diff --git a/kernel/drivers/module-nvidia304/comar/package.py b/kernel/drivers/module-nvidia304/comar/package.py new file mode 100644 index 0000000000..b2d195538b --- /dev/null +++ b/kernel/drivers/module-nvidia304/comar/package.py @@ -0,0 +1,26 @@ +#!/usr/bin/python + +import os + +driver_dir_name = "nvidia304" +libdir = "/usr/lib/%s" % driver_dir_name +datadir = "/usr/share/%s" % driver_dir_name + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system("/usr/sbin/alternatives \ + --install /usr/lib/libGL.so.1.2.0 libGL %(libdir)s/libGL.so.1.2.0 40 \ + --slave /usr/lib/xorg/modules/volatile xorg-modules-volatile %(libdir)s/modules \ + --slave /etc/X11/XvMCConfig XvMCConfig %(datadir)s/XvMCConfig \ + --slave /etc/ld.so.conf.d/10-nvidia.conf nvidia-ldsoconf %(datadir)s/ld.so.conf" + % {"libdir": libdir, "datadir": datadir}) + + # If this driver is in use, refresh links after installation. + if os.readlink("/etc/alternatives/libGL") == "%s/libGL.so.1.2.0" % libdir: + os.system("/usr/sbin/alternatives --set libGL %s/libGL.so.1.2.0" % libdir) + os.system("/sbin/ldconfig -X") + +def preRemove(): + # FIXME This is not needed when upgrading package; but pisi does not + # provide a way to learn operation type. + #os.system("/usr/sbin/alternatives --remove libGL %s/libGL.so.1.2" % libdir) + pass diff --git a/kernel/drivers/module-nvidia304/files/NVIDIA-Linux-x86_64-304.125-kernel-3.19.patch b/kernel/drivers/module-nvidia304/files/NVIDIA-Linux-x86_64-304.125-kernel-3.19.patch new file mode 100644 index 0000000000..416fbe2ecd --- /dev/null +++ b/kernel/drivers/module-nvidia304/files/NVIDIA-Linux-x86_64-304.125-kernel-3.19.patch @@ -0,0 +1,32 @@ + +Adapt for kernel 3.19 + +Signed-off-by: Thomas Backlund + +diff -Nurp NVIDIA-Linux-x86_64-304.125.orig/kernel/nv.c NVIDIA-Linux-x86_64-304.125/kernel/nv.c +--- NVIDIA-Linux-x86_64-304.125.orig/kernel/nv.c 2014-12-02 05:58:34.000000000 +0200 ++++ NVIDIA-Linux-x86_64-304.125/kernel/nv.c 2015-01-25 19:14:21.009109856 +0200 +@@ -2026,7 +2026,11 @@ long nv_kern_unlocked_ioctl( + unsigned long i_arg + ) + { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0) ++ return nv_kern_ioctl(file->f_path.dentry->d_inode, file, cmd, i_arg); ++#else + return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg); ++#endif + } + + long nv_kern_compat_ioctl( +@@ -2035,7 +2039,11 @@ long nv_kern_compat_ioctl( + unsigned long i_arg + ) + { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0) ++ return nv_kern_ioctl(file->f_path.dentry->d_inode, file, cmd, i_arg); ++#else + return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg); ++#endif + } + + /* diff --git a/kernel/drivers/module-nvidia304/pspec.xml b/kernel/drivers/module-nvidia304/pspec.xml new file mode 100644 index 0000000000..19b8a467c6 --- /dev/null +++ b/kernel/drivers/module-nvidia304/pspec.xml @@ -0,0 +1,277 @@ + + + + + module-nvidia304 + http://www.nvidia.com + + PisiLinux Community + admins@pisilinux.org + + NVIDIA + driver + NVIDIA drivers for GeForce 5-7 series GPUs + NVIDIA graphics drivers provide optimized 2D/3D performance. + + http://download.nvidia.com/XFree86/Linux-x86_64/304.125/NVIDIA-Linux-x86_64-304.125.run + + NVIDIA-Linux-x86_64-304.125-kernel-3.19.patch + + + kernel-module-headers + + + + + module-nvidia304 + Kernel module for NVIDIA driver 304.xx releases + + kernel + + + /lib/modules + + + noDelta + + + + + xorg-video-nvidia304 + x11.driver + + module-nvidia304 + libXext + xorg-server + + + xorg-video-nvidia-current + + + /etc/OpenCL + /usr/bin + /usr/lib + /usr/share + /usr/share/doc + + + System.Package + + + noDelta + + + + + + 2015-05-22 + 304.125 + Rebuild for kernel 3.19.6 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-05 + 304.125 + Rebuild for kernel 3.19.6 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-24 + 304.125 + Rebuild for kernel 3.19.5 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-16 + 304.125 + Rebuild for kernel 3.19.4 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-02 + 304.125 + Rebuild for kernel 3.19.3 + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-03-08 + 304.125 + Rebuild for kernel 3.19.1 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-03-01 + 304.125 + Rebuild for kernel 3.19.0 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-31 + 304.125 + Rebuild for kernel 3.18.3 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-13 + 304.125 + Rebuild for Kernel 3.18.1 + Stefan Gronewold (groni) + groni@pisilinux.org + + + 2014-12-08 + 304.125 + Version bump + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-10-19 + 304.123 + Rebuild for kernel 3.17.1 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-09-03 + 304.123 + Rebuild for kernel 3.16.1 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-07-24 + 304.123 + Version bump for kernel 3.15.6 + Vedat Demir + vedat@pisilinux.org + + + 2014-06-15 + 304.121 + Rebuild for kernel 3.15.0 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-29 + 304.121 + Rebuild for kernel 3.14.4. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-02 + 304.121 + Version bump for kernel 3.14.2. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-04-15 + 304.119 + Rebuild for kernel 3.13.10. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-29 + 304.119 + Rebuild for 3.13.6 + Osman Erkan + osman.erkan@pisilinux.org + + + 2014-03-10 + 304.119 + Change module name. Remove module-nvidia304-userspace + Marcin Bojara + marcin@pisilinux.org + + + 2014-03-09 + 304.119 + Rebuild for 3.12.13 + Osman Erkan + osman.erkan@pisilinux.org + + + 2014-03-01 + 304.119 + Rebuild for 3.12.13 + Osman Erkan + osman.erkan@pisilinux.org + + + 2014-01-17 + 304.117 + Rebuild for 3.12.8 + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-12-17 + 304.116 + Rebuild for kernel 3.12.5. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-12-14 + 304.116 + Version bump for 3.12.5 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-23 + 304.108 + Rebuild for 3.10.20 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-05 + 304.108 + Rebuild for 3.10.18 + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-10-09 + 304.108 + 3.10.15 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-09-28 + 304.108 + 3.10.13 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-09-18 + 304.108 + 3.10.12 + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-09-11 + 304.108 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/kernel/drivers/module-nvidia304/translations.xml b/kernel/drivers/module-nvidia304/translations.xml new file mode 100644 index 0000000000..d9e6aa09f8 --- /dev/null +++ b/kernel/drivers/module-nvidia304/translations.xml @@ -0,0 +1,20 @@ + + + + module-nvidia304 + NVIDIA GeForce 6-7 serisi ekran kartları için grafik sürücüleri + NVIDIA grafik sürücüleri daha iyi 2B/3B başarımı sağlar. + Controladores nVIDIA de kernel y glx para tarjetas NV3 o mejor (Geforce FX o mejor) + Controladores de kernel nVIDIA y glx para rendimiento optimizado 2d/3d en Linux (Para NV3X o mejor). + + + + module-nvidia304 + NVIDIA sürücüsü 304.xx sürümleri için çekirdek modülü + + + + module-nvidia304-userspace + nvidia304 çekirdek sürücüsü için kullanıcı tarafı belgeler, araçlar, udev ve modprobe kuralları + + diff --git a/kernel/drivers/module-nvidia340/actions.py b/kernel/drivers/module-nvidia340/actions.py new file mode 100644 index 0000000000..a43ce97a48 --- /dev/null +++ b/kernel/drivers/module-nvidia340/actions.py @@ -0,0 +1,144 @@ +# -*- 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 +from pisi.actionsapi import kerneltools + +WorkDir = "." +KDIR = kerneltools.getKernelVersion() +NoStrip = ["/lib/modules"] + +version = get.srcVERSION() +driver_dir_name = "nvidia340" +datadir = "/usr/share/%s" % driver_dir_name +libdir = "/usr/lib32" if get.buildTYPE() == 'emul32' else "/usr/lib" +arch = "x86" if get.buildTYPE() == 'emul32' else get.ARCH().replace("i6", "x") +nvlibdir = "%s/%s" % (libdir, driver_dir_name) +xorglibdir= "%s/xorg" % libdir + +def setup(): + shelltools.system("sh NVIDIA-Linux-%s-%s.run -x --target tmp" + % (arch, get.srcVERSION())) + shelltools.move("tmp/*", ".") + + # Our libc is TLS enabled so use TLS library + shelltools.unlink("*-tls.so*") + shelltools.move("tls/*", ".") + + # xorg-server provides libwfb.so + shelltools.unlink("libnvidia-wfb.so.*") + + shelltools.echo("ld.so.conf", nvlibdir) + shelltools.echo("XvMCConfig", "%s/libXvMCNVIDIA.so" % nvlibdir) + +def build(): + # We don't need kernel module for emul32 build + if get.buildTYPE() == 'emul32': + return + + shelltools.export("SYSSRC", "/lib/modules/%s/build" % KDIR) + + shelltools.cd("kernel") + + autotools.make("module") + + shelltools.cd("uvm") + + autotools.make("module") + +def install(): + + if not get.buildTYPE() == 'emul32': + # Kernel driver + pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR, + "kernel/nvidia.ko") + + pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR, + "kernel/uvm/nvidia-uvm.ko") + + # Command line tools and their man pages + pisitools.dobin("nvidia-smi") + pisitools.doman("nvidia-smi.1.gz") + + pisitools.dobin("nvidia-persistenced") + + + ### Libraries + # OpenGl library + pisitools.dolib("libGL.so.%s" % version, nvlibdir) + pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1.2.0" % nvlibdir) + + # OpenCL + pisitools.dolib("libOpenCL.so.1.0.0", libdir) + pisitools.dosym("libOpenCL.so.1.0.0", "%s/libOpenCL.so.1.0" % libdir) + pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so.1" % libdir) + + pisitools.dolib("libnvidia-opencl.so.%s" % version, libdir) + pisitools.dosym("libnvidia-opencl.so.%s" % version, "%s/libnvidia-opencl.so.1" % libdir) + pisitools.dosym("libnvidia-opencl.so.1", "%s/libnvidia-opencl.so" % libdir) + + # CUDA + pisitools.dolib("libcuda.so.%s" % version, libdir) + pisitools.dosym("libcuda.so.%s" % version, "%s/libcuda.so.1" % libdir) + pisitools.dosym("libcuda.so.1", "%s/libcuda.so" % libdir) + + pisitools.dolib("libnvcuvid.so.%s" % version, libdir) + pisitools.dosym("libnvcuvid.so.%s" % version, "%s/libnvcuvid.so.1" % libdir) + pisitools.dosym("libnvcuvid.so.1", "%s/libnvcuvid.so" % libdir) + + # NVML + # Provides programmatic access to static information and monitoring + # data for NVIDIA GPUs, as well as limited managment capabilities + pisitools.dolib("libnvidia-ml.so.%s" % version, libdir) + pisitools.dosym("libnvidia-ml.so.%s" % version, "%s/libnvidia-ml.so.1" % libdir) + + pisitools.dolib("libnvidia-cfg.so.%s" % version, libdir) + pisitools.dosym("libnvidia-cfg.so.%s" % version, "%s/libnvidia-cfg.so.1" % libdir) + + pisitools.dolib("libnvidia-compiler.so.%s" % version, libdir) + pisitools.dosym("libnvidia-compiler.so.%s" % version, "%s/libnvidia-compiler.so.1" % libdir) + + # OpenGL core library and others + for lib in ("glcore", "tls", "encode", "fbc", "glsi", "ifr", "eglcore"): + pisitools.dolib("libnvidia-%s.so.%s" % (lib, version), libdir) + pisitools.dosym("libnvidia-%s.so.%s" % (lib, version), "%s/libnvidia-%s.so.1" %(libdir, lib)) + + # VDPAU driver + pisitools.dolib("libvdpau_nvidia.so.%s" % version, "%s/vdpau" % nvlibdir) + pisitools.dosym("../nvidia340/vdpau/libvdpau_nvidia.so.%s" % version, "%s/vdpau/libvdpau_nvidia.so.1" % nvlibdir.strip(driver_dir_name)) + + # X modules + pisitools.dolib("nvidia_drv.so", "%s/modules/drivers" % nvlibdir) + pisitools.dosym("%s/modules/drivers/nvidia_drv.so" % nvlibdir, "%s/modules/drivers/nvidia_drv.so" % xorglibdir) + pisitools.dolib("libglx.so.%s" % version, "%s/modules/extensions" % nvlibdir) + pisitools.dosym("libglx.so.%s" % version, "%s/modules/extensions/libglx.so" % nvlibdir) + + # Exit time for emul32 build + if get.buildTYPE() == 'emul32': + pisitools.insinto(datadir, "ld.so.conf", "32bit-ld.so.conf") + return + + pisitools.insinto("/etc/OpenCL/vendors", "nvidia.icd") + + pisitools.insinto(datadir, "ld.so.conf") + pisitools.insinto(datadir, "XvMCConfig") + + # Documentation + docdir = "xorg-video-%s" % driver_dir_name + pisitools.dodoc("LICENSE", "NVIDIA_Changelog", "README.txt", destDir=docdir) + pisitools.dohtml("html/*", destDir=docdir) + + ### Note + # This package includes nvidia-setting and nvidia-xconfig binaries. However + # we have seperate packages for each of them. Nvidia provides tarballs for + # these binaries. Don't forget to update these package with each NVIDIA + # driver update. + + # Nvidia-bug-report + # Comes with our own nvidia-xcfonig package + # pisitools.dobin("nvidia-bug-report.sh") diff --git a/kernel/drivers/module-nvidia340/comar/package-emul32.py b/kernel/drivers/module-nvidia340/comar/package-emul32.py new file mode 100644 index 0000000000..25656c573c --- /dev/null +++ b/kernel/drivers/module-nvidia340/comar/package-emul32.py @@ -0,0 +1,25 @@ +#!/usr/bin/python + +import os + +driver_dir_name = "nvidia340" +libdir = "/usr/lib32/%s" % driver_dir_name +datadir = "/usr/share/%s" % driver_dir_name + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system(" /usr/sbin/alternatives \ + --install /usr/lib32/libGL.so.1.2.0 libGL-32bit %(libdir)s/libGL.so.1.2.0 50 \ + --slave /usr/lib32/xorg/modules/volatile xorg-modules-volatile-32bit %(libdir)s/modules" + % {"libdir": libdir, "datadir": datadir}) +# --slave /etc/ld.so.conf.d/10-nvidia-32bit.conf nvidia-ldsoconf-32bit %(datadir)s/32bit-ld.so.conf" + + # If this driver is in use, refresh links after installation. + if os.readlink("/etc/alternatives/libGL-32bit") == "%s/libGL.so.1.2.0" % libdir: + os.system("/usr/sbin/alternatives --set libGL-32bit %s/libGL.so.1.2.0" % libdir) + os.system("/sbin/ldconfig -X") + +def preRemove(): + # FIXME This is not needed when upgrading package; but pisi does not + # provide a way to learn operation type. + #os.system("/usr/sbin/alternatives --remove libGL-32bit %s/libGL.so.1.2.0" % libdir) + pass diff --git a/kernel/drivers/module-nvidia340/comar/package.py b/kernel/drivers/module-nvidia340/comar/package.py new file mode 100644 index 0000000000..6ad85a4f72 --- /dev/null +++ b/kernel/drivers/module-nvidia340/comar/package.py @@ -0,0 +1,26 @@ +#!/usr/bin/python + +import os + +driver_dir_name = "nvidia340" +libdir = "/usr/lib/%s" % driver_dir_name +datadir = "/usr/share/%s" % driver_dir_name + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system(" /usr/sbin/alternatives \ + --install /usr/lib/libGL.so.1.2.0 libGL %(libdir)s/libGL.so.1.2.0 50 \ + --slave /usr/lib/xorg/modules/volatile xorg-modules-volatile %(libdir)s/modules" + % {"libdir": libdir, "datadir": datadir}) +# --slave /etc/X11/XvMCConfig XvMCConfig %(datadir)s/XvMCConfig \ +# --slave /etc/ld.so.conf.d/10-nvidia.conf nvidia-ldsoconf %(datadir)s/ld.so.conf" + + # If this driver is in use, refresh links after installation. + if os.readlink("/etc/alternatives/libGL") == "%s/libGL.so.1.2.0" % libdir: + os.system("/usr/sbin/alternatives --set libGL %s/libGL.so.1.2.0" % libdir) + os.system("/sbin/ldconfig -X") + +def preRemove(): + # FIXME This is not needed when upgrading package; but pisi does not + # provide a way to learn operation type. + #os.system("/usr/sbin/alternatives --remove libGL %s/libGL.so.1.2.0" % libdir) + pass diff --git a/kernel/drivers/module-nvidia340/files/modprobe.conf b/kernel/drivers/module-nvidia340/files/modprobe.conf new file mode 100644 index 0000000000..a71180845c --- /dev/null +++ b/kernel/drivers/module-nvidia340/files/modprobe.conf @@ -0,0 +1,8 @@ +# Blacklist by default since nvidia* modules have the same aliases +blacklist nvidia340 + +# Fail if nouveau loaded +install nvidia340 if /bin/grep -qw "^nouveau" /proc/modules; then /bin/false; else /sbin/modprobe -i nvidia340 $CMDLINE_OPTS; fi + +# Load the right module when requested with the name "nvidia" +install nvidia M=$(/bin/readlink /etc/alternatives/libGL | /usr/bin/cut -d/ -f4 | /bin/grep nvidia) && /sbin/modprobe $M $CMDLINE_OPTS diff --git a/kernel/drivers/module-nvidia340/pspec.xml b/kernel/drivers/module-nvidia340/pspec.xml new file mode 100644 index 0000000000..f44312f8d7 --- /dev/null +++ b/kernel/drivers/module-nvidia340/pspec.xml @@ -0,0 +1,176 @@ + + + + + module-nvidia340 + http://www.nvidia.com + + Pisi Linux Community + admins@pisilinux.org + + NVIDIA + NVIDIA drivers for GeForce 6xxx and newer GPUs + NVIDIA graphics drivers provide optimized 2D/3D performance. + ftp://download.nvidia.com/XFree86/Linux-x86/340.76/NVIDIA-Linux-x86-340.76.run + ftp://download.nvidia.com/XFree86/Linux-x86_64/340.76/NVIDIA-Linux-x86_64-340.76.run + + kernel-module-headers + + + + + module-nvidia340 + driver + Kernel module for NVIDIA driver 340.xx releases + + kernel + + + /lib/modules + + + noDelta + + + + + xorg-video-nvidia340 + driver + x11.driver + + libXext + xorg-server + module-nvidia340 + + + xorg-video-nvidia-current + xorg-video-nvidia304 + + + /etc/OpenCL + /usr/bin + /usr/lib + /usr/share + /usr/share/doc + /usr/share/man + + + System.Package + + + noDelta + + + + + xorg-video-nvidia340-32bit + emul32 + 32-bit shared libraries for xorg-video-nvidia340 + emul32 + + libvdpau-32bit + glibc-32bit + + + zlib-32bit + libX11-32bit + libXext-32bit + glibc-32bit + xorg-video-nvidia340 + + + xorg-video-nvidia-current-32bit + xorg-video-nvidia304-32bit + + + /usr/lib32 + /usr/share/nvidia-current/32bit-ld.so.conf + + + System.Package + + + noDelta + + + + + + 2015-05-22 + 340.76 + Rebuild for kernel 3.19.8 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-05 + 340.76 + Rebuild for kernel 3.19.6 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-24 + 340.76 + Rebuild for kernel 3.19.5 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-16 + 340.76 + Rebuild for kernel 3.19.4 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-02 + 340.76 + Rebuid for kernel 3.19.3 + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-03-08 + 340.76 + Rebuild for kernel 3.19.1 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-03-01 + 340.76 + Version bump, Rebuild for kernel 3.19.0 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-31 + 340.76 + Version bump, Rebuild for kernel 3.18.3 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-13 + 340.65 + version bump + Stefan Gronewold (groni) + groni@pisilinux.org + + + 2014-12-08 + 340.58 + Rebuild for kernel 3.17.4 + Stefan Gronewold (groni) + groni@pisilinux.org + + + 2014-11-13 + 340.58 + First Release + Stefan Gronewold (groni) + groni@pisilinux.org + + + diff --git a/kernel/drivers/module-nvidia340/translations.xml b/kernel/drivers/module-nvidia340/translations.xml new file mode 100644 index 0000000000..28509a6e6d --- /dev/null +++ b/kernel/drivers/module-nvidia340/translations.xml @@ -0,0 +1,25 @@ + + + + module-nvidia-current + GeForce 6xxx ve daha yeni NVIDIA ekran kartları için sürücüler + NVIDIA grafik sürücüleri daha iyi 2B/3B başarımı sağlar. + Controladores de kernel nVIDIA y glx para rendimiento optimizado 2d/3d en Linux (Para NV3X o mejor). + Controladores nVIDIA de kernel y glx para tarjetas NV3 o mejor (Geforce FX o mejor) + + + + module-nvidia-current + Güncel NVIDIA grafik sürücüleri için çekirdek modülü + + + + xorg-video-nvidia-current + Güncel NVIDIA userspace sürücüleri ve ikili dosyaları + + + + xorg-video-nvidia-current-32bit + xorg-video-nvidia-current için 32-bit paylaşımlı kitaplıklar + + diff --git a/kernel/tools/component.xml b/kernel/tools/component.xml new file mode 100644 index 0000000000..eb141521d1 --- /dev/null +++ b/kernel/tools/component.xml @@ -0,0 +1,3 @@ + + kernel.tools + diff --git a/kernel/tools/perf/actions.py b/kernel/tools/perf/actions.py new file mode 100644 index 0000000000..0fe89766b5 --- /dev/null +++ b/kernel/tools/perf/actions.py @@ -0,0 +1,28 @@ +#!/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 + +shelltools.export("PYTHONDONTWRITEBYTECODE", "1") + +def build(): + shelltools.cd("tools/perf") + autotools.make("JOBS=5 WERROR=0 perf HAVE_CPLUS_DEMANGLE=1") + +def install(): + shelltools.cd("tools/perf") + # Build and install the new 'perf' tool + #pisitools.insinto("/usr/bin", "tools/perf/perf", "perf.%s-%s" % (get.srcNAME(), get.srcVERSION())) + autotools.install("JOBS=5 WERROR=0 perf HAVE_CPLUS_DEMANGLE=1") + + pisitools.domove("/usr/etc/bash_completion.d/perf", "/etc/bash_completion.d") + pisitools.removeDir("/usr/etc") + + pisitools.domove("/usr/lib64/libperf-gtk.so", "/usr/lib/") + pisitools.removeDir("/usr/lib64") \ No newline at end of file diff --git a/kernel/tools/perf/files/patches/linux/patch-3.18.3.xz b/kernel/tools/perf/files/patches/linux/patch-3.18.3.xz new file mode 100644 index 0000000000..f1c3bfc732 Binary files /dev/null and b/kernel/tools/perf/files/patches/linux/patch-3.18.3.xz differ diff --git a/kernel/tools/perf/files/patches/linux/patch-3.19.1.xz b/kernel/tools/perf/files/patches/linux/patch-3.19.1.xz new file mode 100644 index 0000000000..105dd15ede Binary files /dev/null and b/kernel/tools/perf/files/patches/linux/patch-3.19.1.xz differ diff --git a/kernel/tools/perf/files/patches/linux/patch-3.19.3.xz b/kernel/tools/perf/files/patches/linux/patch-3.19.3.xz new file mode 100644 index 0000000000..2b27eb0f9d Binary files /dev/null and b/kernel/tools/perf/files/patches/linux/patch-3.19.3.xz differ diff --git a/kernel/tools/perf/files/patches/linux/patch-3.19.4.xz b/kernel/tools/perf/files/patches/linux/patch-3.19.4.xz new file mode 100644 index 0000000000..ec0a8590e1 Binary files /dev/null and b/kernel/tools/perf/files/patches/linux/patch-3.19.4.xz differ diff --git a/kernel/tools/perf/files/patches/linux/patch-3.19.5.xz b/kernel/tools/perf/files/patches/linux/patch-3.19.5.xz new file mode 100644 index 0000000000..f34c251616 Binary files /dev/null and b/kernel/tools/perf/files/patches/linux/patch-3.19.5.xz differ diff --git a/kernel/tools/perf/files/patches/linux/patch-3.19.6.xz b/kernel/tools/perf/files/patches/linux/patch-3.19.6.xz new file mode 100644 index 0000000000..f55c450afb Binary files /dev/null and b/kernel/tools/perf/files/patches/linux/patch-3.19.6.xz differ diff --git a/kernel/tools/perf/files/patches/linux/patch-3.19.8.xz b/kernel/tools/perf/files/patches/linux/patch-3.19.8.xz new file mode 100644 index 0000000000..b160f834e4 Binary files /dev/null and b/kernel/tools/perf/files/patches/linux/patch-3.19.8.xz differ diff --git a/kernel/tools/perf/files/patches/linux/patch-4.0.5.xz b/kernel/tools/perf/files/patches/linux/patch-4.0.5.xz new file mode 100644 index 0000000000..32856eae5f Binary files /dev/null and b/kernel/tools/perf/files/patches/linux/patch-4.0.5.xz differ diff --git a/kernel/tools/perf/pspec.xml b/kernel/tools/perf/pspec.xml new file mode 100644 index 0000000000..847309c790 --- /dev/null +++ b/kernel/tools/perf/pspec.xml @@ -0,0 +1,601 @@ + + + + + perf + http://www.kernel.org + + Ertuğrul Erata + ertugrulerata@gmail.com + + GPLv2 + app:gui + Performance analyser tool that makes full use of the Linux performance counter subsystem + perf is a new tool which is used to optimize, validate and measure applications, workloads or the full system through the Linux performance counter subsystem. + https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.0.tar.gz + + gtk2-devel + unifdef + elfutils + diffutils + newt-devel + xmlto + asciidoc + pciutils-devel + numactl-devel + glibc-32bit + python-devel + slang-devel + glib2-devel + zlib-devel + perl + + + + patches/linux/patch-4.0.5.xz + + + + + perf + + newt + elfutils + gtk2 + numactl + libunwind + glibc-32bit + python + slang + glib2 + zlib + perl + + + /etc + /usr/bin + /usr/lib + /usr/libexec + /usr/include + /usr/share/man/ + + + + + 2015-06-16 + 4.0.5 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-22 + 3.19.8 + Version bump to 3.19.8 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-05 + 3.19.6 + Version bump to 3.19.6 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-16 + 3.19.5 + Version bump to 3.19.5 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-16 + 3.19.4 + Version bump to 3.19.4 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-02 + 3.19.3 + Version Bump to 3.19.3 + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-03-08 + 3.19.1 + Version bump to 3.19.1 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-03-01 + 3.19.0 + Version bump + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-28 + 3.18.3 + Version bump + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-08 + 3.18.1 + Version bump to 3.18.1 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.1 + security + + systemRestart + + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-11-28 + 3.17.4 + Version bump to 3.17.4 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.4 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-10-18 + 3.17.1 + Version bump to 3.17.1 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.1 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-09-19 + 3.16.3 + Version bump to 3.16.3 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.16.3 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-09-03 + 3.16.1 + Version bump to 3.16.1 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.16.1 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-07-24 + 3.15.6 + Version bump to 3.15.6 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.6 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-06-15 + 3.15.0 + Version bump to 3.15 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-27 + 3.14.4 + Version bump to 3.14.4 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.4 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-02 + 3.14.2 + Version bump to 3.14.2 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.2 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-04-15 + 3.13.10 + Version bump to 3.13.10 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.13.10 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-22 + 3.13.6 + Version bump to 3.13.6 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.13.6 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-01 + 3.12.13 + Version bump to 3.12.13 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.13 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-01-16 + 3.12.8 + Version bump to 3.12.8 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.8 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-12-17 + 3.12.5 + Add Maegia patch series and some cpu usage improvements. + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-12-12 + 3.12.5 + Version bump to 3.12.5 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.5 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-23 + 3.10.20 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.20 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-05 + 3.10.18 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.18 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-10-07 + 3.10.15 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.15 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-09-27 + 3.10.13 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.13 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-09-15 + 3.10.12 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.12 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-29 + 3.10.10 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.10 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-20 + 3.10.9 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.9 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-12 + 3.10.6 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.6 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-11 + 3.10.5 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.5 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-01 + 3.10.4 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.4 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-07-17 + 3.10.2 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.2 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-07-17 + 3.10.1 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.1 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-07-04 + 3.10.0 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-06-21 + 3.8.13 + Fix TSC calibration failure + security + + systemRestart + + Marcin Bojara + marcin@pisilinux.org + + + 2013-06-15 + 3.8.13 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.13 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-04-18 + 3.8.8 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.8 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-03-31 + 3.8.5 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.5 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-03-25 + 3.8.4 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.4 + security + + systemRestart + + Yoyo Fernández + admins@pisilinux.org + + + 2013-03-14 + 3.8.3 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.3 + security + + systemRestart + + Richard de Bruin + admins@pisilinux.org + + + 2013-03-06 + 3.8.2 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.2 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-03-03 + 3.8.1 + update to current line + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-02-22 + 3.8.0 + update to final line with patch + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-02-17 + 3.8.0 + obsoletemans wifi fixing + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-02-12 + 3.8.0 + bump to -rc7 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-02-06 + 3.7.6 + http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.7.6 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-01-28 + 3.7.5 + http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.7.5 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-01-18 + 3.7.4 + http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.7.4 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-01-15 + 3.7.2 + First release + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/multimedia/graphics/jbigkit/actions.py b/multimedia/graphics/jbigkit/actions.py new file mode 100644 index 0000000000..5760fc26ae --- /dev/null +++ b/multimedia/graphics/jbigkit/actions.py @@ -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="jbigkit" + +def build(): + autotools.make("CC=%s CFLAGS='%s'" % (get.CC(), get.CFLAGS())) + +def check(): + autotools.make("test") + +def install(): + autotools.rawInstall("DESTDIR=%s prefix=/usr libdir=/usr/lib" % get.installDIR()) + + pisitools.doman("pbmtools/jbgtopbm.1", "pbmtools/pbmtojbg.1") + pisitools.dodoc("ANNOUNCE", "CHANGES", "COPYING", "TODO") diff --git a/multimedia/graphics/jbigkit/files/jbigkit-2.0-shared.diff b/multimedia/graphics/jbigkit/files/jbigkit-2.0-shared.diff new file mode 100644 index 0000000000..d0598e4310 --- /dev/null +++ b/multimedia/graphics/jbigkit/files/jbigkit-2.0-shared.diff @@ -0,0 +1,186 @@ +diff -Naur jbigkit/libjbig/Makefile jbigkit.oden/libjbig/Makefile +--- jbigkit/libjbig/Makefile 2008-08-30 19:20:52.000000000 +0200 ++++ jbigkit.oden/libjbig/Makefile 2009-01-31 20:12:02.000000000 +0100 +@@ -3,27 +3,51 @@ + + # Select an ANSI/ISO C compiler here, GNU gcc is recommended + CC = gcc ++CFLAGS = -g -O2 -Wall -ansi -pedantic -fPIC # --coverage ++LDFLAGS = + +-# Options for the compiler: A high optimization level is suggested +-CFLAGS = -g -O -Wall -ansi -pedantic # --coverage +- +-all: libjbig.a tstcodec tstcodec85 +- +-tstcodec: tstcodec.o jbig.o jbig_ar.o +- $(CC) $(CFLAGS) -o tstcodec $+ +- +-tstcodec85: tstcodec85.o jbig85.o jbig_ar.o +- $(CC) $(CFLAGS) -o tstcodec85 $+ +- +-libjbig.a: jbig.o jbig_ar.o +- rm -f libjbig.a +- ar rc libjbig.a jbig.o jbig_ar.o +- -ranlib libjbig.a +- +-libjbig85.a: jbig85.o jbig_ar.o +- rm -f libjbig85.a +- ar rc libjbig85.a jbig85.o jbig_ar.o +- -ranlib libjbig85.a ++prefix=/usr/local ++libdir=$(prefix)/lib ++includedir=$(prefix)/include ++bindir=$(prefix)/bin ++mandir=$(prefix)/share/man ++ ++LT_CURRENT=1 ++LT_REVISION=0 ++LT_AGE=0 ++ ++all: libjbig.la libjbig85.la tstcodec tstcodec85 ++ ++tstcodec: tstcodec.o libjbig.la ++ libtool --mode=link --tag=CC $(CC) $(CFLAGS) $(LDFLAGS) \ ++ -o tstcodec tstcodec.o libjbig.la ++ ++tstcodec85: tstcodec85.o libjbig85.la ++ libtool --mode=link --tag=CC $(CC) $(CFLAGS) $(LDFLAGS) \ ++ -o tstcodec85 tstcodec85.o libjbig85.la ++ ++%.lo: %.c ++ libtool --mode=compile --tag=CC $(CC) $(CFLAGS) -c $*.c ++ ++libjbig.la: jbig.lo jbig_ar.lo ++ libtool --mode=link --tag=CC $(CC) $(LDFLAGS) \ ++ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ ++ -o libjbig.la jbig.lo jbig_ar.lo -rpath $(libdir) ++ ++libjbig85.la: jbig85.lo jbig_ar.lo ++ libtool --mode=link --tag=CC $(CC) $(LDFLAGS) \ ++ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ ++ -o libjbig85.la jbig85.lo jbig_ar.lo -rpath $(libdir) ++ ++jbig.lo: jbig.c jbig.h ++jbig85.lo: jbig85.c jbig.h ++ ++install: ++ install -m0755 -d $(DESTDIR)$(libdir) ++ install -m0755 -d $(DESTDIR)$(includedir) ++ libtool --mode=install install libjbig.la $(DESTDIR)$(libdir) ++ libtool --mode=install install libjbig85.la $(DESTDIR)$(libdir) ++ install -m0644 jbig85.h jbig_ar.h jbig.h $(DESTDIR)$(includedir) + + jbig.o: jbig.c jbig.h jbig_ar.h + jbig85.o: jbig85.c jbig85.h jbig_ar.h +@@ -46,3 +70,5 @@ + clean: + rm -f *.{o,gcda,gcno,gcov} *~ core gmon.out dbg_d\=??.pbm t82test.pbm + rm -f tstcodec tstcodec85 ++ rm -rf .libs ++ rm -f *.*o *.*a +diff -Naur jbigkit/Makefile jbigkit.oden/Makefile +--- jbigkit/Makefile 2008-08-30 22:40:22.000000000 +0200 ++++ jbigkit.oden/Makefile 2009-01-31 20:11:24.000000000 +0100 +@@ -10,8 +10,6 @@ + + CFLAGS = $(CCFLAGS) -I../libjbig + +-VERSION=2.0 +- + all: lib pbm + @echo "Enter 'make test' in order to start some automatic tests." + +@@ -25,6 +23,10 @@ + (cd libjbig; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" test) + (cd pbmtools; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" test) + ++install: ++ make -C libjbig install ++ make -C pbmtools install ++ + clean: + rm -f *~ core + (cd libjbig; make clean) +diff -Naur jbigkit/pbmtools/Makefile jbigkit.oden/pbmtools/Makefile +--- jbigkit/pbmtools/Makefile 2008-08-26 00:26:39.000000000 +0200 ++++ jbigkit.oden/pbmtools/Makefile 2009-01-31 20:11:24.000000000 +0100 +@@ -5,37 +5,50 @@ + CC = gcc + + # Options for the compiler +-CFLAGS = -g -Wall -ansi -pedantic -I../libjbig # --coverage ++CFLAGS = -g -Wall -ansi -pedantic -fPIC # --coverage ++CPPFLAGS = -I../libjbig ++LDFLAGS = ++ ++prefix=/usr/local ++libdir=$(prefix)/lib ++includedir=$(prefix)/include ++bindir=$(prefix)/bin ++mandir=$(prefix)/share/man + + .SUFFIXES: .1 .5 .txt $(SUFFIXES) + + all: pbmtojbg jbgtopbm pbmtojbg85 jbgtopbm85 \ + pbmtojbg.txt jbgtopbm.txt pbm.txt pgm.txt + +-pbmtojbg: pbmtojbg.o ../libjbig/libjbig.a +- $(CC) $(CFLAGS) -o pbmtojbg pbmtojbg.o -L../libjbig -ljbig +- +-jbgtopbm: jbgtopbm.o ../libjbig/libjbig.a +- $(CC) $(CFLAGS) -o jbgtopbm jbgtopbm.o -L../libjbig -ljbig +- +-pbmtojbg85: pbmtojbg85.o ../libjbig/libjbig85.a +- $(CC) $(CFLAGS) -o pbmtojbg85 pbmtojbg85.o -L../libjbig -ljbig85 +- +-jbgtopbm85: jbgtopbm85.o ../libjbig/libjbig85.a +- $(CC) $(CFLAGS) -o jbgtopbm85 jbgtopbm85.o -L../libjbig -ljbig85 ++pbmtojbg: pbmtojbg.o ../libjbig/libjbig.la ++ libtool --mode=link --tag=CC $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \ ++ -o pbmtojbg pbmtojbg.o ../libjbig/libjbig.la ++ ++jbgtopbm: jbgtopbm.o ../libjbig/libjbig.la ++ libtool --mode=link --tag=CC $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \ ++ -o jbgtopbm jbgtopbm.o ../libjbig/libjbig.la ++ ++pbmtojbg85: pbmtojbg85.o ../libjbig/libjbig85.la ++ libtool --mode=link --tag=CC $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \ ++ -o pbmtojbg85 pbmtojbg85.o ../libjbig/libjbig85.la ++ ++jbgtopbm85: jbgtopbm85.o ../libjbig/libjbig85.la ++ libtool --mode=link --tag=CC $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \ ++ -o jbgtopbm85 jbgtopbm85.o ../libjbig/libjbig85.la + + jbgtopbm.o: jbgtopbm.c ../libjbig/jbig.h + pbmtojbg.o: pbmtojbg.c ../libjbig/jbig.h + jbgtopbm85.o: jbgtopbm85.c ../libjbig/jbig85.h + pbmtojbg85.o: pbmtojbg85.c ../libjbig/jbig85.h + +-../libjbig/libjbig.a: ../libjbig/jbig.c ../libjbig/jbig.h \ +- ../libjbig/jbig_ar.c ../libjbig/jbig_ar.h +- make -C ../libjbig libjbig.a +- +-../libjbig/libjbig85.a: ../libjbig/jbig85.c ../libjbig/jbig85.h \ +- ../libjbig/jbig_ar.c ../libjbig/jbig_ar.h +- make -C ../libjbig libjbig85.a ++install: ++ install -m0755 -d $(DESTDIR)$(bindir) ++ install -m0755 -d $(DESTDIR)$(mandir)/man1 ++ install -m0755 -d $(DESTDIR)$(mandir)/man5 ++ libtool --mode=install install pbmtojbg jbgtopbm \ ++ pbmtojbg85 jbgtopbm85 $(DESTDIR)$(bindir) ++ install -m0644 pbmtojbg.1 jbgtopbm.1 $(DESTDIR)$(mandir)/man1 ++ install -m0644 pbm.5 pgm.5 $(DESTDIR)$(mandir)/man5 + + test: test82 test85 + +@@ -149,6 +162,7 @@ + groff -man -Tascii -P -c -P -b -P -u $< >$@ + + clean: +- rm -f *.o *~ core pbmtojbg jbgtopbm pbmtojbg85 jbgtopbm85 ++ rm -f *.*o *.*a *~ core pbmtojbg jbgtopbm pbmtojbg85 jbgtopbm85 + rm -f test-*.jbg test-*.pbm test-*.pgm test-*.jbg85 test-*.pbm85 + rm -f *.gcda *.gcno ++ rm -rf .libs diff --git a/multimedia/graphics/jbigkit/pspec.xml b/multimedia/graphics/jbigkit/pspec.xml new file mode 100644 index 0000000000..73cfd7c99e --- /dev/null +++ b/multimedia/graphics/jbigkit/pspec.xml @@ -0,0 +1,66 @@ + + + + + jbigkit + http://www.cl.cam.ac.uk/~mgk25/jbigkit/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + app:console + A portable library of compression and decompression functions + JBIG-KIT implements a highly effective data compression algorithm for bi-level high-resolution images such as fax pages or scanned documents. + http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz + + jbigkit-2.0-shared.diff + + + + + jbigkit + + /usr/share/doc + /usr/share/man + /usr/bin + /usr/lib + + + + + jbigkit-devel + Development files for jbigkit + + jbigkit + + + /usr/include + + + + + + 2014-05-19 + 2.0 + Release bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-01-27 + 2.0 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2010-10-12 + 2.0 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/multimedia/graphics/jbigkit/translations.xml b/multimedia/graphics/jbigkit/translations.xml new file mode 100644 index 0000000000..e7e5f9c5cc --- /dev/null +++ b/multimedia/graphics/jbigkit/translations.xml @@ -0,0 +1,13 @@ + + + + jbigkit + Taşınabilir bir sıkıştırma kitaplığı + jbigkit, faks sayfaları ve taranmış belgeler gibi yüksek çözünürlüklü görüntüler için, yüksek performanslı bir sıkıştırma kitaplığıdır. + + + + jbigkit-devel + jbigkit için geliştirme dosyaları + + diff --git a/multimedia/graphics/lcms2/actions.py b/multimedia/graphics/lcms2/actions.py new file mode 100644 index 0000000000..326e552f87 --- /dev/null +++ b/multimedia/graphics/lcms2/actions.py @@ -0,0 +1,27 @@ +#!/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(): + autotools.configure("--disable-dependency-tracking \ + --disable-static \ + --with-jpeg \ + --with-tiff \ + --with-zlib \ + --libdir=/usr/lib%s \ + " % ("32" if get.buildTYPE() == "emul32" else "")) + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README.1ST") diff --git a/multimedia/graphics/lcms2/pspec.xml b/multimedia/graphics/lcms2/pspec.xml new file mode 100644 index 0000000000..6ac7654dcf --- /dev/null +++ b/multimedia/graphics/lcms2/pspec.xml @@ -0,0 +1,98 @@ + + + + + lcms2 + http://www.littlecms.com + + PisiLinux Community + admins@pisilinux.org + + MIT + app:console + library + A color management library. + Little cms is a color management library. Implements fast transforms between ICC profiles. It is focused on speed, and is portable across several platforms. + http://sourceforge.net/projects/lcms/files/lcms/2.6/lcms2-2.6.tar.gz + + libjpeg-turbo-devel + tiff-devel + + + + + lcms2 + + libjpeg-turbo + tiff + + + /usr/bin + /usr/lib + /usr/share/lcms/ + /usr/share/man + /usr/share/doc + + + + + lcms2-devel + Development files for lcms2 + + lcms2 + + + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + /usr/include + + + + + lcms2-32bit + 32-bit shared libraries for lcms2 + emul32 + + tiff-32bit + libjpeg-turbo-32bit + + + lcms2 + glibc-32bit + + + /usr/lib32 + + + + + + 2014-05-15 + 2.6 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2014-01-29 + 2.5 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2013-07-02 + 2.5 + Version bump + Marcin Bojara + marcin@pisilinux.org + + + 2012-10-31 + 2.3 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/multimedia/graphics/lcms2/translations.xml b/multimedia/graphics/lcms2/translations.xml new file mode 100644 index 0000000000..4c3d013f41 --- /dev/null +++ b/multimedia/graphics/lcms2/translations.xml @@ -0,0 +1,9 @@ + + + + lcms + Hız geliştirmesi yapılmış, hafif bir renk yönetim motoru + Moteur de gestion de couleurs léger et optimisé pour la vitesse. + Biblioteka do konwersji między profilami kolorów. + + \ No newline at end of file diff --git a/multimedia/graphics/libjpeg-turbo/pspec.xml b/multimedia/graphics/libjpeg-turbo/pspec.xml index 087f15ac97..588011af0f 100644 --- a/multimedia/graphics/libjpeg-turbo/pspec.xml +++ b/multimedia/graphics/libjpeg-turbo/pspec.xml @@ -51,7 +51,11 @@ emul32 32-bit shared libraries for jpeg emul32 + + glibc-32bit + + glibc-32bit libjpeg-turbo diff --git a/multimedia/graphics/tiff/pspec.xml b/multimedia/graphics/tiff/pspec.xml index 3dc29b051f..a2f0f119ab 100644 --- a/multimedia/graphics/tiff/pspec.xml +++ b/multimedia/graphics/tiff/pspec.xml @@ -67,8 +67,8 @@ tiff libjpeg-turbo-32bit - xz-32bit - zlib-32bit + glibc-32bit + libgcc /usr/lib32 diff --git a/office/component.xml b/office/component.xml new file mode 100644 index 0000000000..4f9c1eb549 --- /dev/null +++ b/office/component.xml @@ -0,0 +1,3 @@ + + office + diff --git a/office/postscript/component.xml b/office/postscript/component.xml new file mode 100644 index 0000000000..6dd44fff51 --- /dev/null +++ b/office/postscript/component.xml @@ -0,0 +1,3 @@ + + office.postscript + diff --git a/office/postscript/ghostscript/actions.py b/office/postscript/ghostscript/actions.py new file mode 100644 index 0000000000..f42f80ddef --- /dev/null +++ b/office/postscript/ghostscript/actions.py @@ -0,0 +1,60 @@ +#!/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(): + # Remove local copies for system libs + for directory in ["cups/libs", "expat", "freetype", "jpeg", "lcms", "lcms2", "libpng", "openjpeg", "tiff", "zlib"]: + shelltools.unlinkDir(directory) + + #pisitools.flags.add("-fno-strict-aliasing") + + autotools.autoreconf("-fi") + + options = "--disable-compile-inits \ + --disable-gtk \ + --enable-dynamic \ + --with-system-libtiff \ + --with-ijs \ + --with-drivers=ALL \ + --with-libpaper \ + --with-jbig2dec \ + --enable-fontconfig \ + --enable-freetype \ + --without-luratech \ + --with-system-libtiff \ + --without-omni \ + --with-x \ + --with-fontpath=/usr/share/fonts:/usr/share/fonts/default/ghostscript:/usr/share/cups/fonts:/usr/share/fonts/TTF:/usr/share/fonts/Type1:/usr/share/poppler/cMap/*" + options += " --disable-cups --includedir=/usr/include --libdir=/usr/lib32" if get.buildTYPE() == "emul32" else " --enable-cups --with-install-cups" + + autotools.configure(options) + + shelltools.cd("ijs/") + pisitools.dosed("configure.ac", "AM_PROG_CC_STDC", "AC_PROG_CC") + shelltools.system("./autogen.sh \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-static \ + --enable-shared") + +def build(): + autotools.make("-C ijs") + autotools.make("so") + autotools.make("-j1") + if not get.buildTYPE() == "emul32": autotools.make("cups") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "soinstall") + if not get.buildTYPE() == "emul32": autotools.rawInstall("-C ijs DESTDIR=%s" % get.installDIR()) + + pisitools.dohtml("doc/*") + pisitools.dodoc("doc/AUTHORS", "doc/COPYING") diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-Fontmap.local.patch b/office/postscript/ghostscript/files/fedora/ghostscript-Fontmap.local.patch new file mode 100644 index 0000000000..3d1fee2560 --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-Fontmap.local.patch @@ -0,0 +1,9 @@ +diff -up ghostscript-8.71/Resource/Init/Fontmap.Fontmap.local ghostscript-8.71/Resource/Init/Fontmap +--- ghostscript-8.71/Resource/Init/Fontmap.Fontmap.local 2008-08-08 05:22:38.000000000 +0100 ++++ ghostscript-8.71/Resource/Init/Fontmap 2010-09-03 11:53:47.273865979 +0100 +@@ -2,3 +2,5 @@ + % See Fontmap.GS for the syntax of real Fontmap files. + %% Replace 1 (Fontmap.GS) + (Fontmap.GS) .runlibfile ++% must be at the bottom of line to allow people overriding everything. ++(Fontmap.local) .runlibfileifexists diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-gdevcups-debug-uninit.patch b/office/postscript/ghostscript/files/fedora/ghostscript-gdevcups-debug-uninit.patch new file mode 100644 index 0000000000..9122d1fc95 --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-gdevcups-debug-uninit.patch @@ -0,0 +1,11 @@ +diff -up ghostscript-9.07/cups/gdevcups.c.gdevcups-debug-uninit ghostscript-9.07/cups/gdevcups.c +--- ghostscript-9.07/cups/gdevcups.c.gdevcups-debug-uninit 2013-02-14 07:58:16.000000000 +0000 ++++ ghostscript-9.07/cups/gdevcups.c 2013-02-14 17:16:59.677951232 +0000 +@@ -830,6 +830,7 @@ cups_get_matrix(gx_device *pdev, /* I - + dmprintf4(pdev->memory, "DEBUG2: PageSize = [ %d %d ], HWResolution = [ %d %d ]\n", + cups->header.PageSize[0], cups->header.PageSize[1], + cups->header.HWResolution[0], cups->header.HWResolution[1]); ++ if (size_set) + dmprintf4(pdev->memory, "DEBUG2: HWMargins = [ %.3f %.3f %.3f %.3f ]\n", + pdev->HWMargins[0], pdev->HWMargins[1], pdev->HWMargins[2], + pdev->HWMargins[3]); diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-gs694154.patch b/office/postscript/ghostscript/files/fedora/ghostscript-gs694154.patch new file mode 100644 index 0000000000..248aebbbe7 --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-gs694154.patch @@ -0,0 +1,12 @@ +diff -up ghostscript-9.12/base/gsicc.c.gs694154 ghostscript-9.12/base/gsicc.c +--- ghostscript-9.12/base/gsicc.c.gs694154 2014-03-25 08:52:16.000000000 +0000 ++++ ghostscript-9.12/base/gsicc.c 2014-03-26 11:32:31.406034840 +0000 +@@ -468,6 +468,8 @@ gx_remap_ICC_imagelab(const gs_client_co + cmm_dev_profile_t *dev_profile; + + code = dev_proc(dev, get_profile)(dev, &dev_profile); ++ if (dev_profile == NULL) ++ return gs_throw(gs_error_Fatal, "Attempting to do ICC remap with no profile"); + num_des_comps = gsicc_get_device_profile_comps(dev_profile); + rendering_params.black_point_comp = pis->blackptcomp; + rendering_params.graphics_type_tag = dev->graphics_type_tag; diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-icc-missing-check.patch b/office/postscript/ghostscript/files/fedora/ghostscript-icc-missing-check.patch new file mode 100644 index 0000000000..9b9109ae37 --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-icc-missing-check.patch @@ -0,0 +1,12 @@ +diff -up ghostscript-9.12/base/gsicc_manage.c.icc-missing-check ghostscript-9.12/base/gsicc_manage.c +--- ghostscript-9.12/base/gsicc_manage.c.icc-missing-check 2014-03-26 11:31:11.296570797 +0000 ++++ ghostscript-9.12/base/gsicc_manage.c 2014-03-26 11:32:10.384912584 +0000 +@@ -613,6 +613,8 @@ gsicc_set_srcgtag_struct(gsicc_manager_t + icc_profile = + gsicc_profile_new(str, mem, curr_ptr, strlen(curr_ptr)); + code = sfclose(str); ++ } ++ if (str != NULL && icc_profile != NULL) { + gsicc_init_profile_info(icc_profile); + cmm = gsCMM_DEFAULT; + /* Check if this object is a devicelink profile. diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-iccprofiles-initdir.patch b/office/postscript/ghostscript/files/fedora/ghostscript-iccprofiles-initdir.patch new file mode 100644 index 0000000000..b47511ced6 --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-iccprofiles-initdir.patch @@ -0,0 +1,35 @@ +diff -up ghostscript-9.06/base/gsicc_manage.c.iccprofiles-initdir ghostscript-9.06/base/gsicc_manage.c +--- ghostscript-9.06/base/gsicc_manage.c.iccprofiles-initdir 2012-08-09 13:58:22.102364807 +0100 ++++ ghostscript-9.06/base/gsicc_manage.c 2012-08-09 14:09:24.495864641 +0100 +@@ -38,6 +38,7 @@ + #include "gsicc_create.h" + #include "gpmisc.h" + #include "gxdevice.h" ++#include "gxiodev.h" + + #define ICC_HEADER_SIZE 128 + +@@ -2176,8 +2177,21 @@ gs_currenticcdirectory(const gs_state * + const gs_lib_ctx_t *lib_ctx = pgs->memory->gs_lib_ctx; + + if (lib_ctx->profiledir == NULL) { +- pval->data = (const byte *)rfs; +- pval->size = strlen(rfs); ++ int have_rom_device = 0; ++ int i; ++ ++ for (i = 0; i < gx_io_device_table_count; i++) { ++ const gx_io_device *iodev = lib_ctx->io_device_table[i]; ++ const char *dname = iodev->dname; ++ ++ if (dname && strlen(dname) == 5 && !memcmp("%rom%", dname, 5)) { ++ have_rom_device = 1; ++ break; ++ } ++ } ++ ++ pval->data = (const byte *)(have_rom_device ? rfs : ""); ++ pval->size = strlen((const char *)pval->data); + pval->persistent = true; + } else { + pval->data = (const byte *)(lib_ctx->profiledir); diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-multilib.patch b/office/postscript/ghostscript/files/fedora/ghostscript-multilib.patch new file mode 100644 index 0000000000..27bf5e663a --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-multilib.patch @@ -0,0 +1,14 @@ +diff -up ghostscript-8.61/ijs/Makefile.am.multilib ghostscript-8.61/ijs/Makefile.am +diff -up ghostscript-8.61/ijs/ijs-config.in.multilib ghostscript-8.61/ijs/ijs-config.in +--- ghostscript-8.61/ijs/ijs-config.in.multilib 2002-01-31 19:09:46.000000000 +0000 ++++ ghostscript-8.61/ijs/ijs-config.in 2007-11-23 09:19:18.000000000 +0000 +@@ -43,8 +43,7 @@ while test $# -gt 0; do + echo $includes + ;; + --libs) +- libdirs=-L@libdir@ +- echo $libdirs -lijs ++ echo -lijs + ;; + *) + echo "${usage}" 1>&2 diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-noopt.patch b/office/postscript/ghostscript/files/fedora/ghostscript-noopt.patch new file mode 100644 index 0000000000..589cf822b5 --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-noopt.patch @@ -0,0 +1,12 @@ +diff -up ghostscript-8.64/psi/int.mak.noopt ghostscript-8.64/psi/int.mak +--- ghostscript-8.64/psi/int.mak.noopt 2008-12-26 07:25:31.000000000 +0000 ++++ ghostscript-8.64/psi/int.mak 2009-02-04 11:33:48.000000000 +0000 +@@ -111,7 +111,7 @@ $(PSOBJ)igc.$(OBJ) : $(PSSRC)igc.c $(GH) + $(PSOBJ)igcref.$(OBJ) : $(PSSRC)igcref.c $(GH) $(memory__h)\ + $(gsexit_h) $(gsstruct_h)\ + $(iastate_h) $(idebug_h) $(igc_h) $(iname_h) $(ipacked_h) $(store_h) +- $(PSCC) $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c ++ $(PSCC) -O0 $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c + + $(PSOBJ)igcstr.$(OBJ) : $(PSSRC)igcstr.c $(GH) $(memory__h)\ + $(gsmdebug_h) $(gsstruct_h) $(iastate_h) $(igcstr_h) diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-runlibfileifexists.patch b/office/postscript/ghostscript/files/fedora/ghostscript-runlibfileifexists.patch new file mode 100644 index 0000000000..03b731c5d3 --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-runlibfileifexists.patch @@ -0,0 +1,52 @@ +diff -up ghostscript-9.12/Resource/Init/gs_fonts.ps.runlibfileifexists ghostscript-9.12/Resource/Init/gs_fonts.ps +--- ghostscript-9.12/Resource/Init/gs_fonts.ps.runlibfileifexists 2014-03-25 08:52:16.000000000 +0000 ++++ ghostscript-9.12/Resource/Init/gs_fonts.ps 2014-03-26 12:01:48.248748767 +0000 +@@ -95,10 +95,19 @@ userdict /Fontmap .FontDirectory maxleng + % stack: dict file fontname filename|aliasname + 1 index type /stringtype eq + 1 index type /nametype eq and 1 index xcheck and +- 1 index /run eq 2 index /.runlibfile eq or and { ++ 1 index /run eq 2 index /.runlibfile eq 3 index /.runlibfileifexists eq or or and { + % This is an inclusion entry. +- pop findlibfile { exch pop } { file } ifelse +- 2 index exch .readFontmap pop ++ 0 index /.runlibfileifexists eq { ++ pop findlibfile { ++ exch pop ++ 2 index exch .readFontmap pop ++ } { ++ pop ++ } ifelse ++ } { ++ pop findlibfile { exch pop } { file } ifelse ++ 2 index exch .readFontmap pop ++ } ifelse + } { + % This is a real entry. + % Read and pop tokens until a semicolon. +diff -up ghostscript-9.12/Resource/Init/gs_init.ps.runlibfileifexists ghostscript-9.12/Resource/Init/gs_init.ps +--- ghostscript-9.12/Resource/Init/gs_init.ps.runlibfileifexists 2014-03-25 08:52:16.000000000 +0000 ++++ ghostscript-9.12/Resource/Init/gs_init.ps 2014-03-26 12:01:48.248748767 +0000 +@@ -681,6 +681,14 @@ systemdict /internaldict dup .makeintern + { /undefinedfilename signalerror } + ifelse + } bind def ++/runlibfileifexists ++ { % We don't want to bind 'run' into this procedure, ++ % since run may get redefined. ++ findlibfile ++ { exch pop /run .systemvar exec } ++ { pop } ++ ifelse ++ } bind def + /selectdevice + { finddevice setdevice .setdefaultscreen } bind def + /signalerror % signalerror - +@@ -849,6 +857,7 @@ userdict /.currentresourcefile //null pu + } bind def + % Temporarily substitute it for the real runlibfile. + /.runlibfile /runlibfile load def ++/.runlibfileifexists /runlibfileifexists load def + /runlibfile /runlibfile0 load def + + % Create the error handling machinery. diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-scripts.patch b/office/postscript/ghostscript/files/fedora/ghostscript-scripts.patch new file mode 100644 index 0000000000..2f050c26ab --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-scripts.patch @@ -0,0 +1,10 @@ +diff -up ghostscript-9.00/lib/dvipdf.scripts ghostscript-9.00/lib/dvipdf +--- ghostscript-9.00/lib/dvipdf.scripts 2010-06-03 01:32:07.000000000 +0100 ++++ ghostscript-9.00/lib/dvipdf 2010-09-23 09:56:35.592796899 +0100 +@@ -44,4 +44,4 @@ fi + + # We have to include the options twice because -I only takes effect if it + # appears before other options. +-exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - ++exec dvips -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - + diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-sys-zlib.patch b/office/postscript/ghostscript/files/fedora/ghostscript-sys-zlib.patch new file mode 100644 index 0000000000..d33895a678 --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-sys-zlib.patch @@ -0,0 +1,24 @@ +diff -up ghostscript-9.12/configure.ac.sys-zlib ghostscript-9.12/configure.ac +--- ghostscript-9.12/configure.ac.sys-zlib 2014-03-26 11:48:54.983972222 +0000 ++++ ghostscript-9.12/configure.ac 2014-03-26 11:49:36.807230531 +0000 +@@ -854,7 +854,7 @@ AC_MSG_CHECKING([for local zlib source]) + dnl zlib is needed for language level 3, and libpng + # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR) + # this seems a harmless default +-ZLIBDIR=src ++ZLIBDIR=$includedir + AUX_SHARED_ZLIB= + + if test -d $srcdir/zlib; then +diff -up ghostscript-9.12/configure.sys-zlib ghostscript-9.12/configure +--- ghostscript-9.12/configure.sys-zlib 2014-03-26 11:49:45.547284521 +0000 ++++ ghostscript-9.12/configure 2014-03-26 11:49:56.171350127 +0000 +@@ -6254,7 +6254,7 @@ fi + $as_echo_n "checking for local zlib source... " >&6; } + # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR) + # this seems a harmless default +-ZLIBDIR=src ++ZLIBDIR=$includedir + AUX_SHARED_ZLIB= + + if test -d $srcdir/zlib; then diff --git a/office/postscript/ghostscript/files/fedora/ghostscript-wrf-snprintf.patch b/office/postscript/ghostscript/files/fedora/ghostscript-wrf-snprintf.patch new file mode 100644 index 0000000000..74d8c2a5c6 --- /dev/null +++ b/office/postscript/ghostscript/files/fedora/ghostscript-wrf-snprintf.patch @@ -0,0 +1,22 @@ +diff -up ghostscript-9.07/base/wrfont.c.wrf-snprintf ghostscript-9.07/base/wrfont.c +--- ghostscript-9.07/base/wrfont.c.wrf-snprintf 2013-07-01 13:02:33.373244683 +0100 ++++ ghostscript-9.07/base/wrfont.c 2013-07-01 13:04:55.022864299 +0100 +@@ -72,7 +72,8 @@ WRF_wfloat(WRF_output * a_output, double + { + char buffer[32]; + +- gs_sprintf(buffer, "%f", a_float); ++ if (gs_snprintf(buffer, sizeof (buffer), "%f", a_float) >= sizeof (buffer)) ++ abort(); + WRF_wstring(a_output, buffer); + } + +@@ -81,6 +82,7 @@ WRF_wint(WRF_output * a_output, long a_i + { + char buffer[32]; + +- gs_sprintf(buffer, "%ld", a_int); ++ if (gs_snprintf(buffer, sizeof (buffer), "%ld", a_int) >= sizeof (buffer)) ++ abort(); + WRF_wstring(a_output, buffer); + } diff --git a/office/postscript/ghostscript/files/ubuntu/02_gs-man-fix-for-debian.patch b/office/postscript/ghostscript/files/ubuntu/02_gs-man-fix-for-debian.patch new file mode 100644 index 0000000000..8711ed8daa --- /dev/null +++ b/office/postscript/ghostscript/files/ubuntu/02_gs-man-fix-for-debian.patch @@ -0,0 +1,37 @@ +diff -urNad ghostscript-8.64.dfsg.1~svn9323~/man/gs.1 ghostscript-8.64.dfsg.1~svn9323/man/gs.1 +--- ghostscript-8.64.dfsg.1~svn9323~/man/gs.1 2009-01-05 19:08:07.000000000 +0900 ++++ ghostscript-8.64.dfsg.1~svn9323/man/gs.1 2009-01-05 19:50:58.000000000 +0900 +@@ -295,18 +295,18 @@ + are typically based in \fBC:\\GS\fR, but may be elsewhere, especially if + you install Ghostscript with \fBGSview\fR. Run "\fBgs -h\fR" to find the + location of Ghostscript documentation on your system, from which you can +-get more details. ++get more details. On a Pisi Linux system they are in \fB/usr\fR. + .TP +-.B /usr/local/share/ghostscript/#.##/* ++.B /usr/share/ghostscript/#.##/* + Startup files, utilities, and basic font definitions + .TP +-.B /usr/local/share/ghostscript/fonts/* ++.B /usr/share/fonts/type1/gsfonts/* + More font definitions + .TP +-.B /usr/local/share/ghostscript/#.##/examples/* ++.B /usr/share/doc/ghostscript/examples/* + Ghostscript demonstration files + .TP +-.B /usr/local/share/ghostscript/#.##/doc/* ++.B /usr/share/doc/ghostscript/* + Diverse document files + .SH "INITIALIZATION FILES" + When looking for the initialization files "gs_*.ps", the files related to +@@ -330,7 +330,8 @@ + Ghostscript makefile when the executable was built. When \fBgs\fR is built + on Unix, \fBGS_LIB_DEFAULT\fR is usually + "/usr/local/share/ghostscript/#.##:/usr/local/share/ghostscript/fonts" +-where "#.##" represents the Ghostscript version number. ++where "#.##" represents the Ghostscript version number. They are ++"/usr/share/ghostscript/#.##" on a Debian system. + .PP + Each of these (\fBGS_LIB_DEFAULT\fR, \fBGS_LIB\fR, and \fB\-I\fR parameter) + may be either a single directory or a list of directories separated by diff --git a/office/postscript/ghostscript/pspec.xml b/office/postscript/ghostscript/pspec.xml new file mode 100644 index 0000000000..d64b8d57bd --- /dev/null +++ b/office/postscript/ghostscript/pspec.xml @@ -0,0 +1,182 @@ + + + + + ghostscript + http://www.ghostscript.com + + PisiLinux Community + admins@pisilinux.org + + GPLv3+ + library + A PostScript interpreter and renderer + ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures and an interpreter for PDF files. ghostscript is normally used to display PostScript files and to print PostScript files to non-PostScript printers. + http://downloads.ghostscript.com/public/ghostscript-9.15.tar.bz2 + + tiff-devel + libjpeg-turbo-devel + lcms2-devel + libXt-devel + libpng-devel + jasper-devel + libpaper-devel + fontconfig-devel + poppler-data + + + + ubuntu/02_gs-man-fix-for-debian.patch + + + fedora/ghostscript-Fontmap.local.patch + fedora/ghostscript-gdevcups-debug-uninit.patch + fedora/ghostscript-iccprofiles-initdir.patch + fedora/ghostscript-multilib.patch + fedora/ghostscript-noopt.patch + fedora/ghostscript-runlibfileifexists.patch + fedora/ghostscript-scripts.patch + fedora/ghostscript-sys-zlib.patch + fedora/ghostscript-icc-missing-check.patch + fedora/ghostscript-wrf-snprintf.patch + fedora/ghostscript-gs694154.patch + + + + + ghostscript + + libjpeg-turbo + tiff + lcms2 + libXt + jasper + libpaper + fontconfig + + poppler-data + gnu-gs-fonts-std + + + /usr/bin + /usr/lib + /usr/share/man + /usr/share/doc + /usr/share/cups + /usr/share/ghostscript + + + + + + ghostscript-docs + Documentation for ghostscript + + /usr/share/doc/ghostscript/html + /usr/share/doc/ghostscript/examples + + + + + ghostscript-devel + Development files for ghostscript + + ghostscript + + + /usr/bin/ijs-config + /usr/include/ghostscript + /usr/include/ijs + /usr/lib/pkgconfig + + + + + ghostscript-32bit + emul32 + 32-bit shared libraries for ghostscript + emul32 + + libjpeg-turbo-32bit + xz-32bit + zlib-32bit + tiff-32bit + lcms2-32bit + libXt-32bit + libX11-32bit + jasper-32bit + libpng-32bit + libidn-32bit + freetype-32bit + fontconfig-32bit + + + ghostscript + libjpeg-turbo-32bit + xz-32bit + zlib-32bit + tiff-32bit + lcms2-32bit + libXt-32bit + libX11-32bit + jasper-32bit + libpng-32bit + libidn-32bit + freetype-32bit + fontconfig-32bit + + + /usr/lib32 + + + + + + 2015-03-04 + 9.15 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2014-05-20 + 9.14 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-09-21 + 9.10 + Version bump. + Aydın Demirel + aydin.demirel@pisilinux.org + + + 2013-06-27 + 9.07 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-01-22 + 9.06 + Add emul32, fix dependencies + Marcin Bojara + marcin@pisilinux.org + + + 2012-09-12 + 9.06 + First release + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + diff --git a/office/postscript/ghostscript/translations.xml b/office/postscript/ghostscript/translations.xml new file mode 100644 index 0000000000..e46ace2d36 --- /dev/null +++ b/office/postscript/ghostscript/translations.xml @@ -0,0 +1,18 @@ + + + + ghostscript + Bir PostScript yorumlayıcısı ve üreticisi + ghostscript, PostScript yorumlayıcısı, C kitaplığı ve PDF yorumlayıcısı içeren bir yazılım paketidir. ghostscript, PostScript dosyalarının görüntülenmesi ve PostScript olmayan yazıcılardan PostScript dosyalarının çıktılarının alınması için kullanılmaktadır. + + + + ghostscript-docs + ghostscript için çeşitli belgeler + + + + ghostscript-devel + ghostscript için geliştirme dosyaları + + diff --git a/office/postscript/poppler-data/actions.py b/office/postscript/poppler-data/actions.py new file mode 100644 index 0000000000..38d0110043 --- /dev/null +++ b/office/postscript/poppler-data/actions.py @@ -0,0 +1,14 @@ +#!/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 + +def install(): + autotools.rawInstall("DESTDIR=%s datadir=/usr/share/" % get.installDIR()) + + pisitools.dodoc("COPYING*", "README") diff --git a/office/postscript/poppler-data/pspec.xml b/office/postscript/poppler-data/pspec.xml new file mode 100644 index 0000000000..424f15ccff --- /dev/null +++ b/office/postscript/poppler-data/pspec.xml @@ -0,0 +1,65 @@ + + + + + poppler-data + http://poppler.freedesktop.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + BSD + data + Poppler encoding files + poppler-data consists of encoding files for poppler. When installed, the encoding files enables poppler to correctly render CJK and Cyrillic properly. + http://poppler.freedesktop.org/poppler-data-0.4.7.tar.gz + + + + poppler-data + + /usr/share/doc + /usr/share/poppler + /usr/share/pkgconfig + + + + + + 2015-03-05 + 0.4.7 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2014-05-25 + 0.4.6 + Rebuild + Alihan Öztürk + alihan@pisilinux.org + + + 2014-03-10 + 0.4.6 + Rebuild + Varol Maksutoğlu + waroi@pisilinux.org + + + 2013-04-17 + 0.4.6 + Version bump + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2012-09-12 + 0.4.5 + First release + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + \ No newline at end of file diff --git a/office/postscript/poppler-data/translations.xml b/office/postscript/poppler-data/translations.xml new file mode 100644 index 0000000000..cafb3843f3 --- /dev/null +++ b/office/postscript/poppler-data/translations.xml @@ -0,0 +1,8 @@ + + + + poppler-data + Poppler kodlama dosyaları + poppler-data, poppler için CJK ve Kiril harflerini düzgünce gösterebilmek için gerekli kodlama dosyalarını içerir. + + diff --git a/office/postscript/poppler/actions.py b/office/postscript/poppler/actions.py new file mode 100644 index 0000000000..78f2f9a6a3 --- /dev/null +++ b/office/postscript/poppler/actions.py @@ -0,0 +1,49 @@ +#!/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 shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + + +def setup(): + options = "--disable-static \ + --disable-poppler-qt \ + --disable-gtk-doc-html \ + --disable-zlib \ + --disable-gtk-test \ + --enable-poppler-qt4 \ + --enable-cairo-output \ + --enable-xpdf-headers \ + --enable-libjpeg \ + --enable-libopenjpeg" + + if get.buildTYPE() == "emul32": + options += " --libdir=/usr/lib32 \ + --disable-utils \ + --disable-gtk-test \ + --disable-poppler-cpp \ + --disable-poppler-qt4" + + autotools.configure(options) + +def build(): + autotools.make() + +def install(): + if get.buildTYPE() == "emul32": + pisitools.insinto("/usr/lib32", "poppler/.libs/libpoppler.so*") + pisitools.insinto("/usr/lib32", "glib/.libs/libpoppler-glib.so*") + for f in ["poppler.pc", "poppler-glib.pc"]: + pisitools.insinto("/usr/lib32/pkgconfig", f) + pisitools.dosed("%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), get.emul32prefixDIR(), get.defaultprefixDIR()) + return + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + + pisitools.removeDir("/usr/share/gtk-doc") + pisitools.dodoc("README", "AUTHORS", "ChangeLog", "NEWS", "README-XPDF", "TODO") diff --git a/office/postscript/poppler/pspec.xml b/office/postscript/poppler/pspec.xml new file mode 100644 index 0000000000..790fc7b820 --- /dev/null +++ b/office/postscript/poppler/pspec.xml @@ -0,0 +1,261 @@ + + + + + poppler + http://poppler.freedesktop.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + PDF rendering library + poppler is a PDF rendering library based on xpdf. + http://poppler.freedesktop.org/poppler-0.31.0.tar.xz + + qt-devel + lcms2-devel + libjpeg-turbo-devel + gtk2-devel + cairo-devel + libpng-devel + openjpeg-devel + tiff-devel + fontconfig-devel + gdk-pixbuf-devel + + + + + poppler + + lcms2 + libjpeg-turbo + libpng + openjpeg + tiff + fontconfig + poppler-data + + + /usr/lib + /usr/share/doc + + + + + poppler-utils + Command line utilities for converting PDF files + + poppler + cairo + lcms2 + + + /usr/bin + /usr/share/man/man1 + + + + + poppler-qt + Qt wrapper for poppler + + qt + poppler + + + /usr/lib/libpoppler-qt4.so* + + + + + poppler-qt-devel + Development files for poppler-qt + + poppler-qt + poppler-devel + + + /usr/lib/pkgconfig/poppler-qt4.pc + + + + + poppler-cpp + Pure C++ wrapper for poppler + + poppler + + + /usr/lib/libpoppler-cpp.so* + + + + + poppler-cpp-devel + Development files for poppler-cpp + + poppler-cpp + poppler-devel + + + /usr/lib/pkgconfig/poppler-cpp.pc + + + + + poppler-glib + Glib wrapper for poppler + + cairo + gdk-pixbuf + poppler + + + /usr/lib/libpoppler-glib.so* + /usr/lib/girepository-1.0/Poppler-0.18.typelib + + + + + poppler-glib-devel + Development files for poppler-glib + + gtk2-devel + cairo-devel + gdk-pixbuf-devel + poppler-glib + poppler-devel + + + /usr/lib/pkgconfig/poppler-glib.pc + /usr/lib/pkgconfig/poppler-cairo.pc + /usr/share/gir-1.0/Poppler-0.18.gir + /usr/lib32/pkgconfig/poppler-glib.pc + + + + + poppler-devel + Development files for poppler + + poppler + + + /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig/poppler.pc + + + + + poppler-32bit + emul32 + 32-bit shared libraries for poppler + emul32 + + lcms2-32bit + libjpeg-turbo-32bit + libpng-32bit + openjpeg-32bit + tiff-32bit + freetype-32bit + fontconfig-32bit + + + poppler + lcms2-32bit + libjpeg-turbo-32bit + libpng-32bit + openjpeg-32bit + tiff-32bit + freetype-32bit + fontconfig-32bit + + + /usr/lib32/libpoppler.so* + + + + + poppler-glib-32bit + emul32 + 32-bit shared libraries for poppler-glib + emul32 + + glib2-32bit + cairo-32bit + freetype-32bit + + + poppler-32bit + glib2-32bit + cairo-32bit + freetype-32bit + + + /usr/lib32/libpoppler-glib.so* + + + + + + 2015-03-04 + 0.31.0 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2014-05-25 + 0.26.0 + Version bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-01-27 + 0.24.5 + Version bump. + PisiLinux Community + admins@pisilinux.org + + + 2013-10-10 + 0.24.2 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-07-28 + 0.22.5 + Move pc files to devel pack, fix pc files for emul32. + Marcin Bojara + marcin@pisilinux.org + + + 2013-07-01 + 0.22.5 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-04-17 + 0.22.3 + Version bump + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2012-10-18 + 0.20.5 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/office/postscript/poppler/translations.xml b/office/postscript/poppler/translations.xml new file mode 100644 index 0000000000..bb03337de1 --- /dev/null +++ b/office/postscript/poppler/translations.xml @@ -0,0 +1,51 @@ + + + + poppler + Xpdf koduna dayanan bir PDF kitaplığı + Biblioteka renderująca PDF + Poppler, xpdf koduna dayanan bir PDF hazırlama kitaplığıdır. + Poppler est une librairie de rendu PDF basée sur le code source de xpdf-3.0. + Wspólna biblioteka renderująca PDF do integrowania oglądania PDF w aplikacjach desktopowych (oparta na kodzie xpdf-3.0). + + + + poppler-utils + PDF dönüşüm araçları + + + + poppler-devel + poppler için geliştirme dosyaları + + + + poppler-cpp-devel + poppler-cpp için geliştirme dosyaları + + + + poppler-glib-devel + poppler-glib için geliştirme dosyaları + + + + poppler-qt + Poppler için Qt bağlayıcısı + + + + poppler-qt-devel + poppler-qt için geliştirme dosyaları + + + + poppler-cpp + Poppler için C++ bağlayıcısı + + + + poppler-glib + Poppler için Glib bağlayıcısı + + diff --git a/x11/library/libICE/pspec.xml b/x11/library/libICE/pspec.xml index 524670aa01..0d9004b9ab 100644 --- a/x11/library/libICE/pspec.xml +++ b/x11/library/libICE/pspec.xml @@ -15,6 +15,10 @@ mirrors://xorg/individual/lib/libICE-1.0.9.tar.bz2 libbsd-devel + util-macros + xorg-proto + xtrans + libxslt @@ -47,7 +51,11 @@ emul32 32-bit shared libraries for libICE emul32 + + glibc-32bit + + glibc-32bit libICE diff --git a/x11/library/libSM/pspec.xml b/x11/library/libSM/pspec.xml index b7a105bad9..cd924d8625 100644 --- a/x11/library/libSM/pspec.xml +++ b/x11/library/libSM/pspec.xml @@ -15,13 +15,17 @@ mirrors://xorg/individual/lib/libSM-1.2.2.tar.bz2 libICE-devel - libuuid-devel + libutil-linux-devel + util-macros + xorg-proto + xtrans libSM + libutil-linux libICE @@ -52,12 +56,14 @@ 32-bit shared libraries for libSM emul32 + glibc-32bit libICE-32bit - libuuid-32bit + libutil-linux-32bit + glibc-32bit libICE-32bit - libuuid-32bit + libutil-linux-32bit libSM diff --git a/x11/library/libXt/actions.py b/x11/library/libXt/actions.py new file mode 100644 index 0000000000..c2c1791cce --- /dev/null +++ b/x11/library/libXt/actions.py @@ -0,0 +1,20 @@ +# -*- 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 + +def setup(): + autotools.autoreconf("-vif") + autotools.configure("--disable-static") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("ChangeLog", "COPYING", "README") diff --git a/x11/library/libXt/pspec.xml b/x11/library/libXt/pspec.xml new file mode 100644 index 0000000000..13d68311d2 --- /dev/null +++ b/x11/library/libXt/pspec.xml @@ -0,0 +1,116 @@ + + + + + libXt + http://www.x.org/ + + PisiLinux Community + admins@pisilinux.org + + MIT + library + X.Org Xt library + LibXt provides the X Toolkit Intrinsics, an abstract widget library upon which other toolkits are based. Xt is the basis for many toolkits, including the Athena widgets (Xaw), and LessTif. + mirrors://xorg/individual/lib/libXt-1.1.4.tar.bz2 + + libICE-devel + libSM-devel + + + + + libXt + + libICE + libSM + + + /usr/bin + /usr/lib + /usr/share/X11 + /usr/share/doc + + + + + libXt-devel + Development files for libXt + + libXt + libSM-devel + libICE-devel + + + /usr/include/X11 + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + /usr/share/man + + + + + libXt-32bit + emul32 + 32-bit shared libraries for libXt + emul32 + + libX11-32bit + libSM-32bit + + + libXt + libX11-32bit + libSM-32bit + libICE-32bit + + + /usr/lib32 + + + + + + 2014-05-16 + 1.1.4 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-10-07 + 1.1.4 + Rebuild. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-08-25 + 1.1.4 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-07-30 + 1.1.4 + Rebuild + PisiLinux Community + admins@pisilinux.org + + + 2013-06-21 + 1.1.4 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-06-01 + 1.1.3 + First release + Erdem Artan + admins@pisilinux.org + + + diff --git a/x11/library/libXt/translations.xml b/x11/library/libXt/translations.xml new file mode 100644 index 0000000000..1a0d55d2c4 --- /dev/null +++ b/x11/library/libXt/translations.xml @@ -0,0 +1,19 @@ + + + + libXt + X.Org Xt kitaplığı + Librairie Xt de X.Org + X.Org Xt Bibliothek + + + + libXt-devel + libXt için geliştirme dosyaları + + + + libXt-32bit + libXt için 32-bit paylaşımlı kitaplıklar + +