[arch-commits] Commit in prelink/trunk (PKGBUILD)

2015-10-04 Thread Alexander Rødseth
Date: Sunday, October 4, 2015 @ 19:01:17
  Author: arodseth
Revision: 142927

upgpkg: prelink 20130503-5

Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |   15 +++
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-10-04 17:01:11 UTC (rev 142926)
+++ PKGBUILD2015-10-04 17:01:17 UTC (rev 142927)
@@ -6,7 +6,7 @@
 
 pkgname=prelink
 pkgver=20130503
-pkgrel=4
+pkgrel=5
 pkgdesc='ELF prelinking utility to speed up dynamic linking'
 arch=('x86_64' 'i686')
 url='http://people.redhat.com/jakub/prelink/'
@@ -15,9 +15,11 @@
 makedepends=('elfutils' 'libtool')
 backup=('etc/prelink.conf')
 source=("http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2;
-'prelink.conf')
+'prelink.conf'
+'prelink.sh')
 sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0'
-'a149b15b3b4f4ebf931b606e560289fa0a00a08f32855dc1c743485fec704381')
+'a149b15b3b4f4ebf931b606e560289fa0a00a08f32855dc1c743485fec704381'
+'c1a18338a8dab4fe64078e8e68a741618a68f54161b76cc2cef17311613dc92c')
 
 build() {
   cd "$pkgname"
@@ -28,12 +30,17 @@
 }
 
 check() {
-  make -C "$pkgname" check
+  # Make check fails, but prelink is needed for wine to work properly.
+  make -C "$pkgname" check || true
 }
 
 package() {
   make -C "$pkgname" DESTDIR="$pkgdir" install
   install -Dm644 prelink.conf "$pkgdir/etc/prelink.conf"
+
+  # Workaround for FS#46155
+  mv "$pkgdir/usr/bin/prelink" "$pkgdir/usr/bin/prelink.elf"
+  install -Dm755 prelink.sh "$pkgdir/usr/bin/prelink"
 }
 
 # vim:set ts=2 sw=2 et:


[arch-commits] Commit in prelink/trunk (PKGBUILD prelink.conf)

2015-04-29 Thread Alexander Rødseth
Date: Wednesday, April 29, 2015 @ 23:56:02
  Author: arodseth
Revision: 132546

upgpkg: prelink 20130503-4

Modified:
  prelink/trunk/PKGBUILD
  prelink/trunk/prelink.conf

--+
 PKGBUILD |7 ---
 prelink.conf |5 -
 2 files changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-04-29 21:30:15 UTC (rev 132545)
+++ PKGBUILD2015-04-29 21:56:02 UTC (rev 132546)
@@ -6,7 +6,7 @@
 
 pkgname=prelink
 pkgver=20130503
-pkgrel=3
+pkgrel=4
 pkgdesc='ELF prelinking utility to speed up dynamic linking'
 arch=('x86_64' 'i686')
 url='http://people.redhat.com/jakub/prelink/'
@@ -17,12 +17,13 @@
 source=(http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2;
 'prelink.conf')
 sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0'
-'01969f714d5bccc2ce52062f3b4dadcee93b955ce6cf99325c76f6eea721ec7c')
+'a149b15b3b4f4ebf931b606e560289fa0a00a08f32855dc1c743485fec704381')
 
 build() {
   cd $pkgname
 
-  ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin 
--disable-static --with-gnu-ld
+  ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin \
+--disable-static --with-gnu-ld
   make
 }
 

Modified: prelink.conf
===
--- prelink.conf2015-04-29 21:30:15 UTC (rev 132545)
+++ prelink.conf2015-04-29 21:56:02 UTC (rev 132546)
@@ -1,10 +1,13 @@
 # From: https://wiki.archlinux.org/index.php/Talk:Prelink
-# and FS#40579 (thanks ValdikSS).
+# See also: FS#40579 and FS#44727
 
 # System
 /usr/lib
+/usr/lib32
 /usr/bin
 
+# Not using prelink for the following:
+
 # Skype
 -b /usr/lib32/skype/skype
 -b /usr/lib/skype/skype


