irrelevant stuff cleanup
This commit is contained in:
parent
d5b3a73440
commit
0d1f113ddd
26 changed files with 0 additions and 11967 deletions
|
@ -1,50 +0,0 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Sun Jun 19 09:43:20 UTC 2016
|
||||
pkgbase = cairo-ubuntu
|
||||
pkgdesc = Cairo vector graphics library
|
||||
pkgver = 1.14.6
|
||||
pkgrel = 1
|
||||
url = http://cairographics.org/
|
||||
changelog = CHANGELOG
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = LGPL
|
||||
license = MPL
|
||||
makedepends = librsvg
|
||||
makedepends = gtk2
|
||||
makedepends = poppler-glib
|
||||
makedepends = libspectre
|
||||
makedepends = gtk-doc
|
||||
makedepends = valgrind
|
||||
makedepends = git
|
||||
depends = libpng
|
||||
depends = libxrender
|
||||
depends = libxext
|
||||
depends = fontconfig
|
||||
depends = pixman>=0.28.0
|
||||
depends = glib2
|
||||
depends = mesa
|
||||
depends = libgl
|
||||
depends = lzo
|
||||
provides = cairo=1.14.6
|
||||
provides = cairo-ubuntu
|
||||
provides = cairo-xcb
|
||||
conflicts = cairo
|
||||
conflicts = cairo-cleartype
|
||||
conflicts = cairo-git
|
||||
conflicts = cairo-gl-git
|
||||
conflicts = cairo-glitz
|
||||
conflicts = cairo-ocaml-git
|
||||
conflicts = cairo-small
|
||||
replaces = cairo-xcb
|
||||
source = http://cairographics.org/releases/cairo-1.14.6.tar.xz
|
||||
source = cairo-respect-fontconfig_pb.patch
|
||||
source = cairo-server-side-gradients.patch
|
||||
source = cairo-webkit-html5-fix.patch
|
||||
md5sums = 23a0b2f0235431d35238df1d3a517fdb
|
||||
md5sums = 080eac1ce1b2fa2beb550555d31d29b8
|
||||
md5sums = 4ffec1c86085da11bf9f56d6bf88fbdf
|
||||
md5sums = 6080d20e289f5e75cc013e8f40710aa3
|
||||
|
||||
pkgname = cairo-ubuntu
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
|
||||
cairo-infinality-ultimate
|
||||
=========================
|
||||
|
||||
CHANGELOG
|
||||
---------
|
||||
|
||||
2014-10-15
|
||||
~~~~~~~~~~
|
||||
|
||||
### cairo-infinality-ultimate, rev. 1.14.0-1 (incl. multilib)
|
||||
|
||||
* New upstream release.
|
||||
|
||||
2014-09-26
|
||||
~~~~~~~~~~
|
||||
|
||||
### cairo-infinality-ultimate, rev. 1.13.1-2 (incl. multilib)
|
||||
|
||||
* Merging latest upstream commits as used in the stock Arch Linux cairo 1.13.1.
|
||||
* Removing obsolete Ubuntu patches.
|
||||
|
||||
2014-09-09
|
||||
~~~~~~~~~~
|
||||
|
||||
### cairo-infinality-ultimate, rev. 1.13.1-1 (incl. multilib)
|
||||
|
||||
* Upstream code base upgraded to version 1.13.1 (Ubuntu source package).
|
||||
* Fixed Webkit browsers crashing on HTML5 video playback.
|
||||
|
||||
2014-06-01
|
||||
~~~~~~~~~~
|
||||
|
||||
### cairo-infinality-ultimate, rev. 1.12.16-6 (incl. multilib)
|
||||
|
||||
* Package update.
|
||||
|
||||
2014-05-03
|
||||
~~~~~~~~~~
|
||||
|
||||
### cairo-infinality-ultimate, rev. 1.12.16-5
|
||||
|
||||
* Package update.
|
||||
|
||||
2013-10-11
|
||||
~~~~~~~~~~
|
||||
|
||||
### cairo-infinality-ultimate, rev. 1.12.16-3
|
||||
|
||||
* Packages rebuilt with the updated Ubuntu patchset.
|
||||
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
# Maintainer: Ner0
|
||||
# Contributor: Tevin Zhang <mail2tevin {at} gmail {dot} com>
|
||||
# Contributor: Paul Bredbury <brebs@sent.com>
|
||||
# Contributor: Biru Ionut <biru.ionut at gmail.com>
|
||||
# Contributor: Andrea Fagiani <andfagiani {at} gmail {dot} com>
|
||||
|
||||
# Installation order: freetype2-ubuntu fontconfig-ubuntu libxft-ubuntu cairo-ubuntu
|
||||
# Source : https://github.com/bohoomil/fontconfig-ultimate/tree/pkgbuild/03_cairo-iu
|
||||
# Thanks to bohomil
|
||||
|
||||
pkgname=cairo-ubuntu
|
||||
_name=cairo
|
||||
pkgver=1.14.6
|
||||
pkgrel=1
|
||||
pkgdesc="Cairo vector graphics library"
|
||||
arch=(i686 x86_64)
|
||||
license=('LGPL' 'MPL')
|
||||
changelog=CHANGELOG
|
||||
url="http://cairographics.org/"
|
||||
depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0'
|
||||
'glib2' 'mesa' 'libgl' 'lzo')
|
||||
makedepends=('librsvg' 'gtk2' 'poppler-glib' 'libspectre'
|
||||
'gtk-doc' 'valgrind' 'git')
|
||||
provides=("cairo=$pkgver" 'cairo-ubuntu' 'cairo-xcb')
|
||||
replaces=('cairo-xcb')
|
||||
conflicts=('cairo' 'cairo-cleartype' 'cairo-git' 'cairo-gl-git' 'cairo-glitz'
|
||||
'cairo-ocaml-git' 'cairo-small')
|
||||
source=(http://cairographics.org/releases/cairo-$pkgver.tar.xz
|
||||
cairo-respect-fontconfig_pb.patch
|
||||
cairo-server-side-gradients.patch
|
||||
cairo-webkit-html5-fix.patch)
|
||||
|
||||
prepare(){
|
||||
cd $_name-$pkgver
|
||||
|
||||
patch -Np1 -i $srcdir/cairo-respect-fontconfig_pb.patch
|
||||
patch -Np1 -i $srcdir/cairo-server-side-gradients.patch
|
||||
patch -Np1 -i $srcdir/cairo-webkit-html5-fix.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_name-$pkgver
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--disable-lto \
|
||||
--enable-tee \
|
||||
--enable-gl \
|
||||
--enable-egl \
|
||||
--enable-svg \
|
||||
--enable-ps \
|
||||
--enable-pdf \
|
||||
--enable-gobject \
|
||||
--enable-gtk-doc
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $_name-$pkgver
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_name-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
md5sums=('23a0b2f0235431d35238df1d3a517fdb'
|
||||
'080eac1ce1b2fa2beb550555d31d29b8'
|
||||
'4ffec1c86085da11bf9f56d6bf88fbdf'
|
||||
'6080d20e289f5e75cc013e8f40710aa3')
|
|
@ -1,13 +0,0 @@
|
|||
--- a/src/cairo-ft-font.c 2008-09-29 21:43:13.000000000 +0100
|
||||
+++ b/src/cairo-ft-font.c 2008-09-29 21:52:19.000000000 +0100
|
||||
@@ -1705,7 +1705,9 @@
|
||||
options->base.subpixel_order = other->base.subpixel_order;
|
||||
}
|
||||
|
||||
- if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT)
|
||||
+ options->base.hint_style = CAIRO_HINT_STYLE_DEFAULT;
|
||||
+
|
||||
+ if (other->base.hint_style != CAIRO_HINT_STYLE_DEFAULT)
|
||||
options->base.hint_style = other->base.hint_style;
|
||||
|
||||
if (other->base.hint_style == CAIRO_HINT_STYLE_NONE)
|
|
@ -1,17 +0,0 @@
|
|||
# Description: don't use server side gradients most drivers don't handle it
|
||||
Index: cairo-1.12.2/src/cairo-xlib-display.c
|
||||
===================================================================
|
||||
--- cairo-1.12.2.orig/src/cairo-xlib-display.c 2012-04-25 21:53:19.000000000 +1200
|
||||
+++ cairo-1.12.2/src/cairo-xlib-display.c 2012-05-17 16:06:18.543220800 +1200
|
||||
@@ -266,11 +266,7 @@
|
||||
/* Prior to Render 0.10, there is no protocol support for gradients and
|
||||
* we call function stubs instead, which would silently consume the drawing.
|
||||
*/
|
||||
-#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
|
||||
display->buggy_gradients = TRUE;
|
||||
-#else
|
||||
- display->buggy_gradients = FALSE;
|
||||
-#endif
|
||||
display->buggy_pad_reflect = FALSE;
|
||||
display->buggy_repeat = FALSE;
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
From 0742b90a214b35951414558f6f5579f79b8a8194 Mon Sep 17 00:00:00 2001
|
||||
From: Massimo Valentini <mvalentini@src.gnome.org>
|
||||
Date: Thu, 21 Aug 2014 17:15:51 +0200
|
||||
Subject: [PATCH] Fix segfault rendering videos in webkit based browsers
|
||||
|
||||
do not tessellate empty boxes.
|
||||
|
||||
Reported-by: Henrique Lengler <henriqueleng@openmailbox.org>
|
||||
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81699
|
||||
---
|
||||
src/cairo-bentley-ottmann-rectangular.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/src/cairo-bentley-ottmann-rectangular.c b/src/cairo-bentley-ottmann-rectangular.c
|
||||
index 5541bdc..4bcd8d1 100644
|
||||
--- a/src/cairo-bentley-ottmann-rectangular.c
|
||||
+++ b/src/cairo-bentley-ottmann-rectangular.c
|
||||
@@ -823,6 +823,9 @@ _cairo_bentley_ottmann_tessellate_boxes (const cairo_boxes_t *in,
|
||||
for (i = 0; i < chunk->count; i++) {
|
||||
int h;
|
||||
|
||||
+ if (box[i].p1.y == box[i].p2.y)
|
||||
+ continue;
|
||||
+
|
||||
if (box[i].p1.x < box[i].p2.x) {
|
||||
rectangles[j].left.x = box[i].p1.x;
|
||||
rectangles[j].left.dir = 1;
|
||||
--
|
||||
1.9.3
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Sun Jun 19 10:10:32 UTC 2016
|
||||
pkgbase = freetype2-ubuntu
|
||||
pkgdesc = TrueType font rendering library, with Ubuntu's LCD rendering patches
|
||||
pkgver = 2.6.3
|
||||
pkgrel = 3
|
||||
url = https://launchpad.net/ubuntu/+source/freetype
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
depends = zlib
|
||||
depends = bzip2
|
||||
depends = sh
|
||||
provides = freetype2=2.6.3
|
||||
provides = libfreetype.so
|
||||
conflicts = freetype2
|
||||
conflicts = freetype2-cleartype
|
||||
conflicts = freetype2-lcd
|
||||
options = !libtool
|
||||
source = http://downloads.sourceforge.net/sourceforge/freetype/freetype-2.6.3.tar.bz2
|
||||
source = https://launchpad.net/ubuntu/+archive/primary/+files/freetype_2.6.3-3ubuntu1.diff.gz
|
||||
source = freetype-2.2.1-enable-valid.patch
|
||||
source = freetype-2.3.0-enable-spr.patch
|
||||
source = freetype-2.4.11-enable-sph.patch
|
||||
md5sums = 0037b25a8c090bc8a1218e867b32beb1
|
||||
md5sums = 161e88978b77ee9be913b98f33fb9a23
|
||||
md5sums = 214119610444c9b02766ccee5e220680
|
||||
md5sums = 38765b5cc604179bf3afe33671d8ae37
|
||||
md5sums = 4d4a0caad7aa5e09bea0719cd80681bf
|
||||
|
||||
pkgname = freetype2-ubuntu
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
# Installation order: freetype2-ubuntu fontconfig-ubuntu libxft cairo-ubuntu
|
||||
pkgname=freetype2-ubuntu
|
||||
pkgver=2.6.3
|
||||
_ubver=2.6.3-3ubuntu1
|
||||
_ubrel=utopic
|
||||
pkgrel=3
|
||||
pkgdesc="TrueType font rendering library, with Ubuntu's LCD rendering patches"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://launchpad.net/ubuntu/+source/freetype"
|
||||
license=('GPL')
|
||||
depends=('zlib' 'bzip2' 'sh')
|
||||
conflicts=('freetype2' 'freetype2-cleartype' 'freetype2-lcd')
|
||||
provides=("freetype2=$pkgver" "libfreetype.so")
|
||||
options=('!libtool')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2
|
||||
https://launchpad.net/ubuntu/+archive/primary/+files/freetype_${_ubver}.diff.gz
|
||||
freetype-2.2.1-enable-valid.patch
|
||||
freetype-2.3.0-enable-spr.patch
|
||||
freetype-2.4.11-enable-sph.patch)
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/freetype-${pkgver}"
|
||||
|
||||
# Patch from ubuntu
|
||||
patch -Np1 -i $srcdir/freetype_$_ubver.diff
|
||||
|
||||
|
||||
sed -e "s/-p[0-9]\|.*otvalid\.patch//g" \
|
||||
-i debian/patches-freetype/series
|
||||
|
||||
sed -e 's/ src/ a\/src/g' \
|
||||
-e '/^Index.*ftbase.c/,/EOF/d' \
|
||||
-i debian/patches-freetype/freetype-2.1.7-backwards.compat.patch
|
||||
|
||||
for _f in $(cat debian/patches-freetype/series) ; do
|
||||
patch -Np1 -i debian/patches-freetype/$_f
|
||||
done
|
||||
|
||||
# Patches from arch trunkcat debian/patches-freetype/series
|
||||
patch -Np1 -i "${srcdir}/freetype-2.2.1-enable-valid.patch"
|
||||
# patch -Np1 -i "${srcdir}/freetype-2.3.0-enable-spr.patch"
|
||||
# Disabled for now due to resistance
|
||||
# Kept here for easier rebuilds via ABS
|
||||
# https://bugs.archlinux.org/task/35274
|
||||
#patch -Np1 -i "${srcdir}/freetype-2.4.11-enable-sph.patch"
|
||||
}
|
||||
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/freetype-${pkgver}
|
||||
|
||||
# PNG support is useless if FT_CONFIG_OPTION_USE_PNG is disabled
|
||||
./configure --prefix=/usr --disable-static \
|
||||
--without-png
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/freetype-${pkgver}"
|
||||
make -k check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/freetype-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
md5sums=('0037b25a8c090bc8a1218e867b32beb1'
|
||||
'161e88978b77ee9be913b98f33fb9a23'
|
||||
'214119610444c9b02766ccee5e220680'
|
||||
'38765b5cc604179bf3afe33671d8ae37'
|
||||
'4d4a0caad7aa5e09bea0719cd80681bf')
|
|
@ -1,20 +0,0 @@
|
|||
--- freetype-2.2.1/modules.cfg.orig 2006-07-07 21:01:09.000000000 -0400
|
||||
+++ freetype-2.2.1/modules.cfg 2006-07-07 21:01:54.000000000 -0400
|
||||
@@ -110,7 +110,7 @@
|
||||
AUX_MODULES += cache
|
||||
|
||||
# TrueType GX/AAT table validation. Needs ftgxval.c below.
|
||||
-# AUX_MODULES += gxvalid
|
||||
+AUX_MODULES += gxvalid
|
||||
|
||||
# Support for streams compressed with gzip (files with suffix .gz).
|
||||
#
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
# OpenType table validation. Needs ftotval.c below.
|
||||
#
|
||||
-# AUX_MODULES += otvalid
|
||||
+AUX_MODULES += otvalid
|
||||
|
||||
# Auxiliary PostScript driver component to share common code.
|
||||
#
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,84 +0,0 @@
|
|||
# Contributor: Claire Farron <https://github.com/clfarron4/lib32-freetype2-ubuntu-archlinux>
|
||||
# Contributor: Edoardo Maria Elidoro <edoardo.elidoro at gmail.com>
|
||||
# Contributor: Scott Bernynski <scott.bernynski@gmx.com>
|
||||
# Contributor: Andrea Fagiani <andfagiani {at} gmail {dot} com>
|
||||
# Contributor: Paul Bredbury <brebs@sent.com>
|
||||
# Contributor: Biru Ionut <biru.ionut at gmail.com>
|
||||
|
||||
# Installation order: freetype2-ubuntu fontconfig-ubuntu libxft cairo-ubuntu
|
||||
_pkgbasename=freetype2-ubuntu
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=2.6.3
|
||||
_ubver=2.6.3-3ubuntu1
|
||||
_ubrel=utopic
|
||||
pkgrel=1
|
||||
pkgdesc="TrueType font rendering library, with Ubuntu's LCD rendering patches (32-bit)"
|
||||
arch=('x86_64')
|
||||
url="https://launchpad.net/ubuntu/+source/freetype"
|
||||
license=('GPL')
|
||||
depends=('lib32-bzip2' 'lib32-zlib' 'freetype2-ubuntu')
|
||||
makedepends=('gcc-multilib')
|
||||
conflicts=('lib32-freetype2' 'lib32-freetype2-cleartype' 'lib32-freetype2-lcd')
|
||||
provides=("lib32-freetype2=$pkgver")
|
||||
options=('!libtool')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2
|
||||
https://launchpad.net/ubuntu/+archive/primary/+files/freetype_${_ubver}.diff.gz
|
||||
freetype-2.2.1-enable-valid.patch
|
||||
freetype-2.3.0-enable-spr.patch
|
||||
freetype-2.4.11-enable-sph.patch)
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/freetype-${pkgver}"
|
||||
|
||||
# Patch from ubuntu
|
||||
patch -Np1 -i $srcdir/freetype_$_ubver.diff
|
||||
|
||||
|
||||
sed -e "s/-p[0-9]\|.*otvalid\.patch//g" \
|
||||
-i debian/patches-freetype/series
|
||||
|
||||
sed -e 's/ src/ a\/src/g' \
|
||||
-e '/^Index.*ftbase.c/,/EOF/d' \
|
||||
-i debian/patches-freetype/freetype-2.1.7-backwards.compat.patch
|
||||
|
||||
for _f in $(cat debian/patches-freetype/series) ; do
|
||||
patch -Np1 -i debian/patches-freetype/$_f
|
||||
done
|
||||
|
||||
# Patches from arch trunkcat debian/patches-freetype/series
|
||||
patch -Np1 -i "${srcdir}/freetype-2.2.1-enable-valid.patch"
|
||||
# patch -Np1 -i "${srcdir}/freetype-2.3.0-enable-spr.patch"
|
||||
# Disabled for now due to resistance
|
||||
# Kept here for easier rebuilds via ABS
|
||||
# https://bugs.archlinux.org/task/35274
|
||||
#patch -Np1 -i "${srcdir}/freetype-2.4.11-enable-sph.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
cd ${srcdir}/freetype-${pkgver}
|
||||
|
||||
# PNG support is useless if FT_CONFIG_OPTION_USE_PNG is disabled
|
||||
./configure --prefix=/usr --libdir=/usr/lib32 --disable-static \
|
||||
--without-png
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/freetype-${pkgver}"
|
||||
make -k check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/freetype-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
rm -rf $pkgdir/usr/{include,share,bin}
|
||||
}
|
||||
md5sums=('0037b25a8c090bc8a1218e867b32beb1'
|
||||
'161e88978b77ee9be913b98f33fb9a23'
|
||||
'214119610444c9b02766ccee5e220680'
|
||||
'38765b5cc604179bf3afe33671d8ae37'
|
||||
'4d4a0caad7aa5e09bea0719cd80681bf')
|
|
@ -1,20 +0,0 @@
|
|||
--- freetype-2.2.1/modules.cfg.orig 2006-07-07 21:01:09.000000000 -0400
|
||||
+++ freetype-2.2.1/modules.cfg 2006-07-07 21:01:54.000000000 -0400
|
||||
@@ -110,7 +110,7 @@
|
||||
AUX_MODULES += cache
|
||||
|
||||
# TrueType GX/AAT table validation. Needs ftgxval.c below.
|
||||
-# AUX_MODULES += gxvalid
|
||||
+AUX_MODULES += gxvalid
|
||||
|
||||
# Support for streams compressed with gzip (files with suffix .gz).
|
||||
#
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
# OpenType table validation. Needs ftotval.c below.
|
||||
#
|
||||
-# AUX_MODULES += otvalid
|
||||
+AUX_MODULES += otvalid
|
||||
|
||||
# Auxiliary PostScript driver component to share common code.
|
||||
#
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,125 +0,0 @@
|
|||
# $Id: PKGBUILD 147372 2015-11-22 06:16:44Z lcarlier $
|
||||
# Maintainer: Thomas Baechler <thomas@archlinux.org>
|
||||
# Contributor: James Rayner <iphitus@gmail.com>
|
||||
|
||||
_pkgbasename=nvidia-utils
|
||||
pkgbase=lib32-$_pkgbasename
|
||||
pkgname=('lib32-nvidia-358-utils' 'lib32-nvidia-358-libgl' 'lib32-opencl-nvidia-358')
|
||||
pkgver=358.16
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
url="http://www.nvidia.com/"
|
||||
license=('custom')
|
||||
options=('!strip')
|
||||
|
||||
_arch='x86'
|
||||
_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
|
||||
source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
|
||||
md5sums=('5dfe11ca13548ca4813b10f3223d6014')
|
||||
|
||||
create_links() {
|
||||
# create soname links
|
||||
for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do
|
||||
_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 'SONAME.*: \[\K[^]]*' || true)
|
||||
_base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/')
|
||||
[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
|
||||
[[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}"
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
sh ${_pkg}.run --extract-only
|
||||
}
|
||||
|
||||
package_lib32-opencl-nvidia-358() {
|
||||
pkgdesc="OpenCL implemention for NVIDIA (32-bit)"
|
||||
depends=('lib32-libcl' 'lib32-zlib' 'lib32-gcc-libs')
|
||||
conflicts=('lib32-opencl-nvidia')
|
||||
provides=('lib32-opencl-nvidia')
|
||||
optdepends=('opencl-headers: headers necessary for OpenCL development')
|
||||
cd "${_pkg}"
|
||||
|
||||
# OpenCL
|
||||
install -D -m755 "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}"
|
||||
|
||||
create_links
|
||||
|
||||
mkdir -p "${pkgdir}/usr/share/licenses"
|
||||
ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-opencl-nvidia"
|
||||
}
|
||||
|
||||
package_lib32-nvidia-358-libgl() {
|
||||
pkgdesc="NVIDIA drivers libraries symlinks (32-bit)"
|
||||
depends=('lib32-nvidia-358-utils')
|
||||
replaces=('lib32-nvidia-utils<=313.26-1')
|
||||
conflicts=('lib32-libgl' 'lib32-nvidia-libgl')
|
||||
provides=('lib32-libgl' 'lib32-nvidia-libg')
|
||||
cd "${_pkg}"
|
||||
|
||||
mkdir -p "${pkgdir}/usr/lib32"
|
||||
ln -s "/usr/lib32/nvidia/libGL.so.${pkgver}" "${pkgdir}/usr/lib32/libGL.so.${pkgver}"
|
||||
ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib32/libGL.so.1"
|
||||
ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib32/libGL.so"
|
||||
|
||||
ln -s "/usr/lib32/nvidia/libEGL.so.1" "${pkgdir}/usr/lib32/libEGL.so.1"
|
||||
ln -s "libEGL.so.1" "${pkgdir}/usr/lib32/libEGL.so.${pkgver}"
|
||||
ln -s "libEGL.so.1" "${pkgdir}/usr/lib32/libEGL.so"
|
||||
|
||||
ln -s "/usr/lib32/nvidia/libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM.so.${pkgver}"
|
||||
ln -s "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM.so.1"
|
||||
ln -s "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM.so"
|
||||
|
||||
ln -s "/usr/lib32/nvidia/libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2.so.${pkgver}"
|
||||
ln -s "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2.so.2"
|
||||
ln -s "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2.so"
|
||||
|
||||
mkdir -p "${pkgdir}/usr/share/licenses"
|
||||
ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-nvidia-libgl"
|
||||
}
|
||||
|
||||
package_lib32-nvidia-358-utils() {
|
||||
pkgdesc="NVIDIA drivers utilities (32-bit)"
|
||||
depends=('lib32-zlib' 'lib32-gcc-libs' 'nvidia-utils')
|
||||
optdepends=('lib32-opencl-nvidia')
|
||||
conflicts=('lib32-nvidia-utils')
|
||||
provides=('lib32-nvidia-utils')
|
||||
cd "${_pkg}"
|
||||
|
||||
# OpenGL libraries
|
||||
install -D -m755 "libGL.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libGL.so.${pkgver}"
|
||||
install -D -m755 "libEGL.so.1" "${pkgdir}/usr/lib32/nvidia/libEGL.so.1"
|
||||
install -D -m755 "libEGL_nvidia.so.0" "${pkgdir}/usr/lib32/libEGL_nvidia.so.0"
|
||||
install -D -m755 "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libGLESv1_CM.so.${pkgver}"
|
||||
install -D -m755 "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libGLESv2.so.${pkgver}"
|
||||
install -D -m755 "libOpenGL.so.0" "${pkgdir}/usr/lib32/libOpenGL.so.0"
|
||||
install -D -m755 "libGLdispatch.so.0" "${pkgdir}/usr/lib32/libGLdispatch.so.0"
|
||||
|
||||
# OpenGL core library
|
||||
install -D -m755 "libnvidia-glcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-eglcore.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glsi.so.${pkgver}"
|
||||
|
||||
# misc
|
||||
install -D -m755 "libnvidia-ifr.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ifr.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-fbc.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-encode.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}"
|
||||
|
||||
# VDPAU
|
||||
install -D -m755 "libvdpau_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.so.${pkgver}"
|
||||
|
||||
# nvidia-tls library
|
||||
install -D -m755 "tls/libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-tls.so.${pkgver}"
|
||||
|
||||
# CUDA
|
||||
install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib32/libcuda.so.${pkgver}"
|
||||
install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib32/libnvcuvid.so.${pkgver}"
|
||||
|
||||
create_links
|
||||
|
||||
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
||||
mkdir -p "${pkgdir}/usr/share/licenses"
|
||||
ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
|
@ -1,85 +0,0 @@
|
|||
# $Id: PKGBUILD 257391 2015-12-31 08:27:22Z tpowa $
|
||||
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Contributor: Thomas Baechler <thomas@archlinux.org>
|
||||
|
||||
pkgbase=nvidia
|
||||
pkgname=('nvidia-358' 'nvidia-358-dkms')
|
||||
pkgver=358.16
|
||||
_extramodules=extramodules-4.4-ARCH
|
||||
pkgrel=3
|
||||
pkgdesc="NVIDIA drivers for linux"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.nvidia.com/"
|
||||
makedepends=('nvidia-libgl' "nvidia-358-utils=${pkgver}" 'linux' 'linux-headers>=4.4' 'linux-headers<4.5')
|
||||
license=('custom')
|
||||
options=('!strip')
|
||||
source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run")
|
||||
source_x86_64=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
|
||||
sha512sums_i686=('a5d37fb56a59b9958f6c34139250baf13a1c42ffc70f7deb19ffaac1ae6c2ce80b96649c5797d60754050d75792d14141cd5ebc8820bb73ee4aad4aa6d6c5b20')
|
||||
sha512sums_x86_64=('eb1abeebbfa807c784e9019afaa3f238d2142b28467c80dcac8d5199cf1082d72ab417e39660bda076023aecb7d04d9c3c91a2d494f1513cfe82b617b17a2297')
|
||||
|
||||
[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
|
||||
[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
|
||||
|
||||
prepare() {
|
||||
sh "${_pkg}.run" --extract-only
|
||||
cd "${_pkg}"
|
||||
# patches here
|
||||
|
||||
cp -a kernel kernel-dkms
|
||||
cd kernel-dkms
|
||||
sed -i "s/__VERSION_STRING/${pkgver}/" dkms.conf
|
||||
sed -i 's/__JOBS/`nproc`/' dkms.conf
|
||||
sed -i 's/__DKMS_MODULES//' dkms.conf
|
||||
sed -i '$iBUILT_MODULE_NAME[0]="nvidia"\
|
||||
DEST_MODULE_LOCATION[0]="/kernel/drivers/video"\
|
||||
BUILT_MODULE_NAME[1]="nvidia-uvm"\
|
||||
DEST_MODULE_LOCATION[1]="/kernel/drivers/video"\
|
||||
BUILT_MODULE_NAME[2]="nvidia-modeset"\
|
||||
DEST_MODULE_LOCATION[2]="/kernel/drivers/video"' dkms.conf
|
||||
}
|
||||
|
||||
build() {
|
||||
_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
|
||||
cd "${_pkg}"/kernel
|
||||
make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
|
||||
}
|
||||
|
||||
package_nvidia-358() {
|
||||
pkgdesc="NVIDIA drivers for linux"
|
||||
depends=('linux>=4.4' 'linux<4.5' "nvidia-358-utils=${pkgver}" 'libgl')
|
||||
conflicts=('nvidia')
|
||||
provides=('nvidia')
|
||||
install=nvidia.install
|
||||
|
||||
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
|
||||
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
|
||||
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-modeset.ko" \
|
||||
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-modeset.ko"
|
||||
|
||||
if [[ "$CARCH" = "x86_64" ]]; then
|
||||
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-uvm.ko" \
|
||||
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko"
|
||||
fi
|
||||
|
||||
gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko
|
||||
install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
|
||||
|
||||
echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia.conf"
|
||||
}
|
||||
|
||||
package_nvidia-358-dkms() {
|
||||
pkgdesc="NVIDIA driver sources for linux"
|
||||
depends=('dkms' "nvidia-358-utils=$pkgver" 'libgl')
|
||||
optdepends=('linux-headers: Build the module for Arch kernel'
|
||||
'linux-lts-headers: Build the module for LTS Arch kernel')
|
||||
conflicts+=('nvidia' 'nvidia-358')
|
||||
provides=('nvidia-dkms')
|
||||
install=nvidia-dkms.install
|
||||
|
||||
cd ${_pkg}
|
||||
install -dm 755 "${pkgdir}"/usr/{lib/modprobe.d,src}
|
||||
cp -dr --no-preserve='ownership' kernel-dkms "${pkgdir}/usr/src/nvidia-${pkgver}"
|
||||
echo 'blacklist nouveau' > "${pkgdir}/usr/lib/modprobe.d/nvidia.conf"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
#/bin/sh
|
||||
|
||||
# arg 1: the new package version
|
||||
post_install() {
|
||||
dkms add nvidia/${1%-*}
|
||||
cat << EOF
|
||||
==> To build and install your modules run: dkms install nvidia/${1%-*}
|
||||
==> To do this automatically at startup run: systemctl enable dkms.service
|
||||
EOF
|
||||
}
|
||||
|
||||
# arg 1: the new package version
|
||||
# arg 2: the old package version
|
||||
pre_upgrade() {
|
||||
pre_remove "$2"
|
||||
}
|
||||
|
||||
# arg 1: the new package version
|
||||
# arg 2: the old package version
|
||||
post_upgrade() {
|
||||
post_install "$1"
|
||||
}
|
||||
|
||||
# arg 1: the old package version
|
||||
pre_remove() {
|
||||
# Remove modules using dkms
|
||||
[ -n "${1%-*}" ] && dkms remove nvidia/${1%-*} --all &>/dev/null || true
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 ft=sh et:
|
|
@ -1,13 +0,0 @@
|
|||
post_install() {
|
||||
EXTRAMODULES='extramodules-4.4-ARCH'
|
||||
depmod $(cat /usr/lib/modules/${EXTRAMODULES}/version)
|
||||
echo 'In order to use nvidia module, reboot the system.'
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
|
@ -1,192 +0,0 @@
|
|||
# $Id: PKGBUILD 251844 2015-11-22 06:13:04Z lcarlier $
|
||||
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
|
||||
# Maintainer: Thomas Baechler <thomas@archlinux.org>
|
||||
# Contributor: James Rayner <iphitus@gmail.com>
|
||||
|
||||
pkgbase=nvidia-utils
|
||||
pkgname=('nvidia-358-utils' 'nvidia-358-libgl' 'opencl-nvidia-358')
|
||||
pkgver=358.16
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.nvidia.com/"
|
||||
license=('custom')
|
||||
options=('!strip')
|
||||
source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run")
|
||||
source_x86_64=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
|
||||
sha512sums_i686=('a5d37fb56a59b9958f6c34139250baf13a1c42ffc70f7deb19ffaac1ae6c2ce80b96649c5797d60754050d75792d14141cd5ebc8820bb73ee4aad4aa6d6c5b20')
|
||||
sha512sums_x86_64=('eb1abeebbfa807c784e9019afaa3f238d2142b28467c80dcac8d5199cf1082d72ab417e39660bda076023aecb7d04d9c3c91a2d494f1513cfe82b617b17a2297')
|
||||
|
||||
[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
|
||||
[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
|
||||
|
||||
create_links() {
|
||||
# create soname links
|
||||
for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do
|
||||
_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 'SONAME.*: \[\K[^]]*' || true)
|
||||
_base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/')
|
||||
[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
|
||||
[[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}"
|
||||
done
|
||||
}
|
||||
|
||||
prepare() {
|
||||
sh "${_pkg}.run" --extract-only
|
||||
cd "${_pkg}"
|
||||
bsdtar -xf nvidia-persistenced-init.tar.bz2
|
||||
}
|
||||
|
||||
package_opencl-nvidia-358() {
|
||||
pkgdesc="OpenCL implemention for NVIDIA"
|
||||
depends=('libcl' 'zlib')
|
||||
optdepends=('opencl-headers: headers necessary for OpenCL development')
|
||||
conflicts=('opencl-nvidia')
|
||||
provides=('opencl-nvidia')
|
||||
cd "${_pkg}"
|
||||
|
||||
# OpenCL
|
||||
install -D -m644 nvidia.icd "${pkgdir}/etc/OpenCL/vendors/nvidia.icd"
|
||||
install -D -m755 "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-compiler.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-opencl.so.${pkgver}"
|
||||
|
||||
create_links
|
||||
|
||||
mkdir -p "${pkgdir}/usr/share/licenses"
|
||||
ln -s nvidia "${pkgdir}/usr/share/licenses/opencl-nvidia"
|
||||
}
|
||||
|
||||
package_nvidia-358-libgl() {
|
||||
pkgdesc="NVIDIA drivers libraries symlinks"
|
||||
depends=('nvidia-358-utils')
|
||||
conflicts=('libgl' 'nvidia-libgl')
|
||||
provides=('libgl' 'nvidia-libgl')
|
||||
cd "${_pkg}"
|
||||
|
||||
mkdir -p "${pkgdir}/usr/lib/xorg/modules/extensions"
|
||||
ln -s "/usr/lib/nvidia/xorg/modules/extensions/libglx.so.${pkgver}" "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so.${pkgver}"
|
||||
ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so.1"
|
||||
ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so"
|
||||
|
||||
ln -s "/usr/lib/nvidia/libGL.so.${pkgver}" "${pkgdir}/usr/lib/libGL.so.${pkgver}"
|
||||
ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib/libGL.so.1"
|
||||
ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib/libGL.so"
|
||||
|
||||
ln -s "/usr/lib/nvidia/libEGL.so.1" "${pkgdir}/usr/lib/libEGL.so.1"
|
||||
ln -s "libEGL.so.1" "${pkgdir}/usr/lib/libEGL.so.$pkgver"
|
||||
ln -s "libEGL.so.1" "${pkgdir}/usr/lib/libEGL.so"
|
||||
|
||||
ln -s "/usr/lib/nvidia/libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv1_CM.so.${pkgver}"
|
||||
ln -s "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv1_CM.so.1"
|
||||
ln -s "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv1_CM.so"
|
||||
|
||||
ln -s "/usr/lib/nvidia/libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv2.so.${pkgver}"
|
||||
ln -s "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv2.so.2"
|
||||
ln -s "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv2.so"
|
||||
|
||||
mkdir -p "${pkgdir}/usr/share/licenses"
|
||||
ln -s nvidia "${pkgdir}/usr/share/licenses/nvidia-libgl"
|
||||
}
|
||||
|
||||
package_nvidia-358-utils() {
|
||||
pkgdesc="NVIDIA drivers utilities"
|
||||
depends=('xorg-server')
|
||||
optdepends=('gtk2: nvidia-settings'
|
||||
'xorg-server-devel: nvidia-xconfig'
|
||||
'opencl-nvidia: OpenCL support')
|
||||
conflicts=('nvidia-utils')
|
||||
provides=('nvidia-utils')
|
||||
install="${pkgname}.install"
|
||||
cd "${_pkg}"
|
||||
|
||||
# X driver
|
||||
install -D -m755 nvidia_drv.so "${pkgdir}/usr/lib/xorg/modules/drivers/nvidia_drv.so"
|
||||
|
||||
# GLX extension module for X
|
||||
install -D -m755 "libglx.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/modules/extensions/libglx.so.${pkgver}"
|
||||
ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/modules/extensions/libglx.so" # X doesn't find glx otherwise
|
||||
|
||||
# OpenGL libraries
|
||||
install -D -m755 "libGL.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/libGL.so.${pkgver}"
|
||||
install -D -m755 "libEGL.so.1" "${pkgdir}/usr/lib/nvidia/libEGL.so.1"
|
||||
install -D -m755 "libEGL_nvidia.so.0" "${pkgdir}/usr/lib/libEGL_nvidia.so.0"
|
||||
install -D -m755 "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/libGLESv1_CM.so.${pkgver}"
|
||||
install -D -m755 "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/libGLESv2.so.${pkgver}"
|
||||
install -D -m755 "libOpenGL.so.0" "${pkgdir}/usr/lib/libOpenGL.so.0"
|
||||
install -D -m755 "libGLdispatch.so.0" "${pkgdir}/usr/lib/libGLdispatch.so.0"
|
||||
|
||||
# OpenGL core library
|
||||
install -D -m755 "libnvidia-glcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glcore.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-eglcore.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glsi.so.${pkgver}"
|
||||
|
||||
# misc
|
||||
install -D -m755 "libnvidia-ifr.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ifr.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-fbc.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-encode.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-cfg.so.${pkgver}"
|
||||
install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ml.so.${pkgver}"
|
||||
|
||||
# VDPAU
|
||||
install -D -m755 "libvdpau_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/vdpau/libvdpau_nvidia.so.${pkgver}"
|
||||
|
||||
# nvidia-tls library
|
||||
install -D -m755 "tls/libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-tls.so.${pkgver}"
|
||||
|
||||
# CUDA
|
||||
install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib/libcuda.so.${pkgver}"
|
||||
install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib/libnvcuvid.so.${pkgver}"
|
||||
|
||||
# DEBUG
|
||||
install -D -m755 nvidia-debugdump "${pkgdir}/usr/bin/nvidia-debugdump"
|
||||
|
||||
# nvidia-xconfig
|
||||
install -D -m755 nvidia-xconfig "${pkgdir}/usr/bin/nvidia-xconfig"
|
||||
install -D -m644 nvidia-xconfig.1.gz "${pkgdir}/usr/share/man/man1/nvidia-xconfig.1.gz"
|
||||
|
||||
# nvidia-settings
|
||||
install -D -m755 nvidia-settings "${pkgdir}/usr/bin/nvidia-settings"
|
||||
install -D -m644 nvidia-settings.1.gz "${pkgdir}/usr/share/man/man1/nvidia-settings.1.gz"
|
||||
install -D -m644 nvidia-settings.desktop "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
|
||||
install -D -m644 nvidia-settings.png "${pkgdir}/usr/share/pixmaps/nvidia-settings.png"
|
||||
install -D -m755 "libnvidia-gtk2.so.$pkgver" "$pkgdir/usr/lib/libnvidia-gtk2.so.$pkgver"
|
||||
install -D -m755 "libnvidia-gtk3.so.$pkgver" "$pkgdir/usr/lib/libnvidia-gtk3.so.$pkgver"
|
||||
sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
|
||||
|
||||
# nvidia-bug-report
|
||||
install -D -m755 nvidia-bug-report.sh "${pkgdir}/usr/bin/nvidia-bug-report.sh"
|
||||
|
||||
# nvidia-smi
|
||||
install -D -m755 nvidia-smi "${pkgdir}/usr/bin/nvidia-smi"
|
||||
install -D -m644 nvidia-smi.1.gz "${pkgdir}/usr/share/man/man1/nvidia-smi.1.gz"
|
||||
|
||||
# nvidia-cuda-mps
|
||||
install -D -m755 nvidia-cuda-mps-server "${pkgdir}/usr/bin/nvidia-cuda-mps-server"
|
||||
install -D -m755 nvidia-cuda-mps-control "${pkgdir}/usr/bin/nvidia-cuda-mps-control"
|
||||
install -D -m644 nvidia-cuda-mps-control.1.gz "${pkgdir}/usr/share/man/man1/nvidia-cuda-mps-control.1.gz"
|
||||
|
||||
# nvidia-modprobe
|
||||
# This should be removed if nvidia fixed their uvm module!
|
||||
install -D -m4755 nvidia-modprobe "${pkgdir}/usr/bin/nvidia-modprobe"
|
||||
install -D -m644 nvidia-modprobe.1.gz "${pkgdir}/usr/share/man/man1/nvidia-modprobe.1.gz"
|
||||
|
||||
# nvidia-persistenced
|
||||
install -D -m755 nvidia-persistenced "${pkgdir}/usr/bin/nvidia-persistenced"
|
||||
install -D -m644 nvidia-persistenced.1.gz "${pkgdir}/usr/share/man/man1/nvidia-persistenced.1.gz"
|
||||
install -D -m644 nvidia-persistenced-init/systemd/nvidia-persistenced.service.template "${pkgdir}/usr/lib/systemd/system/nvidia-persistenced.service"
|
||||
sed -i 's/__USER__/nvidia-persistenced/' "${pkgdir}/usr/lib/systemd/system/nvidia-persistenced.service"
|
||||
|
||||
# application profiles
|
||||
install -D -m644 nvidia-application-profiles-${pkgver}-rc "${pkgdir}/usr/share/nvidia/nvidia-application-profiles-${pkgver}-rc"
|
||||
install -D -m644 nvidia-application-profiles-${pkgver}-key-documentation "${pkgdir}/usr/share/nvidia/nvidia-application-profiles-${pkgver}-key-documentation"
|
||||
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/nvidia/LICENSE"
|
||||
ln -s nvidia "${pkgdir}/usr/share/licenses/nvidia-utils"
|
||||
install -D -m644 README.txt "${pkgdir}/usr/share/doc/nvidia/README"
|
||||
install -D -m644 NVIDIA_Changelog "${pkgdir}/usr/share/doc/nvidia/NVIDIA_Changelog"
|
||||
cp -r html "${pkgdir}/usr/share/doc/nvidia/"
|
||||
ln -s nvidia "${pkgdir}/usr/share/doc/nvidia-utils"
|
||||
|
||||
# distro specific files must be installed in /usr/share/X11/xorg.conf.d
|
||||
install -D -m644 nvidia-drm-outputclass.conf "${pkgdir}/usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf"
|
||||
|
||||
create_links
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
post_upgrade() {
|
||||
echo "If you run into trouble with CUDA not being available, run nvidia-modprobe first."
|
||||
}
|
||||
|
||||
post_install() {
|
||||
getent group nvidia-persistenced &>/dev/null || groupadd -g 143 nvidia-persistenced
|
||||
getent passwd nvidia-persistenced &>/dev/null || useradd -c 'NVIDIA Persistence Daemon' -u 143 -g nvidia-persistenced -d '/' -s /sbin/nologin nvidia-persistenced
|
||||
|
||||
post_upgrade
|
||||
}
|
|
@ -1,254 +0,0 @@
|
|||
--- src/xdefaults.C
|
||||
+++ src/xdefaults.C
|
||||
@@ -155,6 +155,250 @@ optList[] = {
|
||||
RSTRG (Rs_color + minCOLOR + 5, "color5", "color"),
|
||||
RSTRG (Rs_color + minCOLOR + 6, "color6", "color"),
|
||||
RSTRG (Rs_color + minCOLOR + 7, "color7", "color"),
|
||||
+ // 88 xterm colors
|
||||
+ RSTRG (Rs_color + minCOLOR + 16, "color16", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 17, "color17", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 18, "color18", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 19, "color19", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 20, "color20", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 21, "color21", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 22, "color22", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 23, "color23", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 24, "color24", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 25, "color25", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 26, "color26", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 27, "color27", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 28, "color28", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 29, "color29", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 30, "color30", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 31, "color31", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 32, "color32", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 33, "color33", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 34, "color34", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 35, "color35", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 36, "color36", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 37, "color37", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 38, "color38", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 39, "color39", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 40, "color40", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 41, "color41", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 42, "color42", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 43, "color43", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 44, "color44", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 45, "color45", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 46, "color46", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 47, "color47", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 48, "color48", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 49, "color49", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 50, "color50", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 51, "color51", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 52, "color52", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 53, "color53", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 54, "color54", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 55, "color55", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 56, "color56", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 57, "color57", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 58, "color58", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 59, "color59", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 60, "color60", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 61, "color61", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 62, "color62", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 63, "color63", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 64, "color64", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 65, "color65", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 66, "color66", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 67, "color67", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 68, "color68", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 69, "color69", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 70, "color70", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 71, "color71", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 72, "color72", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 73, "color73", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 74, "color74", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 75, "color75", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 76, "color76", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 77, "color77", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 78, "color78", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 79, "color79", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 80, "color80", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 81, "color81", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 82, "color82", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 83, "color83", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 84, "color84", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 85, "color85", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 86, "color86", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 87, "color87", "color"),
|
||||
+#if USE_256_COLORS
|
||||
+ // 256 xterm colors
|
||||
+ RSTRG (Rs_color + minCOLOR + 88, "color88", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 89, "color89", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 90, "color90", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 91, "color91", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 92, "color92", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 93, "color93", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 94, "color94", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 95, "color95", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 96, "color96", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 97, "color97", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 98, "color98", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 99, "color99", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 100, "color100", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 101, "color101", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 102, "color102", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 103, "color103", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 104, "color104", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 105, "color105", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 106, "color106", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 107, "color107", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 108, "color108", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 109, "color109", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 110, "color110", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 111, "color111", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 112, "color112", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 113, "color113", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 114, "color114", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 115, "color115", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 116, "color116", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 117, "color117", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 118, "color118", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 119, "color119", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 120, "color120", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 121, "color121", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 122, "color122", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 123, "color123", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 124, "color124", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 125, "color125", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 126, "color126", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 127, "color127", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 128, "color128", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 129, "color129", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 130, "color130", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 131, "color131", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 132, "color132", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 133, "color133", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 134, "color134", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 135, "color135", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 136, "color136", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 137, "color137", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 138, "color138", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 139, "color139", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 140, "color140", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 141, "color141", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 142, "color142", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 143, "color143", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 144, "color144", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 145, "color145", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 146, "color146", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 147, "color147", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 148, "color148", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 149, "color149", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 150, "color150", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 151, "color151", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 152, "color152", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 153, "color153", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 154, "color154", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 155, "color155", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 156, "color156", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 157, "color157", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 158, "color158", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 159, "color159", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 160, "color160", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 161, "color161", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 162, "color162", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 163, "color163", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 164, "color164", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 165, "color165", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 166, "color166", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 167, "color167", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 168, "color168", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 169, "color169", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 170, "color170", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 171, "color171", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 172, "color172", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 173, "color173", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 174, "color174", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 175, "color175", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 176, "color176", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 177, "color177", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 178, "color178", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 179, "color179", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 180, "color180", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 181, "color181", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 182, "color182", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 183, "color183", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 184, "color184", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 185, "color185", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 186, "color186", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 187, "color187", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 188, "color188", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 189, "color189", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 190, "color190", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 191, "color191", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 192, "color192", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 193, "color193", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 194, "color194", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 195, "color195", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 196, "color196", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 197, "color197", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 198, "color198", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 199, "color199", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 200, "color200", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 201, "color201", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 202, "color202", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 203, "color203", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 204, "color204", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 205, "color205", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 206, "color206", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 207, "color207", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 208, "color208", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 209, "color209", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 210, "color210", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 211, "color211", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 212, "color212", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 213, "color213", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 214, "color214", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 215, "color215", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 216, "color216", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 217, "color217", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 218, "color218", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 219, "color219", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 220, "color220", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 221, "color221", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 222, "color222", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 223, "color223", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 224, "color224", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 225, "color225", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 226, "color226", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 227, "color227", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 228, "color228", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 229, "color229", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 230, "color230", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 231, "color231", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 232, "color232", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 233, "color233", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 234, "color234", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 235, "color235", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 236, "color236", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 237, "color237", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 238, "color238", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 239, "color239", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 240, "color240", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 241, "color241", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 242, "color242", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 243, "color243", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 244, "color244", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 245, "color245", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 246, "color246", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 247, "color247", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 248, "color248", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 249, "color249", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 250, "color250", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 251, "color251", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 252, "color252", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 253, "color253", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 254, "color254", "color"),
|
||||
+ RSTRG (Rs_color + minCOLOR + 255, "color255", "color"),
|
||||
+#endif
|
||||
RSTRG (Rs_color + minBrightCOLOR + 0, "color8", "color"),
|
||||
RSTRG (Rs_color + minBrightCOLOR + 1, "color9", "color"),
|
||||
RSTRG (Rs_color + minBrightCOLOR + 2, "color10", "color"),
|
||||
|
|
@ -1,89 +0,0 @@
|
|||
# Maintainer: Von Random <von@vdrandom.org>
|
||||
# Maintainer: Sébastien Luttringer
|
||||
# Contributor: Angel Velasquez <angvp@archlinux.org>
|
||||
# Contributor: tobias <tobias@archlinux.org>
|
||||
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
|
||||
|
||||
pkgbase=rxvt-unicode
|
||||
pkgname=('rxvt-unicode' 'rxvt-unicode-terminfo')
|
||||
pkgver=9.21
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://software.schmorp.de/pkg/rxvt-unicode.html'
|
||||
license=('GPL')
|
||||
makedepends=('libxft' 'perl' 'startup-notification')
|
||||
source=(
|
||||
'256xresources.patch'
|
||||
"http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2"
|
||||
'urxvt.desktop'
|
||||
'urxvtc.desktop'
|
||||
'urxvt-tabbed.desktop'
|
||||
)
|
||||
md5sums=('fb78c2ecf87626962734320cc2bb7ab1'
|
||||
'a9a06c608258c5fd247c3725d8f44582'
|
||||
'fec94dc986fa37ec380079d81de3e0b2'
|
||||
'fac55f0a8404c86dad3e702146762332'
|
||||
'8a5599197568c63720e282b9722a7990')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
patch -p0 < ../256xresources.patch
|
||||
# we disable smart-resize (FS#34807)
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-terminfo=/usr/share/terminfo \
|
||||
--enable-256-color \
|
||||
--enable-combining \
|
||||
--enable-fading \
|
||||
--enable-font-styles \
|
||||
--enable-iso14755 \
|
||||
--enable-keepscrolling \
|
||||
--enable-lastlog \
|
||||
--enable-mousewheel \
|
||||
--enable-next-scroll \
|
||||
--enable-perl \
|
||||
--enable-pointer-blank \
|
||||
--enable-rxvt-scroll \
|
||||
--enable-selectionscrolling \
|
||||
--enable-slipwheeling \
|
||||
--disable-smart-resize \
|
||||
--enable-startup-notification \
|
||||
--enable-transparency \
|
||||
--enable-unicode3 \
|
||||
--enable-utmp \
|
||||
--enable-wtmp \
|
||||
--enable-xft \
|
||||
--enable-xim \
|
||||
--enable-xterm-scroll \
|
||||
--enable-pixbuf \
|
||||
--disable-frills
|
||||
make
|
||||
}
|
||||
|
||||
package_rxvt-unicode() {
|
||||
pkgdesc='A unicode enabled rxvt-clone terminal emulator (urxvt)'
|
||||
depends=('rxvt-unicode-terminfo' 'libxft' 'perl' 'startup-notification')
|
||||
optdepends=('gtk2-perl: to use the urxvt-tabbed')
|
||||
|
||||
# install freedesktop menu
|
||||
for _f in urxvt urxvtc urxvt-tabbed; do
|
||||
install -Dm644 $_f.desktop "$pkgdir/usr/share/applications/$_f.desktop"
|
||||
done
|
||||
cd $pkgname-$pkgver
|
||||
# workaround terminfo installation
|
||||
export TERMINFO="$srcdir/terminfo"
|
||||
install -d "$TERMINFO"
|
||||
make DESTDIR="$pkgdir" install
|
||||
# install the tabbing wrapper ( requires gtk2-perl! )
|
||||
sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
|
||||
install -Dm 755 doc/rxvt-tabbed "$pkgdir/usr/bin/urxvt-tabbed"
|
||||
}
|
||||
|
||||
package_rxvt-unicode-terminfo() {
|
||||
pkgdesc='Terminfo files for urxvt'
|
||||
conflict=('rxvt-unicode<=9.18-6')
|
||||
install -dm 755 "$pkgdir/usr/share/"
|
||||
mv terminfo "$pkgdir/usr/share/"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
|
@ -1,9 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=urxvt (tabbed)
|
||||
Comment=An unicode capable and tabbed rxvt clone
|
||||
Exec=urxvt-tabbed
|
||||
Icon=utilities-terminal
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=System;TerminalEmulator;
|
|
@ -1,9 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=urxvt
|
||||
Comment=An unicode capable rxvt clone
|
||||
Exec=urxvt
|
||||
Icon=utilities-terminal
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=System;TerminalEmulator;
|
|
@ -1,9 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=urxvt (client)
|
||||
Comment=An unicode capable rxvt clone client for urxvtd
|
||||
Exec=urxvtc
|
||||
Icon=utilities-terminal
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=System;TerminalEmulator;
|
Loading…
Reference in a new issue