Merge remote-tracking branch 'origin/testing' into testing

This commit is contained in:
Fabian 2013-06-19 21:37:14 +00:00
commit b9ba95cdc2
213 changed files with 2113 additions and 3135 deletions

View File

@ -1,72 +0,0 @@
--- a/acerhk.c
+++ b/acerhk.c
@@ -2668,7 +2668,9 @@ static int acerhk_proc_init(void)
printk(KERN_INFO"acerhk: could not create /proc/driver/acerhk\n");
}
else {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
proc_acer_dir->owner = THIS_MODULE;
+#endif
/* now create several files, first general info ... */
entry = create_proc_read_entry("info",
0444, proc_acer_dir, acerhk_proc_info, NULL);
@@ -2677,7 +2679,9 @@ static int acerhk_proc_init(void)
remove_proc_entry("driver/acerhk", NULL);
retval = 0;
} else {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
/* ... last pressed key ... */
entry = create_proc_read_entry("key",
0444, proc_acer_dir, acerhk_proc_key, NULL);
@@ -2687,7 +2691,9 @@ static int acerhk_proc_init(void)
remove_proc_entry("driver/acerhk", NULL);
retval = 0;
} else {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
/* ... and led control file */
entry = create_proc_entry("led", 0222, proc_acer_dir);
if (entry == NULL) {
@@ -2699,7 +2705,9 @@ static int acerhk_proc_init(void)
}
else {
entry->write_proc = acerhk_proc_led;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
/* ... and wireless led controll file */
entry = create_proc_entry("wirelessled", 0222, proc_acer_dir);
if (entry == NULL) {
@@ -2712,7 +2720,9 @@ static int acerhk_proc_init(void)
}
else {
entry->write_proc = acerhk_proc_wirelessled;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
/* ... and bluetooth led controll file */
entry = create_proc_entry("blueled", 0222, proc_acer_dir);
if (entry == NULL) {
@@ -2725,7 +2735,9 @@ static int acerhk_proc_init(void)
retval = 0;
} else {
entry->write_proc = acerhk_proc_blueled;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
retval = 1;
#ifdef ACERDEBUG
/* add extra file for debugging purposes */
@@ -2742,7 +2754,9 @@ static int acerhk_proc_init(void)
}
else {
entry->write_proc = acerhk_proc_debug;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
entry->owner = THIS_MODULE;
+#endif
retval = 1;
}
#endif

View File

@ -1,21 +0,0 @@
--- acerhk.c.orig 2010-10-22 23:33:34.195981177 +0200
+++ acerhk.c 2010-10-22 23:39:16.349277070 +0200
@@ -2793,8 +2793,7 @@ static void acerhk_proc_cleanup(void)
/* {{{ file operations */
-static int acerhk_ioctl( struct inode *inode, struct file *file,
- unsigned int cmd, unsigned long arg )
+static long acerhk_unlocked_ioctl(struct file *file,unsigned int cmd, unsigned long arg )
{
int retval;
switch( cmd ) {
@@ -2904,7 +2903,7 @@ static int acerhk_resume(struct platform
static struct file_operations acerhk_fops = {
owner: THIS_MODULE,
- ioctl: acerhk_ioctl,
+ unlocked_ioctl: acerhk_unlocked_ioctl,
open: acerhk_open,
#ifdef ACERDEBUG
write: acerhk_write,

View File

@ -1,122 +0,0 @@
diff -bBur acerhk-0.5.35-old/acerhk.c acerhk-0.5.35/acerhk.c
--- acerhk-0.5.35-old/acerhk.c 2007-02-10 17:46:23.000000000 +0200
+++ acerhk-0.5.35/acerhk.c 2007-04-28 19:18:49.000000000 +0300
@@ -550,6 +550,7 @@
*/
static asmlinkage void call_bios_6xx(struct register_buffer *buf)
{
+#ifndef __x86_64__
if (bios_routine) {
local_irq_disable();
__asm__ __volatile__(
@@ -578,10 +579,12 @@
);
local_irq_enable();
}
+#endif
}
static asmlinkage void call_bios_52x(struct register_buffer *buf)
{
+#ifndef __x86_64__
if (bios_routine) {
local_irq_disable();
__asm__ __volatile__(
@@ -611,6 +614,7 @@
);
local_irq_enable();
}
+#endif
}
#define PRINT_BUFFER(x) \
@@ -783,7 +787,8 @@
unsigned char c = 0;
spin_lock_irqsave (&rtc_lock, flags);
-#ifndef DUMMYHW
+/* #ifndef DUMMYHW */
+#if !(defined(DUMMYHW) || defined(__x86_64__))
if (cmos_index)
c = CMOS_READ(cmos_index);
else if (verbose > 3)
@@ -867,9 +872,9 @@
static struct proc_dir_entry *proc_acer_dir;
-static unsigned int __init find_hk_area(void)
+static unsigned long __init find_hk_area(void)
{
- int offset, sig;
+ long offset, sig;
unsigned int fkt;
fkt = 0;
sig = -1; /* offset to signature in io area */
@@ -887,9 +892,9 @@
fkt = readl(reg1 + sig + 5);
/* adjust fkt to address of mapped IO area */
if (fkt >= 0xf0000)
- fkt = (unsigned int)reg1 + fkt - 0xf0000;
+ fkt = (unsigned long)reg1 + fkt - 0xf0000;
else if (fkt >= 0xe0000)
- fkt = (unsigned int)reg1 + fkt - 0xe0000;
+ fkt = (unsigned long)reg1 + fkt - 0xe0000;
else
fkt = 0;
}
@@ -1144,6 +1149,7 @@
case 2000:
case 2010:
case 2020:
+ case 5100:
/* Aspire 13xx series laptops use dritek hardware, no
acerhk-mapping needed
VolUp and VolDown are managed as normal keys
@@ -1458,6 +1464,7 @@
case 1800:
case 2010:
case 2020:
+ case 5100:
/* Dritek EC, bluetooth, wifi, mail */
acerhk_type = TM_dritek;
acerhk_model_features = TM_F_MAIL_LED_EC2 | TM_F_WLAN_EC2 | TM_F_BLUE_EC2;
@@ -1792,6 +1799,8 @@
break;
case '2': series = 5020; break;
}
+ } else if (str[8] == '1' && str[9] == '0') {
+ series = 5100;
} else {
if (verbose > 1)
printk(KERN_INFO"acerhk: model string indicates unknown Aspire 5xxx series\n");
@@ -2117,7 +2126,8 @@
/* polling timer handler */
static void acerhk_poll_event(unsigned long save_size)
{
-#ifndef DUMMYHW
+/* #ifndef DUMMYHW */
+#if !(defined(DUMMYHW) || defined(__x86_64__))
unsigned int max = MAX_POLLING_LOOPS;
/* make sure not to loop more then 32 times */
if (!max || max > 32)
@@ -2139,7 +2149,8 @@
{
if (acerhk_blueled_blinking != -1) {
acerhk_blueled_blinking = !acerhk_blueled_blinking;
-#ifndef DUMMYHW
+/* #ifndef DUMMYHW */
+#if !(defined(DUMMYHW) || defined(__x86_64__))
wbutton_fct_1(acerhk_blueled_blinking);
#endif
acerhk_timer_blinking.expires = jiffies + acerhk_blueled_blinking_delay;
@@ -2904,7 +2915,8 @@
/* attach to input system */
init_input();
memset(acerhk_model_string, 0x00, ACERHK_MODEL_STRLEN);
-#ifdef DUMMYHW
+/* #ifdef DUMMYHW */
+#if !(defined(DUMMYHW) || defined(__x86_64__))
acerhk_model_addr = (void*)0x12345678;
/* copy the string, but not more than 15 characters */
strncpy(acerhk_model_string, "TravelmateDummy", ACERHK_MODEL_STRLEN-1);

View File

@ -1,68 +0,0 @@
2010-04-09 Chris Brannon <cmbrannon79@gmail.com>
* Release bump: 17
* PKGBUILD: updated for the 2.6.33 kernel.
* Added kernelversion.patch, since the location of utsrelease.h
changed with the 2.6.33 kernel.
2010-01-11 Chris Brannon <cmbrannon79@gmail.com>
* Release bump: 17
* PKGBUILD: fixed _kernver
2010-01-09 Chris Brannon <cmbrannon79@gmail.com>
* Release bump: 16
* PKGBUILD: updated for the 2.6.32 kernel
2009-10-10 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 15
* PKGBUILD: updated for the 2.6.31 kernel
* acerhk.install: changed modprobe.conf path
2009-06-24 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 14
* PKGBUILD: updated for the 2.6.30 kernel, added compilation patch
* 2.6.30.patch: added
2009-04-09 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 13
* PKGBUILD: updated for the 2.6.29 kernel
2009-01-16 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 12
* PKGBUILD: updated for the 2.6.28 kernel
2008-10-16 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 11
* PKGBUILD: updated for the 2.6.27 kernel
2008-08-12 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 10
* PKGBUILD: updated for the 2.6.26 kernel, moved to $srcdir/$pkgdir
2008-05-27 Corrado Primier <bardo@aur.archlinux.org>
* Release bump: 9
* PKGBUILD: updated for the 2.6.25 kernel
* ChangeLog: added

View File

@ -1,49 +0,0 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=acerhk
pkgver=0.5.35
pkgrel=11
pkgdesc="Acer hotkey driver"
url="http://www.cakey.de/acerhk/"
arch=('i686') # Unavailable for x86_64
license=('GPL')
depends=('linux>=3.0' 'linux<3.1')
makedepends=('linux-headers')
source=(http://www.cakey.de/acerhk/archives/${pkgname}-${pkgver}.tgz acerhk.rc
2.6.30.patch kernelversion.patch 2.6.36.patch flag.patch medion.patch)
install=acerhk.install
# Find the kernel name inside the chroot
_kernver=`pacman -Q linux | cut -c7-9 | sed 's/linux //g'`-CHAKRA
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's/CFLAGS/EXTRA_CFLAGS/' Makefile
sed \
-e 's~#include <linux/config.h>~~g' \
-i acerhk.c
patch -Np1 -i "${srcdir}/2.6.30.patch"
patch -Np0 -i "${srcdir}/2.6.36.patch"
patch -N -p1 < "$srcdir/kernelversion.patch"
patch -Np1 -i "${srcdir}/flag.patch"
patch -Np0 -i "${srcdir}/medion.patch"
# Set KERNELSRC. The makefile tries to autodetect it with uname,
# but that is unreliable.
make KERNELSRC="/lib/modules/${_kernver}/build" acerhk.ko
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/acerhk.ko" \
"${pkgdir}/lib/modules/${_kernver}/kernel/drivers/block/acerhk.ko"
install -Dm755 "${srcdir}/acerhk.rc" "${pkgdir}/etc/rc.d/acerhk"
}
# vim:set ts=2 sw=2 et:
md5sums=('05255919f312cb76af473a760c284433'
'935584b3e4bfbb3af8460558e5b98bb5'
'2a0bc99e5b12e25096441df4d53d7df7'
'fd2ef062ecbc9d670e1b42aa5866d32d'
'd257a4e9223ebfde48b9608805df9c99'
'7918e52ac88eb68a011bbf06482c35f6'
'05b5f9454276f67a87fa894b7bee8b0a')

View File

@ -1,19 +0,0 @@
post_install() {
cat << EOM
>>> PLEASE ADD PROPER OPTIONS IN /etc/modprobe.d/modprobe.conf IF NEEDED
>>> e.g. for Series 290:
>>> echo "options acerhk force_series=290 usedritek=1 verbose=0" >> /etc/modprobe.conf
EOM
depmod -a
}
post_upgrade() {
depmod -a
}
post_remove() {
depmod -a
}
# vim:set ts=2 sw=2 et:

View File

@ -1,32 +0,0 @@
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Starting Acer Hotkey Wireless LED"
if [ ! -f /proc/driver/acerhk/wirelessled ]; then
stat_fail
else
echo 1 > /proc/driver/acerhk/wirelessled
stat_done
fi
;;
stop)
stat_busy "Stopping Acer Hotkey Wireless LED"
if [ ! -f /proc/driver/acerhk/wirelessled ]; then
stat_fail
else
echo 0 > /proc/driver/acerhk/wirelessled
stat_done
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
;;
esac

View File

@ -1,38 +0,0 @@
## Description: add some description
## Origin/Author: add some origin or author
## Bug: bug URL
Index: acerhk-0.5.35/Makefile
===================================================================
--- acerhk-0.5.35.orig/Makefile 2011-05-16 23:30:09.000000000 +0200
+++ acerhk-0.5.35/Makefile 2011-05-16 23:26:38.000000000 +0200
@@ -14,7 +14,7 @@
CONFIG_ACERHK?=m
obj-$(CONFIG_ACERHK) += acerhk.o
-EXTRA_CFLAGS+=-c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
+EXTRA_CFLAGS+=-c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
INCLUDE=-I$(KERNELSRC)/include
ifeq ($(KERNELMAJOR), 2.6)
Index: acerhk-0.5.35/acerhk.c
===================================================================
--- acerhk-0.5.35.orig/acerhk.c 2011-05-16 23:30:09.000000000 +0200
+++ acerhk-0.5.35/acerhk.c 2011-05-16 23:28:38.000000000 +0200
@@ -576,7 +576,7 @@
"popa\n\t"
:
:"m" (bios_routine), "m" (buf)
- :"%eax", "%ebx", "%ecx", "%edx", "%edi", "%esi", "%ebp"
+ :"%eax", "%ebx", "%ecx", "%edx", "%edi", "%esi"
);
local_irq_enable();
}
@@ -611,7 +611,7 @@
"popa\n\t"
:
:"m" (bios_routine), "m" (preg400), "m" (buf)
- :"%eax", "%ebx", "%ecx", "%edx", "%edi", "%esi", "%ebp"
+ :"%eax", "%ebx", "%ecx", "%edx", "%edi", "%esi"
);
local_irq_enable();
}

View File

@ -1,12 +0,0 @@
diff -Naur acerhk-0.5.35/Makefile acerhk-0.5.35-new/Makefile
--- acerhk-0.5.35/Makefile 2006-08-16 11:11:08.000000000 -0500
+++ acerhk-0.5.35-new/Makefile 2010-04-09 15:59:40.000000000 -0500
@@ -3,7 +3,7 @@
#KERNELSRC=/usr/src/linux
KERNELSRC?=/lib/modules/`uname -r`/build
# Starting with 2.6.18, the kernel version is in utsrelease.h instead of version.h, accomodate both cases
-KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/linux/utsrelease.h))
+KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/generated/utsrelease.h))
KERNELMAJOR=$(shell echo $(KERNELVERSION)|head -c3)
# next line is for kernel 2.6, if you integrate the driver in the kernel tree

View File