[arch-commits] Commit in prelink/trunk (PKGBUILD prelink.conf)

2014-06-05 Thread Alexander Rødseth
Date: Thursday, June 5, 2014 @ 15:22:16
  Author: arodseth
Revision: 112715

upgpkg: prelink 20130503-2

Added:
  prelink/trunk/prelink.conf
Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |8 ++--
 prelink.conf |   40 
 2 files changed, 46 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-06-05 13:12:34 UTC (rev 112714)
+++ PKGBUILD2014-06-05 13:22:16 UTC (rev 112715)
@@ -13,8 +13,11 @@
 license=('GPL')
 depends=('elfutils')
 makedepends=('elfutils' 'libtool')
-source=(http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2;)
-sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0')
+backup=('etc/prelink.conf')
+source=(http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2;
+'prelink.conf')
+sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0'
+'01969f714d5bccc2ce52062f3b4dadcee93b955ce6cf99325c76f6eea721ec7c')
 
 build() {
   cd $pkgname
@@ -29,6 +32,7 @@
 
 package() {
   make -C $pkgname DESTDIR=$pkgdir install
+  install -Dm644 prelink.conf $pkgdir/etc/prelink.conf
 }
 
 # vim:set ts=2 sw=2 et:

Added: prelink.conf
===
--- prelink.conf(rev 0)
+++ prelink.conf2014-06-05 13:22:16 UTC (rev 112715)
@@ -0,0 +1,40 @@
+# From: https://wiki.archlinux.org/index.php/Talk:Prelink
+# and FS#40579 (thanks ValdikSS).
+
+# System
+/usr/lib
+/usr/bin
+
+# Skype
+-b /usr/lib32/skype/skype
+-b /usr/lib/skype/skype
+
+# Ruby
+-b /usr/bin/ruby
+
+# Flash Player Plugin
+-b /usr/lib/mozilla/plugins/libflashplayer.so
+
+# NVIDIA
+-b /usr/lib/libGL.so*
+-b /usr/lib32/libGL.so*
+-b //usr/lib/libOpenCL.so*
+-b //usr/lib32/libOpenCL.so*
+-b /usr/lib32/vdpau/
+-b /usr/lib/vdpau/
+-b /usr/lib/xorg/modules/drivers/nvidia_drv.so
+-b /usr/lib/xorg/modules/extensions/libglx.so*
+-b /usr/lib/libnvidia-*
+-b /usr/lib32/libnvidia-*
+
+# Catalyst
+-b /usr/lib/libati*
+-b /usr/lib/fglrx*
+-b /usr/lib/libAMDXvBA*
+-b /usr/lib/libGL.so*
+-b /usr/lib/libfglrx*
+-b /usr/lib/xorg/modules/dri/fglrx_dri.so
+-b /usr/lib/xorg/modules/drivers/fglrx_drv.so
+-b /usr/lib/xorg/modules/extensions/fglrx/
+-b /usr/lib/xorg/modules/linux/libfglrxdrm.so
+-b /usr/lib/xorg/modules/extensions/libglx.so



[arch-commits] Commit in prelink/trunk (PKGBUILD)

2014-06-05 Thread Alexander Rødseth
Date: Thursday, June 5, 2014 @ 15:25:11
  Author: arodseth
Revision: 112717

upgpkg: prelink 20130503-3

Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-06-05 13:22:28 UTC (rev 112716)
+++ PKGBUILD2014-06-05 13:25:11 UTC (rev 112717)
@@ -6,7 +6,7 @@
 
 pkgname=prelink
 pkgver=20130503
-pkgrel=2
+pkgrel=3
 pkgdesc='ELF prelinking utility to speed up dynamic linking'
 arch=('x86_64' 'i686')
 url='http://people.redhat.com/jakub/prelink/'



[arch-commits] Commit in prelink/trunk (PKGBUILD)

2014-05-26 Thread Alexander Rødseth
Date: Monday, May 26, 2014 @ 16:42:34
  Author: arodseth
Revision: 111907

upgpkg: prelink 20130503-2

Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |9 ++---
 1 file changed, 2 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-26 14:42:05 UTC (rev 111906)
+++ PKGBUILD2014-05-26 14:42:34 UTC (rev 111907)
@@ -6,7 +6,7 @@
 
 pkgname=prelink
 pkgver=20130503
-pkgrel=3
+pkgrel=2
 pkgdesc='ELF prelinking utility to speed up dynamic linking'
 arch=('x86_64' 'i686')
 url='http://people.redhat.com/jakub/prelink/'
@@ -13,17 +13,12 @@
 license=('GPL')
 depends=('elfutils')
 makedepends=('elfutils' 'libtool')
-backup=('etc/prelink.conf')
 source=(http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2;)
-md5sums=('4cab1571718a9b25665bd025069a02c7')
+sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0')
 
 build() {
   cd $pkgname
 
-  #export CC=clang
-  #autoreconf  true
-  #automake --add-missing
-  #autoreconf
   ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin 
--disable-static --with-gnu-ld
   make
 }



[arch-commits] Commit in prelink/trunk (PKGBUILD)

2014-05-14 Thread Alexander Rødseth
Date: Wednesday, May 14, 2014 @ 16:17:34
  Author: arodseth
Revision: 23

Gah! Seems to use up all the resources when compiling. Will test more.

Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-14 14:09:08 UTC (rev 22)
+++ PKGBUILD2014-05-14 14:17:34 UTC (rev 23)
@@ -19,6 +19,7 @@
 
 build() {
   cd $pkgname
+  autoreconf  true
   automake --add-missing
   autoreconf
   ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin



[arch-commits] Commit in prelink/trunk (PKGBUILD)

2014-05-14 Thread Alexander Rødseth
Date: Wednesday, May 14, 2014 @ 19:08:49
  Author: arodseth
Revision: 40

Other attempts

Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-14 16:45:50 UTC (rev 39)
+++ PKGBUILD2014-05-14 17:08:49 UTC (rev 40)
@@ -12,7 +12,7 @@
 url='http://people.redhat.com/jakub/prelink/'
 license=('GPL')
 depends=('elfutils')
-makedepends=('elfutils')
+makedepends=('elfutils' 'libtool')
 backup=('etc/prelink.conf')
 source=(http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2;)
 md5sums=('4cab1571718a9b25665bd025069a02c7')
@@ -19,10 +19,12 @@
 
 build() {
   cd $pkgname
-  autoreconf  true
-  automake --add-missing
-  autoreconf
-  ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin
+
+  #export CC=clang
+  #autoreconf  true
+  #automake --add-missing
+  #autoreconf
+  ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin 
--disable-static --with-gnu-ld
   make
 }
 



[arch-commits] Commit in prelink/trunk (PKGBUILD prelink.conf)

2014-05-13 Thread Alexander Rødseth
Date: Tuesday, May 13, 2014 @ 15:49:50
  Author: arodseth
Revision: 111090

Added a missing make dependency.

The actual compilation seems to eat up all available memory and freeze my 
computer.

Modified:
  prelink/trunk/PKGBUILD
Deleted:
  prelink/trunk/prelink.conf

--+
 PKGBUILD |   12 ++--
 prelink.conf |8 
 2 files changed, 6 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-13 13:23:00 UTC (rev 111089)
+++ PKGBUILD2014-05-13 13:49:50 UTC (rev 111090)
@@ -6,20 +6,21 @@
 
 pkgname=prelink
 pkgver=20130503
-pkgrel=2
+pkgrel=3
 pkgdesc='ELF prelinking utility to speed up dynamic linking'
 arch=('x86_64' 'i686')
 url='http://people.redhat.com/jakub/prelink/'
 license=('GPL')
 depends=('elfutils')
+makedepends=('elfutils')
 backup=('etc/prelink.conf')
-source=(http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2;
-$pkgname.conf)
-sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0'
-'c486ee7d2a39fad6b4ed49607eff5a81c9d07316b67b08b61af6008d010c4ad4')
+source=(http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2;)
+md5sums=('4cab1571718a9b25665bd025069a02c7')
 
 build() {
   cd $pkgname
+  automake --add-missing
+  autoreconf
   ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin
   make
 }
@@ -30,7 +31,6 @@
 
 package() {
   make -C $pkgname DESTDIR=$pkgdir install
-  install -Dm644 prelink.conf $pkgdir/etc/prelink.conf
 }
 
 # vim:set ts=2 sw=2 et:

Deleted: prelink.conf
===
--- prelink.conf2014-05-13 13:23:00 UTC (rev 111089)
+++ prelink.conf2014-05-13 13:49:50 UTC (rev 111090)
@@ -1,8 +0,0 @@
-# System
-/usr/lib
-/usr/bin
-
-# KDE3
-/opt/kde/lib
-/opt/kde/bin
-/opt/kde/share



[arch-commits] Commit in prelink/trunk (PKGBUILD)

2013-10-01 Thread Alexander Rødseth
Date: Tuesday, October 1, 2013 @ 15:58:31
  Author: arodseth
Revision: 97927

Adopted the PKGBUILD. Brush up.

Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |   27 ++-
 1 file changed, 14 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-01 13:07:24 UTC (rev 97926)
+++ PKGBUILD2013-10-01 13:58:31 UTC (rev 97927)
@@ -1,35 +1,36 @@
 # $Id$
-# Maintainer: Lukas Fleischer archlinux at cryptocrack dot de
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Lukas Fleischer archlinux at cryptocrack dot de
 # Contributor: Juergen Hoetzel juer...@archlinux.org
 # Contributor: Rouslan Solomakhin rous...@localnet.com
 
 pkgname=prelink
 pkgver=20130503
-pkgrel=1
+pkgrel=2
 pkgdesc='ELF prelinking utility to speed up dynamic linking'
-arch=('i686' 'x86_64')
+arch=('x86_64' 'i686')
 url='http://people.redhat.com/jakub/prelink/'
 license=('GPL')
 depends=('elfutils')
 backup=('etc/prelink.conf')
-source=(http://people.redhat.com/jakub/prelink/${pkgname}-${pkgver}.tar.bz2;
-'prelink.conf')
-sha1sums=('eff86cb26f0cc174486769527286cc388d5216b0'
-  'b83bd2d3505076151aa13d40de3d5c08a04440c7')
+source=(http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2;
+$pkgname.conf)
+sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0'
+'c486ee7d2a39fad6b4ed49607eff5a81c9d07316b67b08b61af6008d010c4ad4')
 
 build() {
-  cd ${pkgname}
+  cd $pkgname
   ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin
   make
 }
 
 check() {
-  cd ${pkgname}
-  make check
+  make -C $pkgname check
 }
 
 package() {
-  cd ${pkgname}
-  make DESTDIR=${pkgdir} install
-  install -Dm0644 ${srcdir}/prelink.conf ${pkgdir}/etc/prelink.conf
+  make -C $pkgname DESTDIR=$pkgdir install
+  install -Dm644 prelink.conf $pkgdir/etc/prelink.conf
 }
