summaryrefslogtreecommitdiff
path: root/community-testing
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-05 00:04:11 +0000
committerroot <root@rshg054.dnsready.net>2012-08-05 00:04:11 +0000
commit9b4356a4ce894946739f7fff9411f62be0fbc122 (patch)
tree29999235b5b73068c5ddb4dc1239dcf7c66397fa /community-testing
parentf8ac5d4703080cc87ba2fe36f68df745d3a5f62f (diff)
Sun Aug 5 00:04:11 UTC 2012
Diffstat (limited to 'community-testing')
-rw-r--r--community-testing/qtcurve-kde4/PKGBUILD11
-rw-r--r--community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch15
-rw-r--r--community-testing/r8168-lts/PKGBUILD6
3 files changed, 25 insertions, 7 deletions
diff --git a/community-testing/qtcurve-kde4/PKGBUILD b/community-testing/qtcurve-kde4/PKGBUILD
index 3ad2e7135..817439c93 100644
--- a/community-testing/qtcurve-kde4/PKGBUILD
+++ b/community-testing/qtcurve-kde4/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 74739 2012-08-02 16:18:09Z svenstaro $
+# $Id: PKGBUILD 74750 2012-08-03 09:56:11Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=qtcurve-kde4
pkgver=1.8.13
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
groups=('qtcurve')
license=('GPL')
@@ -14,15 +14,18 @@ url='http://www.kde-look.org/content/show.php?content=40492'
depends=('kdebase-workspace')
makedepends=('cmake' 'automoc4')
source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2"
- 'bypass-kde-config.patch')
+ 'bypass-kde-config.patch'
+ 'fix-kwin_decoration-macro.patch')
md5sums=('94ba22bc487a18f585249c2967878189'
- '3f6681147cc361bd2bfd4d7477f2a8d0')
+ '3f6681147cc361bd2bfd4d7477f2a8d0'
+ '7366e45ef9f24f53a36f87a539a937d6')
build() {
cd "${srcdir}"/QtCurve-KDE4-${pkgver}
# Bypass KDE prefix detection by kde4-config, see:
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541667
patch -p1 -i "${srcdir}"/bypass-kde-config.patch
+ patch -p1 -i "${srcdir}"/fix-kwin_decoration-macro.patch
cd "${srcdir}"
mkdir build
diff --git a/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch b/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch
new file mode 100644
index 000000000..6202e7b87
--- /dev/null
+++ b/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch
@@ -0,0 +1,15 @@
+diff -Naur a/kwin/qtcurvehandler.cpp b/kwin/qtcurvehandler.cpp
+--- a/kwin/qtcurvehandler.cpp 2012-08-02 13:36:58.811347708 +0000
++++ b/kwin/qtcurvehandler.cpp 2012-08-02 13:38:03.240996792 +0000
+@@ -489,6 +489,11 @@
+
+ extern "C"
+ {
++ KWIN_EXPORT int decoration_version()
++ {
++ return KWIN_DECORATION_API_VERSION;
++ }
++
+ KDE_EXPORT KDecorationFactory *create_factory()
+ {
+ KWinQtCurve::handler = new KWinQtCurve::QtCurveHandler();
diff --git a/community-testing/r8168-lts/PKGBUILD b/community-testing/r8168-lts/PKGBUILD
index 1278371e7..f7a332181 100644
--- a/community-testing/r8168-lts/PKGBUILD
+++ b/community-testing/r8168-lts/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 73215 2012-07-04 00:45:12Z dreisner $
+# $Id: PKGBUILD 74765 2012-08-03 18:03:24Z tpowa $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=r8168-lts
_pkgname=r8168
pkgver=8.031.00
-pkgrel=2
+pkgrel=4
pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
url="http://www.realtek.com.tw"
license=("GPL")
@@ -17,10 +17,10 @@ md5sums=('ec1654f02e2dad930bbeb0210ddab7e5')
sha256sums=('5c617b3c08aca18d1eb24d33f77df40020eb64fb32c8e4008265e08b7ffe5779')
_extramodules=extramodules-3.0-lts
-_kernver="$(cat /usr/lib/modules/$_extramodules/version || true)"
build() {
cd "$_pkgname-$pkgver"
+ local _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
make -C /usr/lib/modules/$_kernver/build \
SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \