summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-01 20:54:21 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-01 20:54:21 -0300
commit01d99056e6808d5af7fe42be5a6f9773b54b901e (patch)
tree0b1d1e1da7d64daf5aad881da8671fa0d1bcc68d
parented6cf6197f10b50e98a69d87bd3b947521705294 (diff)
parentcb5e9f51c9d4a238295e9b896f80f7b5b24bc7af (diff)
downloadabslibre-01d99056e6808d5af7fe42be5a6f9773b54b901e.tar.gz
abslibre-01d99056e6808d5af7fe42be5a6f9773b54b901e.tar.bz2
abslibre-01d99056e6808d5af7fe42be5a6f9773b54b901e.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--libre/bbswitch-libre/PKGBUILD37
-rw-r--r--libre/bbswitch-libre/bbswitch.install12
-rw-r--r--libre/cdfs-libre/PKGBUILD23
-rw-r--r--libre/lirc-libre/PKGBUILD4
-rw-r--r--libre/tp_smapi-libre/PKGBUILD2
-rw-r--r--libre/unar/PKGBUILD4
-rw-r--r--libre/vhba-module-libre/PKGBUILD2
-rw-r--r--libre/virtualbox-libre-modules/PKGBUILD2
-rw-r--r--pcr/openjdk6/PKGBUILD85
9 files changed, 79 insertions, 92 deletions
diff --git a/libre/bbswitch-libre/PKGBUILD b/libre/bbswitch-libre/PKGBUILD
new file mode 100644
index 000000000..4f4b5fd44
--- /dev/null
+++ b/libre/bbswitch-libre/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: M0Rf30
+# Contributor: Samsagax <samsagax@gmail.com>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+_pkgname=bbswitch
+pkgname=bbswitch-libre
+pkgver=0.6
+_extramodules=extramodules-3.8-LIBRE # Don't forget to update bbswitch.install
+pkgrel=2
+pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops (built for the linux-libre kernel package)"
+arch=('i686' 'x86_64' 'mips64el')
+url=("http://github.com/Bumblebee-Project/bbswitch")
+license=('GPL')
+depends=('linux-libre>=3.8' 'linux-libre<3.9')
+makedepends=('linux-libre-headers>=3.8' 'linux-libre-headers<3.9')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz")
+md5sums=('c5496e3225c8e70d02a24bfd8a50faf6')
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+ make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ install -Dm644 bbswitch.ko "${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+ gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
diff --git a/libre/bbswitch-libre/bbswitch.install b/libre/bbswitch-libre/bbswitch.install
new file mode 100644
index 000000000..ed6f7348d
--- /dev/null
+++ b/libre/bbswitch-libre/bbswitch.install
@@ -0,0 +1,12 @@
+post_install() {
+ EXTRAMODULES='extramodules-3.8-LIBRE'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/libre/cdfs-libre/PKGBUILD b/libre/cdfs-libre/PKGBUILD
index 290eff882..c519fb4a1 100644
--- a/libre/cdfs-libre/PKGBUILD
+++ b/libre/cdfs-libre/PKGBUILD
@@ -6,15 +6,17 @@
_pkgname=cdfs
pkgname=cdfs-libre
pkgver=2.6.27
-pkgrel=38
+_extramodules=extramodules-3.8-LIBRE # Don't forget to update cdfs.install
+pkgrel=39
pkgdesc="File system module that 'exports' all tracks and boot images on a CD as normal files (built for the linux-libre kernel package)"
arch=(i686 x86_64 mips64el)
url="http://www.elis.UGent.be/~ronsse/cdfs/"
license=('GPL')
+depends=('linux-libre>=3.8' 'linux-libre<3.9')
makedepends=('linux-libre-headers')
-replaces=('cdfs')
-conflicts=('cdfs')
-provides=("cdfs=${pkgver}")
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
install=cdfs.install
source=("http://www.elis.UGent.be/~ronsse/cdfs/download/$_pkgname-$pkgver.tar.bz2"
"cdfs-3.0.patch"
@@ -27,22 +29,19 @@ md5sums=('ac64c014a90e3c488394832ea29605b3'
'9215e7bdac728bd2f889fb525e543454'
'b036fd72b033294605bec2b60a73e3bd')
-_kernver=`pacman -Q linux-libre | cut -d . -f 2 | cut -f 1 -d -`
-_kernverfull=`cat /usr/lib/modules/extramodules-3.${_kernver}-LIBRE/version`
-
build() {
+ _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
cd $srcdir/$_pkgname-$pkgver
patch -p1 <$srcdir/cdfs-3.0.patch
patch -p1 <$srcdir/cdfs-3.2.patch
patch -p1 <$srcdir/cdfs-3.4.patch
patch -p1 <$srcdir/cdfs-3.8.patch
- make KDIR=/usr/lib/modules/${_kernverfull}/build
- sed -i "s|extramodules-.*-LIBRE|extramodules-3.${_kernver}-LIBRE|" $startdir/cdfs.install
+ make KDIR=/usr/lib/modules/${_kernver}/build
+ sed -i "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extramodules'/" $startdir/cdfs.install
}
package() {
- depends=("linux-libre>=3.${_kernver}" "linux-libre<3.`expr ${_kernver} + 1`")
-
cd $srcdir/$_pkgname-$pkgver
- install -Dm0644 cdfs.ko $pkgdir/usr/lib/modules/extramodules-3.${_kernver}-LIBRE/cdfs.ko
+ install -Dm0644 cdfs.ko $pkgdir/usr/lib/modules/$_extramodules/cdfs.ko
}
diff --git a/libre/lirc-libre/PKGBUILD b/libre/lirc-libre/PKGBUILD
index cd58ec570..f647e3913 100644
--- a/libre/lirc-libre/PKGBUILD
+++ b/libre/lirc-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 179608 2013-03-08 09:28:44Z foutrelis $
+# $Id: PKGBUILD 181035 2013-03-30 11:31:35Z foutrelis $
# Maintainer: Paul Mattal <paul@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -6,7 +6,7 @@ _pkgbase=lirc
pkgbase=lirc-libre
pkgname=('lirc-libre' 'lirc-utils-libre')
pkgver=0.9.0
-pkgrel=39
+pkgrel=40
epoch=1
_extramodules=extramodules-3.8-LIBRE
arch=('i686' 'x86_64' 'mips64el')
diff --git a/libre/tp_smapi-libre/PKGBUILD b/libre/tp_smapi-libre/PKGBUILD
index 188f92b37..2fda312b6 100644
--- a/libre/tp_smapi-libre/PKGBUILD
+++ b/libre/tp_smapi-libre/PKGBUILD
@@ -12,7 +12,7 @@
_pkgname=tp_smapi
pkgname=tp_smapi-libre
pkgver=0.41
-pkgrel=15
+pkgrel=16
pkgdesc="Modules for ThinkPad's SMAPI functionality (built for the linux-libre kernel package)"
arch=('i686' 'x86_64' 'mips64el')
url='https://github.com/evgeni/tp_smapi'
diff --git a/libre/unar/PKGBUILD b/libre/unar/PKGBUILD
index 85366a600..531f87a73 100644
--- a/libre/unar/PKGBUILD
+++ b/libre/unar/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=unar
pkgver=1.5
-pkgrel=1
+pkgrel=3
pkgdesc="An Objective-C application for uncompressing archive files"
arch=('x86_64' 'i686' 'mips64el')
url="http://unarchiver.c3.cx/"
license=('LGPL2.1')
-depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
+depends=('gnustep-base' 'openssl' 'bzip2' 'icu=51.1' 'gcc-libs' 'zlib')
makedepends=('gcc-objc')
replaces=("unarchiver")
conflicts=("unarchiver")
diff --git a/libre/vhba-module-libre/PKGBUILD b/libre/vhba-module-libre/PKGBUILD
index ced6d2085..764beed0d 100644
--- a/libre/vhba-module-libre/PKGBUILD
+++ b/libre/vhba-module-libre/PKGBUILD
@@ -8,7 +8,7 @@ _pkgname=vhba-module
pkgname=vhba-module-libre
pkgver=20120422
_extramodules=extramodules-3.8-LIBRE
-pkgrel=18
+pkgrel=19
pkgdesc="Kernel module that emulates SCSI devices (built for the linux-libre kernel package)"
arch=('i686' 'x86_64' 'mips64el')
url="http://cdemu.sourceforge.net/"
diff --git a/libre/virtualbox-libre-modules/PKGBUILD b/libre/virtualbox-libre-modules/PKGBUILD
index 570a95b13..45bbfb86d 100644
--- a/libre/virtualbox-libre-modules/PKGBUILD
+++ b/libre/virtualbox-libre-modules/PKGBUILD
@@ -8,7 +8,7 @@ pkgbase=virtualbox-libre-modules
pkgname=('virtualbox-libre-host-modules' 'virtualbox-libre-guest-modules')
pkgver=4.2.10
_extramodules=extramodules-3.8-LIBRE
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
diff --git a/pcr/openjdk6/PKGBUILD b/pcr/openjdk6/PKGBUILD
index 8c70bb72a..03cdba0aa 100644
--- a/pcr/openjdk6/PKGBUILD
+++ b/pcr/openjdk6/PKGBUILD
@@ -2,20 +2,26 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
-pkgname=('openjdk6-old' 'openjdk6-old-src')
+pkgname='openjdk6-old'
pkgbase="openjdk6"
_javaver=6
_icedteaver=1.12.3
_openjdk_version=b27
_openjdk_date=26_oct_2012
pkgver=${_javaver}.${_openjdk_version}_${_icedteaver}
-pkgrel=1
+pkgrel=1.1
url='http://icedtea.classpath.org'
arch=('i686' 'x86_64')
license=('custom')
-makedepends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'alsa-lib' 'giflib' 'libxp' 'gtk2'
- 'nspr' 'zlib' 'freetype2' 'libjpeg>=8' 'libx11' 'libcups' 'patch' 'libxt' 'nss' 'libxslt'
- 'apache-ant' 'autoconf' 'unzip' 'rhino' 'mercurial' 'zip' 'cpio' 'java-environment' 'inetutils' 'wget')
+pkgdesc='Free Java environment based on OpenJDK 6.0 with IcedTea6 replacing binary plugs.'
+backup=(etc/profile.d/openjdk6.sh)
+depends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'libxt' 'nss' 'libjpeg' 'freetype2' 'libxrender' 'libpng>=1.5.7')
+makedepends=('alsa-lib' 'giflib' 'libxp' 'gtk2'
+ 'nspr' 'zlib' 'libjpeg>=8' 'libx11' 'libcups' 'patch' 'libxslt'
+ 'apache-ant' 'autoconf' 'unzip' 'rhino' 'mercurial' 'zip' 'cpio' 'openjdk6-old' 'inetutils' 'wget')
+optdepends=('alsa-lib: for sound'
+ 'giflib: for gif format support')
+install=openjdk6.install
options=('!emptydirs')
source=(http://icedtea.classpath.org/download/source/icedtea6-${_icedteaver}.tar.gz{,.sig}
http://download.java.net/openjdk/jdk6/promoted/${_openjdk_version}/openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz
@@ -81,7 +87,6 @@ build() {
--with-jaxp-drop-zip=${srcdir}/jaxp144_04.zip \
--with-jaxws-drop-zip=${srcdir}/jdk6-jaxws2_1_6-2011_06_13.zip \
--with-jaf-drop-zip=${srcdir}/jdk6-jaf-b20.zip \
- --enable-bootstrap \
--with-abs-install-dir=${_jvmdir} \
--with-jdk-home="$JAVA_HOME"
@@ -91,17 +96,7 @@ build() {
LD_PRELOAD="" make
}
-package_openjdk6-old() {
- pkgdesc='Free Java environment based on OpenJDK 6.0 with IcedTea6 replacing binary plugs.'
- backup=(etc/profile.d/openjdk6.sh)
- depends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'libxt' 'nss' 'libjpeg' 'freetype2' 'libxrender' 'libpng>=1.5.7')
- optdepends=('icedtea-web: web browser plugin + Java Web Start'
- 'alsa-lib: for sound'
- 'giflib: for gif format support')
- conflicts=('java-environment' 'java-runtime')
- provides=('java-environment=6' 'java-runtime=6' 'java-runtime-headless=6')
- install=openjdk6.install
-
+package() {
if [ "${CARCH}" = "x86_64" ]; then
_arch=amd64
else
@@ -127,41 +122,6 @@ package_openjdk6-old() {
rm -f ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.*.bfc
rm -f ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.*.properties.src
- # Install man pages.
- install -m755 -d ${pkgdir}/usr/share/man/man1
- install -m644 man/man1/*.1 ${pkgdir}/usr/share/man/man1/
-
- # Install demos and samples.
- cp -a demo ${pkgdir}/${_jvmdir}/
- install -m755 -d sample/rmi
- mv bin/java-rmi.cgi sample/rmi
- cp -a sample ${pkgdir}/${_jvmdir}/
- popd
-
- # Install icons and menu entries.
- for s in 16 24 32 48 ; do
- install -m755 -d ${pkgdir}/usr/share/icons/hicolor/${s}x${s}/apps
- install -m644 openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \
- ${pkgdir}/usr/share/icons/hicolor/${s}x${s}/apps/java.png
- done
-
- # Install desktop files.
- install -m755 -d ${pkgdir}/usr/share/applications
- install -m644 {jconsole,policytool}.desktop ${pkgdir}/usr/share/applications
-
- # link binaries into /usr/bin
- install -m755 -d ${pkgdir}/usr/bin
- pushd ${pkgdir}/${_jvmdir}/bin
- for file in *; do
- ln -sf ${_jvmdir}/bin/${file} \
- ${pkgdir}/usr/bin
- done
- popd
-
- # link JKS keystore from ca-certificates-java
- rm -f ${pkgdir}/${_jvmdir}/jre/lib/security/cacerts
- ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}/${_jvmdir}/jre/lib/security/cacerts"
-
# set some variables
install -m755 -d ${pkgdir}/etc/profile.d
install -m755 ${srcdir}/openjdk6.profile ${pkgdir}/etc/profile.d/openjdk6.sh
@@ -170,24 +130,3 @@ package_openjdk6-old() {
# install license
install -Dm644 ${srcdir}//icedtea6-${_icedteaver}/openjdk/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
-
-package_openjdk6-old-src() {
- pkgdesc='Free Java environment based on OpenJDK 6.0 Source Bundle'
- depends=('openjdk6-old')
-
- if [ "${CARCH}" = "x86_64" ]; then
- _arch=amd64
- else
- _arch=i586
- fi
-
- _javaver=6
- _jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk
-
- cd ${srcdir}/icedtea6-${_icedteaver}
- install -m755 -d ${pkgdir}/${_jvmdir}/jre
-
- pushd ${srcdir}/icedtea6-${_icedteaver}/openjdk.build/j2sdk-image
- # Install src.zip file
- cp -a src.zip ${pkgdir}/${_jvmdir}/
-}