Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
abveritas
committed
Aug 19, 2012
1 parent
8efdff1
commit 8e5d6ab
Showing
2,149 changed files
with
146,456 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# | ||
# 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=a52dec | ||
pkgver=0.7.4 | ||
pkgrel=5 | ||
pkgdesc="liba52 is a free library for decoding ATSC A/52 streams." | ||
arch=('i686' 'x86_64') | ||
license=('GPL2') | ||
depends=('glibc') | ||
options=(!libtool) | ||
source=(http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz | ||
a52dec-0.7.4-build.patch) | ||
url="http://liba52.sourceforge.net/" | ||
md5sums=('caa9f5bc44232dc8aeea773fea56be80' 'fa16f224a7dceb7613824380abef0052') | ||
|
||
build() { | ||
cd "${srcdir}/${pkgname}-${pkgver}" | ||
patch -Np1 -i "${srcdir}/a52dec-0.7.4-build.patch" | ||
./bootstrap | ||
./configure --prefix=/usr --enable-shared | ||
make | ||
} | ||
|
||
package() { | ||
cd "${srcdir}/${pkgname}-${pkgver}" | ||
make DESTDIR="${pkgdir}" install | ||
install -m644 liba52/a52_internal.h "${pkgdir}/usr/include/a52dec/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff -Naur a52dec-0.7.4.orig/liba52/Makefile.am a52dec-0.7.4/liba52/Makefile.am | ||
--- a52dec-0.7.4.orig/liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800 | ||
+++ a52dec-0.7.4/liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800 | ||
@@ -1,4 +1,3 @@ | ||
-CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@ | ||
|
||
lib_LTLIBRARIES = liba52.la | ||
|
||
diff -Naur a52dec-0.7.4.orig/liba52/configure.incl a52dec-0.7.4/liba52/configure.incl | ||
--- a52dec-0.7.4.orig/liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800 | ||
+++ a52dec-0.7.4/liba52/configure.incl 2004-11-05 01:11:38.172672216 -0800 | ||
@@ -2,7 +2,6 @@ | ||
AC_SUBST([LIBA52_LIBS]) | ||
|
||
dnl avoid -fPIC when possible | ||
-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic" | ||
|
||
AC_ARG_ENABLE([double], | ||
[ --enable-double use double-precision samples]) | ||
diff -Naur a52dec-0.7.4.orig/src/Makefile.am a52dec-0.7.4/src/Makefile.am | ||
--- a52dec-0.7.4.orig/src/Makefile.am 2002-06-22 18:51:57.000000000 -0700 | ||
+++ a52dec-0.7.4/src/Makefile.am 2004-11-05 01:10:21.320401375 -0800 | ||
@@ -1,4 +1,3 @@ | ||
-CFLAGS = @A52DEC_CFLAGS@ | ||
|
||
bin_PROGRAMS = a52dec extract_a52 | ||
a52dec_SOURCES = a52dec.c getopt.c gettimeofday.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# 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=aalib | ||
pkgver=1.4rc5 | ||
pkgrel=7 | ||
pkgdesc="AAlib is a portable ASCII art GFX library" | ||
arch=('i686' 'x86_64') | ||
url="http://aa-project.sourceforge.net/aalib/" | ||
license=('LGPL') | ||
depends=('glibc' 'ncurses' 'gpm' 'libx11') | ||
options=('!libtool') | ||
source=(http://downloads.sourceforge.net/sourceforge/aa-project/$pkgname-$pkgver.tar.gz | ||
aclocal-fixes.patch) | ||
md5sums=('9801095c42bba12edebd1902bcf0a990' '863a96a6689aa7ee073ca448bc2f133d') | ||
|
||
build() { | ||
cd "${srcdir}/${pkgname}-1.4.0" | ||
patch -p0 -i "${srcdir}/aclocal-fixes.patch" | ||
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info | ||
make | ||
} | ||
|
||
package() { | ||
cd "${srcdir}/${pkgname}-1.4.0" | ||
make DESTDIR="${pkgdir}" install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- aalib.m4.orig 2006-03-05 13:58:21.000000000 +0000 | ||
+++ aalib.m4 2006-03-05 13:58:32.000000000 +0000 | ||
@@ -9,7 +9,7 @@ | ||
dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) | ||
dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS | ||
dnl | ||
-AC_DEFUN(AM_PATH_AALIB, | ||
+AC_DEFUN([AM_PATH_AALIB], | ||
[dnl | ||
dnl Get the cflags and libraries from the aalib-config script | ||
dnl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# Chakra Packages for Chakra, part of chakra-project.org | ||
# | ||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org> | ||
# maintainer (x86_64): Drake Justice <djustice[at]chakra-project[dot]org> | ||
|
||
|
||
pkgname=abs | ||
pkgver=2.4.3 | ||
pkgrel=1 | ||
pkgdesc="Utilities to download and work with the Arch Build System (ABS)" | ||
arch=('i686' 'x86_64') | ||
url="http://projects.archlinux.org/abs.git/" | ||
license=('GPL') | ||
depends=('bash' 'rsync') | ||
backup=(etc/abs.conf) | ||
install=abs.install | ||
source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz | ||
http://chakra-linux.org/sources/abs/abs-chakra) | ||
md5sums=('b8b46b22d2f9a2aec2c994ccf230b4fd' | ||
'6f2b27558960b355979f358f35772db4') | ||
|
||
build() { | ||
cd ${srcdir}/${pkgname} | ||
|
||
make CONFDIR=/etc/ | ||
make CONFDIR=/etc/ DESTDIR=${pkgdir} install | ||
|
||
# Add readme file, and make base /var/abs path | ||
install -dm0755 ${pkgdir}/var/abs/local/ | ||
install -Dm0644 ${srcdir}/abs/README ${pkgdir}/var/abs/README | ||
|
||
# make adjustments to abs.conf | ||
if [[ $CARCH = "i686" ]]; then | ||
sed -i -e 's| multilib||' -e 's| !multilib-testing||' ${pkgdir}/etc/abs.conf | ||
fi | ||
if [[ $CARCH = "x86_64" ]]; then | ||
sed -i '/ARCH=/s|i686|x86_64|' ${pkgdir}/etc/abs.conf | ||
fi | ||
|
||
cp -f "${srcdir}/abs-chakra" "${pkgdir}/usr/bin/abs" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pre_upgrade() { | ||
if [ "$(vercmp $2 2.3.2-1)" -lt 0 ]; then | ||
echo "==> Fixing potential ABS tree permission issues (this may take a while...)" | ||
|
||
for dir in core extra community testing; do | ||
if [ -d /var/abs/$dir ]; then | ||
find /var/abs/$dir -type d -exec chown root:root {} \; | ||
find /var/abs/$dir -type d -exec chmod 755 {} \; | ||
fi | ||
done | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
--- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- 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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# 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> | ||
|
||
# use ../makepkg | ||
_kernver="2.6.35-CHAKRA-LTS" | ||
|
||
pkgname=acerhk-lts | ||
pkgver=0.5.35 | ||
pkgrel=1 | ||
pkgdesc="Acer hotkey driver" | ||
url="http://www.cakey.de/acerhk/" | ||
arch=('i686') # Unavailable for x86_64 | ||
license=('GPL') | ||
depends=('kernel26-lts>=2.6.35' 'kernel26-lts<2.6.36') | ||
makedepends=('kernel26-lts-headers>=2.6.35' 'kernel26-lts-headers<2.6.36') | ||
source=(http://www.cakey.de/acerhk/archives/acerhk-${pkgver}.tgz acerhk.rc | ||
2.6.30.patch kernelversion.patch 2.6.36.patch) | ||
install=acerhk.install | ||
|
||
build() { | ||
cd "${srcdir}/acerhk-${pkgver}" | ||
sed -i 's/CFLAGS/EXTRA_CFLAGS/' Makefile | ||
patch -Np1 -i "${srcdir}/2.6.30.patch" || return 1 | ||
patch -Np0 -i "${srcdir}/2.6.36.patch" || return 1 | ||
patch -N -p1 < "$srcdir/kernelversion.patch" || return 1 | ||
# Set KERNELSRC. The makefile tries to autodetect it with uname, | ||
# but that is unreliable. | ||
make KERNELSRC="/lib/modules/${_kernver}/build" acerhk.ko || return 1 | ||
install -Dm644 "${srcdir}/acerhk-${pkgver}/acerhk.ko" \ | ||
"${pkgdir}/lib/modules/${_kernver}/kernel/drivers/block/acerhk.ko" || return 1 | ||
install -Dm755 "${srcdir}/acerhk.rc" "${pkgdir}/etc/rc.d/acerhk-lts" || return 1 | ||
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/acerhk.install | ||
} | ||
|
||
# vim:set ts=2 sw=2 et: | ||
md5sums=('05255919f312cb76af473a760c284433' | ||
'935584b3e4bfbb3af8460558e5b98bb5' | ||
'2a0bc99e5b12e25096441df4d53d7df7' | ||
'fd2ef062ecbc9d670e1b42aa5866d32d' | ||
'd257a4e9223ebfde48b9608805df9c99') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
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: |
Oops, something went wrong.