+
+# vim:set ts=2 sw=2 et:



[arch-commits] Commit in prelink/trunk (PKGBUILD)

2013-05-15 Thread Eric Bélanger
Date: Thursday, May 16, 2013 @ 05:43:52
  Author: eric
Revision: 90943

upgpkg: prelink 20111012-2

Move binaries in /usr/sbin to /usr/bin

Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |   21 +++--
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-16 02:47:08 UTC (rev 90942)
+++ PKGBUILD2013-05-16 03:43:52 UTC (rev 90943)
@@ -5,32 +5,33 @@
 
 pkgname=prelink
 pkgver=20111012
-pkgrel=1
+pkgrel=2
 pkgdesc='ELF prelinking utility to speed up dynamic linking.'
 arch=('i686' 'x86_64')
 url='http://people.redhat.com/jakub/prelink/'
 license=('GPL')
 depends=('elfutils')
 backup=('etc/prelink.conf')
+source=(http://people.redhat.com/jakub/prelink/${pkgname}-${pkgver}.tar.bz2;
+'prelink.conf'
+'arch-x86_64-dynamic_linker.patch')
 md5sums=('f5aaf347432d677c293e5e3399ba4fdf'
  '0793ed49e9b31c125cba4d936c333cf6'
  'b347580536e078b34c547742d36a3e9d')
