summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-31 03:53:17 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-31 03:53:17 -0200
commitde1a4625b7d381f83ca84ab015a1376557413502 (patch)
tree308d81db958c46cd2aee61e860ed0243770112cf
parent01661697bee819b7d898f5f70bf91b0d07f0b63e (diff)
parent9e4d07001459462df05213834f86d305cbc97568 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--java/jh/PKGBUILD6
-rw-r--r--libre/libcl-libre/PKGBUILD63
-rwxr-xr-xpcr/mednafen-wip/PKGBUILD59
-rwxr-xr-x~lukeshu/emacs-lucid/PKGBUILD26
-rwxr-xr-x~lukeshu/emacs-lucid/gnulib.patch105
5 files changed, 76 insertions, 183 deletions
diff --git a/java/jh/PKGBUILD b/java/jh/PKGBUILD
index 5382cb0e5..e8a59f9c4 100644
--- a/java/jh/PKGBUILD
+++ b/java/jh/PKGBUILD
@@ -1,14 +1,16 @@
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
pkgname=jh
-pkgver=0.3.2
+pkgver=0.3.3
pkgdesc="Java helpers for PKGBUILDs"
url="https://gitorious.org/parabola/jh"
license=('Public Domain')
pkgrel=1
arch=(any)
-depends=(xmlstarlet maven)
+depends=(xmlstarlet)
+makedepends=('pacman>4.0.3')
+optdepends=("maven: for configurable maven local repository location")
source=("git://gitorious.org/parabola/jh.git#tag=v$pkgver")
build() {
diff --git a/libre/libcl-libre/PKGBUILD b/libre/libcl-libre/PKGBUILD
index a564c2ffb..425525492 100644
--- a/libre/libcl-libre/PKGBUILD
+++ b/libre/libcl-libre/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: Márcio Silva <coadde@lavabit.com>
+pkgbase=mesa
pkgname=libcl-libre
-true && pkgver=9.0.git20120905
-true && pkgrel=1
+pkgver=9.0
+pkgrel=2
arch=(
i686
x86_64
@@ -26,7 +27,7 @@ license=(
Khronos
LGPL
)
-url=http://mesa3d.sourceforge.net
+url="http://${pkgbase}3d.sourceforge.net"
depends=(
gcc-libs
libdrm
@@ -43,56 +44,32 @@ provides=(
replaces=(
${pkgname%-libre}
)
-pkgdesc='A libre version of OpenCL library and ICD loader, (Mesa OpenCL)'
-#source=(
-# ftp://ftp.freedesktop.org/pub/mesa/$pkgver/MesaLib-$pkgver.tar.bz2
-#)
-#sha512sums=(
-# b7e8879e92252d0588d9eeeed904fd502ce1f48551b9a97f52aeb1318c79a80fab27504521107d61fbb5d986b2d778d89023a892baf9f1c5a5d2ee3746fefa57
-#)
-
-_gitroot=git://anongit.freedesktop.org/git/mesa/mesa
-_gitname=mesa
+pkgdesc='Mesa OpenCL library and ICD loader'
+source=(
+ ftp://ftp.freedesktop.org/pub/$pkgbase/$pkgver/${pkgbase^}Lib-$pkgver.tar.bz2
+)
+sha512sums=(
+ 878dc8e3f87aa4ad8d96599a87c733c15b725251c797cdfa6d03fee3c2959fd81a07ac7363e7a8946cf597303398aa581356b46827e7ffa27b33971d39bd29a2
+)
build() {
- msg 'Connecting to git.freedesktop.org GIT server....'
- if [ -d $_gitname ] ; then
- cd $_gitname && git pull origin
- else
- git clone $_gitroot --depth 1
- fi
- msg 'GIT checkout done or server timeout'
- msg 'Starting make...'
-
- cd $srcdir
-
- # Cleanup and prepare the build dir
- [ -d build ] && rm -rf build
- cp -r $_gitname build
- cd build
-
- #cd $srcdir/Mesa-$pkgver
+ cd $srcdir/${pkgbase^}-$pkgver
autoreconf -vfi
- ./autogen.sh --prefix=/usr \
+ ./configure --prefix=/usr \
--enable-opencl \
--enable-gallium-llvm \
--enable-r600-llvm-compiler \
--with-clang-libdir=/usr/lib \
- --with-dri-drivers=nouveau,radeon,swrast \
- --with-gallium-drivers=r300,r600,nouveau,swrast
- make
+ --with-dri-drivers=i915,i965,nouveau,r200,radeon,swrast \
+ --with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast
+ make V=0
}
package() {
- make -C $srcdir/build/src/gallium/targets/opencl DESTDIR=$pkgdir install
-
- cd $srcdir/build
- #install -m755 -d $pkgdir/usr/lib/opencl
+ cd $srcdir/${pkgbase^}-$pkgver
+ make -C src/gallium/targets/opencl DESTDIR=$pkgdir install
install -m755 -d $pkgdir/usr/share/licenses/${pkgname%-libre}
- #bin/minstall src/gallium/targets/opencl/libOpenCL.la $pkgdir/usr/lib
- #bin/minstall lib/libOpenCL.so* $pkgdir/usr/lib
- #bin/minstall src/gallium/targets/pipe-loader/*.so $pkgdir/usr/lib/${pkgname%-libre}
- bin/minstall docs/COPYING $pkgdir/usr/share/licenses/${pkgname%-libre}
- bin/minstall docs/license.html $pkgdir/usr/share/licenses/${pkgname%-libre}
+ bin/minstall docs/COPYING $pkgdir/usr/share/licenses/${pkgname%-libre}
+ bin/minstall docs/license.html $pkgdir/usr/share/licenses/${pkgname%-libre}
}
diff --git a/pcr/mednafen-wip/PKGBUILD b/pcr/mednafen-wip/PKGBUILD
index cc33eeb75..2abee7f46 100755
--- a/pcr/mednafen-wip/PKGBUILD
+++ b/pcr/mednafen-wip/PKGBUILD
@@ -4,29 +4,54 @@
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+pkgbase=mednafen
pkgname=mednafen-wip
-pkgver=0.9.24
+pkgver=0.9.26
+_pkgver=422
pkgrel=1
-pkgdesc="A command-line multi-system gaming emulator, WIP version"
-url="http://mednafen.sourceforge.net/"
-license=(GPL)
-arch=('i686' 'x86_64')
-depends=('libcdio>=0.82' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'libsndfile' 'zlib')
-makedepends=('pkgconfig' 'mesa')
-conflicts=('mednafen')
-provides=('mednafen')
-source=('http://forum.fobby.net/index.php?t=getfile&id=380&')
-sha1sums=('bc0d867a3fa255f01d04ee6f028acab18849f16d')
+pkgdesc='A command-line multi-system gaming emulator, WIP version'
+url="http://$pkgbase.sourceforge.net/"
+license=(
+ GPL
+)
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+depends=(
+ jack2
+ 'libcdio>=0.83'
+ sdl-libre
+)
+optdepends=(
+ 'libgl: needed for opengl support'
+ 'glu: needed for opengl support'
+)
+makedepends=(
+ mesa
+ glu
+)
+provides=(
+ $pkgbase
+)
+conflicts=(
+ $pkgbase
+)
+source=(
+ 'http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&'
+)
+sha1sums=(
+ e43c2b04b513af1db35933a2819d2660e7106600
+)
-build()
-{
- cd $srcdir/mednafen
+build() {
+ cd $srcdir/$pkgbase
./configure --prefix=/usr
make
}
-package()
-{
- cd $srcdir/mednafen
+package() {
+ cd $srcdir/$pkgbase
make DESTDIR=$pkgdir install
}
diff --git a/~lukeshu/emacs-lucid/PKGBUILD b/~lukeshu/emacs-lucid/PKGBUILD
index af8e755c4..45489c1b3 100755
--- a/~lukeshu/emacs-lucid/PKGBUILD
+++ b/~lukeshu/emacs-lucid/PKGBUILD
@@ -1,12 +1,13 @@
-# $Id: PKGBUILD 161437 2012-06-11 15:10:57Z juergen $
-# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
-# Contributor: Renchi Raju <renchi@green.tam.uiuc.edu>
+# $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.1
+pkgver=24.2
pkgrel=2
-pkgdesc="emacs, with the lucid toolkit rather than GTK2"
+pkgdesc="The extensible, customizable, self-documenting real-time display editor (lucid tooklit instead of GTK3)"
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
@@ -14,18 +15,14 @@ conflicts=("$_pkgname")
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/emacs/emacs.html"
license=('GPL3')
-depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'gtk-update-icon-cache' 'libxaw' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib' 'imagemagick')
+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} gnulib.patch)
+source=(ftp://ftp.gnu.org/gnu/emacs/$_pkgname-$pkgver.tar.bz2{,.sig})
+md5sums=('1676803a50e8adc817fdaaebb9234f14' 'ca1766337f419ef827dd96d1ff78f158')
+
build() {
cd "$srcdir"/$_pkgname-$pkgver
-
- # This is from Gentoo, to deal with a newer version of gnulib
- patch -p1 -i "$srcdir/gnulib.patch"
- # This is to deal with a newer version of autoconf
- autoreconf -i -I m4
-
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
--localstatedir=/var --with-x-toolkit=lucid --with-xft
make
@@ -48,6 +45,3 @@ package() {
chmod 664 "$pkgdir"/var/games/emacs/*
chown -R root:games "$pkgdir"/var/games
}
-md5sums=('8ba0932c498bc8fb10d7ddba52227e5b'
- 'c303d5c0bd0f7ea28acd14c9738faff4'
- 'f9192850960902d90504150f08be4a81')
diff --git a/~lukeshu/emacs-lucid/gnulib.patch b/~lukeshu/emacs-lucid/gnulib.patch
deleted file mode 100755
index 2fd685c80..000000000
--- a/~lukeshu/emacs-lucid/gnulib.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-Fix compilation with glibc-2.16.
-https://bugs.gentoo.org/424755
-
-Patch backported from gnulib upstream:
-
-From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001
-From: Eric Blake <eblake@redhat.com>
-Date: Thu, 29 Mar 2012 13:30:41 -0600
-Subject: [PATCH 1/1] stdio: don't assume gets any more
-
-Gnulib intentionally does not have a gets module, and now that C11
-and glibc have dropped it, we should be more proactive about warning
-any user on a platform that still has a declaration of this dangerous
-interface.
-
---- emacs-24.1-orig/lib/gnulib.mk
-+++ emacs-24.1/lib/gnulib.mk
-@@ -599,7 +624,6 @@
- -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
- -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
- -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
-- -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \
- -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
- -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
- -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
---- emacs-24.1-orig/lib/stdio.in.h
-+++ emacs-24.1/lib/stdio.in.h
-@@ -699,22 +699,11 @@
- # endif
- #endif
-
--#if @GNULIB_GETS@
--# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
--# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
--# undef gets
--# define gets rpl_gets
--# endif
--_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
--_GL_CXXALIAS_RPL (gets, char *, (char *s));
--# else
--_GL_CXXALIAS_SYS (gets, char *, (char *s));
--# undef gets
--# endif
--_GL_CXXALIASWARN (gets);
- /* It is very rare that the developer ever has full control of stdin,
-- so any use of gets warrants an unconditional warning. Assume it is
-- always declared, since it is required by C89. */
-+ so any use of gets warrants an unconditional warning; besides, C11
-+ removed it. */
-+#undef gets
-+#if HAVE_RAW_DECL_GETS
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
- #endif
-
-@@ -1054,9 +1043,9 @@
- # endif
- #endif
-
--/* Some people would argue that sprintf should be handled like gets
-- (for example, OpenBSD issues a link warning for both functions),
-- since both can cause security holes due to buffer overruns.
-+/* Some people would argue that all sprintf uses should be warned about
-+ (for example, OpenBSD issues a link warning for it),
-+ since it can cause security holes due to buffer overruns.
- However, we believe that sprintf can be used safely, and is more
- efficient than snprintf in those safe cases; and as proof of our
- belief, we use sprintf in several gnulib modules. So this header
---- emacs-24.1-orig/m4/stdio_h.m4
-+++ emacs-24.1/m4/stdio_h.m4
-@@ -1,4 +1,4 @@
--# stdio_h.m4 serial 40
-+# stdio_h.m4 serial 41
- dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
- dnl This file is free software; the Free Software Foundation
- dnl gives unlimited permission to copy and/or distribute it,
-@@ -18,7 +18,6 @@
- GNULIB_GETC=1
- GNULIB_GETCHAR=1
- GNULIB_FGETS=1
-- GNULIB_GETS=1
- GNULIB_FREAD=1
- dnl This ifdef is necessary to avoid an error "missing file lib/stdio-read.c"
- dnl "expected source file, required through AC_LIBSOURCES, not found". It is
-@@ -72,10 +71,10 @@
-
- dnl Check for declarations of anything we want to poison if the
- dnl corresponding gnulib module is not in use, and which is not
-- dnl guaranteed by C89.
-+ dnl guaranteed by both C89 and C11.
- gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
-- ]], [dprintf fpurge fseeko ftello getdelim getline pclose popen renameat
-- snprintf tmpfile vdprintf vsnprintf])
-+ ]], [dprintf fpurge fseeko ftello getdelim getline gets pclose popen
-+ renameat snprintf tmpfile vdprintf vsnprintf])
- ])
-
- AC_DEFUN([gl_STDIO_MODULE_INDICATOR],
-@@ -113,7 +112,6 @@
- GNULIB_GETCHAR=0; AC_SUBST([GNULIB_GETCHAR])
- GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM])
- GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE])
-- GNULIB_GETS=0; AC_SUBST([GNULIB_GETS])
- GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF])
- GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX])
- GNULIB_PCLOSE=0; AC_SUBST([GNULIB_PCLOSE])