diff options
Diffstat (limited to '~lukeshu')
79 files changed, 850 insertions, 101 deletions
diff --git a/~lukeshu/.gitignore b/~lukeshu/.gitignore index db32297d9..db32297d9 100644..100755 --- a/~lukeshu/.gitignore +++ b/~lukeshu/.gitignore diff --git a/~lukeshu/9mount/PKGBUILD b/~lukeshu/9mount/PKGBUILD new file mode 100644 index 000000000..c0052731d --- /dev/null +++ b/~lukeshu/9mount/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (AUR): Fazlul Shahriar <fshahriar@gmail.com> + +pkgname=9mount +pkgver=1.3 +pkgdesc="A set of SUID tools for mounting 9p filesystems via v9fs." +url="http://sqweek.net/code/9mount/" +license=('custom:ISC') +source=("http://sqweek.net/9p/$pkgname-$pkgver.tar.gz" fix-checks.patch) + +pkgrel=2 +arch=('i686' 'x86_64') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -i "$srcdir/fix-checks.patch" + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + PATH=.:$PATH sh ./test.sh +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make prefix="$pkgdir/usr" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + ln -s 9mount.1 "$pkgdir/usr/share/man/man1/9umount.1" + ln -s 9mount.1 "$pkgdir/usr/share/man/man1/9bind.1" +} + +md5sums=('711a0a6f4d076c8275596171b0a315d0' + '7961acda05c55f91f8cd6fb0d51b5c7d') +sha256sums=('820d80b9b478d05ecb022ad658477b37cfc2414a8669c3af17d192a522064c17' + '69cd1be08cc13cdecf2851dd6f78efd734afa8b0b099484cd777edb0b1d36f79') diff --git a/~lukeshu/9mount/fix-checks.patch b/~lukeshu/9mount/fix-checks.patch new file mode 100644 index 000000000..9af711ba5 --- /dev/null +++ b/~lukeshu/9mount/fix-checks.patch @@ -0,0 +1,24 @@ +--- test.sh.orig 2012-10-15 11:15:07.000000000 -0400 ++++ test.sh 2012-10-15 11:15:11.000000000 -0400 +@@ -7,7 +7,7 @@ + shift; shift + actual=$(9mount -n "$@" 2>&1) + aopts=$(echo $actual |sed 's/.*-o \([^ ]*\) .*/\1/' |tr , '\n' |sort |tr '\n' , |sed 's/,$//') +- actual=$(echo $actual |sed 's/-o [^ ]*/-o '"$aopts"'/') ++ actual=$(echo $actual |sed -e 's/-o [^ ]*/-o '"$aopts"'/' -e 's/ ::1 / 127.0.0.1 /') + if [ "$expected" != "$actual" ]; then + echo ' '9mount "$@" + echo $expected' #expected' +@@ -48,6 +48,7 @@ + output=$(9mount -n "$@" 2>&1) && { + echo ' '9mount "$@" + echo $output' #should have failed!' ++ exit 1 + } + } + +@@ -59,3 +60,4 @@ + shouldfail unix!/tmp/9mount!qux $mtpt + shouldfail virtio!/dev/chan!bar $mtpt + shouldfail tcp!localhost!564!foo $mtpt ++exit 0 diff --git a/~lukeshu/android-udev/.gitignore b/~lukeshu/android-udev/.gitignore index 290a3baa3..290a3baa3 100644..100755 --- a/~lukeshu/android-udev/.gitignore +++ b/~lukeshu/android-udev/.gitignore diff --git a/~lukeshu/android-udev/51-android.rules b/~lukeshu/android-udev/51-android.rules index 51f80cf54..51f80cf54 100644..100755 --- a/~lukeshu/android-udev/51-android.rules +++ b/~lukeshu/android-udev/51-android.rules diff --git a/~lukeshu/android-udev/Makefile b/~lukeshu/android-udev/Makefile index f20930c66..f20930c66 100644..100755 --- a/~lukeshu/android-udev/Makefile +++ b/~lukeshu/android-udev/Makefile diff --git a/~lukeshu/android-udev/PKGBUILD b/~lukeshu/android-udev/PKGBUILD index 6900b46da..6900b46da 100644..100755 --- a/~lukeshu/android-udev/PKGBUILD +++ b/~lukeshu/android-udev/PKGBUILD diff --git a/~lukeshu/android-udev/android-udev.install b/~lukeshu/android-udev/android-udev.install index c861f2b70..c861f2b70 100644..100755 --- a/~lukeshu/android-udev/android-udev.install +++ b/~lukeshu/android-udev/android-udev.install diff --git a/~lukeshu/cinclude2dot/.gitignore b/~lukeshu/cinclude2dot/.gitignore index f326e85cb..f326e85cb 100644..100755 --- a/~lukeshu/cinclude2dot/.gitignore +++ b/~lukeshu/cinclude2dot/.gitignore diff --git a/~lukeshu/cinclude2dot/PKGBUILD b/~lukeshu/cinclude2dot/PKGBUILD index 2eb43bac2..2eb43bac2 100644..100755 --- a/~lukeshu/cinclude2dot/PKGBUILD +++ b/~lukeshu/cinclude2dot/PKGBUILD diff --git a/~lukeshu/cntlm/PKGBUILD b/~lukeshu/cntlm/PKGBUILD index 2381a924e..2381a924e 100644..100755 --- a/~lukeshu/cntlm/PKGBUILD +++ b/~lukeshu/cntlm/PKGBUILD diff --git a/~lukeshu/conkeror-git/ChangeLog b/~lukeshu/conkeror-git/ChangeLog index e8249a832..e8249a832 100644..100755 --- a/~lukeshu/conkeror-git/ChangeLog +++ b/~lukeshu/conkeror-git/ChangeLog diff --git a/~lukeshu/conkeror-git/PKGBUILD b/~lukeshu/conkeror-git/PKGBUILD index 5d68e26c9..5d68e26c9 100644..100755 --- a/~lukeshu/conkeror-git/PKGBUILD +++ b/~lukeshu/conkeror-git/PKGBUILD diff --git a/~lukeshu/conkeror-git/SRCBUILD b/~lukeshu/conkeror-git/SRCBUILD index d02b9eaf1..d02b9eaf1 100644..100755 --- a/~lukeshu/conkeror-git/SRCBUILD +++ b/~lukeshu/conkeror-git/SRCBUILD diff --git a/~lukeshu/conkeror-git/conkeror-git.install b/~lukeshu/conkeror-git/conkeror-git.install index 5e5cfef4d..5e5cfef4d 100644..100755 --- a/~lukeshu/conkeror-git/conkeror-git.install +++ b/~lukeshu/conkeror-git/conkeror-git.install diff --git a/~lukeshu/conkeror-git/conkeror.sh b/~lukeshu/conkeror-git/conkeror.sh index 963720513..963720513 100644..100755 --- a/~lukeshu/conkeror-git/conkeror.sh +++ b/~lukeshu/conkeror-git/conkeror.sh diff --git a/~lukeshu/conkeror-git/conkeror_gimpfile.xpm b/~lukeshu/conkeror-git/conkeror_gimpfile.xpm index ee2dc0773..ee2dc0773 100644..100755 --- a/~lukeshu/conkeror-git/conkeror_gimpfile.xpm +++ b/~lukeshu/conkeror-git/conkeror_gimpfile.xpm diff --git a/~lukeshu/dasm/PKGBUILD b/~lukeshu/dasm/PKGBUILD index 79a7264b4..79a7264b4 100644..100755 --- a/~lukeshu/dasm/PKGBUILD +++ b/~lukeshu/dasm/PKGBUILD diff --git a/~lukeshu/emacs-lucid/PKGBUILD b/~lukeshu/emacs-lucid/PKGBUILD new file mode 100755 index 000000000..45489c1b3 --- /dev/null +++ b/~lukeshu/emacs-lucid/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 169743 2012-10-27 23:41:39Z eric $ +# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (Arch): Juergen Hoetzel <juergen@archlinux.org> +# Contributor (Arch): Renchi Raju <renchi@green.tam.uiuc.edu> + +_pkgname=emacs +pkgname=emacs-lucid +pkgver=24.2 +pkgrel=2 +pkgdesc="The extensible, customizable, self-documenting real-time display editor (lucid tooklit instead of GTK3)" + +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") + +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/emacs/emacs.html" +license=('GPL3') +depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'libotf' 'm17n-lib' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib' 'imagemagick') +install=emacs.install +source=(ftp://ftp.gnu.org/gnu/emacs/$_pkgname-$pkgver.tar.bz2{,.sig}) +md5sums=('1676803a50e8adc817fdaaebb9234f14' 'ca1766337f419ef827dd96d1ff78f158') + + +build() { + cd "$srcdir"/$_pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ + --localstatedir=/var --with-x-toolkit=lucid --with-xft + make +} + +package() { + cd "$srcdir"/$_pkgname-$pkgver + make DESTDIR="$pkgdir" install + + # remove conflict with ctags package + mv "$pkgdir"/usr/bin/{ctags,ctags.emacs} + mv "$pkgdir"/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1} + # fix all the 777 perms on directories + find "$pkgdir"/usr/share/emacs -type d -exec chmod 755 {} \; + # fix user/root permissions on usr/share files + find "$pkgdir"/usr/share/emacs -exec chown root:root {} \; + # fix perms on /var/games + chmod 775 "$pkgdir"/var/games + chmod 775 "$pkgdir"/var/games/emacs + chmod 664 "$pkgdir"/var/games/emacs/* + chown -R root:games "$pkgdir"/var/games +} diff --git a/~lukeshu/emacs24/emacs.install b/~lukeshu/emacs-lucid/emacs.install index d84f1de14..d84f1de14 100644..100755 --- a/~lukeshu/emacs24/emacs.install +++ b/~lukeshu/emacs-lucid/emacs.install diff --git a/~lukeshu/emacs24/PKGBUILD b/~lukeshu/emacs24/PKGBUILD deleted file mode 100644 index f9eb76d64..000000000 --- a/~lukeshu/emacs24/PKGBUILD +++ /dev/null @@ -1,85 +0,0 @@ -# $Id: PKGBUILD 137977 2011-09-13 15:26:07Z juergen $ -# Maintainer: Juergen Hoetzel <juergen@archlinux.org> -# Contributor: Renchi Raju <renchi@green.tam.uiuc.edu> -pkgname=emacs24-bzr -_majorver=24.0.92 -pkgver=106756 -pkgrel=1 -pkgdesc="The extensible, customizable, self-documenting real-time display editor" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/emacs/emacs.html" -license=('GPL3') -depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'gtk2' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib') -makedepends=('bzr') -install=emacs.install -source=(emacs.desktop) -md5sums=() - -_bzrtrunk=bzr://bzr.savannah.gnu.org/emacs/trunk -_bzrmod=$pkgname - -build() { - cd "$srcdir" - msg "Connecting to Bazaar server...." - - if [[ -d "$_bzrmod" ]]; then - cd "$_bzrmod" && bzr --no-plugins pull "$_bzrtrunk" -v -r "$pkgver" 2>&1 - msg "The local files are updated." - else - bzr --no-plugins branch "$_bzrtrunk" "$_bzrmod" -v -r "$pkgver" 2>&1 - fi - - msg "Bazaar checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_bzrmod-$_majorver" - cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-$_majorver" - - cd "$srcdir"/$pkgname-$_majorver - ./autogen.sh - ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ - --localstatedir=/var --with-x-toolkit=gtk --with-xft - make -} - -package() { - provides=("emacs=${_majorver}a") - - cd "$srcdir"/$pkgname-$_majorver - make DESTDIR="$pkgdir" install - - # remove conflict with ctags package - mv "$pkgdir"/usr/bin/{ctags,ctags.emacs} - mv "$pkgdir"/usr/share/man/man1/{ctags,ctags.emacs}.1.gz - # fix all the 777 perms on directories - find "$pkgdir"/usr/share/emacs/$_majorver -type d -exec chmod 755 {} \; - # fix user/root permissions on usr/share files - find "$pkgdir"/usr/share/emacs/$_majorver -exec chown root:root {} \; - # fix perms on /var/games - chmod 775 "$pkgdir"/var/games - chmod 775 "$pkgdir"/var/games/emacs - chmod 664 "$pkgdir"/var/games/emacs/* - chown -R root:games "$pkgdir"/var/games - - # fix FS#9253 - mkdir -p "$pkgdir"/usr/share/pixmaps - ln -s $pkgdir../emacs/$_majorver/etc/images/icons/hicolor/48x48/apps/emacs.png "$pkgdir"/usr/share/pixmaps/emacs-icon.png - - # This is done down here to help future-proof the above - rm "$pkgdir"/usr/bin/emacs - mv "$pkgdir"/usr/share/man/man1/emacs{,-$_majorver}.1.gz - for prog in ctags.emacs ebrowse emacsclient etags grep-changelog rcs-checkin; do - mv "$pkgdir"/usr/bin/$prog{,-$_majorver} - mv "$pkgdir"/usr/share/man/man1/$prog{,-24}.1.gz - done - mv "$pkgdir"/usr/share/applications/emacs{,24}.desktop - mv "$pkgdir"/usr/share/emacs/site-lisp/subdirs{,.emacs24}.el - rm "$pkgdir"/usr/share/info/dir - for file in "$pkgdir"/usr/share/pixmaps/emacs-icon.png `find "$pkgdir"/usr/share/{icons,info} -type f`; do - mv "$file" "`echo "$file"|sed 's/\..*/-24&/'`" - done - ln -s "$_majorver" "$pkgdir"/usr/share/emacs/24 - rm "$pkgdir"/var/games/emacs/* -} - -md5sums=('bc513345deb65f0e910f43c1a74072de') diff --git a/~lukeshu/emacs24/emacs.desktop b/~lukeshu/emacs24/emacs.desktop deleted file mode 100644 index 1b18fd46c..000000000 --- a/~lukeshu/emacs24/emacs.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Name=Emacs Text Editor -Name[de]=Emacs Texteditor -GenericName=Text Editor -Comment=Edit text -MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; -Exec=emacs24 %f -Icon=emacs-icon -Type=Application -Terminal=false -Categories=Development;TextEditor; -StartupWMClass=Emacs diff --git a/~lukeshu/freeglut26/2.6.0-GFX_radeon.patch b/~lukeshu/freeglut26/2.6.0-GFX_radeon.patch new file mode 100755 index 000000000..8806fe849 --- /dev/null +++ b/~lukeshu/freeglut26/2.6.0-GFX_radeon.patch @@ -0,0 +1,28 @@ +Index: src/freeglut_window.c +=================================================================== +--- src/freeglut_window.c (Revision 832) ++++ src/freeglut_window.c (Arbeitskopie) +@@ -594,10 +594,9 @@ + #if TARGET_HOST_POSIX_X11 + if ( window ) + { +- glXMakeContextCurrent( ++ glXMakeCurrent( + fgDisplay.Display, + window->Window.Handle, +- window->Window.Handle, + window->Window.Context + ); + +@@ -932,10 +932,9 @@ + XSetWMProtocols( fgDisplay.Display, window->Window.Handle, + &fgDisplay.DeleteWindow, 1 ); + +- glXMakeContextCurrent( ++ glXMakeCurrent( + fgDisplay.Display, + window->Window.Handle, +- window->Window.Handle, + window->Window.Context + ); + diff --git a/~lukeshu/freeglut26/PKGBUILD b/~lukeshu/freeglut26/PKGBUILD new file mode 100755 index 000000000..25569e60d --- /dev/null +++ b/~lukeshu/freeglut26/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (Arch): Eric Belanger <eric@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +_pkgname=freeglut +pkgname=freeglut26 +pkgver=2.6.0 +pkgrel=2 +pkgdesc="Provides functionality for small OpenGL programs" +arch=('i686' 'x86_64') +url="http://freeglut.sourceforge.net/" +license=('MIT') +depends=('libxxf86vm' 'mesa' 'libxi') +replaces=('glut') +provides=('glut') +conflicts=('glut') +provides+=("$_pkgname=$pkgver") +options=('!libtool') +source=(http://downloads.sourceforge.net/freeglut/${_pkgname}-${pkgver}.tar.gz \ + 2.6.0-GFX_radeon.patch) +md5sums=('39f0f2de89f399529d2b981188082218' '6d0a018fe4f0bc9ace2b244ca59514d3') +sha1sums=('68306c4486c13d005a4e4d54035e0c0b1bdc220b' '2e392c7d0b60016ec89e6a5edf504f5722351b95') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + # fixes an issue with the radeon[hd] ATI opensource drivers + # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163 + patch -p0 -i "${srcdir}/2.6.0-GFX_radeon.patch" + + ./autogen.sh + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" +} diff --git a/~lukeshu/git-svn-abandon-git/PKGBUILD b/~lukeshu/git-svn-abandon-git/PKGBUILD index fe9f9990c..fe9f9990c 100644..100755 --- a/~lukeshu/git-svn-abandon-git/PKGBUILD +++ b/~lukeshu/git-svn-abandon-git/PKGBUILD diff --git a/~lukeshu/kdeutils-ark-unarchiver/PKGBUILD b/~lukeshu/kdeutils-ark-unarchiver/PKGBUILD index b016b15bf..b016b15bf 100644..100755 --- a/~lukeshu/kdeutils-ark-unarchiver/PKGBUILD +++ b/~lukeshu/kdeutils-ark-unarchiver/PKGBUILD diff --git a/~lukeshu/kdeutils-ark-unarchiver/add-ark-cliunarchiverplugin.patch b/~lukeshu/kdeutils-ark-unarchiver/add-ark-cliunarchiverplugin.patch index 039d725b4..039d725b4 100644..100755 --- a/~lukeshu/kdeutils-ark-unarchiver/add-ark-cliunarchiverplugin.patch +++ b/~lukeshu/kdeutils-ark-unarchiver/add-ark-cliunarchiverplugin.patch diff --git a/~lukeshu/kdeutils-ark-unarchiver/kdeutils.install b/~lukeshu/kdeutils-ark-unarchiver/kdeutils.install index e70c054ec..e70c054ec 100644..100755 --- a/~lukeshu/kdeutils-ark-unarchiver/kdeutils.install +++ b/~lukeshu/kdeutils-ark-unarchiver/kdeutils.install diff --git a/~lukeshu/libdwarf/PKGBUILD b/~lukeshu/libdwarf/PKGBUILD new file mode 100755 index 000000000..591b92633 --- /dev/null +++ b/~lukeshu/libdwarf/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Marti Raudsepp <marti@juffo.org> + +pkgname=libdwarf +pkgver=20111214 +pkgrel=1 +pkgdesc="Static library for handling DWARF Debugging Information Format" +arch=(i686 x86_64) +license=('GPL' 'LGPL') +url="http://reality.sgiweb.org/davea/dwarf.html" +depends=('elfutils' 'gcc-libs') +makedepends=('libelf') +source=(http://reality.sgiweb.org/davea/$pkgname-$pkgver.tar.gz) + +build() { + cd $srcdir/dwarf-$pkgver/libdwarf + ./configure + make + + # dwarfdump + cd $srcdir/dwarf-$pkgver/dwarfdump2 + ./configure --prefix=/usr CFLAGS=-I../libdwarf CXXFLAGS=-I../libdwarf LDFLAGS=-L../libdwarf + # disable parallelization; -j5 build fails ~20% of the time on my machine + make -j1 +} + +package() { + cd $srcdir/dwarf-$pkgver/libdwarf + + install -d $pkgdir/usr/lib + install -m 644 libdwarf.a $pkgdir/usr/lib + + install -d $pkgdir/usr/include/libdwarf + install dwarf.h libdwarf.h $pkgdir/usr/include/libdwarf + + install -dm 755 $pkgdir/usr/share/doc/$pkgname + install README NEWS *.pdf $pkgdir/usr/share/doc/$pkgname + + # dwarfdump + cd $srcdir/dwarf-$pkgver/dwarfdump2 + install -Dm755 dwarfdump $pkgdir/usr/bin/dwarfdump + install -Dm644 dwarfdump.1 $pkgdir/usr/share/man/man1/dwarfdump.1 + install -Dm644 dwarfdump.conf $pkgdir/usr/lib/dwarfdump.conf +} +md5sums=('573b49b94e38a0e65ff337768f003d33') diff --git a/~lukeshu/libfreenect-git/PKGBUILD b/~lukeshu/libfreenect-git/PKGBUILD index edc9e7483..edc9e7483 100644..100755 --- a/~lukeshu/libfreenect-git/PKGBUILD +++ b/~lukeshu/libfreenect-git/PKGBUILD diff --git a/~lukeshu/maildirproc/PKGBUILD b/~lukeshu/maildirproc/PKGBUILD index 9197fc6e3..9197fc6e3 100644..100755 --- a/~lukeshu/maildirproc/PKGBUILD +++ b/~lukeshu/maildirproc/PKGBUILD diff --git a/~lukeshu/make-graph/PKGBUILD b/~lukeshu/make-graph/PKGBUILD index f7f7cd0b1..0d9320f69 100644..100755 --- a/~lukeshu/make-graph/PKGBUILD +++ b/~lukeshu/make-graph/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 138004 2011-09-14 05:05:12Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> +# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (Arch): Allan McRae <allan@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> _pkgname=make pkgname=$_pkgname-graph pkgver=3.82 -pkgrel=4.1 +pkgrel=4.2 provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") pkgdesc="GNU make utility to maintain groups of programs, with patch to dump a Graphviz dependency graph." arch=('i686' 'x86_64') url="http://www.gnu.org/software/make" license=('GPL3') -groups=('base-devel') +#groups=('base-devel') depends=('glibc' 'sh') install=$_pkgname.install source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2 diff --git a/~lukeshu/make-graph/bug30612.patch b/~lukeshu/make-graph/bug30612.patch index fb843bcd9..fb843bcd9 100644..100755 --- a/~lukeshu/make-graph/bug30612.patch +++ b/~lukeshu/make-graph/bug30612.patch diff --git a/~lukeshu/make-graph/bug30723.patch b/~lukeshu/make-graph/bug30723.patch index 84e7ebe7a..84e7ebe7a 100644..100755 --- a/~lukeshu/make-graph/bug30723.patch +++ b/~lukeshu/make-graph/bug30723.patch diff --git a/~lukeshu/make-graph/make-3.82-makeflags.patch b/~lukeshu/make-graph/make-3.82-makeflags.patch index 3cba3c402..3cba3c402 100644..100755 --- a/~lukeshu/make-graph/make-3.82-makeflags.patch +++ b/~lukeshu/make-graph/make-3.82-makeflags.patch diff --git a/~lukeshu/make-graph/make-3.82-sort-blank.patch b/~lukeshu/make-graph/make-3.82-sort-blank.patch index 2e73f5b7c..2e73f5b7c 100644..100755 --- a/~lukeshu/make-graph/make-3.82-sort-blank.patch +++ b/~lukeshu/make-graph/make-3.82-sort-blank.patch diff --git a/~lukeshu/make-graph/make-graph.patch b/~lukeshu/make-graph/make-graph.patch index 083db55e4..083db55e4 100644..100755 --- a/~lukeshu/make-graph/make-graph.patch +++ b/~lukeshu/make-graph/make-graph.patch diff --git a/~lukeshu/make-graph/make.install b/~lukeshu/make-graph/make.install index 6cf8b0dc4..6cf8b0dc4 100644..100755 --- a/~lukeshu/make-graph/make.install +++ b/~lukeshu/make-graph/make.install diff --git a/~lukeshu/md/PKGBUILD b/~lukeshu/md/PKGBUILD new file mode 100644 index 000000000..7f74aaa2c --- /dev/null +++ b/~lukeshu/md/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=("md" "emacs-mdmua") +pkgver=0.81 +pkgrel=4 +arch=('any') +url="https://github.com/nicferrier/$_pkgname" +license=('GPL3') + +makedepends=(python-distribute) + +#__gitbranch=1d69744 # This is the commit that is 0.81 +__gitbranch=455b6b4 # this is currently HEAD (has bugfixes) +source=("nicferrier-md-${__gitbranch}.tar.gz::https://github.com/nicferrier/$pkgname/tarball/${__gitbranch}") + +build() { + cd "${srcdir}/nicferrier-md-${__gitbranch}" + + # fix typo + sed -i 's/pyprofyfs/pyproxyfs/' setup.py +} + +package_md() { + pkgdesc="A maildir client and library." + depends=('python' 'python-pyproxyfs') + + cd "${srcdir}/nicferrier-md-${__gitbranch}" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +package_emacs-mdmua() { + pkgdesc="An Emacs mail user agent (MUA) build around md." + pkgver='0.72' + depends=("md=0.81" 'emacs>=24') + + cd "${srcdir}/nicferrier-md-${__gitbranch}" + cd useragents/emacs + install -d ${pkgdir}/usr/share/emacs/site-lisp + install -m 644 *.el ${pkgdir}/usr/share/emacs/site-lisp +} + +md5sums=('452727348df2f51d7eddade709aceb1c') diff --git a/~lukeshu/not-working/codeanalyst/PKGBUILD b/~lukeshu/not-working/codeanalyst/PKGBUILD new file mode 100755 index 000000000..885e06f0e --- /dev/null +++ b/~lukeshu/not-working/codeanalyst/PKGBUILD @@ -0,0 +1,91 @@ +# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (AUR): Felipe Bugno <capent@yahoo.com> + +# A note about the oprofile fork: +# The docs claim that the fork is just for adding support for +# processors that aren't upstream yet (at the time, they are now that +# 0.9.7 is out). So, shouldn't we just link against 0.9.7? Well: +# * AMD also added a bunch of CodeAnalyst-specific code. +# * Several external variables/types have different names; the API is +# incompatible. +# * [extra]/oprofile-0.9.7-3 only includes about half of the headers. + +pkgbase=CodeAnalyst +pkgname=(codeanalyst codeanalyst-cakm) +pkgver=3.3.18.0361 +_pkgver="${pkgver//./_}" +pkgrel=4.1 +pkgdesc="AMD performance profiler. Includes a fork of oprofile." +url="http://developer.amd.com/tools/${pkgbase}/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gcc' 'qt>=4.1' 'libdwarf') +makedepends=('linux-headers' 'elfutils' 'findutils' 'file') +options=('!strip') +install=codeanalyst.install +source=("http://download2-developer.amd.com/amd/${pkgbase}/${pkgbase}${_pkgver}Public.tar.gz" + 'gcc47.patch' + 'skipSetup.patch' + 'kernel3.4.patch' + 'codeanalyst.sudo' + 'codeanalyst.desktop' + 'codeanalyst.svg') + +build() { + build_codeanalyst + build_codeanalyst-cakm +} + +build_codeanalyst() { + cd "${srcdir}/${pkgbase}-${_pkgver}-Public" + patch -Np1 -i "${srcdir}/gcc47.patch" + patch -Np1 -i "${srcdir}/skipSetup.patch" + rm -rf src/dwarf-* # easiest way to ensure using the system install + + ./autogen.sh + ./configure --prefix=/usr \ + --with-libdwarf-includes=/usr/include/libdwarf \ + --with-libdwarf-libraries=/usr/lib + make +} + +build_codeanalyst-cakm() { + cd "${srcdir}/${pkgbase}-${_pkgver}-Public"/src/cakm + cp -r kernel2.6.38 kernel3.4 + cd kernel3.4 + patch -Np1 -i "${srcdir}/kernel3.4.patch" + make +} + +package_codeanalyst() { + provides=('oprofile=0.9.6cvs') + conflicts=('oprofile') + + cd "${srcdir}/${pkgbase}-${_pkgver}-Public" + make DESTDIR="${pkgdir}" install + rm -f "${pkgdir}/usr/sbin/ca_user_manager" # either codeanalyst.install does this, or it is trivial + + find "${pkgdir}"/usr/{bin,sbin} -type f -exec file '{}' +|sed -n 's/:\s*ELF .*//p'|xargs strip + + cd "${srcdir}" + install -D -m644 codeanalyst.sudo "${pkgdir}/etc/sudoers.d/codeanalyst" + install -D -m644 codeanalyst.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/codeanalyst.svg" + install -D -m644 codeanalyst.desktop "${pkgdir}/usr/share/applications/codeanalyst.desktop" +} + +package_codeanalyst-cakm() { + pkgdesc="CodeAnalyst kernel module, oprofile-ca.ko, a replacement for oprofile.ko" + depends=(codeanalyst) + provides=() + + cd "${srcdir}/${pkgbase}-${_pkgver}-Public"/src/cakm/kernel3.4 + install -D -m644 oprofile.ko "${pkgdir}/lib/modules/`uname -r`/kernel/arch/x86/oprofile/oprofile-ca.ko" +} + +md5sums=('f1e29bc7c7da259df228ce59281ee1d7' + '063d0fc9680641a92ce5e310ffe1c9c0' + 'ce549e59c4a5916fd19e8d085e863627' + '3a5d820a43a0360d561bb0c4d67d9735' + '3cc8f64fe84c5a886d0172ee8d99f690' + '3a18d3f7fb01f199a8ed5ae2908c18e4' + '1822a4157b82904b82e72fc1e9bcbd42') diff --git a/~lukeshu/not-working/codeanalyst/codeanalyst.desktop b/~lukeshu/not-working/codeanalyst/codeanalyst.desktop new file mode 100755 index 000000000..56d54f884 --- /dev/null +++ b/~lukeshu/not-working/codeanalyst/codeanalyst.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=AMD CodeAnalyst +Comment=AMD profiler and performance analyzer +Exec=/usr/bin/CodeAnalyst +Icon=codeanalyst +Terminal=false +Encoding=UTF-8 +Type=Application +Categories=Development; diff --git a/~lukeshu/not-working/codeanalyst/codeanalyst.install b/~lukeshu/not-working/codeanalyst/codeanalyst.install new file mode 100755 index 000000000..6ed1ac841 --- /dev/null +++ b/~lukeshu/not-working/codeanalyst/codeanalyst.install @@ -0,0 +1,29 @@ +post_install() { + getent group amdca &>/dev/null || groupadd amdca &>/dev/null + echo " ==> To use CodeAnalyst as non-root, you must be in the 'amdca' group" + echo " ie: gpasswd -a USERNAME amdca" + + chown root:amdca /usr/bin/calog_report + chown root:amdca /usr/bin/capackage.sh + chown root:amdca /usr/bin/careport.sh + chown root:amdca /usr/bin/cgreport + chown root:amdca /usr/bin/CodeAnalyst + chown root:amdca /usr/bin/opannotate + chown root:amdca /usr/bin/oparchive + chown root:amdca /usr/bin/opcontrol + chown root:amdca /usr/bin/opgprof + chown root:amdca /usr/bin/ophelp + chown root:amdca /usr/bin/opimport + chown root:amdca /usr/bin/opjitconv + chown root:amdca /usr/bin/opreport + chown root:amdca /usr/bin/oprofiled + chown root:amdca /usr/sbin/ca_oprofile_controller + #chown root:amdca /usr/sbin/ca_user_manager + + update-desktop-database -q +} + +post_remove() { + getent group amdca &>/dev/null && groupdel amdca &>/dev/null + update-desktop-database -q +} diff --git a/~lukeshu/not-working/codeanalyst/codeanalyst.sudo b/~lukeshu/not-working/codeanalyst/codeanalyst.sudo new file mode 100755 index 000000000..1c3173bdb --- /dev/null +++ b/~lukeshu/not-working/codeanalyst/codeanalyst.sudo @@ -0,0 +1 @@ +%amdca ALL= NOPASSWD: /usr/sbin/ca_oprofile_controller diff --git a/~lukeshu/not-working/codeanalyst/codeanalyst.svg b/~lukeshu/not-working/codeanalyst/codeanalyst.svg new file mode 100755 index 000000000..8febf725b --- /dev/null +++ b/~lukeshu/not-working/codeanalyst/codeanalyst.svg @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + id="Layer_1" + width="286.95001" + height="286.95001" + viewBox="0 0 286.95063 286.95" + overflow="visible" + enable-background="new 0 0 1368.987 286.954" + xml:space="preserve" + inkscape:version="0.48.3.1 r9886" + sodipodi:docname="AMD_Logo.svg" + style="overflow:visible"><metadata + id="metadata17"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs + id="defs15" /><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1920" + inkscape:window-height="1028" + id="namedview13" + showgrid="false" + inkscape:zoom="2.11" + inkscape:cx="163.32315" + inkscape:cy="145.21584" + inkscape:window-x="-4" + inkscape:window-y="-3" + inkscape:window-maximized="1" + inkscape:current-layer="Layer_1" /> +<polyline + points="1165.47,92.779 1165.39,203.495 1281.63,203.513 1198.44,286.826 1081.79,286.954 1080.38,176.065 1165.47,92.779" + id="polyline3" + style="fill:#009a66" + transform="translate(-1082.0371,1.8496035e-4)" /> +<polyline + points="1165.39,84.082 1285.07,83.854 1284.83,202.972 1368.99,286.954 1368.75,0.12 1081.79,0 1165.39,84.082" + id="polyline5" + style="fill:#009a66" + transform="translate(-1082.0371,1.8496035e-4)" /> + + + +</svg>
\ No newline at end of file diff --git a/~lukeshu/not-working/codeanalyst/gcc47.patch b/~lukeshu/not-working/codeanalyst/gcc47.patch new file mode 100755 index 000000000..dfec4a0c4 --- /dev/null +++ b/~lukeshu/not-working/codeanalyst/gcc47.patch @@ -0,0 +1,72 @@ +diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/cg/Makefile.am CodeAnalyst-3_3_18_0361-Public/src/ca/cg/Makefile.am +*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/cg/Makefile.am 2012-04-13 02:41:43.000000000 -0300 +--- CodeAnalyst-3_3_18_0361-Public/src/ca/cg/Makefile.am 2012-04-22 17:55:01.227439003 -0300 +*************** +*** 25,31 **** + cgcvt.cpp + + +! cgreport_LDFLAGS = -Wl -fPIC @QT_LDFLAGS@ + + AM_CPPFLAGS= $(INCLUDES) $(more_flags) \ + $(FLAG64) -Wno-unused -Wno-parentheses \ +--- 25,31 ---- + cgcvt.cpp + + +! cgreport_LDFLAGS = -fPIC @QT_LDFLAGS@ + + AM_CPPFLAGS= $(INCLUDES) $(more_flags) \ + $(FLAG64) -Wno-unused -Wno-parentheses \ +diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/gui/MonitorDockView.cpp CodeAnalyst-3_3_18_0361-Public/src/ca/gui/MonitorDockView.cpp +*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/gui/MonitorDockView.cpp 2012-04-13 02:41:43.000000000 -0300 +--- CodeAnalyst-3_3_18_0361-Public/src/ca/gui/MonitorDockView.cpp 2012-04-22 17:38:14.884058192 -0300 +*************** +*** 17,22 **** +--- 17,23 ---- + */ + + #include <qtooltip.h> ++ #include <unistd.h> + + #include "MonitorDockView.h" + +diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/libs/libca/dwarfengine.cpp CodeAnalyst-3_3_18_0361-Public/src/ca/libs/libca/dwarfengine.cpp +*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/libs/libca/dwarfengine.cpp 2012-04-13 02:41:43.000000000 -0300 +--- CodeAnalyst-3_3_18_0361-Public/src/ca/libs/libca/dwarfengine.cpp 2012-04-22 17:34:45.670714989 -0300 +*************** +*** 21,26 **** +--- 21,27 ---- + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> ++ #include <unistd.h> + + #include "dwarfengine.h" + #define DWARF_DEBUG 0 +diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/libs/libopdata/opdata_handler.cpp CodeAnalyst-3_3_18_0361-Public/src/ca/libs/libopdata/opdata_handler.cpp +*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/libs/libopdata/opdata_handler.cpp 2012-04-13 02:41:43.000000000 -0300 +--- CodeAnalyst-3_3_18_0361-Public/src/ca/libs/libopdata/opdata_handler.cpp 2012-04-22 17:32:30.780708624 -0300 +*************** +*** 29,34 **** +--- 29,35 ---- + #include <sys/stat.h> + #include <fcntl.h> + #include <time.h> ++ #include <unistd.h> + + // CodeAnalyst headers + #include "CaProfileWriter.h" +diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca_agent/libCAagent/slock.cpp CodeAnalyst-3_3_18_0361-Public/src/ca_agent/libCAagent/slock.cpp +*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca_agent/libCAagent/slock.cpp 2012-04-13 02:41:43.000000000 -0300 +--- CodeAnalyst-3_3_18_0361-Public/src/ca_agent/libCAagent/slock.cpp 2012-04-22 17:26:58.424026278 -0300 +*************** +*** 13,18 **** +--- 13,19 ---- + #include <sys/ipc.h> + #include <sys/sem.h> + #include <sys/stat.h> ++ #include <unistd.h> + + #include "slock.h" + #include "smm.h" diff --git a/~lukeshu/not-working/codeanalyst/kernel3.4.patch b/~lukeshu/not-working/codeanalyst/kernel3.4.patch new file mode 100644 index 000000000..589abc800 --- /dev/null +++ b/~lukeshu/not-working/codeanalyst/kernel3.4.patch @@ -0,0 +1,72 @@ +diff -ru kernel2.6.38/Makefile kernel3.4/Makefile +--- kernel2.6.38/Makefile 2012-04-13 01:41:43.000000000 -0400 ++++ kernel3.4/Makefile 2012-07-11 11:32:27.000000000 -0400 +@@ -1,6 +1,6 @@ + TARGET = oprofile.ko + +-MDIR = $(if $(shell uname -m | grep x86_64),arch/x86/oprofile,arch/x86/oprofile) ++MDIR = arch/x86/oprofile + + DRIVER_OBJS = oprof.o cpu_buffer.o buffer_sync.o \ + event_buffer.o oprofile_files.o \ +@@ -16,7 +16,8 @@ + CURRENT = $(shell uname -r) + ARCH = $(if $(shell uname -m | grep x86_64),64,32) + KERN_ARCH = $(if $(shell uname -m | grep x86_64),x86_64,i386) +-KDIR = /lib/modules/$(CURRENT)/build ++SYS_KDIR = /lib/modules/$(CURRENT)/build ++KDIR = $(PWD)/../build + PWD = $(shell pwd) + DEST = /lib/modules/$(CURRENT)/kernel/$(MDIR) + USE_INTERNAL_ERRATA = $(if $(shell ls ../internal/errata.h 2> /dev/null),1,0) +@@ -39,6 +40,8 @@ + all: default + + default: ++ rm -rf $(KDIR) ++ cp -r $(SYS_KDIR)/ $(KDIR) + make -C $(KDIR) SUBDIRS=$(PWD) CFLAGS_MODULE+="-DMODULE -DUSE_INTERNAL_ERRATA=$(USE_INTERNAL_ERRATA)" modules ARCH=$(KERN_ARCH) + + install: +@@ -52,13 +55,12 @@ + + uninstall: + @echo "... Restore original oprofile.ko." +- @mv -v $(DEST)/$(TARGET).orig $(DEST)/$(TARGET) ++ @mv -v $(DEST)/$(TARGET).orig $(DEST)/$(TARGET) + + clean: + rm -f *.o oprofile.ko .*.cmd .*.flags *.mod.c + + prebuild: + cp $(TARGET) ../prebuilds/$(CURRENT)_$(ARCH).ko +- + +--include $(KDIR)/Rules.make ++-include $(SYS_KDIR)/Rules.make +Only in kernel3.4/: modules.order +Only in kernel3.4/: Module.symvers +diff -ru kernel2.6.38/nmi_int.c kernel3.4/nmi_int.c +--- kernel2.6.38/nmi_int.c 2012-04-13 01:41:43.000000000 -0400 ++++ kernel3.4/nmi_int.c 2012-07-11 11:32:27.000000000 -0400 +@@ -16,7 +16,6 @@ + #include <linux/notifier.h> + #include <linux/smp.h> + #include "oprofile.h" +-#include <linux/sysdev.h> + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) + #include <linux/syscore_ops.h> + #endif +diff -ru kernel2.6.38/oprofilefs.c kernel3.4/oprofilefs.c +--- kernel2.6.38/oprofilefs.c 2012-04-13 01:41:43.000000000 -0400 ++++ kernel3.4/oprofilefs.c 2012-07-11 11:32:27.000000000 -0400 +@@ -244,7 +244,7 @@ + return -ENOMEM; + root_inode->i_op = &simple_dir_inode_operations; + root_inode->i_fop = &simple_dir_operations; +- root_dentry = d_alloc_root(root_inode); ++ root_dentry = d_make_root(root_inode); + if (!root_dentry) { + iput(root_inode); + return -ENOMEM; +Only in kernel3.4/: .tmp_versions diff --git a/~lukeshu/not-working/codeanalyst/skipSetup.patch b/~lukeshu/not-working/codeanalyst/skipSetup.patch new file mode 100755 index 000000000..fdc9bf42f --- /dev/null +++ b/~lukeshu/not-working/codeanalyst/skipSetup.patch @@ -0,0 +1,68 @@ +diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/Makefile.am CodeAnalyst-3_3_18_0361-Public/src/ca/Makefile.am +*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/Makefile.am 2012-04-13 02:41:43.000000000 -0300 +--- CodeAnalyst-3_3_18_0361-Public/src/ca/Makefile.am 2012-04-22 20:44:07.437917684 -0300 +*************** +*** 8,19 **** + # FIXME [3.0] diffgui \ + # $(CA_RELEASE_TYPE) + +! install-exec-hook: +! @if test -e "scripts/Setup.sh"; then \ +! scripts/Setup.sh $(DESTDIR)$(prefix); \ +! fi + +! uninstall-hook: +! @if test -e "scripts/Uninstall.sh"; then \ +! scripts/Uninstall.sh $(DESTDIR)$(prefix);\ +! fi +--- 8,19 ---- + # FIXME [3.0] diffgui \ + # $(CA_RELEASE_TYPE) + +! #install-exec-hook: +! # @if test -e "scripts/Setup.sh"; then \ +! # scripts/Setup.sh $(DESTDIR)$(prefix); \ +! # fi + +! #uninstall-hook: +! # @if test -e "scripts/Uninstall.sh"; then \ +! # scripts/Uninstall.sh $(DESTDIR)$(prefix);\ +! # fi +diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca_agent/jvmpi/Makefile.am CodeAnalyst-3_3_18_0361-Public/src/ca_agent/jvmpi/Makefile.am +*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca_agent/jvmpi/Makefile.am 2012-04-13 02:41:43.000000000 -0300 +--- CodeAnalyst-3_3_18_0361-Public/src/ca_agent/jvmpi/Makefile.am 2012-04-22 20:47:21.604593511 -0300 +*************** +*** 15,20 **** + libCAJVMPIA_so_SOURCES = \ + jpa.cpp + +! install-exec-hook: +! @/sbin/ldconfig + +--- 15,20 ---- + libCAJVMPIA_so_SOURCES = \ + jpa.cpp + +! #install-exec-hook: +! # @/sbin/ldconfig + +diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/Makefile.am CodeAnalyst-3_3_18_0361-Public/src/Makefile.am +*** CodeAnalyst-3_3_18_0361-Public.orig/src/Makefile.am 2012-04-13 02:41:43.000000000 -0300 +--- CodeAnalyst-3_3_18_0361-Public/src/Makefile.am 2012-04-22 20:44:57.674586720 -0300 +*************** +*** 8,21 **** + install-exec-hook: + @if test -e "${LIBDWARF_DIR}libdwarf.so"; then \ + install -pD -m 755 ${LIBDWARF_DIR}libdwarf.so $(DESTDIR)$(prefix)/lib/libdwarf.so ; \ +- /sbin/ldconfig ;\ + fi + + uninstall-hook: + @if test -e "${LIBDWARF_DIR}libdwarf.so"; then \ + if test -e "$(DESTDIR)$(prefix)/lib/libdwarf.so"; then \ + rm -f $(DESTDIR)$(prefix)/lib/libdwarf.so ; \ +- /sbin/ldconfig ; \ + fi ; \ + fi + +--- 8,19 ---- diff --git a/~lukeshu/openni-all/openni-git/PKGBUILD b/~lukeshu/openni-all/openni-git/PKGBUILD index 7ac6abb87..7ac6abb87 100644..100755 --- a/~lukeshu/openni-all/openni-git/PKGBUILD +++ b/~lukeshu/openni-all/openni-git/PKGBUILD diff --git a/~lukeshu/openni-all/openni-git/openni.install b/~lukeshu/openni-all/openni-git/openni.install index 8470f4512..8470f4512 100644..100755 --- a/~lukeshu/openni-all/openni-git/openni.install +++ b/~lukeshu/openni-all/openni-git/openni.install diff --git a/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD b/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD index 0ebfac2e5..0ebfac2e5 100644..100755 --- a/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD +++ b/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD diff --git a/~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD b/~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD index 2a2abbdc5..2a2abbdc5 100644..100755 --- a/~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD +++ b/~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD diff --git a/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install b/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install index d62d263d1..d62d263d1 100644..100755 --- a/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install +++ b/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install diff --git a/~lukeshu/openni-all/openni-unstable-git/PKGBUILD b/~lukeshu/openni-all/openni-unstable-git/PKGBUILD index 07f276b02..07f276b02 100644..100755 --- a/~lukeshu/openni-all/openni-unstable-git/PKGBUILD +++ b/~lukeshu/openni-all/openni-unstable-git/PKGBUILD diff --git a/~lukeshu/openni-all/openni-unstable-git/openni.install b/~lukeshu/openni-all/openni-unstable-git/openni.install index 8470f4512..8470f4512 100644..100755 --- a/~lukeshu/openni-all/openni-unstable-git/openni.install +++ b/~lukeshu/openni-all/openni-unstable-git/openni.install diff --git a/~lukeshu/openni-all/openni-unstable/PKGBUILD b/~lukeshu/openni-all/openni-unstable/PKGBUILD index 19d1575a1..19d1575a1 100644..100755 --- a/~lukeshu/openni-all/openni-unstable/PKGBUILD +++ b/~lukeshu/openni-all/openni-unstable/PKGBUILD diff --git a/~lukeshu/openni-all/openni-unstable/openni-core.install b/~lukeshu/openni-all/openni-unstable/openni-core.install index 8470f4512..8470f4512 100644..100755 --- a/~lukeshu/openni-all/openni-unstable/openni-core.install +++ b/~lukeshu/openni-all/openni-unstable/openni-core.install diff --git a/~lukeshu/openni-all/openni-unstable/openni-mono.install b/~lukeshu/openni-all/openni-unstable/openni-mono.install index 72a6fb23d..72a6fb23d 100644..100755 --- a/~lukeshu/openni-all/openni-unstable/openni-mono.install +++ b/~lukeshu/openni-all/openni-unstable/openni-mono.install diff --git a/~lukeshu/openni-all/openni/PKGBUILD b/~lukeshu/openni-all/openni/PKGBUILD index 2cdc2fd7d..2cdc2fd7d 100644..100755 --- a/~lukeshu/openni-all/openni/PKGBUILD +++ b/~lukeshu/openni-all/openni/PKGBUILD diff --git a/~lukeshu/openni-all/openni/openni.install b/~lukeshu/openni-all/openni/openni.install index 8470f4512..8470f4512 100644..100755 --- a/~lukeshu/openni-all/openni/openni.install +++ b/~lukeshu/openni-all/openni/openni.install diff --git a/~lukeshu/pacman-vcsget/PKGBUILD b/~lukeshu/pacman-vcsget/PKGBUILD new file mode 100644 index 000000000..c23eabd3a --- /dev/null +++ b/~lukeshu/pacman-vcsget/PKGBUILD @@ -0,0 +1,100 @@ +# vim: set ts=2 sw=2 et: +# $Id: PKGBUILD 150148 2012-02-13 14:49:35Z dreisner $ +# Maintainer: Dan McGee <dan@archlinux.org> +# Maintainer: Dave Reisner <dave@archlinux.org> + +_pkgname=pacman +_basepath=parabola-pacman +pkgname=$_pkgname-vcsget +_relver=4.0.3 +#_gitver=f8fc16f +_gitver=6082ed9d +pkgver=${_relver}.git +provides=($_pkgname=$pkgver) +replaces=($_pkgname pacman-lukeshu) +conflicts=($_pkgname pacman-lukeshu) + +pkgrel=1 + +pkgdesc="A library-based package manager with dependency support (with vcsget)" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.archlinux.org/pacman/" +license=('GPL') +#groups=('base') +depends=('bash' 'glibc>=2.15' 'libarchive>=3.0.2' 'curl>=7.19.4' + 'gpgme' 'pacman-mirrorlist' 'archlinux-keyring' 'parabola-keyring') +makedepends=('asciidoc') +optdepends=('fakeroot: for makepkg usage as normal user') +backup=(etc/pacman.conf etc/makepkg.conf) +install=pacman.install +options=(!libtool) +source=(${_basepath}-${_gitver}.tar.gz::http://gitorious.org/parabola/pacman/archive-tarball/${_gitver} + pacman.conf + pacman.conf.x86_64 + pacman.conf.mips64el + makepkg.conf) +md5sums=('8c328c8f148f283656309fd4e2103178' + '080d9f76f56e135cc62205874636aa0f' + 'ce9943fc8086d491890565e91ea1a0d8' + 'eb8dba9bd0b315230fbf0e5dc0a7335b' + 'debc512689a1aa8c124fe0ccf27f5758') + +build() { + cd $srcdir/$_basepath + + ./autogen.sh + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --enable-doc + make + make -C contrib +} + +check() { + make -C "$srcdir/$_basepath" check +} + +package() { + cd $srcdir/$_basepath + make DESTDIR=$pkgdir install + + # install Arch specific stuff + mkdir -p $pkgdir/etc + case "$CARCH" in + i686) + install -m644 $srcdir/pacman.conf $pkgdir/etc/pacman.conf + mycarch="i686" + mychost="i686-pc-linux-gnu" + myflags="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" + myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu" + ;; + x86_64) + install -m644 $srcdir/pacman.conf.x86_64 $pkgdir/etc/pacman.conf + mycarch="x86_64" + mychost="x86_64-unknown-linux-gnu" + myflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" + myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu" + ;; + mips64el) + install -m644 $srcdir/pacman.conf.mips64el $pkgdir/etc/pacman.conf + mycarch="mips64el" + mychost="mips64el-unknown-linux-gnu" + myflags="-O2 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" + myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro" + ;; + esac + install -m644 $srcdir/makepkg.conf $pkgdir/etc/ + # set things correctly in the default conf file + sed -i $pkgdir/etc/makepkg.conf \ + -e "s|@CARCH[@]|$mycarch|g" \ + -e "s|@CHOST[@]|$mychost|g" \ + -e "s|@LDFLAGS[@]|$myldflags|g" \ + -e "s|@CARCHFLAGS[@]|$myflags|g" + + # install completion files + install -Dm644 contrib/bash_completion "$pkgdir/usr/share/bash-completion/completions/pacman" + for f in makepkg pacman-key; do + ln -s pacman "$pkgdir/usr/share/bash-completion/completions/$f" + done + + install -Dm644 contrib/zsh_completion $pkgdir/usr/share/zsh/site-functions/_pacman +} diff --git a/~lukeshu/pacman-vcsget/PKGBUILD.orig b/~lukeshu/pacman-vcsget/PKGBUILD.orig new file mode 120000 index 000000000..448b40973 --- /dev/null +++ b/~lukeshu/pacman-vcsget/PKGBUILD.orig @@ -0,0 +1 @@ +../../libre/pacman/PKGBUILD
\ No newline at end of file diff --git a/~lukeshu/pacman-vcsget/makepkg.conf b/~lukeshu/pacman-vcsget/makepkg.conf new file mode 120000 index 000000000..2d1108635 --- /dev/null +++ b/~lukeshu/pacman-vcsget/makepkg.conf @@ -0,0 +1 @@ +../../libre/pacman/makepkg.conf
\ No newline at end of file diff --git a/~lukeshu/pacman-vcsget/pacman.conf b/~lukeshu/pacman-vcsget/pacman.conf new file mode 120000 index 000000000..c75a6eed0 --- /dev/null +++ b/~lukeshu/pacman-vcsget/pacman.conf @@ -0,0 +1 @@ +../../libre/pacman/pacman.conf
\ No newline at end of file diff --git a/~lukeshu/pacman-vcsget/pacman.conf.mips64el b/~lukeshu/pacman-vcsget/pacman.conf.mips64el new file mode 120000 index 000000000..01fb857d8 --- /dev/null +++ b/~lukeshu/pacman-vcsget/pacman.conf.mips64el @@ -0,0 +1 @@ +../../libre/pacman/pacman.conf.mips64el
\ No newline at end of file diff --git a/~lukeshu/pacman-vcsget/pacman.conf.x86_64 b/~lukeshu/pacman-vcsget/pacman.conf.x86_64 new file mode 120000 index 000000000..1be1966fd --- /dev/null +++ b/~lukeshu/pacman-vcsget/pacman.conf.x86_64 @@ -0,0 +1 @@ +../../libre/pacman/pacman.conf.x86_64
\ No newline at end of file diff --git a/~lukeshu/pacman-vcsget/pacman.install b/~lukeshu/pacman-vcsget/pacman.install new file mode 120000 index 000000000..0b1fee98c --- /dev/null +++ b/~lukeshu/pacman-vcsget/pacman.install @@ -0,0 +1 @@ +../../libre/pacman/pacman.install
\ No newline at end of file diff --git a/~lukeshu/pngcrush/LICENSE b/~lukeshu/pngcrush/LICENSE index 3412dd04e..3412dd04e 100644..100755 --- a/~lukeshu/pngcrush/LICENSE +++ b/~lukeshu/pngcrush/LICENSE diff --git a/~lukeshu/pngcrush/PKGBUILD b/~lukeshu/pngcrush/PKGBUILD index e3b477086..e3b477086 100644..100755 --- a/~lukeshu/pngcrush/PKGBUILD +++ b/~lukeshu/pngcrush/PKGBUILD diff --git a/~lukeshu/python-pyproxyfs/PKGBUILD b/~lukeshu/python-pyproxyfs/PKGBUILD new file mode 100644 index 000000000..b24c5682a --- /dev/null +++ b/~lukeshu/python-pyproxyfs/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +_pkgname=pyproxyfs +pkgname=python-$_pkgname +pkgver=0.8 +pkgrel=1 +pkgdesc="A proxy filesystem interface with a native filesystem implementation and a very simple test in-memory filesystem." +arch=('any') +url="https://github.com/nicferrier/$_pkgname" +license=('GPL3') +groups=() +depends=('python') +makedepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +install= +source=("http://pypi.python.org/packages/source/P/PyProxyFS/PyProxyFS-0.8.tar.gz") + +package() { + cd "${srcdir}/PyProxyFS-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +md5sums=('34f769e669877a9fdcfe5f8f93912b88') diff --git a/~lukeshu/redo/PKGBUILD b/~lukeshu/redo/PKGBUILD index fa9bdefc2..fa9bdefc2 100644..100755 --- a/~lukeshu/redo/PKGBUILD +++ b/~lukeshu/redo/PKGBUILD diff --git a/~lukeshu/stow/PKGBUILD b/~lukeshu/stow/PKGBUILD index 24a2dcb1c..24a2dcb1c 100644..100755 --- a/~lukeshu/stow/PKGBUILD +++ b/~lukeshu/stow/PKGBUILD diff --git a/~lukeshu/svn-graph-branches/PKGBUILD b/~lukeshu/svn-graph-branches/PKGBUILD index 63568e50c..63568e50c 100644..100755 --- a/~lukeshu/svn-graph-branches/PKGBUILD +++ b/~lukeshu/svn-graph-branches/PKGBUILD diff --git a/~lukeshu/terminal-colors/.gitignore b/~lukeshu/terminal-colors/.gitignore index 8ba0d861a..8ba0d861a 100644..100755 --- a/~lukeshu/terminal-colors/.gitignore +++ b/~lukeshu/terminal-colors/.gitignore diff --git a/~lukeshu/terminal-colors/PKGBUILD b/~lukeshu/terminal-colors/PKGBUILD index 662e5b5ef..662e5b5ef 100644..100755 --- a/~lukeshu/terminal-colors/PKGBUILD +++ b/~lukeshu/terminal-colors/PKGBUILD diff --git a/~lukeshu/thingutils-git/PKGBUILD b/~lukeshu/thingutils-git/PKGBUILD index d3d13925a..d3d13925a 100644..100755 --- a/~lukeshu/thingutils-git/PKGBUILD +++ b/~lukeshu/thingutils-git/PKGBUILD diff --git a/~lukeshu/wdiff/PKGBUILD b/~lukeshu/wdiff/PKGBUILD index 6092b3d76..6092b3d76 100644..100755 --- a/~lukeshu/wdiff/PKGBUILD +++ b/~lukeshu/wdiff/PKGBUILD diff --git a/~lukeshu/xcalib/PKGBUILD b/~lukeshu/xcalib/PKGBUILD new file mode 100644 index 000000000..e2e053f11 --- /dev/null +++ b/~lukeshu/xcalib/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com) +# adpoted from mOLOk since pkgver=0.7 + +pkgname=xcalib +pkgver=0.8 +pkgrel=4 +pkgdesc="A tiny monitor calibration loader for X.org" +arch=(i686 x86_64) +url="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/" +license=('GPL') +depends=(libxxf86vm) +source=(http://downloads.sourceforge.net/xcalib/xcalib-source-$pkgver.tar.gz + makefile-ldflags.patch) +md5sums=('1fbcae44ad8d754512fdd1e5f1b3a7e7' + '6c74457011515dd1cc7f2474af761142') + +build() { + cd "$srcdir/$pkgname-$pkgver/" + patch -p0 < ../makefile-ldflags.patch + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + install -Dm755 xcalib $pkgdir/usr/bin/xcalib + + for i in README *.icc *.icm; do + install -Dm644 $i $pkgdir/usr/share/xcalib/$i + done +} diff --git a/~lukeshu/xcalib/makefile-ldflags.patch b/~lukeshu/xcalib/makefile-ldflags.patch new file mode 100644 index 000000000..275c4c3ea --- /dev/null +++ b/~lukeshu/xcalib/makefile-ldflags.patch @@ -0,0 +1,22 @@ +--- Makefile 2007-08-26 23:30:34.000000000 +0200 ++++ Makefile.new 2012-08-20 10:50:27.000000000 +0200 +@@ -50,16 +50,16 @@ + # low overhead version (internal parser) + xcalib: xcalib.c + $(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" +- $(CC) $(CFLAGS) -L$(XLIBDIR) -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext ++ $(CC) $(LDFLAGS) -L$(XLIBDIR) -o xcalib xcalib.o -lX11 -lXxf86vm -lXext -lm + + fglrx_xcalib: xcalib.c + $(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" -I$(FGLRXINCLUDEDIR) -DFGLRX +- $(CC) $(CFLAGS) -L$(XLIBDIR) -L$(FGLRXLIBDIR) -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext -lfglrx_gamma ++ $(CC) $(LDFLAGS) -L$(XLIBDIR) -L$(FGLRXLIBDIR) -o xcalib xcalib.o -lX11 -lXxf86vm -lXext -lfglrx_gamma -lm + + win_xcalib: xcalib.c + $(CC) $(CFLAGS) -c xcalib.c -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" -DWIN32GDI + windres.exe resource.rc resource.o +- $(CC) $(CFLAGS) -mwindows -lm resource.o -o xcalib xcalib.o ++ $(CC) $(LDFLAGS) -mwindows -lm resource.o -o xcalib xcalib.o + + install: + cp ./xcalib $(DESTDIR)/usr/local/bin/ diff --git a/~lukeshu/xml2rfc/PKGBUILD b/~lukeshu/xml2rfc/PKGBUILD index b52ab21a8..b52ab21a8 100644..100755 --- a/~lukeshu/xml2rfc/PKGBUILD +++ b/~lukeshu/xml2rfc/PKGBUILD |