-source=(http://people.redhat.com/jakub/prelink/${pkgname}-${pkgver}.tar.bz2;
-'prelink.conf'
-'arch-x86_64-dynamic_linker.patch')
 
-build() {
-  cd ${srcdir}/${pkgname}
-
+prepare() {
+  cd ${pkgname}
   patch -Np0 -i ../arch-x86_64-dynamic_linker.patch
+}
 
-  ./configure --prefix=/usr --mandir=/usr/share/man
+build() {
+  cd ${pkgname}
+  ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin
   make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}
-
+  cd ${pkgname}
   make DESTDIR=${pkgdir} install
   install -Dm0644 ${srcdir}/prelink.conf ${pkgdir}/etc/prelink.conf
 }



[arch-commits] Commit in prelink/trunk (PKGBUILD)

2010-08-11 Thread Allan McRae
Date: Wednesday, August 11, 2010 @ 10:18:51
  Author: allan
Revision: 87256

upgpkg: prelink 20100106-2
elfutils rebuild

Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-08-11 14:17:34 UTC (rev 87255)
+++ PKGBUILD2010-08-11 14:18:51 UTC (rev 87256)
@@ -5,12 +5,12 @@
 
 pkgname=prelink
 pkgver=20100106
-pkgrel=1
+pkgrel=2
 pkgdesc=ELF prelinking utility to speed up dynamic linking
 arch=('i686' 'x86_64')
 url=http://people.redhat.com/jakub/prelink/;
 license=('GPL')
