summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-09 00:11:39 +0000
committerroot <root@rshg054.dnsready.net>2012-09-09 00:11:39 +0000
commitdda96ce532ef99400e2b7703a0f538771b36b624 (patch)
treebcffb5a34db2fb09c3ca6eb1dfe557292566ddb6 /testing
parentc85b504e8916411d424cd3fc654ff879237d529e (diff)
Sun Sep 9 00:11:39 UTC 2012
Diffstat (limited to 'testing')
-rw-r--r--testing/elfutils/PKGBUILD39
-rw-r--r--testing/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch16
-rw-r--r--testing/kmod/PKGBUILD14
-rw-r--r--testing/pinentry/PKGBUILD40
-rw-r--r--testing/pinentry/pinentry.install20
-rw-r--r--testing/pinentry/qt4-pinentry-window.patch28
6 files changed, 150 insertions, 7 deletions
diff --git a/testing/elfutils/PKGBUILD b/testing/elfutils/PKGBUILD
new file mode 100644
index 000000000..d368534a4
--- /dev/null
+++ b/testing/elfutils/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 166408 2012-09-07 16:52:26Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
+
+pkgname=elfutils
+pkgver=0.155
+pkgrel=1
+pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information"
+arch=('i686' 'x86_64')
+url="https://fedorahosted.org/elfutils/"
+license=('LGPL3' 'GPL' 'GPL3')
+depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
+provides=('libelf')
+replaces=('libelf')
+conflicts=('libelf')
+options=('!makeflags')
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig}
+ elfutils-0.155-binutils-pr-ld-13621.patch)
+sha1sums=('1b96084cd9fe037c1c0bd2c280aaa701f913462b'
+ 'fcd0ebd029b305bf030983daf151a2a1ab5294af'
+ '8a8be7c0686c6311c1ce969ba10494e704ead48c')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ CFLAGS+=" -g" # required for test-suite success
+ patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch
+ ./configure --prefix=/usr --program-prefix="eu-"
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/testing/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch b/testing/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch
new file mode 100644
index 000000000..7f99ac0be
--- /dev/null
+++ b/testing/elfutils/elfutils-0.155-binutils-pr-ld-13621.patch
@@ -0,0 +1,16 @@
+diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh
+index 4b01008..7a5f0c8 100755
+--- a/tests/run-elflint-self.sh
++++ b/tests/run-elflint-self.sh
+@@ -18,4 +18,11 @@
+
+ . $srcdir/test-subr.sh
+
++# Makes sure we exit cleanly even when we don't...
++clean_exit()
++{
++ if test $? != 0; then echo "binutils PR ld/13621 workaround"; exit 0; fi
++}
++trap clean_exit EXIT
++
+ testrun_on_self ../src/elflint --quiet --gnu-ld
diff --git a/testing/kmod/PKGBUILD b/testing/kmod/PKGBUILD
index a510578de..8f8045403 100644
--- a/testing/kmod/PKGBUILD
+++ b/testing/kmod/PKGBUILD
@@ -1,22 +1,22 @@
-# $Id: PKGBUILD 162918 2012-07-04 00:18:58Z dreisner $
+# $Id: PKGBUILD 166390 2012-09-07 13:56:39Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=kmod
-pkgver=9
-pkgrel=2
+pkgver=10
+pkgrel=1
pkgdesc="Linux kernel module handling"
arch=('i686' 'x86_64')
url='http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary'
license=('GPL2')
depends=('glibc' 'zlib')
+makedepends=('gtk-doc')
options=('!libtool')
provides=('module-init-tools=3.16')
conflicts=('module-init-tools')
replaces=('module-init-tools')
-install=kmod.install
source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"
"depmod-search.conf")
-md5sums=('c8ae2d2694fbca2b28e238b30543a0cd'
+md5sums=('e2a883c4df15a50f78a7a61d5b64089f'
'dd62cbf62bd8f212f51ef8c43bec9a77')
build() {
@@ -24,8 +24,8 @@ build() {
./configure \
--sysconfdir=/etc \
- --with-zlib \
- --with-rootprefix=/usr
+ --enable-gtk-doc \
+ --with-zlib
make
}
diff --git a/testing/pinentry/PKGBUILD b/testing/pinentry/PKGBUILD
new file mode 100644
index 000000000..b1c76c880
--- /dev/null
+++ b/testing/pinentry/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 166441 2012-09-07 20:18:41Z tpowa $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+pkgname=pinentry
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnupg.org/aegypten2"
+depends=('ncurses' 'libcap>=2.16')
+makedepends=('gtk2' 'qt')
+optdepends=('gtk2: for gtk2 backend'
+ 'qt: for qt4 backend')
+source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
+ qt4-pinentry-window.patch)
+install=pinentry.install
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ #fix: https://bugs.archlinux.org/task/29998
+ patch -Np1 -i ../qt4-pinentry-window.patch
+ for file in qt4/*.moc; do
+ /usr/bin/moc ${file/.moc/.h} > ${file}
+ done
+ ./configure --prefix=/usr \
+ --enable-pinentry-curses \
+ --disable-pinentry-gtk \
+ --disable-pinentry-qt \
+ --enable-pinentry-gtk2 \
+ --enable-pinentry-qt4 \
+ --enable-fallback-curses
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=${pkgdir} install
+}
+md5sums=('82e6114e5e27a8ab36f314b332a6e024'
+ '450b8713fe42f1bd93311ef84767c3d8')
diff --git a/testing/pinentry/pinentry.install b/testing/pinentry/pinentry.install
new file mode 100644
index 000000000..eed2c7124
--- /dev/null
+++ b/testing/pinentry/pinentry.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(pinentry.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
diff --git a/testing/pinentry/qt4-pinentry-window.patch b/testing/pinentry/qt4-pinentry-window.patch
new file mode 100644
index 000000000..8f9faae11
--- /dev/null
+++ b/testing/pinentry/qt4-pinentry-window.patch
@@ -0,0 +1,28 @@
+From c2ab12b3742c929a225c3753439438edc27bfa81 Mon Sep 17 00:00:00 2001
+From: Stanislav Ochotnicky <sochotnicky@redhat.com>
+Date: Tue, 1 Feb 2011 14:42:27 +0100
+Subject: [PATCH] Fix qt4 pinentry window created in the background
+
+This is probably just a workaround. Proper fix is being investigated.
+See:
+https://bugzilla.redhat.com/show_bug.cgi?id=589532
+http://stackoverflow.com/questions/2788518/calling-activatewindow-on-qdialog-sends-window-to-background
+---
+ qt4/pinentrydialog.cpp | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/qt4/pinentrydialog.cpp b/qt4/pinentrydialog.cpp
+index 541baf4..d634eb6 100644
+--- a/qt4/pinentrydialog.cpp
++++ b/qt4/pinentrydialog.cpp
+@@ -69,7 +69,6 @@ void raiseWindow( QWidget* w )
+ SetForegroundWindow( w->winId() );
+ #endif
+ w->raise();
+- w->activateWindow();
+ }
+
+ QPixmap icon( QStyle::StandardPixmap which )
+--
+1.7.3.5
+