@ -1,48 +0,0 @@
--- acerhk.c.orig 2007-02-10 16:46:23.000000000 +0100
+++ acerhk.c 2010-05-02 15:16:41.000000000 +0200
@@ -1231,6 +1231,17 @@
acerhk_key2name[5] = k_display; /* FN+F3 (Display switch) */
acerhk_key2name[6] = k_res; /* FN+F4 (Display ein/ausschalten) */
break;
+ case 97600:
+ /* Medion MD97600, 7 keys, no setup */
+ acerhk_key2name[1] = k_help; /* FN+F1 (Help) */
+ acerhk_key2name[2] = k_none;
+ acerhk_key2name[5] = k_display; /* FN+F3 (Display switch) */
+ acerhk_key2name[6] = k_res; /* FN+F4 (Display ein/ausschalten) */
+ acerhk_key2name[17] = k_p1;
+ acerhk_key2name[18] = k_p2;
+ acerhk_key2name[19] = k_p3;
+ acerhk_key2name[48] = k_wireless;
+ break;
case 42200:
/* Medion MD42200, 7 keys, no setup */
acerhk_key2name[2] = k_none;
@@ -1313,6 +1324,14 @@
acerhk_model_features = 0x00f00000;
acerhk_type = TM_new;
break;
+ case 97600:
+ /* has WLAN button */
+ /* The MD97600 seems to require TM_F_CONNECT at least
+ once after cold boot, otherwise enabling the WLAN
+ radio does not work */
+ acerhk_model_features = TM_F_WBUTTON | TM_F_CONNECT;
+ acerhk_type = TM_new;
+ break;
case 42200: /* Medion MD42200 */
/* has WLAN button, should call connect() */
acerhk_model_features = TM_F_WBUTTON | TM_F_CONNECT;
@@ -1862,7 +1881,11 @@
}
else if (strncmp(str, "MEDIONPC", 8) == 0) {
uint medionmodel;
- if ((medionmodel = COLUSSI("WIM 2040", 4, reg1, AREA_SIZE)) >= 0) {
+ if ((medionmodel = COLUSSI("WIM 2090", 8, reg1, AREA_SIZE)) >= 0) {
+ printk(KERN_INFO"acerhk: found Medion model string:'%s'\n", (char*)reg1+medionmodel);
+ series = 97600;
+ }
+ else if ((medionmodel = COLUSSI("WIM 2040", 4, reg1, AREA_SIZE)) >= 0) {
printk(KERN_INFO"acerhk: found Medion model string:'%s'\n", (char*)reg1+medionmodel);
series = 96500;
} else {

View File

@ -5,7 +5,7 @@
pkgname=alure
pkgver=1.2
pkgrel=1
pkgrel=2
pkgdesc="Utility library to help manage common tasks with OpenAL applications."
arch=('i686' 'x86_64')
url="http://kcat.strangesoft.net/alure.html"

View File

@ -1,14 +1,14 @@
# Maintainer: Giuseppe Calà <jiveaxe@gmail.com>
pkgname=astyle
pkgver=2.01
pkgver=2.03
pkgrel=1
pkgdesc="Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages."
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://astyle.sourceforge.net/ "
license=('LGPL')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_${pkgver}_linux.tar.gz)
md5sums=('e85b31972c532373a4054842e2149b34')
md5sums=('ba84eaa8564155babd4ba1458d4eaa11')
build() {
cd ${srcdir}/${pkgname}/build/gcc

View File

@ -1,17 +1,15 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor Ionut Biru <ibiru@archlinux.org>
pkgname=at-spi2-atk
pkgver=2.6.2
pkgrel=1
pkgrel=2
pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi"
arch=('x86_64')
url="http://www.gnome.org"
license=('GPL2')
depends=('at-spi2-core' 'libx11' 'atk' 'dconf')
depends=('at-spi2-core' 'libx11' 'atk')
makedepends=('intltool')
install=at-spi2-atk.install
options=('!libtool')
@ -25,7 +23,7 @@ build() {
autoreconf --force --install
./configure --prefix=/usr --sysconfdir=/etc \
--disable-schemas-compile
--disable-schemas-compile
make
}

19
aubio/PKGBUILD Normal file
View File

@ -0,0 +1,19 @@
pkgname=aubio
pkgver=0.3.2
pkgrel=1
pkgdesc="A library for audio labelling"
arch=('x86_64')
url="http://aubio.piem.org/"
license=('GPL')
depends=('libsamplerate' 'fftw' 'jack-audio-connection-kit')
options=('!libtool')
source=(http://aubio.piem.org/pub/${pkgname}-${pkgver}.tar.gz)
md5sums=('ffc3e5e4880fec67064f043252263a44')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
export LDFLAGS='-lm'
./configure --prefix=/usr
make || return 1
make DESTDIR=${startdir}/pkg install
}

View File

@ -5,7 +5,7 @@
pkgname=avahi
pkgver=0.6.31
pkgrel=7
pkgrel=8
pkgdesc="A multicast/unicast DNS-SD framework"
arch=('x86_64')
url="http://www.avahi.org/"
@ -67,5 +67,8 @@ package() {
# howl and mdnsresponder compatability
(cd usr/include; ln -s avahi-compat-libdns_sd/dns_sd.h dns_sd.h; ln -s avahi-compat-howl howl)
(cd usr/lib/pkgconfig; ln -s avahi-compat-howl.pc howl.pc)
# Provided by filesystem
rm ${pkgdir}/var -rfv
}

View File

@ -1,28 +1,25 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# maintainer tetris4@gmail.com
# contributions from: https://www.archlinux.org/packages/community/x86_64/bbswitch/
_extramodules=extramodules-3.7-CHAKRA
_extramodules=extramodules-3.9-CHAKRA
_kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=bbswitch
pkgver=0.5
pkgrel=6
pkgver=0.7
pkgrel=1
pkgdesc="kernel module allowing to switch dedicated graphics card on Optimus laptops"
arch=('x86_64')
url=("http://github.com/Bumblebee-Project/bbswitch")
license=('GPL')
provides=('bbswitch')
install=bbswitch.install
depends=('linux>=3.7' 'linux<3.8')
depends=('linux>=3.9' 'linux<3.10')
makedepends=('linux' 'linux-headers')
source=("https://github.com/downloads/Bumblebee-Project/bbswitch/${pkgname}-${pkgver}.tar.gz")
md5sums=('5e0e6eb9c5e8c10db56e5b349b43bba7')
source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz")
md5sums=('b9df5ea40109ef9766448a0577c798e6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make
make KDIR=/usr/src/linux-${_kver}
}
package() {
@ -31,9 +28,9 @@ package() {
# KDIR is necessary even when cleaning
#make KDIR=/usr/src/linux-${_kver} clean
make KDIR=/usr/src/linux-${_kver}
mkdir -p $pkgdir//lib/modules/${_extramodules}
install -D -m644 bbswitch.ko $pkgdir/lib/modules/${_extramodules}
gzip "${pkgdir}/lib/modules/${_extramodules}/bbswitch.ko"
#automatically update bbswitch.install
sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/bbswitch.install"
}

View File

@ -1,15 +1,15 @@
post_install() {
EXTRAMODULES='extramodules-3.7-CHAKRA'
EXTRAMODULES='extramodules-3.9-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
echo 'In order to use nvidia module, reboot the system.'
}
post_upgrade() {
EXTRAMODULES='extramodules-3.7-CHAKRA'
EXTRAMODULES='extramodules-3.9-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
post_remove() {
EXTRAMODULES='extramodules-3.7-CHAKRA'
EXTRAMODULES='extramodules-3.9-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}

View File

@ -1,28 +1,25 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# maintaienr: Neophytos Kolokotronis <tetris4@gmai.com>
pkgname=bigreqsproto
pkgver=1.1.1
pkgver=1.1.2
pkgrel=1
pkgdesc="X11 Big Requests extension wire protocol"
arch=(any)
url="http://xorg.freedesktop.org/"
license=('custom:OpenGroup')
source=(http://xorg.freedesktop.org/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('2db1d1e98958eee4d6cae0f68dbd03b2ec1018ce')
sha1sums=('ef1765eeb5e9e38d080225fe6a64ed7cd2984b46')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}

View File

@ -3,18 +3,20 @@
# Contributions from AUR: https://aur.archlinux.org/packages/bumblebee/
pkgname=bumblebee
pkgver=3.1
pkgver=3.2.1
pkgrel=1
pkgdesc="Bumblebee brings Optimus Support for Linux Through VirtualGL. You need to install proper drivers separately. Can be used with Nouveau or Nvidia"
arch=('x86_64')
depends=('virtualgl' 'libbsd' 'glib2')
depends=('virtualgl' 'glib2')
makedepends=('help2man')
optdepends=('xf86-video-nouveau: Nouveau driver'
'nouveau-dri: 3D acceleration features fo Nouveau'
'mesa: 3D acceleration features fo Nouveau'
'bbswitch: switch on/off discrete card' 'nvidia-utils-bumblebee: Nvidia utils not breaking LibGL'
'nvidia: Nvidia kernel driver'
'lib32-virtualgl: run 32bit applications with optirun'
'primus: alternative back-end for optirun')
'primus: alternative back-end for optirun'
'lib32-primus: alternative back-end for optirun' )
url="http://www.Bumblebee-Project.org"
license=("GPL3")
install='bumblebee.install'
@ -23,7 +25,7 @@ backup=('etc/bumblebee/bumblebee.conf'
'etc/bumblebee/xorg.conf.nouveau'
'etc/bumblebee/xorg.conf.nvidia')
source=("http://www.bumblebee-project.org/${pkgname}-${pkgver}.tar.gz")
md5sums=('de515ef51b1e0714c2f1b2a95f83e77e')
md5sums=('30974e677bb13e8a3825fd6f3e7d3b24')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@ -32,6 +34,8 @@ build() {
CONF_LDPATH_NVIDIA=/usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee \
CONF_MODPATH_NVIDIA=/usr/lib/nvidia-bumblebee/xorg/,/usr/lib/xorg/modules \
--prefix=/usr \
--with-udev-rules=/usr/lib/udev/rules.d/ \
--without-pidfile \
--sysconfdir=/etc
make
}
@ -42,6 +46,7 @@ package() {
# Install systemd unit
install -D -m644 "scripts/systemd/bumblebeed.service" "${pkgdir}/usr/lib/systemd/system/bumblebeed.service"
# Make bash_completion work
mv -v "${pkgdir}/etc/bash_completion.d/bumblebee" "${pkgdir}/etc/bash_completion.d/optirun"
}

View File

@ -1,13 +1,11 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
_kernver="3.7.6-2-CHAKRA"
_kernver="3.9.2-1-CHAKRA"
pkgname=('catalyst-legacy' 'chd-catalyst-legacy')
pkgver=13.1
pkgrel=4
pkgrel=6
arch=('x86_64')
url="http://www.ati.amd.com"
license=('custom')
@ -18,14 +16,15 @@ source=("http://www2.ati.com/drivers/legacy/amd-driver-installer-catalyst-${pkgv
'makefile_compat.patch'
'fglrx_supported'
'3.5-do_mmap.patch'
'arch-fglrx-3.7.patch')
'arch-fglrx-3.8.patch'
'kcl_acpi.patch')
md5sums=('c07fd1332abe4c742a9a0d0e0d0a90de'
'660396540b0ceaff71d6155c986734de'
'3e1b82bd69774ea808da69c983d6a43b'
'9adef6e20662d5e486e15bc5ec40751f'
'83b8d2063458cc9e8b6679567b280e36'
'ff60c162b46e21e9810a722718023451')
'cff482b58c9090a66cb82159a2170654'
'cbb8c2f388a8ad617656c412e3a6690f')
build() {
@ -50,7 +49,8 @@ build() {
patch -p1 -i ../makefile_compat.patch
# kernel fixes
patch -p1 -i ../3.5-do_mmap.patch
patch -p1 -i ../arch-fglrx-3.7.patch
patch -p1 -i ../arch-fglrx-3.8.patch
patch -p0 -i ../kcl_acpi.patch
cd "${srcdir}/archive_files/common/lib/modules/fglrx/build_mod"
cp "${srcdir}/archive_files/arch/${_archdir}/lib/modules/fglrx/build_mod/libfglrx_ip.a" .
@ -67,7 +67,7 @@ build() {
package_catalyst-legacy() {
pkgdesc="AMD/ATI Catalyst drivers for linux. fglrx kernel module only"
screenshot="http://linuxtation3.files.wordpress.com/2007/03/pantallazo.jpg"
depends=('linux>=3.7' 'linux<3.8' 'catalyst-legacy-utils')
depends=('linux>=3.9' 'linux<3.10' 'catalyst-legacy-utils')
conflicts=('catalyst-test' 'nvidia' 'xf86-video-ati' 'xf86-video-radeonhd' 'catalyst')
install=catalyst.install

View File

@ -4,11 +4,11 @@
KCL_DEBUG_ERROR(REMAP_PAGE_RANGE_STR " failed\n");
return -EAGAIN;
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
vma->vm_ops = &vm_ops;
break;
@ -16,22 +16,22 @@
KCL_DEBUG_ERROR(REMAP_PAGE_RANGE_STR " failed\n");
return -EAGAIN;
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
vma->vm_ops = &vm_ops;
}
break;
#endif
case __KE_SHM:
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
vma->vm_ops = &vm_shm_ops;
break;
@ -39,11 +39,11 @@
pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_RESERVED;
+#else
+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
//vma->vm_flags |= VM_SHM | VM_LOCKED; /* DDDDDDDDDDon't swap */
//vma->vm_mm->locked_vm += pages; /* Kernel tracks aqmount of locked pages */
@ -51,22 +51,22 @@
case __KE_CTX:
pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_LOCKED | VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_LOCKED | VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
vma->vm_mm->locked_vm += pages; /* Kernel tracks aqmount of locked pages */
vma->vm_ops = &vm_ctx_ops;
break;
case __KE_PCI_BQS:
pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_LOCKED | VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_LOCKED | VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
vma->vm_mm->locked_vm += pages; /* Kernel tracks aqmount of locked pages */
vma->vm_ops = &vm_pci_bq_ops;
break;
@ -74,17 +74,17 @@
return -EAGAIN;
}
#ifdef __x86_64__
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_RESERVED;
#else
+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
+#else
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
#endif
vma->vm_ops = &vm_ops;
}
@ -92,17 +92,17 @@
return -EAGAIN;
}
#ifdef __x86_64__
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_RESERVED;
#else
+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
+#else
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
#endif
vma->vm_ops = &vm_agp_bq_ops;
}
@ -110,11 +110,11 @@
#endif /* __AGP__BUILTIN__ */
case __KE_KMAP:
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_SHM | VM_RESERVED;
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
vma->vm_ops = &vm_kmap_ops;
if (readonly && (vma->vm_flags & VM_WRITE))
{
@ -122,11 +122,11 @@
#endif
// fall through
case __KE_GART_CACHEABLE:
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
vma->vm_flags |= VM_RESERVED;
+#else
+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */
vma->vm_ops = &vm_gart_ops;
break;
default:

View File

@ -1,5 +1,5 @@
KERNEL_VERSION=3.7.6-2-CHAKRA
KERNEL_VERSION=3.9.2-1-CHAKRA
remove_hook(){
@ -11,18 +11,18 @@ remove_hook(){
}
post_install() {
EXTRAMODULES=extramodules-3.7-CHAKRA
EXTRAMODULES=extramodules-3.9-CHAKRA
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
post_upgrade() {
remove_hook
EXTRAMODULES=extramodules-3.7-CHAKRA
EXTRAMODULES=extramodules-3.9-CHAKRA
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
post_remove() {
EXTRAMODULES=extramodules-3.7-CHAKRA
EXTRAMODULES=extramodules-3.9-CHAKRA
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}

View File

@ -0,0 +1,16 @@
# diff -u kcl.acpi.c kcl.acpi.ckcl_acpi.c_20130221 kcl.acpi.c
kcl_acpi.c
--- common/lib/modules/fglrx/build_mod/kcl_acpi.c_20130221 2012-03-24 05:38:48.000000000 +0900
+++ common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-02-21 20:20:12.000000000 +0900
@@ -776,7 +776,11 @@
{
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
+ pInfo->video_handle = ACPI_HANDLE(&pInfo->pcidev->dev);
+ #else
pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle;
+ #endif
#else
pInfo->video_handle = pInfo->pcidev->dev.firmware_data;
#endif

View File

@ -1,13 +1,12 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=catalyst-utils
# Edit chakra-hardware-detection/hooks/hwdetect_7_graphics on version jump from 1x.x
pkgver=13.1
pkgver=13.4
pkgrel=1
_amdver=9.012
_amdver=12.104
pkgdesc="AMD/ATI Catalyst drivers utilities and libraries."
arch=('x86_64')
url="http://www.amd.com/us/Pages/AMDHomePage.aspx"
@ -15,157 +14,148 @@ license=('custom')
depends=('xorg-server>=1.11.0' 'xorg-server<1.13.0' 'netkit-bsd-finger' 'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi' 'gcc-libs' 'libxinerama')
optdepends=('qt: to run ATi Catalyst Control Center (amdcccle)'
'libxxf86vm: to run ATi Catalyst Control Center (amdcccle)')
conflicts=('catalyst-test' 'nvidia-utils' 'libgl' 'catalystpxp-utils' 'catalyst-legacy-utils')
provides=('libgl' "libatical=${pkgver}")
conflicts=('catalyst-test' 'nvidia-utils' 'libgl' 'libcl' 'catalystpxp-utils' 'catalyst-legacy-utils')
provides=('libgl' 'libcl' "libatical=${pkgver}")
install=${pkgname}.install
source=(
http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-${pkgver}-linux-x86.x86_64.zip
http://www2.ati.com/drivers/linux/amd-catalyst-${pkgver}-linux-x86.x86_64.zip
catalyst.sh
amdcccle.desktop
atieventsd.sh
atieventsd.service
catalyst.conf
arch-fglrx-authatieventsd.patch
hw_ati_legacy_hwdb)
md5sums=('b5d9de9b000448dcc2a9eb74a889116d'
md5sums=('558bd1b31173b06b25da647a7112e734'
'bdafe749e046bfddee2d1c5e90eabd83'
'4efa8414a8fe9eeb50da38b5522ef81d'
'bccf181a981ff429fe66f6ca5c3ea75a'
'3e19c2285c76f4cb92108435a1e9c302'
'f729bf913613f49b0b9759c246058a87'
'bccf181a981ff429fe66f6ca5c3ea75a'
'3e19c2285c76f4cb92108435a1e9c302'
'4ec9ba4440ec5a320ed3987c1d3b417d'
'e88b99bb50f38bc96c880407b36b45a8')
build() {
## Unpack archive
/bin/sh ./amd-driver-installer-catalyst-${pkgver}-linux-x86.x86_64.run --extract archive_files
/bin/sh ./amd-catalyst-13.4-linux-x86.x86_64.run --extract archive_files
}
package() {
## Install userspace tools and libraries
# Create directories
install -m755 -d "${pkgdir}/etc/ati"
install -m755 -d "${pkgdir}/etc/profile.d"
install -m755 -d "${pkgdir}/etc/acpi/events"
install -m755 -d "${pkgdir}/etc/security/console.apps"
install -m755 -d "${pkgdir}/etc/OpenCL/vendors" # since 11.11
install -m755 -d ${pkgdir}/etc/ati
install -m755 -d ${pkgdir}/etc/rc.d
install -m755 -d ${pkgdir}/etc/profile.d
install -m755 -d ${pkgdir}/etc/acpi/events
install -m755 -d ${pkgdir}/etc/security/console.apps
install -m755 -d ${pkgdir}/etc/OpenCL/vendors
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/dri"
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/drivers"
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions/fglrx" # since 11.4
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/linux"
install -m755 -d "${pkgdir}/usr/lib/dri"
install -m755 -d "${pkgdir}/usr/lib/fglrx" # since 11.4
install -m755 -d "${pkgdir}/usr/lib/systemd/system" # since 12.12
install -m755 -d ${pkgdir}/usr/lib/xorg/modules/dri
install -m755 -d ${pkgdir}/usr/lib/xorg/modules/drivers
install -m755 -d ${pkgdir}/usr/lib/xorg/modules/extensions
install -m755 -d ${pkgdir}/usr/lib/xorg/modules/extensions/fglrx
install -m755 -d ${pkgdir}/usr/lib/xorg/modules/linux
install -m755 -d ${pkgdir}/usr/lib/dri
install -m755 -d ${pkgdir}/usr/lib/fglrx
install -m755 -d ${pkgdir}/usr/lib/systemd/system
install -m755 -d "${pkgdir}/usr/bin"
install -m755 -d "${pkgdir}/usr/sbin"
install -m755 -d ${pkgdir}/usr/bin
install -m755 -d ${pkgdir}/usr/sbin
install -m755 -d "${pkgdir}/usr/include/X11/extensions"
install -m755 -d "${pkgdir}/usr/include/GL"
install -m755 -d ${pkgdir}/usr/include/GL
install -m755 -d "${pkgdir}/usr/share/applications"
install -m755 -d "${pkgdir}/usr/share/ati/amdcccle"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m755 -d "${pkgdir}/usr/share/man/man8"
install -m755 -d "${pkgdir}/usr/share/pixmaps"
install -m755 -d ${pkgdir}/usr/share/applications
install -m755 -d ${pkgdir}/usr/share/ati/amdcccle
install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
install -m755 -d ${pkgdir}/usr/share/man/man8
install -m755 -d ${pkgdir}/usr/share/pixmaps
# X.org driver
cd "${srcdir}/archive_files/xpic_64a/usr/X11R6/lib64/modules" || return 1
cd ${srcdir}/archive_files/xpic_64a/usr/X11R6/lib64/modules
# *.a added in 11.2, and removed in 11.3...
#install -m644 *.a "${pkgdir}/usr/lib/xorg/modules/" || return 1
install -m755 *.so "${pkgdir}/usr/lib/xorg/modules/" || return 1
install -m755 drivers/*.so "${pkgdir}/usr/lib/xorg/modules/drivers/" || return 1
install -m755 linux/*.so "${pkgdir}/usr/lib/xorg/modules/linux/" || return 1
#install -m755 extensions/libglx.so "${pkgdir}/usr/lib/xorg/modules/extensions/" || return 1 #before 11.4
install -m755 extensions/fglrx/fglrx-libglx.so "${pkgdir}/usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so" || return 1 # since 11.5
ln -snf /usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" # since 11.4
#install -m755 extensions/libdri.so "${pkgdir}/usr/lib/xorg/modules/extensions/libdri.ati" || return 1
install -m755 *.so ${pkgdir}/usr/lib/xorg/modules
install -m755 drivers/*.so ${pkgdir}/usr/lib/xorg/modules/drivers
install -m755 linux/*.so ${pkgdir}/usr/lib/xorg/modules/linux
install -m755 extensions/fglrx/fglrx-libglx.so ${pkgdir}/usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so
ln -snf /usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so ${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so
# Controlcenter / libraries
cd "${srcdir}/archive_files/arch/x86_64/usr" || return 1
_lib=lib64
cd ${srcdir}/archive_files/arch/x86_64/usr
_lib=lib64
install -m755 X11R6/bin/* "${pkgdir}/usr/bin/" || return 1
install -m755 sbin/* "${pkgdir}/usr/sbin/" || return 1
#install -m755 X11R6/${_lib}/*.so* "${pkgdir}/usr/lib/" || return #before 11.4
install -m755 X11R6/${_lib}/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/fglrx" || return 1 # since 11.5
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/fglrx/libGL.so.1.2" # since 11.4
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/fglrx-libGL.so.1.2" # since 11.4
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1.2" # since 11.4
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1" # since 11.4
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so" # since 11.4
install -m755 X11R6/${_lib}/libAMDXvBA.so.1.0 "${pkgdir}/usr/lib/" || return 1 # since 11.4
ln -snf libAMDXvBA.so.1.0 "${pkgdir}/usr/lib/libAMDXvBA.so.1" # since 11.4
ln -snf libAMDXvBA.so.1.0 "${pkgdir}/usr/lib/libAMDXvBA.so" # since 11.4
install -m755 X11R6/${_lib}/libatiadlxx.so "${pkgdir}/usr/lib/" || return 1 # since 11.4
install -m755 X11R6/${_lib}/libfglrx_dm.so.1.0 "${pkgdir}/usr/lib/" || return 1 # since 11.4
install -m755 X11R6/${_lib}/libXvBAW.so.1.0 "${pkgdir}/usr/lib/" || return 1 # since 11.4
ln -snf libXvBAW.so.1.0 "${pkgdir}/usr/lib/libXvBAW.so.1" # since 11.4
ln -snf libXvBAW.so.1.0 "${pkgdir}/usr/lib/libXvBAW.so" # since 11.4
install -m644 X11R6/${_lib}/*.a "${pkgdir}/usr/lib/" || return 1 # really needed?
install -m644 X11R6/${_lib}/*.cap "${pkgdir}/usr/lib/" || return 1
install -m755 X11R6/${_lib}/modules/dri/*.so "${pkgdir}/usr/lib/xorg/modules/dri/" || return 1
install -m755 ${_lib}/*.so* "${pkgdir}/usr/lib/" || return 1
install -m755 X11R6/bin/* ${pkgdir}/usr/bin
install -m755 sbin/* ${pkgdir}/usr/sbin
install -m755 X11R6/${_lib}/fglrx/fglrx-libGL.so.1.2 ${pkgdir}/usr/lib/fglrx
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 ${pkgdir}/usr/lib/fglrx/libGL.so.1.2
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 ${pkgdir}/usr/lib/fglrx-libGL.so.1.2
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 ${pkgdir}/usr/lib/libGL.so.1.2
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 ${pkgdir}/usr/lib/libGL.so.1
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 ${pkgdir}/usr/lib/libGL.so
install -m755 X11R6/${_lib}/libAMDXvBA.so.1.0 ${pkgdir}/usr/lib
ln -snf libAMDXvBA.so.1.0 ${pkgdir}/usr/lib/libAMDXvBA.so.1
ln -snf libAMDXvBA.so.1.0 ${pkgdir}/usr/lib/libAMDXvBA.so
install -m755 X11R6/${_lib}/libatiadlxx.so ${pkgdir}/usr/lib
install -m755 X11R6/${_lib}/libfglrx_dm.so.1.0 ${pkgdir}/usr/lib
install -m755 X11R6/${_lib}/libXvBAW.so.1.0 ${pkgdir}/usr/lib
ln -snf libXvBAW.so.1.0 ${pkgdir}/usr/lib/libXvBAW.so.1
ln -snf libXvBAW.so.1.0 ${pkgdir}/usr/lib/libXvBAW.so
install -m644 X11R6/${_lib}/*.a ${pkgdir}/usr/lib
install -m644 X11R6/${_lib}/*.cap ${pkgdir}/usr/lib
install -m755 X11R6/${_lib}/modules/dri/*.so ${pkgdir}/usr/lib/xorg/modules/dri
install -m755 ${_lib}/*.so* ${pkgdir}/usr/lib
## QT libs (only 2 files) - un-comment 2 lines below if you don't want to install qt package
# install -m755 -d "${pkgdir}/usr/share/ati/${_lib}"
# install -m755 share/ati/${_lib}/*.so* "${pkgdir}/usr/share/ati/${_lib}/" || return 1
# install -m755 -d ${pkgdir}/usr/share/ati/${_lib}
# install -m755 share/ati/${_lib}/*.so* ${pkgdir}/usr/share/ati/${_lib}
ln -snf /usr/lib/xorg/modules/dri/fglrx_dri.so ${pkgdir}/usr/lib/dri/fglrx_dri.so
ln -snf libfglrx_dm.so.1.0 "${pkgdir}/usr/lib/libfglrx_dm.so.1"
ln -snf libfglrx_dm.so.1.0 "${pkgdir}/usr/lib/libfglrx_dm.so"
ln -snf libatiuki.so.1.0 "${pkgdir}/usr/lib/libatiuki.so.1"
ln -snf libatiuki.so.1.0 "${pkgdir}/usr/lib/libatiuki.so"
ln -snf libOpenCL.so.1 "${pkgdir}/usr/lib/libOpenCL.so" # since 11.11
ln -snf libfglrx_dm.so.1.0 ${pkgdir}/usr/lib/libfglrx_dm.so.1
ln -snf libfglrx_dm.so.1.0 ${pkgdir}/usr/lib/libfglrx_dm.so
ln -snf libatiuki.so.1.0 ${pkgdir}/usr/lib/libatiuki.so.1
ln -snf libatiuki.so.1.0 ${pkgdir}/usr/lib/libatiuki.so
ln -snf libOpenCL.so.1 ${pkgdir}/usr/lib/libOpenCL.so
cd "${srcdir}"/archive_files/common
install -m644 etc/ati/* "${pkgdir}/etc/ati/" || return 1
chmod 755 "${pkgdir}/etc/ati/authatieventsd.sh" || return 1
cd ${srcdir}/archive_files/common
patch -Np2 -i ${srcdir}/arch-fglrx-authatieventsd.patch
install -m644 etc/ati/* ${pkgdir}/etc/ati
chmod 755 ${pkgdir}/etc/ati/authatieventsd.sh
#security provided with 10.9, is it working fine?
install -m644 etc/security/console.apps/amdcccle-su "${pkgdir}/etc/security/console.apps/" || return 1
install -m644 etc/security/console.apps/amdcccle-su ${pkgdir}/etc/security/console.apps
# *.h removed in 11.3...
#install -m644 usr/X11R6/include/X11/extensions/*.h "${pkgdir}/usr/include/X11/extensions/" || return 1
install -m755 usr/X11R6/bin/* "${pkgdir}/usr/bin/" || return 1
install -m644 usr/include/GL/*.h "${pkgdir}/usr/include/GL/" || return 1
install -m755 usr/sbin/*.sh "${pkgdir}/usr/sbin/" || return 1
install -m644 usr/share/ati/amdcccle/* "${pkgdir}/usr/share/ati/amdcccle/" || return 1
install -m644 usr/share/icons/*.xpm "${pkgdir}/usr/share/pixmaps/" || return 1
install -m644 usr/share/man/man8/*.8 "${pkgdir}/usr/share/man/man8/" || return 1
install -m644 "${srcdir}/amdcccle.desktop" "${pkgdir}/usr/share/applications/" || return 1
install -m755 usr/X11R6/bin/* ${pkgdir}/usr/bin
install -m644 usr/include/GL/*.h ${pkgdir}/usr/include/GL
install -m755 usr/sbin/*.sh ${pkgdir}/usr/sbin
install -m644 usr/share/ati/amdcccle/* ${pkgdir}/usr/share/ati/amdcccle
install -m644 usr/share/icons/*.xpm ${pkgdir}/usr/share/pixmaps
install -m644 usr/share/man/man8/*.8 ${pkgdir}/usr/share/man/man8
install -m644 usr/share/applications/*.desktop ${pkgdir}/usr/share/applications
# ACPI example files
install -m755 usr/share/doc/fglrx/examples/etc/acpi/*.sh "${pkgdir}/etc/acpi/" || return 1
sed -i -e 's/usr\/X11R6/usr/g' "${pkgdir}/etc/acpi/ati-powermode.sh" || return 1
install -m644 usr/share/doc/fglrx/examples/etc/acpi/events/* "${pkgdir}/etc/acpi/events/" || return 1
install -m755 usr/share/doc/fglrx/examples/etc/acpi/*.sh ${pkgdir}/etc/acpi
sed -i -e "s/usr\/X11R6/usr/g" ${pkgdir}/etc/acpi/ati-powermode.sh
install -m644 usr/share/doc/fglrx/examples/etc/acpi/events/* ${pkgdir}/etc/acpi/events
# Add ATI Events Daemon launcher
install -m644 "${srcdir}/atieventsd.service" "${pkgdir}/usr/lib/systemd/system/" || return
install -m755 ${srcdir}/atieventsd.sh ${pkgdir}/etc/rc.d/atieventsd
install -m644 ${srcdir}/atieventsd.service ${pkgdir}/usr/lib/systemd/system
# thanks to cerebral, we dont need that damned symlink
install -m755 "${srcdir}/catalyst.sh" "${pkgdir}/etc/profile.d/" || return 1
install -m755 ${srcdir}/catalyst.sh ${pkgdir}/etc/profile.d
# License
install -m644 "${srcdir}/archive_files/LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
install -m644 "${srcdir}/archive_files/common/usr/share/doc/amdcccle/ccc_copyrights.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/amdcccle_copyrights.txt"
install -m644 ${srcdir}/archive_files/LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}
install -m644 ${srcdir}/archive_files/common/usr/share/doc/amdcccle/ccc_copyrights.txt \
${pkgdir}/usr/share/licenses/${pkgname}/amdcccle_copyrights.txt
# since 11.11 : opencl files
cd "${srcdir}/archive_files/arch/x86_64" || return 1
_arc=64
cd ${srcdir}/archive_files/arch/x86_64
_arc=64
# since 11.11: amd's vendor file for it's opencl library
install -m644 etc/OpenCL/vendors/amdocl${_arc}.icd "${pkgdir}/etc/OpenCL/vendors/" || return 1
# since 11.11: clinfo binary
install -m755 usr/bin/clinfo "${pkgdir}/usr/bin/" || return 1
# since 12.12:
install -m755 -d "${pkgdir}/etc/modules-load.d"
install -m644 "${srcdir}/catalyst.conf" "${pkgdir}/etc/modules-load.d/" || return 1
install -m644 etc/OpenCL/vendors/amdocl${_arc}.icd ${pkgdir}/etc/OpenCL/vendors
install -m755 usr/bin/clinfo ${pkgdir}/usr/bin
install -m755 -d ${pkgdir}/etc/modules-load.d
install -m644 ${srcdir}/catalyst.conf ${pkgdir}/etc/modules-load.d
# hwdb
install -m644 "${srcdir}/hw_ati_legacy_hwdb" "${pkgdir}/usr/share/applications/hw_ati_legacy_hwdb"

View File

@ -0,0 +1,40 @@
--- 12.8/common/etc/ati/authatieventsd.sh 2012-08-09 22:44:34.000000000 +0200
+++ 12.8/common/etc/ati/authatieventsd.sh 2012-10-10 16:57:38.000000000 +0200
@@ -32,9 +32,9 @@
# vary depending upon whether X was started via xdm/kdm, gdm or startx, so
# check each one in turn.
- # Check xdm/kdm
+ # Check xdm
- XDM_AUTH_MASK=/var/lib/xdm/authdir/authfiles/A$1*
+ XDM_AUTH_MASK=/var/lib/xdm/authfiles/A$1*
XDM_AUTH_FILE=`ls -t $XDM_AUTH_MASK 2>/dev/null | head -n 1` # Choose the newest file
if [ -n "$XDM_AUTH_FILE" ]; then
SERVER_AUTH_FILE=$XDM_AUTH_FILE
@@ -42,12 +42,22 @@
return 0
fi
- # Check gdm
+ # Check kdm
- GDM_AUTH_FILE=/var/lib/gdm/$1.Xauth
+ KDM_AUTH_MASK=/var/run/xauth/A$1*
+ KDM_AUTH_FILE=`ls -t $KDM_AUTH_MASK 2>/dev/null | head -n 1` # Choose the newest file
+ if [ -n "$KDM_AUTH_FILE" ]; then
+ SERVER_AUTH_FILE=$KDM_AUTH_FILE
+ DISP_SEARCH_STRING="#ffff#"
+ return 0
+ fi
+
+ # Check gdm 3
+
+ GDM_AUTH_FILE=/var/run/gdm/auth-for-gdm-*/database
if [ -e $GDM_AUTH_FILE ]; then
SERVER_AUTH_FILE=$GDM_AUTH_FILE
- DISP_SEARCH_STRING="$1"
+ DISP_SEARCH_STRING="unix$1"
return 0
fi

View File

@ -0,0 +1,41 @@
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
ATID_PID=`pidof -o %PPID /usr/sbin/atieventsd`
case "$1" in
start)
rc=0
stat_busy "Starting ATI Events Daemon"
[ -z "$ATID_PID" ] && /usr/sbin/atieventsd
rc=$(($rc+$?))
if [ $rc -gt 0 ]; then
stat_fail
else
add_daemon atieventsd
stat_done
fi
;;
stop)
rc=0
stat_busy "Stopping ATI Events Daemon"
kill $ATID_PID &>/dev/null
rc=$(($rc+$?))
if [ $rc -gt 0 ]; then
stat_fail
else
rm_daemon atieventsd
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0

View File

@ -1,34 +1,29 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
_kernver="3.7.6-2-CHAKRA"
_kernver="3.9.2-1-CHAKRA"
pkgname=(catalyst chd-catalyst)
pkgver=13.1
pkgrel=4
_amdver=9.01
pkgver=13.4
pkgrel=2
_amdver=12.104
arch=('x86_64')
url="http://www.amd.com/us/Pages/AMDHomePage.aspx"
license=('custom')
makedepends=('gcc-libs' 'gcc>4.0.0' 'make' 'linux-headers' 'linux>=3.7' 'linux<=3.8' 'catalyst-utils')
makedepends=('gcc-libs' 'gcc>4.0.0' 'make' 'linux-headers' 'linux>=3.9' 'linux<=3.10' "catalyst-utils=${pkgver}")
source=(http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-${pkgver}-linux-x86.x86_64.zip
source=(http://www2.ati.com/drivers/linux/amd-catalyst-${pkgver}-linux-x86.x86_64.zip
ati_make.sh
makefile_compat.patch
fglrx_supported
switchlibglx
switchlibGL
arch-fglrx-3.7.patch)
md5sums=('b5d9de9b000448dcc2a9eb74a889116d'
switchlibGL)
md5sums=('558bd1b31173b06b25da647a7112e734'
'660396540b0ceaff71d6155c986734de'
'3e1b82bd69774ea808da69c983d6a43b'
'8bd182de340d6ed8b2dfcedfd3e5a389'
'99032d919ede27884b5c3e87ab110a96'
'99032d919ede27884b5c3e87ab110a96'
'ff60c162b46e21e9810a722718023451')
'99032d919ede27884b5c3e87ab110a96')
build() {
@ -39,7 +34,7 @@ build() {
msg "Unpacking archive ..."
/bin/sh ./amd-driver-installer-catalyst-${pkgver}-linux-x86.x86_64.run --extract archive_files
/bin/sh ./amd-catalyst-13.4-linux-x86.x86_64.run --extract archive_files
BUILDARCH=x86_64
_archdir=x86_64
@ -52,8 +47,6 @@ build() {
# works only in combination with ati_make.sh script
patch -p1 -i ../makefile_compat.patch
patch -p1 -i ../arch-fglrx-3.7.patch
cd "${srcdir}/archive_files/common/lib/modules/fglrx/build_mod"
cp "${srcdir}/archive_files/arch/${_archdir}/lib/modules/fglrx/build_mod/libfglrx_ip.a" .
cp 2.6.x/Makefile .
@ -69,7 +62,7 @@ build() {
package_catalyst() {
pkgdesc="AMD/ATI Catalyst drivers for linux. fglrx kernel module only"
screenshot="http://linuxtation3.files.wordpress.com/2007/03/pantallazo.jpg"
depends=('linux>=3.7' 'linux<3.8' 'catalyst-utils')
depends=('linux>=3.9' 'linux<3.10' 'catalyst-utils')
conflicts=('nvidia' 'xf86-video-ati' 'xf86-video-radeonhd' 'catalyst-legacy')
install=catalyst.install

View File

@ -1,132 +0,0 @@
--- 12.9/common/lib/modules/fglrx/build_mod/firegl_public.c 2012-09-26 15:04:28.000000000 +0200
+++ 12.9/common/lib/modules/fglrx/build_mod/firegl_public.c 2012-10-16 20:30:42.146523753 +0200
@@ -3892,7 +3892,11 @@
KCL_DEBUG_ERROR(REMAP_PAGE_RANGE_STR " failed\n");
return -EAGAIN;
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
vma->vm_ops = &vm_ops;
break;
@@ -3922,14 +3926,22 @@
KCL_DEBUG_ERROR(REMAP_PAGE_RANGE_STR " failed\n");
return -EAGAIN;
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
vma->vm_ops = &vm_ops;
}
break;
#endif
case __KE_SHM:
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
vma->vm_ops = &vm_shm_ops;
break;
@@ -3937,7 +3949,11 @@
pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_RESERVED;
+#else
+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
//vma->vm_flags |= VM_SHM | VM_LOCKED; /* DDDDDDDDDDon't swap */
//vma->vm_mm->locked_vm += pages; /* Kernel tracks aqmount of locked pages */
@@ -3946,14 +3962,22 @@
case __KE_CTX:
pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_LOCKED | VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_LOCKED | VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
vma->vm_mm->locked_vm += pages; /* Kernel tracks aqmount of locked pages */
vma->vm_ops = &vm_ctx_ops;
break;
case __KE_PCI_BQS:
pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_LOCKED | VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_LOCKED | VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
vma->vm_mm->locked_vm += pages; /* Kernel tracks aqmount of locked pages */
vma->vm_ops = &vm_pci_bq_ops;
break;
@@ -3984,9 +4008,17 @@
return -EAGAIN;
}
#ifdef __x86_64__
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_RESERVED;
#else
+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#else
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
#endif
vma->vm_ops = &vm_ops;
}
@@ -4015,9 +4047,17 @@
return -EAGAIN;
}
#ifdef __x86_64__
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_RESERVED;
#else
+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
+#else
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP; /* Don't swap */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
#endif
vma->vm_ops = &vm_agp_bq_ops;
}
@@ -4025,7 +4065,11 @@
#endif /* __AGP__BUILTIN__ */
case __KE_KMAP:
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_SHM | VM_RESERVED;
+#else
+ vma->vm_flags |= VM_SHM | VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
vma->vm_ops = &vm_kmap_ops;
if (readonly && (vma->vm_flags & VM_WRITE))
{
@@ -4046,7 +4090,11 @@
#endif
// fall through
case __KE_GART_CACHEABLE:
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
vma->vm_flags |= VM_RESERVED;
+#else
+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */
vma->vm_ops = &vm_gart_ops;
break;
default:

View File

@ -1,5 +1,5 @@
KERNEL_VERSION=3.7.6-2-CHAKRA
KERNEL_VERSION=3.9.2-1-CHAKRA
remove_hook(){
@ -11,18 +11,18 @@ remove_hook(){
}
post_install() {
EXTRAMODULES=extramodules-3.7-CHAKRA
EXTRAMODULES=extramodules-3.9-CHAKRA
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
post_upgrade() {
remove_hook
EXTRAMODULES=extramodules-3.7-CHAKRA
EXTRAMODULES=extramodules-3.9-CHAKRA
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
post_remove() {
EXTRAMODULES=extramodules-3.7-CHAKRA
EXTRAMODULES=extramodules-3.9-CHAKRA
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}

View File

@ -1,27 +0,0 @@
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=chrpath
pkgver=0.13
pkgrel=1
pkgdesc="Allows you to modify the dynamic library load path"
arch=('x86_64')
url="http://directory.fsf.org/project/chrpath/"
license=('GPL2')
depends=('glibc')
source=("http://ftp.tux.org/pub/X-Windows/ftp.hungry.com/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('b73072a8fbba277558c50364b65bb407')
build() {
cd "${srcdir}"/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="${pkgdir}" docdir=/usr/share/doc/chrpath install
}

29
convertlit/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/convertlit/
pkgname=convertlit
pkgver=1.8
pkgrel=1
pkgdesc="An extractor/converter for .LIT eBooks"
arch=('x86_64')
url="http://www.convertlit.com/"
license=('GPL')
depends=('glibc')
makedepends=('libtommath')
source=("http://www.convertlit.com/clit18src.zip")
md5sums=('d691d4729485fe5d73e3f0937d8fb42e')
build() {
cd ${srcdir}/lib
make
cd ../clit18
sed -i 's|../libtommath-0.30/|/usr/lib/|' Makefile
make
}
package() {
cd ${srcdir}/clit18
install -Dm755 clit "$pkgdir/usr/bin/clit"
}

68
cronie/PKGBUILD Normal file
View File

@ -0,0 +1,68 @@
pkgname="cronie"
pkgver=1.4.9
pkgrel=4
pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
url='https://fedorahosted.org/cronie/'
license=('custom:BSD')
arch=('x86_64')
depends=('pam' 'bash' 'run-parts')
optdepends=('pm-utils: defer anacron on battery power'
'smtp-server: send job output via email'
'smtp-forwarder: forward job output to email server')
source=("https://fedorahosted.org/releases/c/r/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'cron.deny'
'service'
'pam.d')
sha1sums=('40405cb30b62bd60323e4daf5198f26f0e65c4c4'
'0f279b8fb820340267d578dc85511c980715f91e'
'de455f11a310e64d6930390e57726ed70f3295d0'
'5eff7fb31f6bc0a924243ff046704726cf20c221')
backup=('etc/anacrontab'
'etc/pam.d/crond'
'etc/cron.deny')
conflicts=('cron')
provides=('cron')
groups=('base')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed 's:usr/sbin:usr/bin:g' -i contrib/0anacron
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin \
--enable-anacron \
--with-inotify \
--with-pam \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
chmod u+s "${pkgdir}"/usr/bin/crontab
install -d "${pkgdir}"/var/spool/{ana,}cron
install -d "${pkgdir}"/etc/cron.{d,hourly,daily,weekly,monthly}
install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/crond
install -Dm644 ../cron.deny "${pkgdir}"/etc/cron.deny
install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/cronie.service
install -Dm644 contrib/anacrontab "${pkgdir}"/etc/anacrontab
install -Dm644 contrib/0hourly "${pkgdir}"/etc/cron.d/0hourly
install -Dm755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
}

1
cronie/cron.deny Normal file
View File

@ -0,0 +1 @@
# without this file, only users listed in /etc/cron.allow can use crontab

10
cronie/pam.d Normal file
View File

@ -0,0 +1,10 @@
auth required pam_unix.so
auth required pam_env.so
account required pam_access.so
account required pam_unix.so
account required pam_time.so
session required pam_loginuid.so
session required pam_limits.so
session required pam_unix.so

11
cronie/service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Periodic Command Scheduler
[Service]
ExecStart=/usr/bin/crond -n
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -1,32 +0,0 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=dconf
pkgver=0.12.0
pkgrel=1
pkgdesc="A low-level configuration system."
arch=('x86_64')
url="http://live.gnome.org/dconf"
license=('LGPL2.1')
depends=('glib2')
makedepends=('vala' 'gobject-introspection')
install=dconf.install
source=("http://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
md5sums=('6aec9d37fca1614cd672bc5b2215c9f3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/dconf --disable-editor
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et:

View File

@ -1,12 +0,0 @@
post_install() {
usr/bin/gio-querymodules usr/lib/gio/modules
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
}
post_upgrade(){
post_install
}
post_remove() {
post_install
}

View File

@ -1,32 +1,26 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=diffstat
pkgver=1.54
pkgver=1.57
pkgrel=1
pkgdesc="Display a histogram of diff changes"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://invisible-island.net/diffstat"
depends=('glibc')
license=('GPL')
source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz)
md5sums=('af08bef2eb37050ceb0c4fddedb2ee36')
md5sums=('a70ae35e479ab91da7eb6023a4e9240a')
build () {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--mandir=/usr/share/man
make || return 1
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir}/ install || return 1
}
make DESTDIR=${pkgdir}/ install
install -Dm644 package/debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View File

@ -1,23 +1,16 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=ebook-tools
pkgver=0.2.1
pkgrel=2
pkgver=0.2.2
pkgrel=1
pkgdesc="Tools for accessing and converting various ebook file formats"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://sourceforge.net/projects/ebook-tools"
license=('custom')
depends=('libzip' 'libxml2')
depends=('libzip' 'libxml2' 'convertlit')
makedepends=('pkgconfig' 'cmake')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('cabbd2ef9148a61ca5f6e60ca63e6045')
md5sums=('67bce67ceb72dcc3578d6a81ef92b29b')
build() {
cd $srcdir
@ -26,8 +19,12 @@ build() {
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -D ${srcdir}/${pkgname}-${pkgver}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
install -D ${srcdir}/${pkgname}-${pkgver}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View File

@ -1,39 +0,0 @@
# maintainer abveritas@chakra-project.org
pkgname=flashplugin
_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
pkgver=11.2.202.275
pkgrel=1
pkgdesc='Adobe Flash Player'
url='http://labs.adobe.com/technologies/flashplatformruntimes/flashplayer11/'
arch=('x86_64')
depends=('mozilla-common' 'libxt' 'libxpm' 'gtk2' 'nss' 'curl')
optdepends=('libvdpau: GPU acceleration on Nvidia card')
conflicts=('flashplugin')
provides=('flashplayer' 'flashplugin')
license=('custom')
options=(!strip)
install='flashplugin.install'
backup=('etc/adobe/mms.cfg')
source=("http://fpdownload.macromedia.com/get/flashplayer/pdc/$pkgver/install_flash_player_11_linux.x86_64.tar.gz"
"http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
'mms.cfg')
md5sums=('d0a35620a3e54f6fa9e4c64b7c3d095f'
'94ca2aecb409abfe36494d1a7ec7591d'
'dcd4454dc4aa8116b4d7a6c3ba159ea4')
package () {
cd ${srcdir}
install -Dm755 libflashplayer.so "${pkgdir}/usr/lib/mozilla/plugins/libflashplayer.so"
install -Dm755 usr/lib64/kde4/kcm_adobe_flash_player.so "${pkgdir}/usr/lib/kde4/kcm_adobe_flash_player.so"
install -Dm755 usr/bin/flash-player-properties "${pkgdir}/usr/bin/flash-player-properties"
for i in 16x16 22x22 24x24 32x32 48x48; do
install -Dm644 usr/share/icons/hicolor/${i}/apps/flash-player-properties.png \
"${pkgdir}/usr/share/icons/hicolor/${i}/apps/flash-player-properties.png"
done
install -Dm644 usr/share/applications/flash-player-properties.desktop "${pkgdir}/usr/share/applications/flash-player-properties.desktop"
install -Dm644 usr/share/kde4/services/kcm_adobe_flash_player.desktop "${pkgdir}/usr/share/kde4/services/kcm_adobe_flash_player.desktop"
install -Dm644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf"
install -Dm644 ${srcdir}/mms.cfg "${pkgdir}/etc/adobe/mms.cfg"
}

View File

@ -1,14 +0,0 @@
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
echo " >> "
echo " >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,"
echo " >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg."
echo " >> If you run into problems, please contact nVidia or Broadcom along with your system config info / driver version."
echo " >> "
}
post_upgrade() {
if [ "$(vercmp $2 10.2.152.27-2)" -lt 0 ]; then
post_install $1
fi
}

View File

@ -1,3 +0,0 @@
#Hardware video decoding
EnableLinuxHWVideoDecode=0

View File

@ -1,14 +1,7 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=fontsproto
pkgver=2.1.1
pkgver=2.1.2
pkgrel=1
pkgdesc="X11 font extension wire protocol"
arch=(any)
@ -16,13 +9,17 @@ url="http://xorg.freedesktop.org/"
license=('custom')
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('77ab428ad4ad7cf0294a72a2201d665c4edf5fb1')
sha1sums=('538f0880faa6981cb1a348ced93dc715c42840f7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}

View File

@ -8,7 +8,7 @@
pkgname=freealut
pkgver=1.1.0
pkgrel=4
pkgrel=5
pkgdesc="OpenAL Utility Toolkit (ALUT)"
arch=('i686' 'x86_64')
url="http://www.openal.org"

View File

@ -3,7 +3,7 @@
# Contributor: Nezmer <Nezmer@gmail.com>
pkgname=fribidi
pkgver=0.19.2
pkgver=0.19.5
pkgrel=1
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
arch=('i686' 'x86_64')
@ -11,8 +11,8 @@ license=('LGPL')
url="http://fribidi.org"
depends=('glibc')
options=('!libtool')
source=(http://fribidi.org/download/${pkgname}-${pkgver}.tar.gz)
md5sums=('626db17d2d99b43615ad9d12500f568a')
source=(http://fribidi.org/download/${pkgname}-${pkgver}.tar.bz2)
md5sums=('925bafb97afee8a2fc2d0470c072a155')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"

View File

@ -1,49 +0,0 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=gtk3
pkgver=3.6.4
pkgmin="${pkgver%.*}"
pkgrel=1
pkgdesc="The GTK+ Toolkit (v3)"
arch=('x86_64')
url="http://www.gtk.org/"
install="gtk3.install"
depends=('cairo' 'gtk-update-icon-cache' 'libcups' 'libxcursor'
'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage'
'pango' 'shared-mime-info' 'colord' 'at-spi2-atk')
makedepends=('gobject-introspection')
options=('!libtool' '!docs')
backup=(etc/gtk-3.0/settings.ini)
license=('LGPL')
source=("http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgmin}/gtk+-${pkgver}.tar.xz"
'settings.ini')
md5sums=('123d3dc6fc659539a308017934235b3e'
'085ece008fa3a0b7a72e9fe3dda3631a')
build() {
cd "${srcdir}/gtk+-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-gtk2-dependency \
--disable-schemas-compile
#https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd "${srcdir}/gtk+-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 "${srcdir}/settings.ini" \
"${pkgdir}/etc/gtk-3.0/settings.ini"
}
# vim:set ts=2 sw=2 et:

View File

@ -1,15 +0,0 @@
post_install() {
usr/bin/gtk-query-immodules-3.0 --update-cache
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
}
post_upgrade() {
post_install
}
pre_remove() {
rm -f usr/lib/gtk-3.0/3.0.0/immodules.cache
}
post_remove() {
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
}

View File

@ -1,2 +0,0 @@
[Settings]
gtk-fallback-icon-theme = gnome

View File

@ -3,10 +3,8 @@
# maintainer abveritas@chakra-project.org
pkgname=hplip
pkgver=3.13.3
# incase a or b is used in hplip rls:
_pkgver=3.13.3
pkgrel=2
pkgver=3.13.5
pkgrel=1
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet."
arch=('i686' 'x86_64')
url="http://hplipopensource.com"
@ -21,42 +19,54 @@ optdepends=('cups: for printing support'
'pyqt: for running hp-toolbox'
'python2-gobject: for running hp-toolbox')
options=('!libtool')
install=${pkgname}.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.gz"
"cups-1.6-buildfix.diff")
sha1sums=('e571cfac1a30c947b3526de691cbe3cf31590bfb'
'7a3b476eb8bcecb4988eadc26924b053a3ed4fbb')
install=hplip.install
source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.asc}
cups-1.6-buildfix.diff
hp-mkuri.patch
hplip_typo.patch)
md5sums=('f0c406f06f191a120f7d283b69ff10e8'
'SKIP'
'ef64578c6cb3ce252dbdcb0f1c2f4a47'
'0bd7779fdbc4d7a9386df04dce2cb8d4'
'b3dd33a538ed8a3774f3c22f13e0a549')
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
cd "$srcdir/$pkgname-$pkgver"
# fix build with cups 1.6 - FC hplip-ipp-accessors.patch
patch -p1 -i ${srcdir}/cups-1.6-buildfix.diff
# fix build with cups 1.6 - FC hplip-ipp-accessors.patch
patch -p1 -i "${srcdir}/cups-1.6-buildfix.diff"
# fix linking libnotify, FS#34283
patch -Np0 -i ${srcdir}/hp-mkuri.patch
export PYTHON=python2
find . -type f -exec sed -i 's~^#.*env python~#!/usr/bin/env python2~' {} +
sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' setup.py makeuri.py logcapture.py base/magic.py
sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' ui/upgradeform.py uninstall.py upgrade.py config_usb_printer.py
sed -i 's|python ./print.py|python2 ./print.py|' scan.py
sed -i 's|python ./testpage.py|python2 ./testpage.py|' setup.py
sed -i 's|python ./setup.py|python2 ./setup.py|' ui4/devmgr5.py ui4/nodevicesdialog.py
sed -i 's|python %HOME%|python2 %HOME%|' base/utils.py
sed -i 's|python ./plugin.py|python2 ./plugin.py|' base/pkit.py
# fix typo preventing FW to load
patch -Np0 -i ${srcdir}/hplip_typo.patch
export PYTHON=python2
find . -type f -exec sed -i 's~^#.*env python~#!/usr/bin/env python2~' {} +
sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' doctor.py setup.py makeuri.py logcapture.py base/magic.py
sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' ui/upgradeform.py uninstall.py upgrade.py config_usb_printer.py
sed -i 's|python ./print.py|python2 ./print.py|' scan.py
sed -i 's|python ./testpage.py|python2 ./testpage.py|' setup.py
sed -i 's|python ./setup.py|python2 ./setup.py|' ui4/devmgr5.py ui4/nodevicesdialog.py
sed -i 's|python %HOME%|python2 %HOME%|' base/utils.py
sed -i 's|python ./plugin.py|python2 ./plugin.py|' base/pkit.py
# Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip
# The hpcups driver does not use foomatic-rip
local i
for i in ppd/hpijs/*.ppd.gz ; do
rm -f ${i}.temp
gunzip -c ${i} | sed 's/foomatic-rip-hplip/foomatic-rip/g' | \
gzip > ${i}.temp || return 1
mv ${i}.temp ${i}
done
export AUTOMAKE='automake --foreign'
autoreconf --force --install
# from Gentoo
# Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip
local i
for i in ppd/hpijs/*.ppd.gz ; do
rm -f ${i}.temp
gunzip -c ${i} | sed 's/foomatic-rip-hplip/foomatic-rip/g' | \
gzip > ${i}.temp || return 1
mv ${i}.temp ${i}
done
export AUTOMAKE='automake --foreign'
autoreconf --force --install
./configure --prefix=/usr \
./configure --prefix=/usr \
--enable-qt4 \
--disable-foomatic-rip-hplip-install \
--enable-foomatic-ppd-install \
@ -67,23 +77,24 @@ build() {
--enable-hpijs-install \
--enable-foomatic-drv-install \
--enable-pp-build \
--enable-udev-acl-rules
make
--enable-udev-acl-rules #--help
make
}
package() {
cd "${srcdir}/${pkgname}-${_pkgver}"
make rulesdir=/usr/lib/udev/rules.d DESTDIR="${pkgdir}/" install
cd "$srcdir/$pkgname-${pkgver/.a/a}"
make rulesdir=/usr/lib/udev/rules.d DESTDIR="$pkgdir/" install
# remove config provided by sane and autostart of hp-daemon
rm -rf "${pkgdir}"/etc/{sane.d,xdg}
rm -rf "$pkgdir"/etc/{sane.d,xdg}
# remove HAL .fdi file
rm -rf "${pkgdir}"/usr/share/hal
# remove rc
# remove HAL .fdi file because HAL is no longer used
rm -rf "$pkgdir"/usr/share/hal
# log dir should not be world writeable
chmod 775 "$pkgdir"/var/log/hp{,/tmp}
# remove rc script
rm -rf "$pkgdir"/etc/init.d
sed -i "s:\$attrs:\$attr:g" $pkgdir/usr/lib/udev/rules.d/56-hpmud_support.rules
}

View File

@ -1,12 +1,10 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=hugin-tools
_pkgname=hugin
pkgver=2012.0.0
pkgrel=3
pkgrel=4
pkgdesc="Hugin libs and tools to be used by Kipi-plugins"
arch=('x86_64')
url="http://hugin.sourceforge.net/"
@ -42,5 +40,9 @@ build() {
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
rm -f "${pkgdir}"/usr/share/applications/pto_gen.desktop
# Remove frontend files
rm -rf "${pkgdir}"/usr/share/applications
rm -rf "${pkgdir}"/usr/share/man
rm -rf "${pkgdir}"/usr/share/locale
}

View File

@ -1,21 +1,16 @@
#
# Chakra Packages, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgbase=hyphen
pkgname=('hyphen' 'hyphen-en')
pkgver=2.7.1
pkgver=2.8.6
pkgrel=1
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://hunspell.sf.net"
license=('GPL' 'LGPL' 'MPL')
groups=()
makedepends=('glibc' 'perl')
options=('!libtool')
source=(http://downloads.sourceforge.net/hunspell/${pkgname}-${pkgver}.tar.gz)
md5sums=('48a9f787f43a09c0a9b7b00cd1fddbbf')
md5sums=('ee527b48ef1a7e95ee803a1f7c283c56')
build() {
cd "$srcdir/$pkgname-$pkgver"
@ -44,7 +39,7 @@ package_hyphen-en() {
# arch=('any')
optdepends=('hyphen: offers hyphenation library functions')
cd "$srcdir/$pkgname-$pkgver"
cd "$srcdir/${pkgbase}-${pkgver}"
make DESTDIR="$pkgdir/" install-hyphDATA
pushd ${pkgdir}/usr/share/hyphen/

View File

@ -1,30 +0,0 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=kio_gopher
pkgver=0.1.3
_kdever=4.4.0
pkgrel=1
pkgdesc="A Kioslave for the Gopher protocol"
arch=('i686' 'x86_64')
url="http://kgopher.berlios.de"
license=('GPL')
depends=('kdelibs')
makedepends=('pkgconfig' 'cmake' 'automoc4')
options=('docs')
source=("http://download.kde.org/stable/extragear/${pkgname}-${pkgver}-kde${_kdever}.tar.bz2")
md5sums=('5b4b82aa8502736fc48e2c45ea0569f2')
build() {
cd $srcdir
mkdir build
cd build
cmake ../${pkgname}-${pkgver}-kde${_kdever} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$pkgdir install
}

View File

@ -1,27 +1,30 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributions from Arch: https://www.archlinux.org/packages/community/x86_64/libcss/
pkgname=libcss
pkgver=0.0.2
pkgver=0.2.0
pkgrel=1
pkgdesc="A CSS parser and selection engine."
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.netsurf-browser.org/projects/libcss/"
license=('MIT')
depends=('libparserutils' 'libwapcaplet')
source=(http://www.netsurf-browser.org/projects/releases/libcss-${pkgver}-src.tar.gz)
md5sums=('3bbdd853a2f52db7ab0e2ea3597e62fa')
makedepends=('netsurf-buildsystem')
source=("http://download.netsurf-browser.org/libs/releases/libcss-$pkgver-src.tar.gz")
sha256sums=('31b08f6f2259366ccad8b455440f364dc33e7dc78cdb0cf4905da56d5372f613')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make
cd "$srcdir/$pkgname-$pkgver"
export CFLAGS="-Wno-error=unused-but-set-variable"
make PREFIX=/usr COMPONENT_TYPE="lib-shared"
make PREFIX=/usr COMPONENT_TYPE="lib-static"
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make PREFIX=/usr DESTDIR=${pkgdir} install
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
cd "$srcdir/$pkgname-$pkgver"
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared"
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

View File

@ -6,8 +6,8 @@ pkgrel=3
pkgdesc="libgpod is a shared library to access the contents of an iPod"
arch=('x86_64')
license=('LGPL')
depends=('mutagen' 'sg3_utils>=1.27' 'libimobiledevice' 'gdk-pixbuf2')
makedepends=('intltool' 'swig' 'docbook-xsl' 'pygobject')
depends=('mutagen' 'sg3_utils' 'libplist' 'libimobiledevice' 'gdk-pixbuf2')
makedepends=('intltool' 'swig' 'docbook-xsl' 'python2-gobject')
url="http://www.gtkpod.org/libgpod.html"
source=("http://downloads.sourceforge.net/sourceforge/gtkpod/${pkgname}-${pkgver}.tar.bz2")
options=(!libtool)

View File

@ -8,7 +8,7 @@ url="http://libimobiledevice.org/"
arch=('x86_64')
license=('GPL2' 'LGPL2.1')
depends=('gnutls' 'glib2' 'libplist' 'usbmuxd' 'libgcrypt')
makedepends=('swig' 'python2')
makedepends=('python2')
options=('!libtool')
source=("http://libimobiledevice.org/downloads/${pkgname}-${pkgver}.tar.bz2")
md5sums=('d9debdcf71508dee2c85b60b28ccddd4')

View File

@ -3,8 +3,8 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=libmikmod
pkgver=3.1.12
pkgrel=3
pkgver=3.2.0
pkgrel=2
pkgdesc="A portable sound library"
license=('GPL' 'LGPL')
url="http://sourceforge.net/projects/mikmod/"
@ -12,28 +12,19 @@ arch=('i686' 'x86_64')
depends=('glibc')
options=('!libtool')
install=$pkgname.install
source=(http://downloads.sourceforge.net/mikmod/${pkgname}-${pkgver}.tar.gz
libmikmod-3.1.12-64bit-fix.diff
libmikmod-3.1.12-exitcrash-fix.diff
libmikmod-3.1.12-loopingvolume-fix.diff
libmikmod-3.1.12-md_sngchn-fix.diff
libmikmod-CVE-2009-0179.patch)
md5sums=('9f3c740298260d5f88981fc0d51f6f16'
'dc7ffd8d6d355e9d6ec671b7f2b2adc7'
'03a4f5bfcecddf5f515672d6d477b7f7'
'a837fd876cbd2ac27419b802504489db'
'076d39de19de36b880ed90297f1ee0d1'
'fa91f4bc17164be32bec0ea7a73f2aaa')
source=(http://mikmod.shlomifish.org/files/${pkgname}-${pkgver}.tar.gz
libmikmod-3.2.0-64bit-fix.diff
libmikmod-3.1.12-loopingvolume-fix.diff)
md5sums=('96e9820d72a41fe27ff304071739696c'
'0bb09aac6e83e0a7fd6535961b3cff4c'
'a837fd876cbd2ac27419b802504489db')
build() {
cd $srcdir/$pkgname-$pkgver
# patches from sdl_mixer-1.2.11 source
patch -Np1 -i $srcdir/libmikmod-3.1.12-64bit-fix.diff
patch -Np1 -i $srcdir/libmikmod-3.1.12-exitcrash-fix.diff
patch -Np1 -i $srcdir/libmikmod-3.2.0-64bit-fix.diff
patch -Np1 -i $srcdir/libmikmod-3.1.12-loopingvolume-fix.diff
patch -Np1 -i $srcdir/libmikmod-3.1.12-md_sngchn-fix.diff
patch -Np1 -i $srcdir/libmikmod-CVE-2009-0179.patch
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
make || return 1

View File

@ -1,47 +0,0 @@
Date: Sun, 04 Jul 2004 11:53:23 +0200
From: Josselin Mouette
Subject: Re: sdl 64bit problem [PATCH]
Le sam, 03/07/2004 <20> 18:20 +0200, Hans-Frieder Vogt a <20>crit :
> Hi list,
>
> I found the problem that lead to the distorted sound in tuxracer on AMD64. It
> may have also been the cause for the other reported sound problems with SDL.
> The problem is not in SDL, but in SDL-mixer.
> There, music files (*.it, and probably others as well) are incorrectly read on
> all 64 bit architectures but Alpha, due to an incorrect data type definition.
> The attached patch should solve the problem for all 64 bit architectures on
> Linux, since at least cpp defines _LP64 and __LP64__ for them.
> _LP64 indicates that long ints and pointers are 64 bits, but integers are 32
> bits.
> I am not sure whether the usage of _LP64 is also standard for the commercial
> compilers, and for other Unixes, but at least Solaris 9 defines _LP64 in the
> 64 bit environment as well.
>
> Josselin,
> could you include this patch into your next debian packages?
diff -ru libmikmod-3.1.12.orig/include/mikmod.h.in libmikmod-3.1.12/include/mikmod.h.in
--- libmikmod-3.1.12.orig/include/mikmod.h.in 2007-12-15 01:24:19.000000000 -0800
+++ libmikmod-3.1.12/include/mikmod.h.in 2009-10-05 00:18:56.000000000 -0700
@@ -85,7 +85,7 @@
@DOES_NOT_HAVE_SIGNED@
-#if defined(__arch64__) || defined(__alpha) || defined(__x86_64)
+#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(_LP64)
/* 64 bit architectures */
typedef signed char SBYTE; /* 1 byte, signed */
diff -ru libmikmod-3.1.12.orig/include/mikmod_internals.h libmikmod-3.1.12/include/mikmod_internals.h
--- libmikmod-3.1.12.orig/include/mikmod_internals.h 2007-12-15 04:24:51.000000000 -0800
+++ libmikmod-3.1.12/include/mikmod_internals.h 2009-10-05 00:19:15.000000000 -0700
@@ -50,7 +50,7 @@
/*========== More type definitions */
/* SLONGLONG: 64bit, signed */
-#if defined (__arch64__) || defined(__alpha)
+#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(_LP64)
typedef long SLONGLONG;
#define NATIVE_64BIT_INT
#elif defined(__WATCOMC__)

View File

@ -1,21 +0,0 @@
Date: 15 Apr 2002 11:01:19 +0200
From: Guillaume Cottenceau <gc@mandrakesoft.com>
Unfortunately, I should have double checked that the following
fix (authored by Dave Goehrig <dave@cthulhu-burger.org>, not me),
was really in the CVS... it's not, as of stable 1.2.3 at least.
Please include it, it fixes a segfault on exiting a program which
disabled MOD music during its execution.
diff -ru libmikmod-3.1.12.orig/playercode/virtch_common.c libmikmod-3.1.12/playercode/virtch_common.c
--- libmikmod-3.1.12.orig/playercode/virtch_common.c 2007-12-15 01:26:53.000000000 -0800
+++ libmikmod-3.1.12/playercode/virtch_common.c 2009-10-05 00:37:12.000000000 -0700
@@ -347,7 +347,7 @@
void VC1_SampleUnload(SWORD handle)
{
- if (handle<MAXSAMPLEHANDLES) {
+ if (Samples && handle<MAXSAMPLEHANDLES) {
if (Samples[handle])
free(Samples[handle]);
Samples[handle]=NULL;

View File

@ -1,112 +0,0 @@
This patch fixes "buffer overflow due to md_numchn - ID: 1630158"
diff -ru libmikmod-3.1.12.orig/playercode/mplayer.c libmikmod-3.1.12/playercode/mplayer.c
--- libmikmod-3.1.12.orig/playercode/mplayer.c 2007-12-15 01:26:28.000000000 -0800
+++ libmikmod-3.1.12/playercode/mplayer.c 2009-10-04 23:48:36.000000000 -0700
@@ -52,6 +52,8 @@
will wait */
/*static*/ MODULE *pf = NULL;
+#define NUMVOICES(mod) (md_sngchn < (mod)->numvoices ? md_sngchn : (mod)->numvoices)
+
#define HIGH_OCTAVE 2 /* number of above-range octaves */
static UWORD oldperiods[OCTAVE*2]={
@@ -248,14 +250,14 @@
MP_VOICE *a;
ULONG t,k,tvol,pp;
- for (t=0;t<md_sngchn;t++)
+ for (t=0;t<NUMVOICES(mod);t++)
if (((mod->voice[t].main.kick==KICK_ABSENT)||
(mod->voice[t].main.kick==KICK_ENV))&&
Voice_Stopped_internal(t))
return t;
tvol=0xffffffUL;t=-1;a=mod->voice;
- for (k=0;k<md_sngchn;k++,a++) {
+ for (k=0;k<NUMVOICES(mod);k++,a++) {
/* allow us to take over a nonexisting sample */
if (!a->main.s)
return k;
@@ -2249,12 +2251,12 @@
switch (dat) {
case 0x0: /* past note cut */
- for (t=0;t<md_sngchn;t++)
+ for (t=0;t<NUMVOICES(mod);t++)
if (mod->voice[t].master==a)
mod->voice[t].main.fadevol=0;
break;
case 0x1: /* past note off */
- for (t=0;t<md_sngchn;t++)
+ for (t=0;t<NUMVOICES(mod);t++)
if (mod->voice[t].master==a) {
mod->voice[t].main.keyoff|=KEY_OFF;
if ((!(mod->voice[t].venv.flg & EF_ON))||
@@ -2263,7 +2265,7 @@
}
break;
case 0x2: /* past note fade */
- for (t=0;t<md_sngchn;t++)
+ for (t=0;t<NUMVOICES(mod);t++)
if (mod->voice[t].master==a)
mod->voice[t].main.keyoff|=KEY_FADE;
break;
@@ -2318,7 +2320,7 @@
SAMPLE *s;
mod->totalchn=mod->realchn=0;
- for (channel=0;channel<md_sngchn;channel++) {
+ for (channel=0;channel<NUMVOICES(mod);channel++) {
aout=&mod->voice[channel];
i=aout->main.i;
s=aout->main.s;
@@ -2736,7 +2738,7 @@
if (a->dct!=DCT_OFF) {
int t;
- for (t=0;t<md_sngchn;t++)
+ for (t=0;t<NUMVOICES(mod);t++)
if ((!Voice_Stopped_internal(t))&&
(mod->voice[t].masterchn==channel)&&
(a->main.sample==mod->voice[t].main.sample)) {
@@ -2978,6 +2980,11 @@
if (!(mod->voice=(MP_VOICE*)_mm_calloc(md_sngchn,sizeof(MP_VOICE))))
return 1;
+ /* mod->numvoices was used during loading to clamp md_sngchn.
+ After loading it's used to remember how big mod->voice is.
+ */
+ mod->numvoices = md_sngchn;
+
Player_Init_internal(mod);
return 0;
}
@@ -3086,7 +3093,7 @@
pf->patbrk=0;
pf->vbtick=pf->sngspd;
- for (t=0;t<md_sngchn;t++) {
+ for (t=0;t<NUMVOICES(pf);t++) {
Voice_Stop_internal(t);
pf->voice[t].main.i=NULL;
pf->voice[t].main.s=NULL;
@@ -3111,7 +3118,7 @@
pf->patbrk=0;
pf->vbtick=pf->sngspd;
- for (t=0;t<md_sngchn;t++) {
+ for (t=0;t<NUMVOICES(pf);t++) {
Voice_Stop_internal(t);
pf->voice[t].main.i=NULL;
pf->voice[t].main.s=NULL;
@@ -3138,7 +3145,7 @@
pf->sngpos=pos;
pf->vbtick=pf->sngspd;
- for (t=0;t<md_sngchn;t++) {
+ for (t=0;t<NUMVOICES(pf);t++) {
Voice_Stop_internal(t);
pf->voice[t].main.i=NULL;
pf->voice[t].main.s=NULL;

View File

@ -0,0 +1,12 @@
diff -u -r libmikmod-3.2.0-orig/include/mikmod.h libmikmod-3.2.0/include/mikmod.h
--- libmikmod-3.2.0-orig/include/mikmod.h 2012-06-01 15:15:42.000000000 +0200
+++ libmikmod-3.2.0/include/mikmod.h 2012-10-03 20:03:48.173576199 +0200
@@ -85,7 +85,7 @@
-#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(__powerpc64__)
+#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(__powerpc64__) || defined(_LP64)
/* 64 bit architectures */
typedef signed char SBYTE; /* 1 byte, signed */

View File

@ -1,33 +0,0 @@
diff -ur libmikmod-3.1.11.orig/loaders/load_xm.c libmikmod-3.1.11/loaders/load_xm.c
--- libmikmod-3.1.11.orig/loaders/load_xm.c 2004-01-21 18:43:53.000000000 +0100
+++ libmikmod-3.1.11/loaders/load_xm.c 2008-04-16 04:30:45.000000000 +0200
@@ -622,7 +622,8 @@
/* read the remainder of the header */
for(u=headend-_mm_ftell(modreader);u;u--) _mm_read_UBYTE(modreader);
- if(_mm_eof(modreader)) {
+ /* last instrument is at the end of file in version 0x0104 */
+ if(_mm_eof(modreader) && (mh->version<0x0104 || t<of.numins-1)) {
free(nextwav);free(wh);
nextwav=NULL;wh=NULL;
_mm_errno = MMERR_LOADING_SAMPLEINFO;
diff -ur libmikmod-3.1.11.orig/playercode/mloader.c libmikmod-3.1.11/playercode/mloader.c
--- libmikmod-3.1.11.orig/playercode/mloader.c 2004-01-21 18:43:53.000000000 +0100
+++ libmikmod-3.1.11/playercode/mloader.c 2008-04-16 04:30:45.000000000 +0200
@@ -450,10 +450,12 @@
if (!l->Init || l->Init()) {
_mm_rewind(modreader);
ok = l->Load(curious);
- /* propagate inflags=flags for in-module samples */
- for (t = 0; t < of.numsmp; t++)
- if (of.samples[t].inflags == 0)
- of.samples[t].inflags = of.samples[t].flags;
+ if (ok) {
+ /* propagate inflags=flags for in-module samples */
+ for (t = 0; t < of.numsmp; t++)
+ if (of.samples[t].inflags == 0)
+ of.samples[t].inflags = of.samples[t].flags;
+ }
} else
ok = 0;

View File

@ -1,21 +1,17 @@
#
# Chakra Packages, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libmythes
pkgver=1.2.1
pkgver=1.2.3
pkgrel=1
pkgdesc="a simple thesaurus"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://hunspell.sourceforge.net/ "
license=('custom')
depends=('glibc' 'perl')
options=('force' '!libtool')
depends=('glibc' 'perl' 'hunspell')
options=('!libtool')
provides=('mythes')
source=(http://downloads.sourceforge.net/hunspell/${pkgname/lib/}-${pkgver}.tar.gz)
md5sums=('54b310488dda6929cf31ae859928c945')
md5sums=('46e92b68e31e858512b680b3b61dc4c1')
build() {
cd ${srcdir}/${pkgname/lib/}-$pkgver

View File

@ -1,28 +1,28 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributions from Arch: https://www.archlinux.org/packages/community/x86_64/libparserutils/
pkgname=libparserutils
pkgver=0.0.2
pkgver=0.1.2
pkgrel=1
pkgdesc="Library for building efficient parsers"
arch=('i686' 'x86_64')
url="http://www.netsurf-browser.org/projects/libparserutils"
license=('MIT')
source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz")
md5sums=('5b2e4ddeebe451cc801ccd6e7da06f87')
makedepends=('netsurf-buildsystem')
source=("http://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz")
md5sums=('11c2b4ff17406b57dcb718d4fad022bb')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make PREFIX=/usr
sed 's:-Wall::' -i Makefile
make PREFIX=/usr COMPONENT_TYPE="lib-shared"
make PREFIX=/usr COMPONENT_TYPE="lib-static"
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
cd "$srcdir/$pkgname-$pkgver"
make install PREFIX=/usr DESTDIR=${pkgdir}
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared"
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

View File

@ -5,8 +5,8 @@
pkgname=libpng12
_realname=libpng
pkgver=1.2.43
pkgrel=1
pkgver=1.2.50
pkgrel=2
pkgdesc="A collection of routines used to create PNG format graphics files"
arch=('i686' 'x86_64')
url="http://www.libpng.org/pub/png/libpng.html"
@ -14,9 +14,9 @@ license=('custom')
depends=('zlib' 'perl')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/${_realname}/${_realname}-${pkgver}.tar.bz2"
"http://littlesvr.ca/apng/diff/libpng-1.2.43-apng.patch")
md5sums=('976909556e6613804d810405c1f72ce6'
'0152337e035e9c767ca92521e3127502')
"http://downloads.sourceforge.net/sourceforge/${_realname}-apng/${_realname}-${pkgver}-apng.patch.gz")
md5sums=('717caa58e9c71a80820eb38c4f4d6ec3'
'3d3d078b031b23a9e1d95f9822185740')
build() {
@ -24,7 +24,7 @@ build() {
# Add animated PNG (apng) support
# see http://hp.vector.co.jp/authors/VA013651/freeSoftware/apng.html
patch -Np0 -i "${srcdir}/libpng-1.2.43-apng.patch" || return 1
patch -Np1 -i "${srcdir}/libpng-${pkgver}-apng.patch" || return 1
libtoolize --force --copy || return 1
aclocal || return 1
@ -39,7 +39,8 @@ build() {
#make ECHO=echo PNGLIB="-L${pkgdir}/usr/lib -lpng" -f makefile.std png2pnm pnm2png
#install -m755 png2pnm pnm2png "${pkgdir}/usr/bin/"
#install -D -m644 ../../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
# only libs needed
# only libs and includes needed
rm -rf ${pkgdir}/usr/lib/{libpng.so,libpng.a,pkgconfig}
rm -rf ${pkgdir}/usr/{include,share,bin}
}
rm -rf ${pkgdir}/usr/include/{png.h,pngconf.h}
rm -rf ${pkgdir}/usr/{share,bin}
}

View File

@ -1,14 +1,10 @@
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libproxy
pkgver=0.4.6
pkgrel=2
pkgver=0.4.11
pkgrel=1
pkgdesc="A library that provides automatic proxy configuration management"
arch=(i686 x86_64)
arch=('x86_64')
license=('LGPL')
depends=('gcc-libs')
optdepends=('kdelibs: KDE configuration module'
@ -19,7 +15,7 @@ makedepends=('cmake' 'networkmanager' 'automoc4' 'python2' 'kdelibs' 'perl')
url="http://libproxy.googlecode.com"
source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
options=('!libtool')
md5sums=('199c6b120baf1f7258a55f38d5ec74f5')
md5sums=('3cd1ae2a4abecf44b3f24d6639d2cd84')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"

View File

@ -1,11 +1,7 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor Andries Radu <admiral0@live.it>
# Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libqtgtl
pkgver=0.9.2
pkgver=0.9.3
pkgrel=1
pkgdesc="Qt bindings to OpenGTL"
url="http://www.opengtl.org"
@ -14,7 +10,7 @@ depends=('llvm' 'opengtl')
license=('GPL')
makedepends=('cmake')
source=(http://download.opengtl.org/libQtGTL-${pkgver}.tar.bz2)
md5sums=('671d32f92bfe7713eade62cd80101622')
md5sums=('1e9fd96332db22da01ab6d83568e396e')
build() {
cd $srcdir
@ -27,4 +23,4 @@ package() {
cd $srcdir/build
make DESTDIR=${pkgdir} install
rm -r $srcdir/build
}
}

24
libsmf/PKGBUILD Normal file
View File

@ -0,0 +1,24 @@
pkgname=libsmf
pkgver=1.3
pkgrel=1
pkgdesc='A BSD-licensed C library for handling SMF ("*.mid") files.'
arch=('x86_64')
url="http://sourceforge.net/projects/libsmf/"
license=('BSD')
depends=('glib2' 'readline')
options=('!libtool')
source=("http://downloads.sourceforge.net/project/libsmf/libsmf/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('eb698f1bc0bad9d5bce4c10386347486')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--enable-static=no
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

View File

@ -1,26 +1,21 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libsysactivity
pkgver=0.6.1
pkgrel=2
pkgver=0.6.4
pkgrel=1
pkgdesc="A lightweight library that retrieves statistics of the system's activity in a portable and thread safe way."
url="http://sourceforge.net/projects/libsysactivity/"
license=('LGPL')
arch=('i686' 'x86_64')
depends=('glibc')
makedepends=('cmake')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz cmakelist.patch)
md5sums=('a81fc993489dafd5308347b3a48525a5'
'af299470d092281bd54b4a67505211d8')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('ff608ad4b1e589f03b5b1aa664fecfd8')
build(){
cd ${srcdir}
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np0 -i "${srcdir}/cmakelist.patch" || return 1
# patch -Np0 -i "${srcdir}/cmakelist.patch" || return 1
mkdir ${srcdir}/build
cd ${srcdir}/build
cmake ${srcdir}/libsysactivity-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
@ -30,4 +25,4 @@ build(){
package() {
cd ${srcdir}/build
make DESTDIR="${pkgdir}" install
}
}

30
libtommath/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
#Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
#Contributions from Arch: https://www.archlinux.org/packages/community/x86_64/libtommath/
pkgname=libtommath
pkgver=0.42.0
pkgrel=1
pkgdesc="Highly optimized and portable routines for integer based number theoretic applications"
url="http://www.libtom.org/"
license=('custom')
arch=('x86_64')
source=("http://libtom.org/files/ltm-${pkgver}.tar.bz2"
'libtommath-0.42.0-makefile.patch')
md5sums=('7380da904b020301be7045cb3a89039b'
'd50c26fdc5aa87e6acfd4adc20557ff4')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i ${srcdir}/libtommath-0.42.0-makefile.patch
make -f makefile.shared IGNORE_SPEED=1
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir INSTALL_GROUP=root install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
chmod 644 ${pkgdir}/usr/lib/libtommath.a
}

View File

@ -0,0 +1,44 @@
--- a/makefile.shared
+++ b/makefile.shared
@@ -3,7 +3,7 @@
#Tom St Denis
VERSION=0:41
-CC = libtool --mode=compile --tag=CC gcc
+LTCOMPILE = libtool --mode=compile --tag=CC $(CC)
CFLAGS += -I./ -Wall -W -Wshadow -Wsign-compare
@@ -82,21 +82,24 @@
objs: $(OBJECTS)
+.c.o:
+ $(LTCOMPILE) $(CFLAGS) $(LDFLAGS) -o $@ -c $<
+
$(LIBNAME): $(OBJECTS)
- libtool --mode=link gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
+ libtool --mode=link --tag=CC $(CC) $(LDFLAGS) *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
install: $(LIBNAME)
- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
+ install -d $(DESTDIR)$(LIBPATH)
libtool --mode=install install -c $(LIBNAME) $(DESTDIR)$(LIBPATH)/$(LIBNAME)
- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
- install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
+ install -d $(DESTDIR)$(INCPATH)
+ install -m 644 $(HEADERS) $(DESTDIR)$(INCPATH)
test: $(LIBNAME) demo/demo.o
- gcc $(CFLAGS) -c demo/demo.c -o demo/demo.o
- libtool --mode=link gcc -o test demo/demo.o $(LIBNAME_S)
+ $(CC) $(CFLAGS) -c demo/demo.c -o demo/demo.o
+ libtool --mode=link $(CC) $(LDFLAGS) -o test demo/demo.o $(LIBNAME_S)
mtest: test
- cd mtest ; gcc $(CFLAGS) mtest.c -o mtest
+ cd mtest ; $(CC) $(CFLAGS) $(LDFLAGS) mtest.c -o mtest
timing: $(LIBNAME)
- gcc $(CFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest
+ libtool --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest

View File

@ -1,28 +1,28 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributions from Arch: https://www.archlinux.org/packages/community/x86_64/libwapcaplet/
pkgname=libwapcaplet
pkgver=0.0.2
pkgver=0.2.0
pkgrel=1
pkgdesc="A string internment library with rapid string comparison."
arch=('i686' 'x86_64')
url="http://www.netsurf-browser.org/projects/libwapcaplet/"
license=('MIT')
source=(http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz)
md5sums=('c73b5ff5fce55819cc698e8cb486d5eb')
makedepends=('netsurf-buildsystem')
source=("http://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz")
sha256sums=('5fb49841ba335b0c7a1420d92c3a60480df63696c50353c02724aa8c6b45cb24')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make || return 1
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr COMPONENT_TYPE="lib-shared"
make PREFIX=/usr COMPONENT_TYPE="lib-static"
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make PREFIX=/usr DESTDIR=${pkgdir} install || return 1
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
cd "$srcdir/$pkgname-$pkgver"
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared"
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

View File

@ -1,35 +1,30 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
#contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/libzip/
pkgname=libzip
pkgver=0.10
pkgrel=1
pkgver=0.11.1
pkgrel=2
pkgdesc="A C library for reading, creating, and modifying zip archives"
url="http://www.nih.at/libzip/index.html"
license=('GPL2')
arch=('i686' 'x86_64')
arch=('x86_64')
depends=('zlib')
options=('!libtool')
source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'fix-headers.patch')
md5sums=('47cdfcbc08c8bea0b52fdee4bf591622'
md5sums=('bf50518665f4ebcce623c7dcdc2f422d'
'249395bd3a426c4c4e993e9d4753e1dd')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/fix-headers.patch"
autoreconf -i
./configure --prefix=/usr
make || return 1
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
make DESTDIR=${pkgdir} install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

47
lilv/PKGBUILD Normal file
View File

@ -0,0 +1,47 @@
pkgname=lilv
pkgver=0.16.0
pkgrel=1
pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications"
arch=('x86_64')
url="http://drobilla.net/software/lilv/"
license=('custom:ISC')
depends=('python2' 'sratom>=0.4.2' 'jack')
makedepends=('swig')
optdepends=('bash-completion: auto-complete words')
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2"
'lilvmm.patch')
md5sums=('12eb71f2b5b8a68e15c1c816896bcb9f'
'd34207f8ca3586650ad7c50284ffb3e0')
build() {
cd "$srcdir/$pkgname-$pkgver"
# fix UI API error
# backport of http://dev.drobilla.net/changeset/5092
patch -Np2 -i "$srcdir/lilvmm.patch"
# pick up python2 even when python3 exists
# (the build system has flaky support for python3)
export PYTHON="/usr/bin/python2"
# remove ldconfig --speps
sed -i "/ldconfig/d" wscript
python2 waf configure --prefix=/usr \
--configdir=/etc \
--dyn-manifest \
--bindings
python2 waf build $MAKEFLAGS
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf install --destdir="$pkgdir"
# license
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

40
lilv/lilvmm.patch Normal file
View File

@ -0,0 +1,40 @@
Index: trunk/lilv/lilv/lilvmm.hpp
===================================================================
--- trunk/lilv/lilv/lilvmm.hpp (revision 4975)
+++ trunk/lilv/lilv/lilvmm.hpp (revision 5092)
@@ -48,4 +48,9 @@
inline RT name(T1 a1, T2 a2) { \
return lilv_ ## prefix ## _ ## name(me, a1, a2); \
+ }
+
+#define LILV_WRAP3(RT, prefix, name, T1, a1, T2, a2, T3, a3) \
+ inline RT name(T1 a1, T2 a2, T3 a3) { \
+ return lilv_ ## prefix ## _ ## name(me, a1, a2, a3); \
}
@@ -138,4 +143,25 @@
LILV_WRAP1(bool, nodes, contains, const Node, node);
LILV_WRAP0(Node, nodes, get_first);
+};
+
+struct UI {
+ inline UI(const LilvUI* c_obj) : me(c_obj) {}
+ LILV_WRAP_CONVERSION(const LilvUI);
+
+ LILV_WRAP0(const LilvNode*, ui, get_uri);
+ LILV_WRAP0(const LilvNode*, ui, get_bundle_uri);
+ LILV_WRAP0(const LilvNode*, ui, get_binary_uri);
+ LILV_WRAP0(const LilvNodes*, ui, get_classes);
+ /*LILV_WRAP3(bool, ui, is_supported,
+ LilvUISupportedFunc, supported_func,
+ const LilvNode*, container_type,
+ const LilvNode**, ui_type);*/
+ LILV_WRAP1(bool, ui, is_a, const LilvNode*, class_uri);
+
+ const LilvUI* me;
+};
+
+struct UIs {
+ LILV_WRAP_COLL(UIs, UI, uis);
};

View File

@ -5,14 +5,14 @@
pkgname=lirc-utils
pkgver=0.9.0
pkgrel=12
pkgrel=13
pkgdesc="Linux Infrared Remote Control utils"
arch=('x86_64')
url="http://www.lirc.org/"
license=('GPL')
_kernver='3.7.6-2'
depends=('alsa-lib' 'libx11' 'libftdi' 'linux')
makedepends=('help2man' 'linux-headers' 'python2')
makedepends=('help2man' 'linux-headers>=3.9' 'linux-headers<3.10' 'python2')
optdepends=('python2: pronto2lirc utility')
replaces=('lirc+pctv')
backup=('etc/conf.d/lircd.conf' 'etc/conf.d/irexec.conf')
@ -23,6 +23,7 @@ source=(http://sourceforge.net/projects/lirc/files/LIRC/$pkgver/lirc-$pkgver.tar
lircd-handle-large-config.patch
lirc_atiusb-kfifo.patch
kernel-2.6.39.patch
linux-3.8.patch
lirc.logrotate lircd.conf irexec.conf
lirc.service lircm.service irexec.service lirc.tmpfiles)
md5sums=('b232aef26f23fe33ea8305d276637086'
@ -30,6 +31,7 @@ md5sums=('b232aef26f23fe33ea8305d276637086'
'1014f2ea03a557c673c9084118676111'
'86e6894acde723ebc8a2284512283f17'
'087a7d102e1c96bf1179f38db2b0b237'
'9ee196bd03ea44af5a752fb0cc6ca96a'
'3deb02604b37811d41816e9b4385fcc3'
'5b1f8c9cd788a39a6283f93302ce5c6e'
'f0c0ac930326168035f0c8e24357ae55'
@ -41,10 +43,11 @@ md5sums=('b232aef26f23fe33ea8305d276637086'
build() {
# configure
cd "${srcdir}/lirc-$pkgver"
patch -p1 -i ""${srcdir}"/lirc_wpc8769l.patch"
patch -p1 -i ""${srcdir}"/lircd-handle-large-config.patch"
patch -p1 -i ""${srcdir}"/lirc_atiusb-kfifo.patch"
patch -p1 -i ""${srcdir}"/kernel-2.6.39.patch"
patch -p1 -i "${srcdir}/lirc_wpc8769l.patch"
patch -p1 -i "${srcdir}/lircd-handle-large-config.patch"
patch -p1 -i "${srcdir}/lirc_atiusb-kfifo.patch"
patch -p1 -i "${srcdir}/kernel-2.6.39.patch"
patch -p1 -i "${srcdir}/linux-3.8.patch"
# Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+
sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am

View File

@ -0,0 +1,80 @@
diff -upr lirc-0.9.0.orig/drivers/lirc_serial/lirc_serial.c lirc-0.9.0/drivers/lirc_serial/lirc_serial.c
--- lirc-0.9.0.orig/drivers/lirc_serial/lirc_serial.c 2013-02-21 02:36:25.000000000 +0200
+++ lirc-0.9.0/drivers/lirc_serial/lirc_serial.c 2013-02-21 02:39:55.000000000 +0200
@@ -1103,12 +1103,12 @@ static struct lirc_driver driver = {
static struct platform_device *lirc_serial_dev;
-static int __devinit lirc_serial_probe(struct platform_device *dev)
+static int lirc_serial_probe(struct platform_device *dev)
{
return 0;
}
-static int __devexit lirc_serial_remove(struct platform_device *dev)
+static int lirc_serial_remove(struct platform_device *dev)
{
return 0;
}
@@ -1159,7 +1159,7 @@ static int lirc_serial_resume(struct pla
static struct platform_driver lirc_serial_driver = {
.probe = lirc_serial_probe,
- .remove = __devexit_p(lirc_serial_remove),
+ .remove = lirc_serial_remove,
.suspend = lirc_serial_suspend,
.resume = lirc_serial_resume,
.driver = {
diff -upr lirc-0.9.0.orig/drivers/lirc_sir/lirc_sir.c lirc-0.9.0/drivers/lirc_sir/lirc_sir.c
--- lirc-0.9.0.orig/drivers/lirc_sir/lirc_sir.c 2013-02-21 02:36:25.000000000 +0200
+++ lirc-0.9.0/drivers/lirc_sir/lirc_sir.c 2013-02-21 02:38:24.000000000 +0200
@@ -1290,19 +1290,19 @@ static int init_lirc_sir(void)
return 0;
}
-static int __devinit lirc_sir_probe(struct platform_device *dev)
+static int lirc_sir_probe(struct platform_device *dev)
{
return 0;
}
-static int __devexit lirc_sir_remove(struct platform_device *dev)
+static int lirc_sir_remove(struct platform_device *dev)
{
return 0;
}
static struct platform_driver lirc_sir_driver = {
.probe = lirc_sir_probe,
- .remove = __devexit_p(lirc_sir_remove),
+ .remove = lirc_sir_remove,
.driver = {
.name = "lirc_sir",
.owner = THIS_MODULE,
diff -upr lirc-0.9.0.orig/drivers/lirc_wpc8769l/lirc_wpc8769l.c lirc-0.9.0/drivers/lirc_wpc8769l/lirc_wpc8769l.c
--- lirc-0.9.0.orig/drivers/lirc_wpc8769l/lirc_wpc8769l.c 2013-02-21 02:36:25.000000000 +0200
+++ lirc-0.9.0/drivers/lirc_wpc8769l/lirc_wpc8769l.c 2013-02-21 02:39:39.000000000 +0200
@@ -930,12 +930,12 @@ static int wpc8769l_acpi_detect(void)
#ifdef MODULE
static struct platform_device *lirc_wpc8769l_platform_dev;
-static int __devinit lirc_wpc8769l_probe(struct platform_device *dev)
+static int lirc_wpc8769l_probe(struct platform_device *dev)
{
return 0;
}
-static int __devexit lirc_wpc8769l_remove(struct platform_device *dev)
+static int lirc_wpc8769l_remove(struct platform_device *dev)
{
return 0;
}
@@ -963,7 +963,7 @@ static int lirc_wpc8769l_resume(struct p
static struct platform_driver lirc_wpc8769l_platform_driver = {
.probe = lirc_wpc8769l_probe,
- .remove = __devexit_p(lirc_wpc8769l_remove),
+ .remove = lirc_wpc8769l_remove,
.suspend = lirc_wpc8769l_suspend,
.resume = lirc_wpc8769l_resume,
.driver = {

View File

@ -1,4 +1,4 @@
EXTRAMODULES='extramodules-3.7-CHAKRA'
EXTRAMODULES='extramodules-3.9-CHAKRA'
post_install() {
systemd-tmpfiles --create lirc.conf

View File

@ -6,8 +6,8 @@
pkgbase="llvm"
pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
pkgver=3.2
_gcc_ver=4.7.2
pkgrel=2
_gcc_ver=4.8.0
pkgrel=3
arch=('x86_64')
url="http://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')

31
lv2/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
pkgname=lv2
pkgver=1.4.0
pkgrel=1
pkgdesc="Successor to the LADSPA audio plug-in standard"
url="http://lv2plug.in/"
license=('LGPL' 'custom')
arch=('i686' 'x86_64')
makedepends=('python2' 'libsndfile' 'gtk2')
optdepends=('libsndfile: lv2-eg-sampler'
'gtk2: lv2-eg-sampler')
provides=('lv2core')
conflicts=('lv2core')
replaces=('lv2core')
source=("http://lv2plug.in/spec/$pkgname-$pkgver.tar.bz2")
md5sums=('b7fb567fbfadae14ecd4f422fa24d41e')
build() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf configure --prefix=/usr
python2 waf build $MAKEFLAGS
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf install --destdir="$pkgdir"
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

View File

@ -1,46 +0,0 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=lv2core
pkgver=4.0
pkgrel=1
pkgdesc="LV2: Successor to the LADSPA audio plug-in standard"
url="http://lv2plug.in/"
license=('LGPL' 'custom')
arch=('i686' 'x86_64')
makedepends=('python2')
provides=('lv2')
install=$pkgname.install
source=("http://lv2plug.in/spec/$pkgname-$pkgver.tar.bz2")
md5sums=('5097d964f3559a1ecec2d2fc822ef53a')
build() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf configure --prefix=/usr
python2 waf build $MAKEFLAGS
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python waf install --destdir="$pkgdir"
# do the work of lv2config to own symlinks;
# - generate lv2 headers
# - see FS#23514
_ns=$(grep '^<http' manifest.ttl | sed 's|<http://\(.*\)>|\1|')
_name=${_ns/*\/}
_path="$pkgdir/usr/include/lv2/${_ns%/*}"
install -d "$_path"
ln -s "/usr/lib/lv2/$_name.lv2" "$_path/$_name"
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

View File

@ -1,13 +0,0 @@
post_install() {
\ldconfig
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
# vim:set ts=2 sw=2 et:

16
m17n-contrib/PKGBUILD Normal file
View File

@ -0,0 +1,16 @@
pkgname=m17n-contrib
pkgver=1.1.14
pkgrel=1
pkgdesc="Contributions (input methods) for m17n"
url="http://www.nongnu.org/m17n"
arch=('any')
license=('GPL')
depends=('gawk' 'm17n-db' 'm17n-lib')
source=("http://download.savannah.gnu.org/releases/m17n/$pkgname-$pkgver.tar.gz")
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make
make DESTDIR=$pkgdir install
}
md5sums=('ae8c8b57604144a3d40afe54d5a912a3')

View File

@ -1,32 +1,25 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=m17n-db
pkgver=1.6.2
pkgver=1.6.4
pkgrel=1
pkgdesc="A multilingual text processing library (database)"
arch=('i686' 'x86_64')
url="http://www.m17n.org/m17n-lib/"
pkgdesc='Multilingual text processing library (database)'
url='http://www.nongnu.org/m17n/'
arch=('x86_64')
license=('GPL')
depends=('glibc') # not because of compiling, but because of /usr/share/i18n/charmaps/ files that glibc provides
source=(http://www.m17n.org/m17n-lib-download/$pkgname-$pkgver.tar.gz)
sha1sums=('086a8a0b98909dd08bd80b55819d2842052b69bd')
source=("http://download.savannah.gnu.org/releases/m17n/${pkgname}-${pkgver}.tar.gz")
sha1sums=('756fd10b8d7fe66a14350443f307bcf95347c695')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir install
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}

View File

@ -1,34 +1,27 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=m17n-lib
pkgver=1.6.2
pkgver=1.6.4
pkgrel=1
pkgdesc="A multilingual text processing library (runtimes)"
pkgdesc='Multilingual text processing library (runtimes)'
url='http://www.nongnu.org/m17n/'
arch=('i686' 'x86_64')
url="http://www.m17n.org/m17n-lib/"
license=('GPL')
depends=('libxft' 'm17n-db>=1.5.4' 'fribidi' 'libxml2' 'gd' 'ispell' 'anthy' 'libotf')
options=('!libtool' '!makeflags')
source=(http://www.m17n.org/m17n-lib-download/$pkgname-$pkgver.tar.gz locale.patch)
sha1sums=('9b9ada79357dd56c90c64cd36845c5537c363d79'
'1aa281bf8074518a98817528478fd88dcb85a991')
depends=('libxft' 'm17n-db' 'fribidi' 'libxml2' 'gd' 'libotf')
optdepends=('anthy: to use the anthy input method')
options=('!makeflags' '!libtool' '!emptydirs')
source=("http://download.savannah.gnu.org/releases/m17n/${pkgname}-${pkgver}.tar.gz")
sha1sums=('83f2fc4facfd70a580bb95d9381eac7472d85171')
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i ../locale.patch # cf. FS#20482
./configure --prefix=/usr
make
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-static=no
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}

View File

@ -1,50 +0,0 @@
--- old/src/locale.c 2010/03/19 11:59:43 1.12
+++ new/src/locale.c 2010/11/05 11:20:41 1.13
@@ -86,34 +86,24 @@
MLocale *mlocale_monetary, *mlocale_numeric, ;
#endif
-/** Parse locale name NAME and return a newly created MLocale object.
- If the locale is not supported by the system, return NULL. */
+/** Parse locale name NAME and return a newly created MLocale object. */
static MLocale *
make_locale (const char *name)
{
- char *current, *new, *str;
+ char *str;
int len;
MLocale *locale;
char c;
- str = setlocale (LC_CTYPE, NULL);
- len = strlen (str) + 1;
- current = alloca (len);
- memcpy (current, str, len);
-
- if (! (new = setlocale (LC_CTYPE, name)))
- return NULL;
-
-
M17N_OBJECT (locale, NULL, MERROR_LOCALE);
- locale->name = msymbol (new);
+ locale->name = msymbol (name);
msymbol_put (locale->name, M_locale, (void *) locale);
M17N_OBJECT_UNREF (locale);
- len = strlen (new) + 1;
+ len = strlen (name) + 1;
str = alloca (len);
- memcpy (str, new, len);
+ memcpy (str, name, len);
c = '\0';
while (1)
@@ -162,8 +152,6 @@
}
else
locale->coding = Mcoding_us_ascii;
-
- setlocale (LC_CTYPE, current);
return locale;
}

View File

@ -1,31 +1,28 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
_extramodules=extramodules-3.7-CHAKRA
_extramodules=extramodules-3.9-CHAKRA
_kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=madwifi
pkgver=0.9.4.4173
_ver=0.9.4-r4173-20111008
pkgrel=13
pkgver=0.9.4.4182
pkgrel=2
pkgdesc="Madwifi drivers for Atheros wireless chipsets"
arch=('x86_64')
license=('GPL')
url="http://madwifi-project.org"
depends=('madwifi-utils' 'linux>=3.7' 'linux<3.8')
makedepends=('linux-headers' 'sharutils')
depends=('madwifi-utils' 'linux>=3.9' 'linux<3.10')
makedepends=('linux-headers' 'sharutils' 'subversion')
install=madwifi-ng.install
# subversion source: svn checkout http:/madwifi-project.org/svn/madwifi/trunk madwifi
source=(http://chakra-linux.org/sources/madwifi/madwifi-${pkgver}.tar.gz)
source=(http://chakra.sourceforge.net/sources/madwifi/madwifi-${pkgver}.tar.gz)
#http://downloads.sourceforge.net/madwifi/madwifi-${pkgver}.tar.gz)
md5sums=('18cd1c574e0fa66eb4396f92f0700a7e')
md5sums=('8cc9cb67ec2fd7c4a71b6725a764c171')
groups=("linux-modules")
build()
{
cd madwifi-$_ver
cd madwifi-$pkgver
# kernel 3.2 abi change
sed -i -e "s/.ndo_set_multicast_list/.ndo_set_rx_mode/" ath/if_ath.c
@ -34,12 +31,13 @@ build()
sed -i 's/-Werror//' Makefile.inc
sed -i 's/\[4-9\]\\\./[0-9]-/' Makefile
make KERNELPATH=/lib/modules/${_kver}/build KERNELRELEASE=${_kver} modules
}
package()
{
cd madwifi-$_ver
cd madwifi-$pkgver
make KERNELPATH=/lib/modules/${_kver}/build KERNELRELEASE=${_kver} modules \
DESTDIR="${pkgdir}" KERNELRELEASE=${_kver} install-modules
sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" ${startdir}/*.install

View File

@ -5,7 +5,7 @@ post_install()
post_upgrade()
{
EXTRAMODULES='extramodules-3.7-CHAKRA'
EXTRAMODULES='extramodules-3.9-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}

View File

@ -1,14 +1,10 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=man-db
pkgver=2.6.0.2
pkgver=2.6.3
pkgrel=1
pkgdesc="A utility for reading man pages"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.nongnu.org/man-db/"
license=('GPL' 'LGPL')
depends=( 'bash' 'gdbm' 'zlib' 'groff' 'libpipeline')
@ -19,18 +15,14 @@ conflicts=('man')
provides=('man')
replaces=('man')
install=${pkgname}.install
source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.gz
1361_1360.diff
#http://launchpad.net/man-db/main/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz
source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.xz
convert-mans man-db.cron.daily)
md5sums=('2b41c96efec032d2b74ccbf2e401f93e'
'9a816cf0f9a1c2594491bbdba53fe64a'
md5sums=('a593a095599ae97bcacf8d038659a146'
'2b7662a7d5b33fe91f9f3e034361a2f6'
'd30c39ae47560304471b5461719e0f03')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np0 -i $srcdir/1361_1360.diff
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
--with-db=gdbm --disable-setuid --enable-mandirs=GNU \
--with-sections="1 n l 8 3 0 2 5 4 9 6 7"

View File

@ -1,26 +1,28 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=mercurial
pkgver=2.2.3
pkgver=2.6.2
pkgrel=1
pkgdesc="A scalable distributed SCM tool"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.selenic.com/mercurial"
license=('GPL')
depends=('python2')
optdepends=('tk: for the hgk GUI')
source=("http://www.selenic.com/mercurial/release/${pkgname}-${pkgver}.tar.gz"
'mercurial.profile')
md5sums=('f4c70af3892d964b83b2718bde44c2f8'
md5sums=('55f6ea5982cf87836113376174826e8c'
'43e1d36564d4c7fbe9a091d3ea370a44')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
sed -i -e 's#env python#env python2#' \
"${pkgdir}"/usr/lib/python2.7/site-packages/mercurial/lsprof.py
install -d ${pkgdir}/usr/share/man/{man1,man5}
install -m644 doc/hg.1 "${pkgdir}/usr/share/man/man1"
install -m644 doc/{hgrc.5,hgignore.5} "${pkgdir}/usr/share/man/man5"
@ -36,4 +38,8 @@ build() {
# set some variables
install -m755 -d ${pkgdir}/etc/profile.d
install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh"
# install configuration file
install -m755 -d ${pkgdir}/etc/mercurial
install -m644 contrib/sample.hgrc "${pkgdir}/etc/mercurial/hgrc"
}

View File

@ -2,8 +2,8 @@
pkgbase=mlt
pkgname=('mlt' 'mlt-python-bindings')
pkgver=0.8.8
pkgrel=3
pkgver=0.9.0
pkgrel=1
pkgdesc="An open s3ource multimedia framework"
arch=('x86_64')
url="http://www.mltframework.org"
@ -13,13 +13,12 @@ depends=('sdl_image' 'libsamplerate' 'libdv' 'qt' 'sox' 'libxml2' 'ffmpeg'
optdepends=('jack')
makedepends=('subversion')
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('06de4052cffd6760c468d7da9557edae')
md5sums=('1cd2d73f3ffe77a43980e99aaa4ea06c')
build() {
# mlt
cd "${srcdir}/mlt-${pkgver}"
msg "SSE2=$SSE2"
./configure --prefix=/usr \
--enable-gpl \
--enable-gpl3 \
@ -27,7 +26,7 @@ build() {
--qimage-includedir=/usr/include/Qt \
--avformat-vdpau \
--disable-gtk2 \
--avformat-swscale $SSE2
--avformat-swscale
make
# mlt python bindings

View File

@ -3,7 +3,7 @@
pkgname=mozilla-common
pkgver=1.4
pkgrel=1
pkgrel=2
pkgdesc="Common Initialization Profile for Mozilla.org products"
arch=(i686 x86_64)
license=('GPL')
@ -11,8 +11,8 @@ url="http://www.mozilla.org/"
install=mozilla-common.install
source=(mozilla-common.sh
mozilla-common.csh)
md5sums=('39451f6fe87d3cb224e140322c55eb27'
'924887e41bd96db37029f479befe40cf')
md5sums=('71f2d354cbea1b3b8227b83751f12a85'
'0a1f9fe0add8ee76fe5413cb073aa538')
build() {
install -m755 -d "${pkgdir}/etc/profile.d"

View File

@ -1 +1 @@
setenv MOZ_PLUGIN_PATH "/usr/lib/mozilla/plugins"
setenv MOZ_PLUGIN_PATH "/usr/lib/mozilla/plugins:/etc/usr/lib/mozilla/plugins"

View File

@ -1 +1 @@
export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"
export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins:/extra/usr/lib/mozilla/plugins"

View File

@ -2,7 +2,7 @@
pkgname=mplayer
pkgver=36027
pkgrel=1
pkgrel=2
pkgdesc="Multimedia player."
arch=('x86_64')
depends=('a52dec' 'aalib' 'alsa-lib' 'bzip2' 'cdparanoia' 'directfb' 'enca' 'faac' 'faad2'

View File

@ -1,10 +1,7 @@
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=nasm
pkgver=2.09.08
pkgver=2.10.07
pkgrel=1
pkgdesc="80x86 assembler designed for portability and modularity"
url="http://www.nasm.us"
@ -14,14 +11,17 @@ depends=('glibc')
makedepends=('ghostscript')
install=nasm.install
source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('6abfa388a74ee47e163fdb30ecfd40f9')
md5sums=('af1cd6669f5e98148cd5ec42dee90f19')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
./configure --prefix=/usr || return 1
make || return 1
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make INSTALLROOT="${pkgdir}" install install_rdf
install -d "${pkgdir}/usr/share/info"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/nasm/LICENSE" || return 1
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/nasm/LICENSE"
}

View File

@ -1,29 +1,37 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributions from Arch: https://www.archlinux.org/packages/community/x86_64/nbd/
pkgname=nbd
pkgver=2.9.21a
pkgver=3.3
pkgrel=1
pkgdesc="Tools for network block devices, allowing you to use remote block devices over TCP/IP."
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://nbd.sourceforge.net"
license=('GPL')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
nbd.conf.d nbd)
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
'config' 'nbd.service')
backup=('etc/nbd-server/config')
depends=('glib2')
md5sums=('4028c77d52a13f16be5e9bf3d3bab27d'
'6d746f377a28b92dd2c80f01176cb811'
'ab9c431881f5e3c98a8f6c04016f0e00')
install=nbd.install
md5sums=('cde8fe6e870b8a7459f12e5dcf572d86'
'2c43761cd261c9b002601bb78f7500a3'
'59a2a7c119919d8f9b384b5a783af62a')
build(){
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
./configure --prefix=/usr --sysconfdir=/etc --enable-syslog
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 "${srcdir}"/nbd.conf.d "${pkgdir}"/etc/conf.d/nbd
install -D -m755 "${srcdir}"/nbd "${pkgdir}"/etc/rc.d/nbd
install -D -m644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config
install -D -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
install -D -m644 README "${pkgdir}"/usr/share/doc/nbd/README
}

33
nbd/config Normal file
View File

@ -0,0 +1,33 @@
[generic]
# The [generic] section is required, even if nothing is specified
# there.
# When either of these options are specified, nbd-server drops
# privileges to the given user and group after opening ports, but
# _before_ opening files.
user = nbd
group = nbd
# Since version 2.9.17, nbd-server will do exports on a name
# basis (the used name is the name of the section in which the
# export is specified). This however required an incompatible
# protocol change. To enable backwards-compatible port-based
# exports, uncomment the following line:
# oldstyle = true
[export1]
exportname = /export/nbd/export1-file
# The following line will be ignored unless the
# "oldstyle = true" line in the generic section above is
# enabled.
#port = 12345
authfile = /export/nbd/export1-authfile
timeout = 30
filesize = 10000000
readonly = false
multifile = false
copyonwrite = false
prerun = dd if=/dev/zero of=%s bs=1k count=500
postrun = rm -f %s
[otherexport]
exportname = /export/nbd/experiment
# The other options are all optional, except this one in case
# the oldstyle option is used in [generic]:
# port = 12346

40
nbd/nbd
View File

@ -1,40 +0,0 @@
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
. /etc/conf.d/nbd
PIDFILE="/var/run/nbd-server.$NBD_PORT.pid"
PID=`cat $PIDFILE 2>/dev/null`
case "$1" in
start)
stat_busy "Starting Network Block Device Server"
if [ "$PID" = "" ]; then
/usr/bin/nbd-server $NBD_PORT $NBD_DEV $NBD_ARGS
fi
if [ "$PID" != "" -o $? -gt 0 ]; then
stat_fail
else
add_daemon nbd
stat_done
fi
;;
stop)
stat_busy "Stopping Network Block Device Server"
[ ! -z "$PID" ] && kill $PID &> /dev/null
rm -f $PIDFILE
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon nbd
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac

View File

@ -1,8 +0,0 @@
#
# Configuration for network block device (nbd) daemon
#
NBD_PORT=2000
NBD_DEV="/srv/http/sysrcd.dat"
NBD_ARGS="-r"

13
nbd/nbd.install Normal file
View File

@ -0,0 +1,13 @@
post_install() {
getent group "nbd" &>/dev/null || groupadd -r -g 44 nbd 1>/dev/null
getent passwd "nbd" &>/dev/null || useradd -r -u 44 -g nbd -d "/var/empty" -s "/bin/false" nbd 1>/dev/null
}
post_upgrade() {
post_install
}
pre_remove() {
getent passwd "nbd" &>/dev/null && userdel nbd 1>/dev/null
getent group "nbd" &>/dev/null && groupdel nbd 1>/dev/null
}

Some files were not shown because too many files have changed in this diff Show More