works por deps fixed...
This commit is contained in:
@@ -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")
|
||||
@@ -0,0 +1,168 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cups-filters</Name>
|
||||
<Homepage>http://www.openprinting.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>GPLv3</License>
|
||||
<License>GPLv2+</License>
|
||||
<License>GPLv3+</License>
|
||||
<License>LGPLv2+</License>
|
||||
<License>MIT</License>
|
||||
<IsA>data</IsA>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>OpenPrinting CUPS filters and backends</Summary>
|
||||
<Description>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.</Description>
|
||||
<Archive sha1sum="ddd0386be361f72ad2e8f7851753dc89016ff7be" type="tarxz">http://www.openprinting.org/download/cups-filters/cups-filters-1.0.66.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>ghostscript</Dependency>
|
||||
<Dependency>lcms2-devel</Dependency>
|
||||
<Dependency>gnutls-devel</Dependency>
|
||||
<Dependency>mit-kerberos</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency versionFrom="5.1.2">qpdf-devel</Dependency>
|
||||
<Dependency releaseFrom="6">ghostscript-devel</Dependency>
|
||||
<Dependency versionFrom="0.31.0">poppler-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cups-filters</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
<Dependency>gnutls</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>foomatic-db</Dependency>
|
||||
<Dependency>mit-kerberos</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency versionFrom="5.1.2">qpdf</Dependency>
|
||||
<Dependency releaseFrom="6">ghostscript</Dependency>
|
||||
<Dependency versionFrom="0.31.0">poppler</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Conflicts>
|
||||
<Package releaseTo="4">cups</Package>
|
||||
<Package>foomatic-filters</Package>
|
||||
</Conflicts>
|
||||
<Replaces>
|
||||
<Package>foomatic-filters</Package>
|
||||
</Replaces>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/ppd</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/cups</Path>
|
||||
<Path fileType="config">/etc/cups/cups-browsed.conf</Path>
|
||||
<Path fileType="config">/etc/fonts/conf.d/99pdftoopvp.conf</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>cups-filters-devel</Name>
|
||||
<Summary>Cups-filters için geliştirme dosyaları</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">cups-filters</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="12">
|
||||
<Date>2015-03-08</Date>
|
||||
<Version>1.0.66</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2015-02-15</Date>
|
||||
<Version>1.0.65</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2014-09-25</Date>
|
||||
<Version>1.0.58</Version>
|
||||
<Comment>Verison bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2014-05-17</Date>
|
||||
<Version>1.0.53</Version>
|
||||
<Comment>Verison bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2014-02-05</Date>
|
||||
<Version>1.0.44</Version>
|
||||
<Comment>Rebuild to replace foomatic-filters.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-01-28</Date>
|
||||
<Version>1.0.44</Version>
|
||||
<Comment>rebuild for unused and runtime dep.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-01-18</Date>
|
||||
<Version>1.0.44</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-11-02</Date>
|
||||
<Version>1.0.41</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-10-16</Date>
|
||||
<Version>1.0.40</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-10</Date>
|
||||
<Version>1.0.39</Version>
|
||||
<Comment>Cersion bump,rebuil for new poppler.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-28</Date>
|
||||
<Version>1.0.35</Version>
|
||||
<Comment>Dep Fixed</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-07-01</Date>
|
||||
<Version>1.0.35</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cups-filters</Name>
|
||||
<Summary xml:lang="en">OpenPrinting CUPS filters and backends</Summary>
|
||||
<Description xml:lang="en">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.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cups-filters-devel</Name>
|
||||
<Summary xml:lang="tr">Cups-filters için geliştirme dosyaları</Summary>
|
||||
<Summary xml:lang="en">Development files for cups-filters</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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 \
|
||||
|
||||
@@ -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":
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>libusb-devel</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>avahi-devel</Dependency>
|
||||
<!--<Dependency>avahi-devel</Dependency>--><!--not needed? -->
|
||||
<Dependency>cups-filters</Dependency>
|
||||
<Dependency>mit-kerberos</Dependency>
|
||||
<Dependency>libpaper-devel</Dependency>
|
||||
@@ -69,7 +69,7 @@
|
||||
<Dependency>libusb</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpaper</Dependency>
|
||||
<Dependency>avahi-libs</Dependency>
|
||||
<!--<Dependency>avahi-libs</Dependency>-->
|
||||
<Dependency>mit-kerberos</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
|
||||
@@ -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")
|
||||
@@ -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
|
||||
@@ -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 <stdlib.h>
|
||||
|
||||
+#include <locale.h>
|
||||
+#include <langinfo.h>
|
||||
+
|
||||
#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 <errno.h>
|
||||
|
||||
#include <paper.h>
|
||||
+#include <locale.h>
|
||||
|
||||
|
||||
/* needed for GNU/Hurd */
|
||||
@@ -99,6 +100,8 @@
|
||||
|
||||
const char* progname;
|
||||
|
||||
+ setlocale(LC_ALL, "");
|
||||
+
|
||||
progname = strrchr(*argv, '/');
|
||||
if (progname) {
|
||||
++progname;
|
||||
@@ -0,0 +1,2 @@
|
||||
# this is the default papersize for libpaper
|
||||
a4
|
||||
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libpaper</Name>
|
||||
<Homepage>http://packages.debian.org/unstable/source/libpaper</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Library for handling paper characteristics</Summary>
|
||||
<Description>Libpaper is a programming library for handling paper characteristics.</Description>
|
||||
<Archive sha1sum="6927f75d126373d32d89751d2a7fe3e99cc9b4a1" type="targz">http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">libpaper-1.1.23-debianbug475683.patch</Patch>
|
||||
<Patch level="1">libpaper-useglibcfallback.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libpaper</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="config">/etc/</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/papersize">papersize</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libpaper-devel</Name>
|
||||
<Summary>Development files for libpaper</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libpaper</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-05-21</Date>
|
||||
<Version>1.1.24</Version>
|
||||
<Comment>rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-13</Date>
|
||||
<Version>1.1.24</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libpaper</Name>
|
||||
<Summary xml:lang="tr">Kağıt özelliklerini düzenlemek için kitaplık</Summary>
|
||||
<Description xml:lang="tr">libpaper, kağıt özelliklerini düzenlemek için bir programlama kitaplığıdır.</Description>
|
||||
<Description xml:lang="es">Libpaper es una librería de programación para manejar características de papel.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libpaper-devel</Name>
|
||||
<Summary xml:lang="tr">libpaper için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>kernel</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>kernel.drivers</Name>
|
||||
</PISI>
|
||||
@@ -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)
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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")
|
||||
@@ -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.
|
||||
@@ -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`
|
||||
@@ -0,0 +1 @@
|
||||
ATIEVENTSDOPTS=""
|
||||
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=ATI Events Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/atieventsd --nodaemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,3 @@
|
||||
# Advanced Micro Devices, Inc.
|
||||
# radeon conflicts with AMD Linux Graphics Driver
|
||||
blacklist radeon
|
||||
@@ -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
|
||||
@@ -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 图形硬件设置。
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
Already defined in mesa
|
||||
|
||||
Signed-off-by: Thomas Backlund <tmb@mageia.org>
|
||||
|
||||
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) */
|
||||
@@ -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__)
|
||||
@@ -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);
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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,
|
||||
@@ -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
|
||||
@@ -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 */
|
||||
@@ -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
|
||||
@@ -0,0 +1,409 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>module-fglrx</Name>
|
||||
<Homepage>http://ati.amd.com/support/driver.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>ATI</License>
|
||||
<Summary>ATI display drivers.</Summary>
|
||||
<Description>Fglrx is a driver written by AMD(ATI) for ATI graphics cards.Radeons HD 2 3 4 X series are not supported</Description>
|
||||
<Archive sha1sum="723fa01252b03e4649513db37ed3955af9d84114" type="targz">http://archive.ubuntu.com/ubuntu/pool/restricted/f/fglrx-installer/fglrx-installer_15.200.orig.tar.gz</Archive>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="desktop-files.patch">desktop-files.patch</AdditionalFile>
|
||||
<AdditionalFile target="makefile_compat.patch">makefile_compat.patch</AdditionalFile>
|
||||
<AdditionalFile target="fglrx_gpl_symbol.patch">fglrx_gpl_symbol.patch</AdditionalFile>
|
||||
<AdditionalFile target="kolasa_4.0-cr4-strn.patch">kolasa_4.0-cr4-strn.patch</AdditionalFile>
|
||||
<AdditionalFile target="lano1106_fglrx_intel_iommu.patch">lano1106_fglrx_intel_iommu.patch</AdditionalFile>
|
||||
<AdditionalFile target="lano1106_kcl_agp_13_4.patch">lano1106_kcl_agp_13_4.patch</AdditionalFile>
|
||||
<AdditionalFile target="LICENSE.TXT">LICENSE.TXT</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<BuildDependencies>
|
||||
<Dependency version="3.19.8">kernel-module-headers</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>module-fglrx</Name>
|
||||
<Conflicts>
|
||||
<Package>module-fglrx-legacy</Package>
|
||||
</Conflicts>
|
||||
<IsA>driver</IsA>
|
||||
<Summary>Kernel module for ATI display drivers</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency version="3.19.8">kernel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library" permanent="true">/lib/modules</Path>
|
||||
<Path fileType="config">/etc/conf.d</Path>
|
||||
<Path fileType="config">/etc/modprobe.d</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/modprobe.d/blacklist-fglrx.conf">blacklist-fglrx.conf</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/modprobe.d/fglrx.conf">modprobe.conf</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/atieventsd">atieventsd</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-fglrx</Name>
|
||||
<Conflicts>
|
||||
<Package>xorg-video-fglrx-legacy</Package>
|
||||
</Conflicts>
|
||||
<IsA>driver</IsA>
|
||||
<PartOf>x11.driver</PartOf>
|
||||
<RuntimeDependencies>
|
||||
<AnyDependency>
|
||||
<Dependency version="current">module-fglrx</Dependency>
|
||||
</AnyDependency>
|
||||
<Dependency>qt</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>libSM</Dependency>
|
||||
<Dependency>libICE</Dependency>
|
||||
<Dependency>uClibc</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>libXrandr</Dependency>
|
||||
<Dependency>libXfixes</Dependency>
|
||||
<Dependency>libXcursor</Dependency>
|
||||
<Dependency>libXrender</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>libXxf86vm</Dependency>
|
||||
<Dependency>libXinerama</Dependency>
|
||||
<Dependency>xorg-server</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="data">/usr/X11R6</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
<COMAR script="service.py" name="atieventsd">System.Service</COMAR>
|
||||
</Provides>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-fglrx-32bit</Name>
|
||||
<Conflicts>
|
||||
<Package>xorg-video-fglrx-legacy-32bit</Package>
|
||||
</Conflicts>
|
||||
<PartOf>emul32</PartOf>
|
||||
<BuildType>emul32</BuildType>
|
||||
<Summary>32-bit shared libraries for xorg-video-fglrx</Summary>
|
||||
<BuildDependencies>
|
||||
<Dependency>xvba-video-32bit</Dependency>
|
||||
<Dependency>fontconfig-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
<Dependency>libXcursor-32bit</Dependency>
|
||||
<Dependency>libXext-32bit</Dependency>
|
||||
<Dependency>libXfixes-32bit</Dependency>
|
||||
<Dependency>libXinerama-32bit</Dependency>
|
||||
<Dependency>libXrandr-32bit</Dependency>
|
||||
<Dependency>libXrender-32bit</Dependency>
|
||||
<Dependency>libXxf86vm-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">xorg-video-fglrx</Dependency>
|
||||
<Dependency>libXext-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>mesa-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package-emul32.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="38">
|
||||
<Date>2015-05-26</Date>
|
||||
<Version>15.20</Version>
|
||||
<Comment>Rebuild for kernel-3.19.8</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="37">
|
||||
<Date>2015-05-05</Date>
|
||||
<Version>15.20</Version>
|
||||
<Comment>Rebuild for kernel-3.19.6</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="36">
|
||||
<Date>2015-04-24</Date>
|
||||
<Version>15.20</Version>
|
||||
<Comment>Rebuild for kernel-3.19.5</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="35">
|
||||
<Date>2015-04-16</Date>
|
||||
<Version>15.20</Version>
|
||||
<Comment>Rebuild for kernel-3.19.4</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="34">
|
||||
<Date>2015-04-02</Date>
|
||||
<Version>15.20</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="33">
|
||||
<Date>2015-03-01</Date>
|
||||
<Version>14.12</Version>
|
||||
<Comment>Rebuild for kernel-3.19.1</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="32">
|
||||
<Date>2015-03-01</Date>
|
||||
<Version>14.12</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="31">
|
||||
<Date>2015-02-01</Date>
|
||||
<Version>14.12</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Ergün Salman</Name>
|
||||
<Email>Poyraz76@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="30">
|
||||
<Date>2015-01-20</Date>
|
||||
<Version>14.9</Version>
|
||||
<Comment>Rebuild for kernel 3.18.1</Comment>
|
||||
<Name>Ergün Salman</Name>
|
||||
<Email>Poyraz76@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="29">
|
||||
<Date>2014-12-08</Date>
|
||||
<Version>14.9</Version>
|
||||
<Comment>Rebuild for kernel 3.17.4</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="28">
|
||||
<Date>2014-10-19</Date>
|
||||
<Version>14.9</Version>
|
||||
<Comment>Update unoffical release
|
||||
* working with xorg-server 1.16</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="27">
|
||||
<Date>2014-09-03</Date>
|
||||
<Version>14.6</Version>
|
||||
<Comment>Rebuild for kernel 3.16.1</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="26">
|
||||
<Date>2014-07-24</Date>
|
||||
<Version>14.6</Version>
|
||||
<Comment>Rebuil for kernel 3.15.6</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="25">
|
||||
<Date>2014-06-15</Date>
|
||||
<Version>14.6</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="24">
|
||||
<Date>2014-05-02</Date>
|
||||
<Version>14.4</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="23">
|
||||
<Date>2014-05-02</Date>
|
||||
<Version>14.3b</Version>
|
||||
<Comment>Rebuild for kernel 3.14.2.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="22">
|
||||
<Date>2014-04-15</Date>
|
||||
<Version>14.3b</Version>
|
||||
<Comment>Rebuild for kernel 3.13.10.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="21">
|
||||
<Date>2014-04-11</Date>
|
||||
<Version>14.3b</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="20">
|
||||
<Date>2014-03-23</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>Rebuild for 3.13.6</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="19">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>Rebuild for 3.12.13</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="18">
|
||||
<Date>2014-03-02</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>Rebuild for 3.12.13</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="17">
|
||||
<Date>2014-01-17</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>Rebuild for 3.12.8</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="16">
|
||||
<Date>2013-12-17</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>Rebuild for 3.12.5</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="15">
|
||||
<Date>2013-12-14</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>Rebuild for 3.12.5</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="14">
|
||||
<Date>2013-11-23</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>Rebuild for 3.10.20</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2013-11-05</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>Rebuild for 3.10.18</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2013-08-30</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>3.10.15</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2013-08-30</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>3.10.13</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2013-08-30</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>3.10.12</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2013-08-30</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>3.10.10</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2013-08-20</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>3.10.9</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-08-20</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>rebuild for kernele 3.10.6.</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-07-06</Date>
|
||||
<Version>13.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-06-15</Date>
|
||||
<Version>13.3_beta3</Version>
|
||||
<Comment>build for Kernel 3.8.13</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-06-15</Date>
|
||||
<Version>13.3_beta3</Version>
|
||||
<Comment>rebuild for Kernel 3.8.13</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-05-26</Date>
|
||||
<Version>13.3_beta3</Version>
|
||||
<Comment>Kernel 3.9.3</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-05-12</Date>
|
||||
<Version>13.3_beta3</Version>
|
||||
<Comment>V.bump</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-03</Date>
|
||||
<Version>12.9_beta1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdem Artan</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>module-fglrx</Name>
|
||||
<Summary xml:lang="tr">ATI ekran kartı sürücüleri</Summary>
|
||||
<Description xml:lang="tr">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.</Description>
|
||||
<Summary xml:lang="fr">Pilote d'affichage ATI</Summary>
|
||||
<Summary xml:lang="es">Controlador display ATI</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>module-fglrx</Name>
|
||||
<Summary xml:lang="tr">ATI ekran sürücüleri için çekirdek modülü</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-fglrx</Name>
|
||||
<Summary xml:lang="tr">ATI ekran kartı sürücüleri için paylaşımlı kitaplıklar ve araçlar</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-fglrx-32bit</Name>
|
||||
<Summary xml:lang="tr">xorg-video-fglrx için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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")
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1,408 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>module-nvidia-current</Name>
|
||||
<Homepage>http://www.nvidia.com</Homepage>
|
||||
<Packager>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>NVIDIA</License>
|
||||
<Summary>NVIDIA drivers for GeForce 6xxx and newer GPUs</Summary>
|
||||
<Description>NVIDIA graphics drivers provide optimized 2D/3D performance.</Description>
|
||||
<Archive sha1sum="d15907ed7527f3590407a340a2882e5a9600a81d" type="binary">ftp://download.nvidia.com/XFree86/Linux-x86/349.16/NVIDIA-Linux-x86-349.16.run</Archive>
|
||||
<Archive sha1sum="7d842a02a672547996002c866418cde917d821a0" type="binary">ftp://download.nvidia.com/XFree86/Linux-x86_64/349.16/NVIDIA-Linux-x86_64-349.16.run</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency version="4.0.5">kernel-module-headers</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>module-nvidia-current</Name>
|
||||
<IsA>driver</IsA>
|
||||
<Summary>Kernel module for current NVIDIA graphics driver releases</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency version="4.0.5">kernel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library" permanent="true">/lib/modules</Path>
|
||||
</Files>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-nvidia-current</Name>
|
||||
<IsA>driver</IsA>
|
||||
<PartOf>x11.driver</PartOf>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>xorg-server</Dependency>
|
||||
<Dependency version="current">module-nvidia-current</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/etc/OpenCL</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-nvidia-current-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for xorg-video-nvidia-current</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libvdpau-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>mesa-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>libXext-32bit</Dependency>
|
||||
<Dependency release="current">xorg-video-nvidia-current</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
<Path fileType="library">/usr/share/nvidia-current/32bit-ld.so.conf</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package-emul32.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="44">
|
||||
<Date>2015-06-16</Date>
|
||||
<Version>349.16</Version>
|
||||
<Comment>Rebuild for kernel 3.19.8</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="43">
|
||||
<Date>2015-05-22</Date>
|
||||
<Version>349.16</Version>
|
||||
<Comment>Rebuild for kernel 3.19.8</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="42">
|
||||
<Date>2015-05-05</Date>
|
||||
<Version>349.16</Version>
|
||||
<Comment>Rebuild for kernel 3.19.6</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="41">
|
||||
<Date>2015-04-24</Date>
|
||||
<Version>349.16</Version>
|
||||
<Comment>Rebuild for kernel 3.19.5</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="40">
|
||||
<Date>2015-04-16</Date>
|
||||
<Version>349.16</Version>
|
||||
<Comment>Rebuild for kernel 3.19.4</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="39">
|
||||
<Date>2015-04-02</Date>
|
||||
<Version>349.12</Version>
|
||||
<Comment>Rebuild for kernel 3.19.3</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="38">
|
||||
<Date>2015-03-31</Date>
|
||||
<Version>349.12</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="37">
|
||||
<Date>2015-03-08</Date>
|
||||
<Version>346.47</Version>
|
||||
<Comment>Version bump, Rebuild for kernel 3.19.1</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="36">
|
||||
<Date>2015-03-01</Date>
|
||||
<Version>346.35</Version>
|
||||
<Comment>Rebuild for kernel 3.19.0</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="35">
|
||||
<Date>2015-01-31</Date>
|
||||
<Version>346.35</Version>
|
||||
<Comment>Rebuild for kernel 3.18.3</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="34">
|
||||
<Date>2015-01-22</Date>
|
||||
<Version>346.35</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold (groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="34">
|
||||
<Date>2015-01-09</Date>
|
||||
<Version>346.22</Version>
|
||||
<Comment>Rebuild for kernel 3.18.1</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="33">
|
||||
<Date>2014-11-29</Date>
|
||||
<Version>343.22</Version>
|
||||
<Comment>Rebuild for kernel 3.17.4</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="32">
|
||||
<Date>2014-10-19</Date>
|
||||
<Version>343.22</Version>
|
||||
<Comment>Version bump, conform kernel 3.17.1</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="31">
|
||||
<Date>2014-09-21</Date>
|
||||
<Version>343.13</Version>
|
||||
<Comment>Version bump and added symlink for bumblebee</Comment>
|
||||
<Name>Mathias Freire</Name>
|
||||
<Email>mathiasfreire45@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="30">
|
||||
<Date>2014-09-03</Date>
|
||||
<Version>340.32</Version>
|
||||
<Comment>Version bump, conform kernel 3.16.1</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="29">
|
||||
<Date>2014-07-24</Date>
|
||||
<Version>340.24</Version>
|
||||
<Comment>Version bump for kernel 3.15.6</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="28">
|
||||
<Date>2014-06-15</Date>
|
||||
<Version>340.17</Version>
|
||||
<Comment>Version bump for kernel 3.15.0</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="27">
|
||||
<Date>2014-05-29</Date>
|
||||
<Version>337.19</Version>
|
||||
<Comment>Version bump for kernel 3.14.4.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="26">
|
||||
<Date>2014-05-02</Date>
|
||||
<Version>337.12</Version>
|
||||
<Comment>Version bump for kernel 3.14.2.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="25">
|
||||
<Date>2014-04-15</Date>
|
||||
<Version>334.21</Version>
|
||||
<Comment>Rebuild for kernel 3.13.10.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="24">
|
||||
<Date>2014-03-29</Date>
|
||||
<Version>334.21</Version>
|
||||
<Comment>Rebuild for 3.13.6</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="23">
|
||||
<Date>2014-03-10</Date>
|
||||
<Version>334.21</Version>
|
||||
<Comment>Change module name. Remove module-nvidia-current-userspace</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="22">
|
||||
<Date>2014-03-07</Date>
|
||||
<Version>334.21</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="21">
|
||||
<Date>2014-03-01</Date>
|
||||
<Version>334.16</Version>
|
||||
<Comment>version bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="20">
|
||||
<Date>2014-01-15</Date>
|
||||
<Version>331.38</Version>
|
||||
<Comment>version bump</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="19">
|
||||
<Date>2013-12-17</Date>
|
||||
<Version>331.20</Version>
|
||||
<Comment>Rebuild for 3.12.5</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="18">
|
||||
<Date>2013-12-12</Date>
|
||||
<Version>331.20</Version>
|
||||
<Comment>Rebuild for 3.12.5</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="17">
|
||||
<Date>2013-11-23</Date>
|
||||
<Version>331.20</Version>
|
||||
<Comment>Rebuild for 3.10.20</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="16">
|
||||
<Date>2013-11-21</Date>
|
||||
<Version>331.20</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="15">
|
||||
<Date>2013-11-05</Date>
|
||||
<Version>325.15</Version>
|
||||
<Comment>Rebuild for 3.10.18</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="14">
|
||||
<Date>2013-09-28</Date>
|
||||
<Version>325.15</Version>
|
||||
<Comment>3.10.15</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2013-09-28</Date>
|
||||
<Version>325.15</Version>
|
||||
<Comment>3.10.13</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2013-09-18</Date>
|
||||
<Version>325.15</Version>
|
||||
<Comment>3.10.12</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2013-08-20</Date>
|
||||
<Version>325.15</Version>
|
||||
<Comment>3.10.10</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2013-08-20</Date>
|
||||
<Version>325.15</Version>
|
||||
<Comment>3.10.9</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2013-08-20</Date>
|
||||
<Version>325.15</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2013-08-12</Date>
|
||||
<Version>319.32</Version>
|
||||
<Comment>rebuld for kernel 3.10.6</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-08-11</Date>
|
||||
<Version>319.32</Version>
|
||||
<Comment>rebuld for kernel 3.10.5</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-07-05</Date>
|
||||
<Version>319.32</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-06-05</Date>
|
||||
<Version>319.17</Version>
|
||||
<Comment>Kernel 3.8.13</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-05-26</Date>
|
||||
<Version>319.17</Version>
|
||||
<Comment>Kernel 3.9.3</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-05-12</Date>
|
||||
<Version>319.17</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-03-06</Date>
|
||||
<Version>313.26</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-02-19</Date>
|
||||
<Version>310.32</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>module-nvidia-current</Name>
|
||||
<Summary xml:lang="tr">GeForce 6xxx ve daha yeni NVIDIA ekran kartları için sürücüler</Summary>
|
||||
<Description xml:lang="tr">NVIDIA grafik sürücüleri daha iyi 2B/3B başarımı sağlar.</Description>
|
||||
<Description xml:lang="es">Controladores de kernel nVIDIA y glx para rendimiento optimizado 2d/3d en Linux (Para NV3X o mejor).</Description>
|
||||
<Summary xml:lang="es">Controladores nVIDIA de kernel y glx para tarjetas NV3 o mejor (Geforce FX o mejor)</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>module-nvidia-current</Name>
|
||||
<Summary xml:lang="tr">Güncel NVIDIA grafik sürücüleri için çekirdek modülü</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-nvidia-current</Name>
|
||||
<Summary xml:lang="tr">Güncel NVIDIA userspace sürücüleri ve ikili dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-nvidia-current-32bit</Name>
|
||||
<Summary xml:lang="tr">xorg-video-nvidia-current için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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")
|
||||
@@ -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
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
Adapt for kernel 3.19
|
||||
|
||||
Signed-off-by: Thomas Backlund <tmb@mageia.org>
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -0,0 +1,277 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>module-nvidia304</Name>
|
||||
<Homepage>http://www.nvidia.com</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>NVIDIA</License>
|
||||
<IsA>driver</IsA>
|
||||
<Summary>NVIDIA drivers for GeForce 5-7 series GPUs</Summary>
|
||||
<Description>NVIDIA graphics drivers provide optimized 2D/3D performance.</Description>
|
||||
<!-- <Archive sha1sum="1084a0a362aeb208e44afd28f0e27f7e2d352e24" type="binary">ftp://download.nvidia.com/XFree86/Linux-x86/304.119/NVIDIA-Linux-x86-304.119.run</Archive> -->
|
||||
<Archive sha1sum="45f292f7612dcafac46332a4d884e866871cb6d2" type="binary">http://download.nvidia.com/XFree86/Linux-x86_64/304.125/NVIDIA-Linux-x86_64-304.125.run</Archive>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="NVIDIA-Linux-x86_64-304.125-kernel-3.19.patch">NVIDIA-Linux-x86_64-304.125-kernel-3.19.patch</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<BuildDependencies>
|
||||
<Dependency version="3.19.8">kernel-module-headers</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>module-nvidia304</Name>
|
||||
<Summary>Kernel module for NVIDIA driver 304.xx releases</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency version="3.19.8">kernel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library" permanent="true">/lib/modules</Path>
|
||||
</Files>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-nvidia304</Name>
|
||||
<PartOf>x11.driver</PartOf>
|
||||
<RuntimeDependencies>
|
||||
<Dependency version="current">module-nvidia304</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>xorg-server</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Conflicts>
|
||||
<Package>xorg-video-nvidia-current</Package>
|
||||
</Conflicts>
|
||||
<Files>
|
||||
<Path fileType="data">/etc/OpenCL</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="38">
|
||||
<Date>2015-05-22</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Rebuild for kernel 3.19.6</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="37">
|
||||
<Date>2015-05-05</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Rebuild for kernel 3.19.6</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="36">
|
||||
<Date>2015-04-24</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Rebuild for kernel 3.19.5</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="35">
|
||||
<Date>2015-04-16</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Rebuild for kernel 3.19.4</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="34">
|
||||
<Date>2015-04-02</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Rebuild for kernel 3.19.3</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="33">
|
||||
<Date>2015-03-08</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Rebuild for kernel 3.19.1</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="32">
|
||||
<Date>2015-03-01</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Rebuild for kernel 3.19.0</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="31">
|
||||
<Date>2015-01-31</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Rebuild for kernel 3.18.3</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="30">
|
||||
<Date>2015-01-13</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Rebuild for Kernel 3.18.1</Comment>
|
||||
<Name>Stefan Gronewold (groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="29">
|
||||
<Date>2014-12-08</Date>
|
||||
<Version>304.125</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="28">
|
||||
<Date>2014-10-19</Date>
|
||||
<Version>304.123</Version>
|
||||
<Comment>Rebuild for kernel 3.17.1</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="27">
|
||||
<Date>2014-09-03</Date>
|
||||
<Version>304.123</Version>
|
||||
<Comment>Rebuild for kernel 3.16.1</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="26">
|
||||
<Date>2014-07-24</Date>
|
||||
<Version>304.123</Version>
|
||||
<Comment>Version bump for kernel 3.15.6</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="25">
|
||||
<Date>2014-06-15</Date>
|
||||
<Version>304.121</Version>
|
||||
<Comment>Rebuild for kernel 3.15.0</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="24">
|
||||
<Date>2014-05-29</Date>
|
||||
<Version>304.121</Version>
|
||||
<Comment>Rebuild for kernel 3.14.4.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="23">
|
||||
<Date>2014-05-02</Date>
|
||||
<Version>304.121</Version>
|
||||
<Comment>Version bump for kernel 3.14.2.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="22">
|
||||
<Date>2014-04-15</Date>
|
||||
<Version>304.119</Version>
|
||||
<Comment>Rebuild for kernel 3.13.10.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="21">
|
||||
<Date>2014-03-29</Date>
|
||||
<Version>304.119</Version>
|
||||
<Comment>Rebuild for 3.13.6</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2014-03-10</Date>
|
||||
<Version>304.119</Version>
|
||||
<Comment>Change module name. Remove module-nvidia304-userspace</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>304.119</Version>
|
||||
<Comment>Rebuild for 3.12.13</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2014-03-01</Date>
|
||||
<Version>304.119</Version>
|
||||
<Comment>Rebuild for 3.12.13</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2014-01-17</Date>
|
||||
<Version>304.117</Version>
|
||||
<Comment>Rebuild for 3.12.8</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2013-12-17</Date>
|
||||
<Version>304.116</Version>
|
||||
<Comment>Rebuild for kernel 3.12.5.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-12-14</Date>
|
||||
<Version>304.116</Version>
|
||||
<Comment>Version bump for 3.12.5</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-11-23</Date>
|
||||
<Version>304.108</Version>
|
||||
<Comment>Rebuild for 3.10.20</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-11-05</Date>
|
||||
<Version>304.108</Version>
|
||||
<Comment>Rebuild for 3.10.18</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-10-09</Date>
|
||||
<Version>304.108</Version>
|
||||
<Comment>3.10.15</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-09-28</Date>
|
||||
<Version>304.108</Version>
|
||||
<Comment>3.10.13</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-09-18</Date>
|
||||
<Version>304.108</Version>
|
||||
<Comment>3.10.12</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-09-11</Date>
|
||||
<Version>304.108</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>module-nvidia304</Name>
|
||||
<Summary xml:lang="tr">NVIDIA GeForce 6-7 serisi ekran kartları için grafik sürücüleri</Summary>
|
||||
<Description xml:lang="tr">NVIDIA grafik sürücüleri daha iyi 2B/3B başarımı sağlar.</Description>
|
||||
<Summary xml:lang="es">Controladores nVIDIA de kernel y glx para tarjetas NV3 o mejor (Geforce FX o mejor)</Summary>
|
||||
<Description xml:lang="es">Controladores de kernel nVIDIA y glx para rendimiento optimizado 2d/3d en Linux (Para NV3X o mejor).</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>module-nvidia304</Name>
|
||||
<Summary xml:lang="tr">NVIDIA sürücüsü 304.xx sürümleri için çekirdek modülü</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>module-nvidia304-userspace</Name>
|
||||
<Summary xml:lang="tr">nvidia304 çekirdek sürücüsü için kullanıcı tarafı belgeler, araçlar, udev ve modprobe kuralları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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")
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1,176 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>module-nvidia340</Name>
|
||||
<Homepage>http://www.nvidia.com</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>NVIDIA</License>
|
||||
<Summary>NVIDIA drivers for GeForce 6xxx and newer GPUs</Summary>
|
||||
<Description>NVIDIA graphics drivers provide optimized 2D/3D performance.</Description>
|
||||
<Archive sha1sum="1335af174324f5c752388110e65c3c51beea729b" type="binary">ftp://download.nvidia.com/XFree86/Linux-x86/340.76/NVIDIA-Linux-x86-340.76.run</Archive>
|
||||
<Archive sha1sum="369554b46b43f082a38c6fcce096265a66e97483" type="binary">ftp://download.nvidia.com/XFree86/Linux-x86_64/340.76/NVIDIA-Linux-x86_64-340.76.run</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency version="3.19.8">kernel-module-headers</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>module-nvidia340</Name>
|
||||
<IsA>driver</IsA>
|
||||
<Summary>Kernel module for NVIDIA driver 340.xx releases</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency version="3.19.8">kernel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library" permanent="true">/lib/modules</Path>
|
||||
</Files>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-nvidia340</Name>
|
||||
<IsA>driver</IsA>
|
||||
<PartOf>x11.driver</PartOf>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>xorg-server</Dependency>
|
||||
<Dependency version="current">module-nvidia340</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Conflicts>
|
||||
<Package>xorg-video-nvidia-current</Package>
|
||||
<Package>xorg-video-nvidia304</Package>
|
||||
</Conflicts>
|
||||
<Files>
|
||||
<Path fileType="data">/etc/OpenCL</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-nvidia340-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for xorg-video-nvidia340</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libvdpau-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>libXext-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency release="current">xorg-video-nvidia340</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Conflicts>
|
||||
<Package>xorg-video-nvidia-current-32bit</Package>
|
||||
<Package>xorg-video-nvidia304-32bit</Package>
|
||||
</Conflicts>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
<Path fileType="library">/usr/share/nvidia-current/32bit-ld.so.conf</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package-emul32.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
<BuildFlags>
|
||||
<Flag>noDelta</Flag>
|
||||
</BuildFlags>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="10">
|
||||
<Date>2015-05-22</Date>
|
||||
<Version>340.76</Version>
|
||||
<Comment>Rebuild for kernel 3.19.8</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2015-05-05</Date>
|
||||
<Version>340.76</Version>
|
||||
<Comment>Rebuild for kernel 3.19.6</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2015-04-24</Date>
|
||||
<Version>340.76</Version>
|
||||
<Comment>Rebuild for kernel 3.19.5</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2015-04-16</Date>
|
||||
<Version>340.76</Version>
|
||||
<Comment>Rebuild for kernel 3.19.4</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2015-04-02</Date>
|
||||
<Version>340.76</Version>
|
||||
<Comment>Rebuid for kernel 3.19.3</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2015-03-08</Date>
|
||||
<Version>340.76</Version>
|
||||
<Comment>Rebuild for kernel 3.19.1</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2015-03-01</Date>
|
||||
<Version>340.76</Version>
|
||||
<Comment>Version bump, Rebuild for kernel 3.19.0</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2015-01-31</Date>
|
||||
<Version>340.76</Version>
|
||||
<Comment>Version bump, Rebuild for kernel 3.18.3</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2015-01-13</Date>
|
||||
<Version>340.65</Version>
|
||||
<Comment>version bump</Comment>
|
||||
<Name>Stefan Gronewold (groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-12-08</Date>
|
||||
<Version>340.58</Version>
|
||||
<Comment>Rebuild for kernel 3.17.4</Comment>
|
||||
<Name>Stefan Gronewold (groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2014-11-13</Date>
|
||||
<Version>340.58</Version>
|
||||
<Comment>First Release</Comment>
|
||||
<Name>Stefan Gronewold (groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>module-nvidia-current</Name>
|
||||
<Summary xml:lang="tr">GeForce 6xxx ve daha yeni NVIDIA ekran kartları için sürücüler</Summary>
|
||||
<Description xml:lang="tr">NVIDIA grafik sürücüleri daha iyi 2B/3B başarımı sağlar.</Description>
|
||||
<Description xml:lang="es">Controladores de kernel nVIDIA y glx para rendimiento optimizado 2d/3d en Linux (Para NV3X o mejor).</Description>
|
||||
<Summary xml:lang="es">Controladores nVIDIA de kernel y glx para tarjetas NV3 o mejor (Geforce FX o mejor)</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>module-nvidia-current</Name>
|
||||
<Summary xml:lang="tr">Güncel NVIDIA grafik sürücüleri için çekirdek modülü</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-nvidia-current</Name>
|
||||
<Summary xml:lang="tr">Güncel NVIDIA userspace sürücüleri ve ikili dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>xorg-video-nvidia-current-32bit</Name>
|
||||
<Summary xml:lang="tr">xorg-video-nvidia-current için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>kernel.tools</Name>
|
||||
</PISI>
|
||||
@@ -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")
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,601 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>perf</Name>
|
||||
<Homepage>http://www.kernel.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Performance analyser tool that makes full use of the Linux performance counter subsystem</Summary>
|
||||
<Description>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.</Description>
|
||||
<Archive sha1sum="553164212ea3a162a2ff63276c60fe7dd04e9ad1" type="targz">https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>unifdef</Dependency>
|
||||
<Dependency>elfutils</Dependency>
|
||||
<Dependency>diffutils</Dependency>
|
||||
<Dependency>newt-devel</Dependency>
|
||||
<Dependency>xmlto</Dependency>
|
||||
<Dependency>asciidoc</Dependency>
|
||||
<Dependency>pciutils-devel</Dependency>
|
||||
<Dependency>numactl-devel</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>slang-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>perl</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- Linux patches -->
|
||||
<Patch level="1" compressionType="xz">patches/linux/patch-4.0.5.xz</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>perf</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>newt</Dependency>
|
||||
<Dependency>elfutils</Dependency>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>numactl</Dependency>
|
||||
<Dependency>libunwind</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>python</Dependency>
|
||||
<Dependency>slang</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>perl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="library">/usr/libexec</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="man">/usr/share/man/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="51">
|
||||
<Date>2015-06-16</Date>
|
||||
<Version>4.0.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="50">
|
||||
<Date>2015-05-22</Date>
|
||||
<Version>3.19.8</Version>
|
||||
<Comment>Version bump to 3.19.8</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="49">
|
||||
<Date>2015-05-05</Date>
|
||||
<Version>3.19.6</Version>
|
||||
<Comment>Version bump to 3.19.6</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="48">
|
||||
<Date>2015-04-16</Date>
|
||||
<Version>3.19.5</Version>
|
||||
<Comment>Version bump to 3.19.5</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="47">
|
||||
<Date>2015-04-16</Date>
|
||||
<Version>3.19.4</Version>
|
||||
<Comment>Version bump to 3.19.4</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="46">
|
||||
<Date>2015-04-02</Date>
|
||||
<Version>3.19.3</Version>
|
||||
<Comment>Version Bump to 3.19.3</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="45">
|
||||
<Date>2015-03-08</Date>
|
||||
<Version>3.19.1</Version>
|
||||
<Comment>Version bump to 3.19.1</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="44">
|
||||
<Date>2015-03-01</Date>
|
||||
<Version>3.19.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="43">
|
||||
<Date>2015-01-28</Date>
|
||||
<Version>3.18.3</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="42">
|
||||
<Date>2015-01-08</Date>
|
||||
<Version>3.18.1</Version>
|
||||
<Comment>Version bump to 3.18.1 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.1</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="41">
|
||||
<Date>2014-11-28</Date>
|
||||
<Version>3.17.4</Version>
|
||||
<Comment>Version bump to 3.17.4 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.4</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="40">
|
||||
<Date>2014-10-18</Date>
|
||||
<Version>3.17.1</Version>
|
||||
<Comment>Version bump to 3.17.1 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.1</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="39">
|
||||
<Date>2014-09-19</Date>
|
||||
<Version>3.16.3</Version>
|
||||
<Comment>Version bump to 3.16.3 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.16.3</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="38">
|
||||
<Date>2014-09-03</Date>
|
||||
<Version>3.16.1</Version>
|
||||
<Comment>Version bump to 3.16.1 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.16.1</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="37">
|
||||
<Date>2014-07-24</Date>
|
||||
<Version>3.15.6</Version>
|
||||
<Comment>Version bump to 3.15.6 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.6</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="36">
|
||||
<Date>2014-06-15</Date>
|
||||
<Version>3.15.0</Version>
|
||||
<Comment>Version bump to 3.15 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="35">
|
||||
<Date>2014-05-27</Date>
|
||||
<Version>3.14.4</Version>
|
||||
<Comment>Version bump to 3.14.4 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.4</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="34">
|
||||
<Date>2014-05-02</Date>
|
||||
<Version>3.14.2</Version>
|
||||
<Comment>Version bump to 3.14.2 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.2</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="33">
|
||||
<Date>2014-04-15</Date>
|
||||
<Version>3.13.10</Version>
|
||||
<Comment>Version bump to 3.13.10 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.13.10</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="32">
|
||||
<Date>2014-03-22</Date>
|
||||
<Version>3.13.6</Version>
|
||||
<Comment>Version bump to 3.13.6 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.13.6</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="31">
|
||||
<Date>2014-03-01</Date>
|
||||
<Version>3.12.13</Version>
|
||||
<Comment>Version bump to 3.12.13 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.13</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="30">
|
||||
<Date>2014-01-16</Date>
|
||||
<Version>3.12.8</Version>
|
||||
<Comment>Version bump to 3.12.8 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.8</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="29">
|
||||
<Date>2013-12-17</Date>
|
||||
<Version>3.12.5</Version>
|
||||
<Comment>Add Maegia patch series and some cpu usage improvements.</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="28">
|
||||
<Date>2013-12-12</Date>
|
||||
<Version>3.12.5</Version>
|
||||
<Comment>Version bump to 3.12.5 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.5</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="27">
|
||||
<Date>2013-11-23</Date>
|
||||
<Version>3.10.20</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.20</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="26">
|
||||
<Date>2013-11-05</Date>
|
||||
<Version>3.10.18</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.18</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="25">
|
||||
<Date>2013-10-07</Date>
|
||||
<Version>3.10.15</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.15</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="24">
|
||||
<Date>2013-09-27</Date>
|
||||
<Version>3.10.13</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.13</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="23">
|
||||
<Date>2013-09-15</Date>
|
||||
<Version>3.10.12</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.12</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="22">
|
||||
<Date>2013-08-29</Date>
|
||||
<Version>3.10.10</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.10</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="21">
|
||||
<Date>2013-08-20</Date>
|
||||
<Version>3.10.9</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.9</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="20">
|
||||
<Date>2013-08-12</Date>
|
||||
<Version>3.10.6</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.6</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="19">
|
||||
<Date>2013-08-11</Date>
|
||||
<Version>3.10.5</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.5</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="18">
|
||||
<Date>2013-08-01</Date>
|
||||
<Version>3.10.4</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.4</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="17">
|
||||
<Date>2013-07-17</Date>
|
||||
<Version>3.10.2</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.2</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="16">
|
||||
<Date>2013-07-17</Date>
|
||||
<Version>3.10.1</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.1</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="15">
|
||||
<Date>2013-07-04</Date>
|
||||
<Version>3.10.0</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="14">
|
||||
<Date>2013-06-21</Date>
|
||||
<Version>3.8.13</Version>
|
||||
<Comment>Fix TSC calibration failure</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2013-06-15</Date>
|
||||
<Version>3.8.13</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.13</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2013-04-18</Date>
|
||||
<Version>3.8.8</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.8</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2013-03-31</Date>
|
||||
<Version>3.8.5</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.5</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2013-03-25</Date>
|
||||
<Version>3.8.4</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.4</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Yoyo Fernández</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2013-03-14</Date>
|
||||
<Version>3.8.3</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.3</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2013-03-06</Date>
|
||||
<Version>3.8.2</Version>
|
||||
<Comment>https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.2</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-03-03</Date>
|
||||
<Version>3.8.1</Version>
|
||||
<Comment>update to current line</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-02-22</Date>
|
||||
<Version>3.8.0</Version>
|
||||
<Comment>update to final line with patch</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-02-17</Date>
|
||||
<Version>3.8.0</Version>
|
||||
<Comment>obsoletemans wifi fixing</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-02-12</Date>
|
||||
<Version>3.8.0</Version>
|
||||
<Comment>bump to -rc7</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-02-06</Date>
|
||||
<Version>3.7.6</Version>
|
||||
<Comment>http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.7.6</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-01-28</Date>
|
||||
<Version>3.7.5</Version>
|
||||
<Comment>http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.7.5</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-01-18</Date>
|
||||
<Version>3.7.4</Version>
|
||||
<Comment>http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.7.4</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-01-15</Date>
|
||||
<Version>3.7.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Type package="kernel">security</Type>
|
||||
<Requires>
|
||||
<Action package="kernel">systemRestart</Action>
|
||||
</Requires>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir="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")
|
||||
@@ -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
|
||||
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>jbigkit</Name>
|
||||
<Homepage>http://www.cl.cam.ac.uk/~mgk25/jbigkit/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A portable library of compression and decompression functions</Summary>
|
||||
<Description>JBIG-KIT implements a highly effective data compression algorithm for bi-level high-resolution images such as fax pages or scanned documents.</Description>
|
||||
<Archive sha1sum="cfb7d3121f02a74bfb229217858a0d149b6589ef" type="targz">http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">jbigkit-2.0-shared.diff</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>jbigkit</Name>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>jbigkit-devel</Name>
|
||||
<Summary>Development files for jbigkit</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">jbigkit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-19</Date>
|
||||
<Version>2.0</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-27</Date>
|
||||
<Version>2.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>2.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>jbigkit</Name>
|
||||
<Summary xml:lang="tr">Taşınabilir bir sıkıştırma kitaplığı</Summary>
|
||||
<Description xml:lang="tr">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.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>jbigkit-devel</Name>
|
||||
<Summary xml:lang="tr">jbigkit için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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")
|
||||
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lcms2</Name>
|
||||
<Homepage>http://www.littlecms.com</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A color management library.</Summary>
|
||||
<Description>Little cms is a color management library. Implements fast transforms between ICC profiles. It is focused on speed, and is portable across several platforms.</Description>
|
||||
<Archive sha1sum="b0ecee5cb8391338e6c281d1c11dcae2bc22a5d2" type="targz">http://sourceforge.net/projects/lcms/files/lcms/2.6/lcms2-2.6.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>lcms2</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/lcms/</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>lcms2-devel</Name>
|
||||
<Summary>Development files for lcms2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">lcms2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib32/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>lcms2-32bit</Name>
|
||||
<Summary>32-bit shared libraries for lcms2</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>tiff-32bit</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">lcms2</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-15</Date>
|
||||
<Version>2.6</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-29</Date>
|
||||
<Version>2.5</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-02</Date>
|
||||
<Version>2.5</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-31</Date>
|
||||
<Version>2.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lcms</Name>
|
||||
<Summary xml:lang="tr">Hız geliştirmesi yapılmış, hafif bir renk yönetim motoru</Summary>
|
||||
<Summary xml:lang="fr">Moteur de gestion de couleurs léger et optimisé pour la vitesse.</Summary>
|
||||
<Summary xml:lang="pl">Biblioteka do konwersji między profilami kolorów.</Summary>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -51,7 +51,11 @@
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for jpeg</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency release="current">libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Replaces>
|
||||
|
||||
@@ -67,8 +67,8 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">tiff</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
<Dependency>xz-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>office</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>office.postscript</Name>
|
||||
</PISI>
|
||||
@@ -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")
|
||||
@@ -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
|
||||
@@ -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]);
|
||||
@@ -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;
|
||||
@@ -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.
|
||||
@@ -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);
|
||||
@@ -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
|
||||
@@ -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)
|
||||
@@ -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 % <object> <errorname> 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.
|
||||
@@ -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 -
|
||||
|
||||
@@ -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
|
||||
@@ -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);
|
||||
}
|
||||
@@ -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
|
||||
@@ -0,0 +1,182 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ghostscript</Name>
|
||||
<Homepage>http://www.ghostscript.com</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3+</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A PostScript interpreter and renderer</Summary>
|
||||
<Description>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.</Description>
|
||||
<Archive sha1sum="19f01538d33b9623bc6653d96ea4ec891f14a9d3" type="tarbz2">http://downloads.ghostscript.com/public/ghostscript-9.15.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency releaseFrom="2">lcms2-devel</Dependency>
|
||||
<Dependency>libXt-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>jasper-devel</Dependency>
|
||||
<Dependency>libpaper-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>poppler-data</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- Ubuntu patches -->
|
||||
<Patch level="1">ubuntu/02_gs-man-fix-for-debian.patch</Patch>
|
||||
<!-- Fedora patches -->
|
||||
|
||||
<Patch level="1">fedora/ghostscript-Fontmap.local.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-gdevcups-debug-uninit.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-iccprofiles-initdir.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-multilib.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-noopt.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-runlibfileifexists.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-scripts.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-sys-zlib.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-icc-missing-check.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-wrf-snprintf.patch</Patch>
|
||||
<Patch level="1">fedora/ghostscript-gs694154.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ghostscript</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency releaseFrom="2">lcms2</Dependency>
|
||||
<Dependency>libXt</Dependency>
|
||||
<Dependency>jasper</Dependency>
|
||||
<Dependency>libpaper</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<!-- For CMap fonts -->
|
||||
<Dependency>poppler-data</Dependency>
|
||||
<Dependency>gnu-gs-fonts-std</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/cups</Path>
|
||||
<Path fileType="data">/usr/share/ghostscript</Path>
|
||||
</Files>
|
||||
<!--
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/ghostscript/9.00/Resource/Init/CIDFnmap">fedora/CIDFnmap</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/ghostscript/9.00/Resource/Init/cidfmap">fedora/cidfmap</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
-->
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>ghostscript-docs</Name>
|
||||
<Summary>Documentation for ghostscript</Summary>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/ghostscript/html</Path>
|
||||
<Path fileType="doc">/usr/share/doc/ghostscript/examples</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>ghostscript-devel</Name>
|
||||
<Summary>Development files for ghostscript</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">ghostscript</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/ijs-config</Path>
|
||||
<Path fileType="header">/usr/include/ghostscript</Path>
|
||||
<Path fileType="header">/usr/include/ijs</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>ghostscript-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for ghostscript</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
<Dependency>xz-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>tiff-32bit</Dependency>
|
||||
<Dependency>lcms2-32bit</Dependency>
|
||||
<Dependency>libXt-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>jasper-32bit</Dependency>
|
||||
<Dependency>libpng-32bit</Dependency>
|
||||
<Dependency>libidn-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
<Dependency>fontconfig-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">ghostscript</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
<Dependency>xz-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>tiff-32bit</Dependency>
|
||||
<Dependency>lcms2-32bit</Dependency>
|
||||
<Dependency>libXt-32bit</Dependency>
|
||||
<Dependency>libX11-32bit</Dependency>
|
||||
<Dependency>jasper-32bit</Dependency>
|
||||
<Dependency>libpng-32bit</Dependency>
|
||||
<Dependency>libidn-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
<Dependency>fontconfig-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2015-03-04</Date>
|
||||
<Version>9.15</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>9.14</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-09-21</Date>
|
||||
<Version>9.10</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Aydın Demirel</Name>
|
||||
<Email>aydin.demirel@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-06-27</Date>
|
||||
<Version>9.07</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-01-22</Date>
|
||||
<Version>9.06</Version>
|
||||
<Comment>Add emul32, fix dependencies</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-12</Date>
|
||||
<Version>9.06</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ghostscript</Name>
|
||||
<Summary xml:lang="tr">Bir PostScript yorumlayıcısı ve üreticisi</Summary>
|
||||
<Description xml:lang="tr">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.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ghostscript-docs</Name>
|
||||
<Summary xml:lang="tr">ghostscript için çeşitli belgeler</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>ghostscript-devel</Name>
|
||||
<Summary xml:lang="tr">ghostscript için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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")
|
||||
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>poppler-data</Name>
|
||||
<Homepage>http://poppler.freedesktop.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>BSD</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Poppler encoding files</Summary>
|
||||
<Description>poppler-data consists of encoding files for poppler. When installed, the encoding files enables poppler to correctly render CJK and Cyrillic properly.</Description>
|
||||
<Archive sha1sum="556a5bebd0eb743e0d91819ba11fd79947d8c674" type="targz">http://poppler.freedesktop.org/poppler-data-0.4.7.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-data</Name>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/poppler</Path>
|
||||
<Path fileType="data">/usr/share/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2015-03-05</Date>
|
||||
<Version>0.4.7</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>0.4.6</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-03-10</Date>
|
||||
<Version>0.4.6</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-04-17</Date>
|
||||
<Version>0.4.6</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-12</Date>
|
||||
<Version>0.4.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>poppler-data</Name>
|
||||
<Summary xml:lang="tr">Poppler kodlama dosyaları</Summary>
|
||||
<Description xml:lang="tr">poppler-data, poppler için CJK ve Kiril harflerini düzgünce gösterebilmek için gerekli kodlama dosyalarını içerir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -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")
|
||||
@@ -0,0 +1,261 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>poppler</Name>
|
||||
<Homepage>http://poppler.freedesktop.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>PDF rendering library</Summary>
|
||||
<Description>poppler is a PDF rendering library based on xpdf.</Description>
|
||||
<Archive sha1sum="d0b5545f0e5f0104eb141d356003c0b571601d6f" type="tarxz">http://poppler.freedesktop.org/poppler-0.31.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt-devel</Dependency>
|
||||
<Dependency>lcms2-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>openjpeg-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>poppler</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>lcms2</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>openjpeg</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>poppler-data</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-utils</Name>
|
||||
<Summary>Command line utilities for converting PDF files</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">poppler</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="man">/usr/share/man/man1</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-qt</Name>
|
||||
<Summary>Qt wrapper for poppler</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt</Dependency>
|
||||
<Dependency release="current">poppler</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libpoppler-qt4.so*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-qt-devel</Name>
|
||||
<Summary>Development files for poppler-qt</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">poppler-qt</Dependency>
|
||||
<Dependency release="current">poppler-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/lib/pkgconfig/poppler-qt4.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-cpp</Name>
|
||||
<Summary>Pure C++ wrapper for poppler</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">poppler</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libpoppler-cpp.so*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-cpp-devel</Name>
|
||||
<Summary>Development files for poppler-cpp</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">poppler-cpp</Dependency>
|
||||
<Dependency release="current">poppler-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/pkgconfig/poppler-cpp.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-glib</Name>
|
||||
<Summary>Glib wrapper for poppler</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency release="current">poppler</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libpoppler-glib.so*</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0/Poppler-0.18.typelib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-glib-devel</Name>
|
||||
<Summary>Development files for poppler-glib</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency release="current">poppler-glib</Dependency>
|
||||
<Dependency release="current">poppler-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/pkgconfig/poppler-glib.pc</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig/poppler-cairo.pc</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0/Poppler-0.18.gir</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig/poppler-glib.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-devel</Name>
|
||||
<Summary>Development files for poppler</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">poppler</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig/poppler.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for poppler</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>lcms2-32bit</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
<Dependency>libpng-32bit</Dependency>
|
||||
<Dependency>openjpeg-32bit</Dependency>
|
||||
<Dependency>tiff-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
<Dependency>fontconfig-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">poppler</Dependency>
|
||||
<Dependency>lcms2-32bit</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
<Dependency>libpng-32bit</Dependency>
|
||||
<Dependency>openjpeg-32bit</Dependency>
|
||||
<Dependency>tiff-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
<Dependency>fontconfig-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/libpoppler.so*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-glib-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for poppler-glib</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>cairo-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">poppler-32bit</Dependency>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>cairo-32bit</Dependency>
|
||||
<Dependency>freetype-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/libpoppler-glib.so*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2015-03-04</Date>
|
||||
<Version>0.31.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>0.26.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-01-27</Date>
|
||||
<Version>0.24.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-10-10</Date>
|
||||
<Version>0.24.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-07-28</Date>
|
||||
<Version>0.22.5</Version>
|
||||
<Comment>Move pc files to devel pack, fix pc files for emul32.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-01</Date>
|
||||
<Version>0.22.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2012-04-17</Date>
|
||||
<Version>0.22.3</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-18</Date>
|
||||
<Version>0.20.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>poppler</Name>
|
||||
<Summary xml:lang="tr">Xpdf koduna dayanan bir PDF kitaplığı</Summary>
|
||||
<Summary xml:lang="pl">Biblioteka renderująca PDF</Summary>
|
||||
<Description xml:lang="tr">Poppler, xpdf koduna dayanan bir PDF hazırlama kitaplığıdır.</Description>
|
||||
<Description xml:lang="fr">Poppler est une librairie de rendu PDF basée sur le code source de xpdf-3.0.</Description>
|
||||
<Description xml:lang="pl">Wspólna biblioteka renderująca PDF do integrowania oglądania PDF w aplikacjach desktopowych (oparta na kodzie xpdf-3.0).</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-utils</Name>
|
||||
<Summary xml:lang="tr">PDF dönüşüm araçları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-devel</Name>
|
||||
<Summary xml:lang="tr">poppler için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-cpp-devel</Name>
|
||||
<Summary xml:lang="tr">poppler-cpp için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-glib-devel</Name>
|
||||
<Summary xml:lang="tr">poppler-glib için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-qt</Name>
|
||||
<Summary xml:lang="tr">Poppler için Qt bağlayıcısı</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-qt-devel</Name>
|
||||
<Summary xml:lang="tr">poppler-qt için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-cpp</Name>
|
||||
<Summary xml:lang="tr">Poppler için C++ bağlayıcısı</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>poppler-glib</Name>
|
||||
<Summary xml:lang="tr">Poppler için Glib bağlayıcısı</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -15,6 +15,10 @@
|
||||
<Archive sha1sum="3c3a857a117ce48a1947a16860056e77cd494fdf" type="tarbz2">mirrors://xorg/individual/lib/libICE-1.0.9.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libbsd-devel</Dependency>
|
||||
<Dependency>util-macros</Dependency>
|
||||
<Dependency>xorg-proto</Dependency>
|
||||
<Dependency>xtrans</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -47,7 +51,11 @@
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libICE</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency release="current">libICE</Dependency>
|
||||
</RuntimeDependencies>
|
||||
|
||||
|
||||
@@ -15,13 +15,17 @@
|
||||
<Archive sha1sum="e6d5dab6828dfd296e564518d2ed0a349a25a714" type="tarbz2">mirrors://xorg/individual/lib/libSM-1.2.2.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libICE-devel</Dependency>
|
||||
<Dependency>libuuid-devel</Dependency>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
<Dependency>util-macros</Dependency>
|
||||
<Dependency>xorg-proto</Dependency>
|
||||
<Dependency>xtrans</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libSM</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libutil-linux</Dependency>
|
||||
<Dependency>libICE</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
@@ -52,12 +56,14 @@
|
||||
<Summary>32-bit shared libraries for libSM</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>libICE-32bit</Dependency>
|
||||
<Dependency>libuuid-32bit</Dependency>
|
||||
<Dependency>libutil-linux-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>libICE-32bit</Dependency>
|
||||
<Dependency>libuuid-32bit</Dependency>
|
||||
<Dependency>libutil-linux-32bit</Dependency>
|
||||
<Dependency release="current">libSM</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
|
||||
@@ -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")
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user