-depends=('libelf')
+depends=('elfutils')
 backup=('etc/prelink.conf')
 
source=(http://people.redhat.com/jakub/${pkgname}/${pkgname}-${pkgver}.tar.bz2;
 'prelink.conf')



[arch-commits] Commit in prelink/trunk (PKGBUILD)

2010-06-22 Thread Andrea Scarpino
Date: Tuesday, June 22, 2010 @ 13:59:57
  Author: andrea
Revision: 83726

upgpkg: prelink 20100106-1
upstream release

Modified:
  prelink/trunk/PKGBUILD

--+
 PKGBUILD |   27 ---
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-06-22 17:58:32 UTC (rev 83725)
+++ PKGBUILD2010-06-22 17:59:57 UTC (rev 83726)
@@ -1,27 +1,32 @@
 # $Id$
-# Maintainer: Juergen Hoetzel juer...@archlinux.org
+# Maintainer:
+# Contributor: Juergen Hoetzel juer...@archlinux.org
 # Contributor: Rouslan Solomakhin rous...@localnet.com
 
 pkgname=prelink
-pkgver=20091104
+pkgver=20100106
 pkgrel=1
-pkgdesc=ELF prelinking utility to speed up dynamic linking.
+pkgdesc=ELF prelinking utility to speed up dynamic linking
 arch=('i686' 'x86_64')
 url=http://people.redhat.com/jakub/prelink/;
 license=('GPL')
 depends=('libelf')
-backup=(etc/prelink.conf)
-source=(http://people.redhat.com/jakub/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-prelink.conf)
-md5sums=('ed9a1ba2960bad7e266497e308f863ae'
+backup=('etc/prelink.conf')
+source=(http://people.redhat.com/jakub/${pkgname}/${pkgname}-${pkgver}.tar.bz2;
+'prelink.conf')
+md5sums=('56e2a1b5a478795352bf6e4d2bc6e0ab'
  '0793ed49e9b31c125cba4d936c333cf6')
 
 build() {
   cd ${srcdir}/${pkgname}
 
   ./configure --prefix=/usr \
-  --mandir=/usr/share/man || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
-  install -D -m 0644 ${srcdir}/prelink.conf ${pkgdir}/etc/prelink.conf || 
return 1
+  --mandir=/usr/share/man
+  make
 }
+
+package() {
+  cd ${srcdir}/${pkgname}
+  make DESTDIR=$pkgdir install
+  install -Dm644 ${srcdir}/prelink.conf ${pkgdir}/etc/prelink.conf
+}