diff options
Diffstat (limited to 'community')
91 files changed, 1350 insertions, 619 deletions
diff --git a/community/0ad/PKGBUILD b/community/0ad/PKGBUILD index a510a3e0f..406461c25 100644 --- a/community/0ad/PKGBUILD +++ b/community/0ad/PKGBUILD @@ -1,21 +1,28 @@ -# $Id: PKGBUILD 105861 2014-02-16 16:38:12Z bpiotrowski $ +# $Id: PKGBUILD 105901 2014-02-18 12:42:08Z bpiotrowski $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com> # Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com> pkgname=0ad pkgver=a15 _pkgver=0.0.15-alpha -pkgrel=3 +pkgrel=4 pkgdesc="Cross-platform, 3D and historically-based real-time strategy game" arch=('i686' 'x86_64') url="http://play0ad.com/" license=('GPL2' 'CCPL') depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis' 'libxml2' 'openal' 'sdl' 'wxgtk2.8' 'zlib' 'libgl' '0ad-data' 'glu' - 'gloox' 'miniupnpc' 'libsm') -makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2') -source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz") -md5sums=('a651d81eb9b31da01e376ddaa597e954') + 'gloox' 'miniupnpc') +makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm') +source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz" + "miniupnpc-1.9.patch") +md5sums=('a651d81eb9b31da01e376ddaa597e954' + 'f3d27da4944d42fcf6b4153e54dc4600') + +prepare() { + cd "$srcdir/$pkgname-$_pkgver" + patch -p1 -i ../miniupnpc-1.9.patch +} build() { cd "$srcdir/$pkgname-$_pkgver/build/workspaces" @@ -25,6 +32,7 @@ build() { export WX_CONFIG=/usr/bin/wx-config-2.8 ./update-workspaces.sh \ --with-system-enet \ + --with-system-miniupnpc \ --bindir=/usr/bin \ --libdir=/usr/lib/0ad \ --datadir=/usr/share/${pkgname}/data diff --git a/community/0ad/miniupnpc-1.9.patch b/community/0ad/miniupnpc-1.9.patch new file mode 100644 index 000000000..d0546cf2e --- /dev/null +++ b/community/0ad/miniupnpc-1.9.patch @@ -0,0 +1,12 @@ +diff -rupN a/source/network/NetServer.cpp b/source/network/NetServer.cpp +--- a/source/network/NetServer.cpp 2013-12-18 16:08:56.000000000 +0000 ++++ b/source/network/NetServer.cpp 2014-02-18 10:11:59.955214338 +0000 +@@ -274,7 +274,7 @@ void* CNetServerWorker::SetupUPnP(void*) + // Check that the port was actually forwarded. + ret = UPNP_GetSpecificPortMappingEntry(urls.controlURL, + data.first.servicetype, +- psPort, protocall, ++ psPort, protocall, externalIPAddress, + intClient, intPort, NULL/*desc*/, + NULL/*enabled*/, duration); + diff --git a/community/arm-none-eabi-binutils/PKGBUILD b/community/arm-none-eabi-binutils/PKGBUILD new file mode 100644 index 000000000..acab228dd --- /dev/null +++ b/community/arm-none-eabi-binutils/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 106097 2014-02-22 16:26:13Z anatolik $ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Martin Schmölzer <mschmoelzer@gmail.com> + +_target=arm-none-eabi +pkgname=$_target-binutils +pkgver=2.24 +pkgrel=1 +pkgdesc='A set of programs to assemble and manipulate binary and object files for the ARM EABI (bare-metal) target' +arch=(i686 x86_64) +url='http://www.gnu.org/software/binutils/' +license=(GPL) +depends=(zlib) +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2) +sha256sums=('e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137') + +build() { + cd binutils-$pkgver + + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure + + ./configure --target=$_target \ + --prefix=/usr \ + --enable-multilib \ + --enable-interwork \ + --with-gnu-as \ + --with-gnu-ld \ + --disable-nls + + make configure-host + make +} + +check() { + cd binutils-$pkgver + + # unset LDFLAGS as testsuite makes assumptions about which ones are active + # do not abort on errors - manually check log files + make LDFLAGS="" -k check +} + +package() { + cd binutils-$pkgver + + make DESTDIR="$pkgdir" install + + # Remove file conflicting with host binutils and manpages for MS Windows tools + rm "$pkgdir"/usr/share/man/man1/arm-none-eabi-{dlltool,nlmconv,windres,windmc}* + + # Remove info documents that conflict with host version + rm -rf "$pkgdir"/usr/share/info +} diff --git a/community/arm-none-eabi-gcc/PKGBUILD b/community/arm-none-eabi-gcc/PKGBUILD new file mode 100644 index 000000000..87c353a77 --- /dev/null +++ b/community/arm-none-eabi-gcc/PKGBUILD @@ -0,0 +1,98 @@ +# Maintainer: Martin Schmölzer <mschmoelzer@gmail.com> + +_target=arm-none-eabi +pkgname=$_target-gcc +pkgver=4.8.2 +pkgrel=8 +_newlibver=2.1.0 +pkgdesc='The GNU Compiler Collection - cross compiler for ARM EABI (bare-metal) target' +arch=(i686 x86_64) +url='http://gcc.gnu.org/' +license=(GPL LGPL FDL) +depends=(cloog libmpc zlib) +makedepends=($_target-binutils gmp mpfr) +#checkdepends=(dejagnu) +options=(!emptydirs !strip staticlibs) +source=(ftp://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.bz2 + ftp://sourceware.org/pub/newlib/newlib-$_newlibver.tar.gz + gcc-$pkgver-multilib.patch + gcc-$pkgver-no-exceptions.patch + libgloss-configure-fix.patch) +sha256sums=('09dc2276c73424bbbfda1dbddc62bbbf900c9f185acf7f3e1d773ce2d7e3cdc8' + '3e4d5ab9f0508942b6231b8ade4f8e5048cf92c96ed574c2bd6bd3320a599a48' + '4edd875c89391cbf5c2b57587a51da0dfda54ca0c711a85e9c301f03083e4189' + '649eb3b443e975d40ca61128ba715d1e3a29716e1e45a52c661ac0dba3c2099d' + 'eac96c034d3d7d16080d9aef4749e4eda493563a3348e6a06f08e8a330b027ba') + +prepare() { + # Apply configure fix from newlib CVS + cd "$srcdir/newlib-$_newlibver/libgloss/arm" + patch -Np0 -i "$srcdir/libgloss-configure-fix.patch" + autoreconf + + cd "$srcdir" + patch -Np0 -i gcc-$pkgver-multilib.patch + patch -Np0 -i gcc-$pkgver-no-exceptions.patch + + # Move newlib and libgloss to gcc source directory + mv newlib-$_newlibver/newlib gcc-$pkgver + mv newlib-$_newlibver/libgloss gcc-$pkgver + + # hack! - some configure tests for header files using "$CPP $CPPFLAGS" + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" gcc-$pkgver/{libiberty,gcc}/configure +} + +build() { + cd gcc-$pkgver + mkdir build + cd build + + export CFLAGS_FOR_TARGET='-O2 -g -pipe' + export CXXFLAGS_FOR_TARGET='-O2 -g -pipe' + + ../configure --target=$_target \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --with-pkgversion='Arch Repository' \ + --with-bugurl='https://bugs.archlinux.org/' \ + --enable-multilib \ + --enable-interwork \ + --enable-languages=c,c++ \ + --with-newlib \ + --with-gnu-as \ + --with-gnu-ld \ + --disable-nls \ + --disable-shared \ + --disable-threads \ + --with-headers=newlib/libc/include \ + --disable-libssp \ + --disable-libstdcxx-pch \ + --disable-libmudflap \ + --disable-libgomp \ + --with-system-zlib \ + --disable-newlib-supplied-syscalls + + make +} + +check() { + cd gcc-$pkgver/build +# TODO: enable gcc tests for arm target +# make check RUNTESTFLAGS="--target_board=arm-sim\{-mhard-float,-msoft-float\}\{-O2,\}" +# ../contrib/test_summary +} + +package() { + cd gcc-$pkgver/build + + make DESTDIR="$pkgdir" install -j1 + + # Strip host objects but do not touch target one + find "$pkgdir" -executable -type f -exec /usr/bin/strip --strip-debug '{}' \; + + # Remove files that conflict with host gcc package + rm "$pkgdir"/usr/lib/libiberty.a + rm -r "$pkgdir"/usr/share/man/man7 + rm -r "$pkgdir"/usr/share/info + rm -r "$pkgdir"/usr/share/gcc-$pkgver +} diff --git a/community/arm-none-eabi-gcc/gcc-4.8.2-multilib.patch b/community/arm-none-eabi-gcc/gcc-4.8.2-multilib.patch new file mode 100644 index 000000000..c75aa158b --- /dev/null +++ b/community/arm-none-eabi-gcc/gcc-4.8.2-multilib.patch @@ -0,0 +1,95 @@ +--- gcc-4.8.2/gcc/config/arm/t-arm-elf.orig 2013-01-10 21:38:27.000000000 +0100 ++++ gcc-4.8.2/gcc/config/arm/t-arm-elf 2013-10-17 08:14:29.237001796 +0200 +@@ -18,73 +18,26 @@ + + MULTILIB_OPTIONS = marm/mthumb + MULTILIB_DIRNAMES = arm thumb +-MULTILIB_EXCEPTIONS = +-MULTILIB_MATCHES = + +-#MULTILIB_OPTIONS += mcpu=fa526/mcpu=fa626/mcpu=fa606te/mcpu=fa626te/mcpu=fmp626/mcpu=fa726te +-#MULTILIB_DIRNAMES += fa526 fa626 fa606te fa626te fmp626 fa726te +-#MULTILIB_EXCEPTIONS += *mthumb*/*mcpu=fa526 *mthumb*/*mcpu=fa626 ++# We do not want any ARM or Thumb libraries ++MULTILIB_EXCEPTIONS = marm* mthumb + +-#MULTILIB_OPTIONS += march=armv7 +-#MULTILIB_DIRNAMES += thumb2 +-#MULTILIB_EXCEPTIONS += march=armv7* marm/*march=armv7* +-#MULTILIB_MATCHES += march?armv7=march?armv7-a +-#MULTILIB_MATCHES += march?armv7=march?armv7-r +-#MULTILIB_MATCHES += march?armv7=march?armv7-m +-#MULTILIB_MATCHES += march?armv7=mcpu?cortex-a8 +-#MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4 +-#MULTILIB_MATCHES += march?armv7=mcpu?cortex-m3 ++# Build with any one of arm7tdmi, M0, M3 or M4 support ++MULTILIB_OPTIONS += mcpu=arm7tdmi-s/mcpu=cortex-m0/mcpu=cortex-m3/mcpu=cortex-m4 ++MULTILIB_DIRNAMES += arm7tdmi-s cortex-m0 cortex-m3 cortex-m4 + +-# Not quite true. We can support hard-vfp calling in Thumb2, but how do we +-# express that here? Also, we really need architecture v5e or later +-# (mcrr etc). +-MULTILIB_OPTIONS += mfloat-abi=hard +-MULTILIB_DIRNAMES += fpu +-MULTILIB_EXCEPTIONS += *mthumb/*mfloat-abi=hard* +-#MULTILIB_EXCEPTIONS += *mcpu=fa526/*mfloat-abi=hard* +-#MULTILIB_EXCEPTIONS += *mcpu=fa626/*mfloat-abi=hard* ++# These don't make any sense without thumb, because GCC likes to ++# tell you that you have to supply another commandline argument ++# rather than just setting it itself. ++MULTILIB_EXCEPTIONS += mcpu=arm7tdmi-s* mcpu=cortex-m0* mcpu=cortex-m3* mcpu=cortex-m4* + +-# MULTILIB_OPTIONS += mcpu=ep9312 +-# MULTILIB_DIRNAMES += ep9312 +-# MULTILIB_EXCEPTIONS += *mthumb/*mcpu=ep9312* +-# +-# MULTILIB_OPTIONS += mlittle-endian/mbig-endian +-# MULTILIB_DIRNAMES += le be +-# MULTILIB_MATCHES += mbig-endian=mbe mlittle-endian=mle +-# +-# MULTILIB_OPTIONS += mfloat-abi=hard/mfloat-abi=soft +-# MULTILIB_DIRNAMES += fpu soft +-# MULTILIB_EXCEPTIONS += *mthumb/*mfloat-abi=hard* +-# +-# MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork +-# MULTILIB_DIRNAMES += normal interwork +-# +-# MULTILIB_OPTIONS += fno-leading-underscore/fleading-underscore +-# MULTILIB_DIRNAMES += elf under +-# +-# MULTILIB_OPTIONS += mcpu=arm7 +-# MULTILIB_DIRNAMES += nofmult +-# MULTILIB_EXCEPTIONS += *mthumb*/*mcpu=arm7* +-# # Note: the multilib_exceptions matches both -mthumb and +-# # -mthumb-interwork +-# # +-# # We have to match all the arm cpu variants which do not have the +-# # multiply instruction and treat them as if the user had specified +-# # -mcpu=arm7. Note that in the following the ? is interpreted as +-# # an = for the purposes of matching command line options. +-# # FIXME: There ought to be a better way to do this. +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7d +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7di +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm70 +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm700 +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm700i +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm710 +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm710c +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7100 +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7500 +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7500fe +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm6 +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm60 +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm600 +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm610 +-# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm620 ++# Specify mfloat-abi=hard mfpu=fpv4-sp-d16 only for Cortex-M4 ++MULTILIB_OPTIONS += mfloat-abi=hard mfpu=fpv4-sp-d16 ++MULTILIB_DIRNAMES += float-abi-hard fpuv4-sp-d16 ++MULTILIB_EXCEPTIONS += mfloat* mthumb/mfloat* ++MULTILIB_EXCEPTIONS += mfpu* mthumb/mfpu* ++MULTILIB_EXCEPTIONS += mthumb/mcpu=cortex-m4/mfloat-abi=hard ++MULTILIB_EXCEPTIONS += mthumb/mcpu=cortex-m4/mfpu=fpv4-sp-d16 ++MULTILIB_EXCEPTIONS += *arm7tdmi-s*mfloat-abi* *arm7tdmi-s*mfpu* ++MULTILIB_EXCEPTIONS += *cortex-m3*mfloat-abi* *cortex-m3*mfpu* ++MULTILIB_EXCEPTIONS += *cortex-m0*mfloat-abi* *cortex-m0*mfpu* diff --git a/community/arm-none-eabi-gcc/gcc-4.8.2-no-exceptions.patch b/community/arm-none-eabi-gcc/gcc-4.8.2-no-exceptions.patch new file mode 100644 index 000000000..6291ee43b --- /dev/null +++ b/community/arm-none-eabi-gcc/gcc-4.8.2-no-exceptions.patch @@ -0,0 +1,20 @@ +--- gcc-4.8.2/libgcc/Makefile.in.orig 2013-02-04 20:06:20.000000000 +0100 ++++ gcc-4.8.2/libgcc/Makefile.in 2013-10-17 08:05:38.314091932 +0200 +@@ -492,7 +492,7 @@ + ifeq ($(LIB2_DIVMOD_EXCEPTION_FLAGS),) + # Provide default flags for compiling divmod functions, if they haven't been + # set already by a target-specific Makefile fragment. +-LIB2_DIVMOD_EXCEPTION_FLAGS := -fexceptions -fnon-call-exceptions ++LIB2_DIVMOD_EXCEPTION_FLAGS := -fno-exceptions -fnon-call-exceptions + endif + + # Build LIB2_DIVMOD_FUNCS. +@@ -813,7 +813,7 @@ + # libgcc_eh.a, only LIB2ADDEH matters. If we do, only LIB2ADDEHSTATIC and + # LIB2ADDEHSHARED matter. (Usually all three are identical.) + +-c_flags := -fexceptions ++c_flags := -fno-exceptions + + ifeq ($(enable_shared),yes) + diff --git a/community/arm-none-eabi-gcc/libgloss-configure-fix.patch b/community/arm-none-eabi-gcc/libgloss-configure-fix.patch new file mode 100644 index 000000000..46dfd8c9e --- /dev/null +++ b/community/arm-none-eabi-gcc/libgloss-configure-fix.patch @@ -0,0 +1,11 @@ +--- configure.in 2013-09-20 16:23:41.000000000 +0200 ++++ /home/mschmoelzer/Projects/newlib/libgloss/arm/configure.in 2014-01-11 00:04:01.000000000 +0100 +@@ -59,7 +59,7 @@ + + AC_SUBST(objtype) + +-host_makefile_frag=${srcdir}/../config/default.mh ++host_makefile_frag=`cd $srcdir/../config;pwd`/default.mh + + dnl We have to assign the same value to other variables because autoconf + dnl doesn't provide a mechanism to substitute a replacement keyword with diff --git a/community/cgdb/PKGBUILD b/community/cgdb/PKGBUILD new file mode 100644 index 000000000..0fa80294f --- /dev/null +++ b/community/cgdb/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Marek Kubica <marek@xivilization.net> +# Contributor: Javier ‘Phrodo_00’ Aravena <Phrodo.00@gmail.com> +pkgname=cgdb +pkgver=0.6.7 +pkgrel=2 +pkgdesc="Curses-based interface to the GNU Debugger" +arch=('i686' 'x86_64') +url="http://cgdb.sourceforge.net/" +license=('GPL') +depends=('readline>=5.1' 'ncurses' 'gdb') +source=("http://cgdb.me/files/${pkgname}-${pkgver}.tar.gz") +sha512sums=('0a9d1cc3fb00c3cdaeb060d20d3312dd738b617ff1b188db33a074e2790f9721ca58e924ecc9929b84832c3ca22a334d7a66294439341a9b6868eef1baafca3e') +install=cgdb.install + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}/" install +} diff --git a/community/cgdb/cgdb.install b/community/cgdb/cgdb.install new file mode 100644 index 000000000..8ecafe752 --- /dev/null +++ b/community/cgdb/cgdb.install @@ -0,0 +1,17 @@ +infodir=usr/share/info +file=cgdb.info.gz + +post_install() { + [ -x usr/bin/install-info ] || return 0 + install-info $infodir/$file $infodir/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + install-info --delete $infodir/$file $infodir/dir 2> /dev/null +} + diff --git a/community/crash/PKGBUILD b/community/crash/PKGBUILD new file mode 100644 index 000000000..850df9fe9 --- /dev/null +++ b/community/crash/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 106055 2014-02-21 18:36:18Z anatolik $ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Bernhard Walle <bernhard.walle@gmx.de> +# Contributor: Michael Eckert <michael.eckert@linuxmail.org> +# Contributor: Mathieu Pasquet <mathieui@mathieui.net> + +pkgname=crash +pkgver=7.0.5 +pkgrel=2 +pkgdesc='Linux kernel crashdump analysis tool' +url='http://people.redhat.com/~anderson' +arch=(i686 x86_64) +license=(GPL) +depends=(xz ncurses zlib) +source=(http://people.redhat.com/~anderson/crash-$pkgver.tar.gz) +sha256sums=('d5c5b2c8a5dc1e85d38d847cdfea1aa37a58ad38711bc3727c28f22618bfe64c') + +prepare() { + cd crash-$pkgver + make gdb_unzip + sed -i '/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/' gdb-7.6/libiberty/configure +} + +build() { + cd crash-$pkgver + make +} + +package() { + cd crash-$pkgver + + mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8 + install crash "$pkgdir"/usr/bin/ + install crash.8 "$pkgdir"/usr/share/man/man8/ +} diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD index 10925c65a..3cb1ecfb0 100644 --- a/community/dbmail/PKGBUILD +++ b/community/dbmail/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 105591 2014-02-10 18:05:32Z spupykin $ +# $Id: PKGBUILD 105965 2014-02-20 09:01:49Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sebastian Faltoni <sebastian.faltoni@gmail.com> pkgname=dbmail pkgver=3.1.10 -pkgrel=2 +pkgrel=3 pkgdesc="Fast and scalable sql based mail services" arch=('i686' 'x86_64' 'mips64el') depends=('gmime' 'libzdb' 'mhash' 'libevent') diff --git a/community/dfu-util/PKGBUILD b/community/dfu-util/PKGBUILD new file mode 100644 index 000000000..6124f0ce2 --- /dev/null +++ b/community/dfu-util/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 106057 2014-02-21 18:49:28Z anatolik $ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Øyvind 'Mr.Elendig' Heggstad <mrelendig@har-ikkje.net> +# Contributor: Fabrizio Antonangeli <fabrizio.antonangeli@gmail.com> + +pkgname=dfu-util +pkgver=0.7 +pkgrel=3 +pkgdesc='Tool intended to download and upload firmware using DFU protocol to devices connected over USB' +url='http://dfu-util.gnumonks.org' +license=(GPL2) +arch=(i686 x86_64) +depends=(libusb) +install=dfu-util.install +source=(stm32dfu.udev.rules + http://dfu-util.gnumonks.org/releases/$pkgname-$pkgver.tar.gz) +sha256sums=('64d4314f354d965e3dc0fd439dc497d5d0a41bf649da1869df40f93718e5a6fe' + 'f52a2a5489fbf9f3204a6ada05e0b47ee322e19d81c712e0c58a332d80ec3eab') + +build() { + cd $pkgname-$pkgver + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir"/stm32dfu.udev.rules "$pkgdir"/etc/udev/rules.d/48-stm32dfu.rules +} diff --git a/community/dfu-util/dfu-util.install b/community/dfu-util/dfu-util.install new file mode 100644 index 000000000..38cc149a9 --- /dev/null +++ b/community/dfu-util/dfu-util.install @@ -0,0 +1,11 @@ +post_install() { + udevadm control --reload-rules +} + +post_upgrade() { + udevadm control --reload-rules +} + +post_remove() { + udevadm control --reload-rules +} diff --git a/community/dfu-util/stm32dfu.udev.rules b/community/dfu-util/stm32dfu.udev.rules new file mode 100644 index 000000000..138ddc425 --- /dev/null +++ b/community/dfu-util/stm32dfu.udev.rules @@ -0,0 +1,10 @@ +# stm32 boards, with onboard DFU support + +SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \ + MODE:="0666", \ + SYMLINK+="stm32_dfu" + +# If you share your linux system with other users, or just don't like the +# idea of write permission for everybody, you can replace MODE:="0666" with +# OWNER:="yourusername" to create the device owned by you, or with +# GROUP:="somegroupname" and mange access using standard unix groups. diff --git a/community/dub/PKGBUILD b/community/dub/PKGBUILD index 908b3c2d5..a3c876a20 100644 --- a/community/dub/PKGBUILD +++ b/community/dub/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Mihails Strasuns <public@dicebot.lv> # Contributor: Moritz Maxeiner <moritz@ucworks.org> pkgname=dub -pkgver=0.9.20 -pkgrel=2 +pkgver=0.9.21 +pkgrel=1 pkgdesc="Developer package manager for D programming language" arch=('i686' 'x86_64') url="https://github.com/rejectedsoftware/dub" diff --git a/community/electricsheep/PKGBUILD b/community/electricsheep/PKGBUILD index 4a1ca91a7..0f20c23a3 100644 --- a/community/electricsheep/PKGBUILD +++ b/community/electricsheep/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 103792 2014-01-11 20:08:25Z eric $ +# $Id: PKGBUILD 106099 2014-02-22 21:08:18Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=electricsheep pkgver=2.7b33 -pkgrel=14 +pkgrel=15 pkgdesc="A screensaver that realize the collective dream of sleeping computers from all over the internet" arch=('i686' 'x86_64' 'mips64el') url="http://community.electricsheep.org/" diff --git a/community/fatsort/PKGBUILD b/community/fatsort/PKGBUILD new file mode 100644 index 000000000..b0119a1c9 --- /dev/null +++ b/community/fatsort/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 106059 2014-02-21 19:05:15Z anatolik $ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: birdflesh <antkoul at gmail dot com> +# Contributor: Natan Vivo <nvivo64_gmail_com> +# Contributor: rabyte <rabyte*gmail> +# Contributor: Simon Morgan <simon@16hz.net> + +pkgname=fatsort +pkgver=1.2.355 +pkgrel=1 +pkgdesc='Sorts directory structures of FAT16 and FAT32 file systems' +arch=(i686 x86_64) +url='http://fatsort.sourceforge.net' +license=(GPL) +depends=(glibc) +makedepends=(help2man) +source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz) +sha256sums=('86bc350bd72c96aa83a456f9874c529d2db1b2bf65f00a19356eb3fb73c1ac23') + +build() { + cd $pkgname-$pkgver + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" SBINDIR=/usr/bin MANDIR=/usr/share/man/man1 install +} diff --git a/community/fb-client/PKGBUILD b/community/fb-client/PKGBUILD index d6e3a5743..eaf7915c1 100644 --- a/community/fb-client/PKGBUILD +++ b/community/fb-client/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Florian "Bluewind" Pritz <flo@xssn.at> pkgname=fb-client -pkgver=1.3.1 +pkgver=1.3.2 pkgrel=1 pkgdesc="Client for paste.xinu.at" arch=('i686' 'x86_64' 'mips64el') @@ -10,7 +10,7 @@ license=('GPL3') depends=('curl' 'bash') optdepends=('xclip: for automatically copying the URL into the clipboard') source=(http://paste.xinu.at/data/client/fb-$pkgver.tar.gz{,.sig}) -md5sums=('6938cff329e7965593f270747e94539f' +md5sums=('181b3d64000eaf5dad4ec7cdceed479c' 'SKIP') build() { diff --git a/community/flightgear/PKGBUILD b/community/flightgear/PKGBUILD index c61451431..ac7d337f1 100644 --- a/community/flightgear/PKGBUILD +++ b/community/flightgear/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 101480 2013-11-26 11:05:15Z spupykin $ +# $Id: PKGBUILD 105914 2014-02-19 10:07:30Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: William Rea <sillywilly@gmail.com> # Contributor: Hans Janssen <hans@janserv.xs4all.nl> pkgname=flightgear -pkgver=2.12.1 +pkgver=3.0.0 pkgrel=1 pkgdesc="An open-source, multi-platform flight simulator" arch=(i686 x86_64) @@ -16,7 +16,7 @@ options=('!makeflags') #source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/flightgear/archive-tarball/release/$pkgver") #source=("ftp://ftp.de.flightgear.org/pub/fgfs/Source/flightgear-$pkgver.tar.bz2") source=("http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/flightgear-$pkgver.tar.bz2") -md5sums=('0e57582b9e83d7d44e82761792a79793') +md5sums=('e943e17db110e2f9e82a00acaaa11790') build() { cd $srcdir/flightgear-$pkgver diff --git a/community/freeradius/PKGBUILD b/community/freeradius/PKGBUILD index e7f9ffa3b..ec6ba018b 100644 --- a/community/freeradius/PKGBUILD +++ b/community/freeradius/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 103884 2014-01-13 10:05:17Z spupykin $ +# $Id: PKGBUILD 105909 2014-02-19 08:49:58Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jason R Begley (jayray@digitalgoat.com> pkgname=freeradius -pkgver=3.0.0 -pkgrel=2 +pkgver=3.0.1 +pkgrel=1 pkgdesc="The premier open source RADIUS server" arch=('i686' 'x86_64' 'mips64el') url="http://www.freeradius.org/" @@ -17,18 +17,20 @@ install=$pkgname.install source=("ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2"{,.sig} freeradius.tmpfiles freeradius.service - krb5-build-fix.patch) -md5sums=('e805282ff8fc2b273c23e44967322002' + https://github.com/FreeRADIUS/freeradius-server/commit/ff5147c9e5088c7.patch) +md5sums=('40b7533582c3f870af117213e8905958' 'SKIP' 'f959e89812bedfc9f8308076f78cd74e' 'e3f18e3a25df3b692e59f60605354708' - 'c6a61de7576933f59154a53bfc12a2d2') + '9dc9a08bee8b0c3e4822c94f272e1fd6') + +prepare() { + cd $srcdir/freeradius-server-$pkgver + patch -p1 <$srcdir/ff5147c9e5088c7.patch +} build() { cd $srcdir/freeradius-server-$pkgver -# export CFLAGS="$CFLAGS -fno-strict-aliasing" -# sed -i 's/ -DKRB5_DEPRECATED//' src/modules/rlm_krb5/Makefile.in -# patch -p1 <$srcdir/krb5-build-fix.patch ./configure --with-system-libtool --with-system-libltdl \ --prefix=/usr --enable-heimdal-krb5 \ --localstatedir=/var \ diff --git a/community/freeradius/krb5-build-fix.patch b/community/freeradius/krb5-build-fix.patch deleted file mode 100644 index 11dae7090..000000000 --- a/community/freeradius/krb5-build-fix.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -wbBur freeradius-server-2.1.10/src/modules/rlm_krb5/rlm_krb5.c freeradius-server-2.1.10.my/src/modules/rlm_krb5/rlm_krb5.c ---- freeradius-server-2.1.10/src/modules/rlm_krb5/rlm_krb5.c 2010-09-28 11:03:56.000000000 +0000 -+++ freeradius-server-2.1.10.my/src/modules/rlm_krb5/rlm_krb5.c 2011-04-29 09:26:10.000000000 +0000 -@@ -375,7 +375,7 @@ - * Heimdal krb5 verification - */ - radlog(L_AUTH, "rlm_krb5: Parsed name is: %s@%s\n", -- *userP->name.name_string.val, -+ "-" /* *userP->name.name_string.val*/, - userP->realm); - - krb5_cc_default(context, &id); -@@ -390,7 +390,7 @@ - - radlog(L_AUTH, "rlm_krb5: failed verify_user: %s (%s@%s )", - error_message(ret), -- *userP->name.name_string.val, -+ "-" /* *userP->name.name_string.val */, - userP->realm); - - return RLM_MODULE_REJECT; diff --git a/community/gdal/PKGBUILD b/community/gdal/PKGBUILD index bb1b0a372..3ced59a59 100644 --- a/community/gdal/PKGBUILD +++ b/community/gdal/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 103623 2014-01-08 12:17:02Z bgyorgy $ +# $Id: PKGBUILD 105990 2014-02-20 18:15:10Z bgyorgy $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org # Contributor: William Rea <sillywilly@gmail.com> pkgname=gdal pkgver=1.10.1 -pkgrel=1 +pkgrel=2 pkgdesc="A translator library for raster geospatial data formats" arch=('i686' 'x86_64' 'mips64el') url="http://www.gdal.org/" license=('custom') -depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') -makedepends=('perl' 'swig' 'chrpath') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libspatialite' 'libtiff' 'netcdf' 'poppler' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath' 'doxygen') optdepends=('postgresql: postgresql database support' 'mariadb: mariadb database support' 'perl: perl binding support' @@ -22,12 +22,7 @@ source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar. sha256sums=('9984f0314c0bd831eb59fb646c2bc5e13cf1378be4f51499045166cbe62be6ea' '55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6') -build() { - export CFLAGS="$CFLAGS -fno-strict-aliasing" - -# bug 23654 - export LDFLAGS="$LDFLAGS -Wl,--as-needed" - +prepare() { cd "${srcdir}/$pkgname-$pkgver" patch -Np0 -i "${srcdir}/gdal-1.5.1-python-install.patch" @@ -37,27 +32,40 @@ build() { sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file done +# Fix mandir + sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure +} + +build() { + cd "${srcdir}/$pkgname-$pkgver" + export CFLAGS="$CFLAGS -fno-strict-aliasing" + +# bug 23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ - --with-geotiff --with-mysql --with-python --without-libtool --with-curl \ - --with-hdf5 --with-perl --with-geos --with-png --with-poppler + --with-geotiff --with-mysql --with-python --with-curl \ + --with-hdf5 --with-perl --with-geos --with-png --with-poppler --with-spatialite # workaround for bug #13646 sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile make + make man } package () { cd "${srcdir}/$pkgname-$pkgver" - install -d "${pkgdir}/usr/lib/python2.7/site-packages/" make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install-man # install license install -D -m644 LICENSE.TXT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" #FS15477 clean up junks rm -f "${pkgdir}"/usr/bin/*.dox + rm -f "${pkgdir}"/usr/share/man/man1/_build_gdal_src_gdal-${pkgver}_apps_.1 # Remove RPATH chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so diff --git a/community/girara/PKGBUILD b/community/girara/PKGBUILD index 5d19bb909..0e90bc09f 100644 --- a/community/girara/PKGBUILD +++ b/community/girara/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 101151 2013-11-18 15:15:09Z spupykin $ +# $Id: PKGBUILD 105895 2014-02-18 09:17:33Z spupykin $ # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: mlq <mlq@pwmt.org> pkgbase=girara -pkgname=(girara-common girara-gtk2 girara-gtk3) -pkgver=0.1.9 +pkgname=(girara-common girara-gtk3) +pkgver=0.2.0 pkgrel=1 pkgdesc="user interface library" arch=('i686' 'x86_64' 'mips64el') @@ -13,7 +13,7 @@ url="http://pwmt.org/projects/girara" license=('custom') makedepends=('gtk3' 'gtk2') source=(http://pwmt.org/projects/girara/download/girara-$pkgver.tar.gz) -md5sums=('0b51fc07b5763b506d46598576e5576e') +md5sums=('cb965af58bc435f356296e62629716f5') build() { true diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD index d3bbcd4c0..56e9c03db 100644 --- a/community/go/PKGBUILD +++ b/community/go/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 104859 2014-01-27 16:24:41Z arodseth $ +# $Id: PKGBUILD 105906 2014-02-18 23:59:49Z arodseth $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Rémy Oudompheng <remy@archlinux.org> @@ -10,7 +10,7 @@ pkgname=go pkgver=1.2 -pkgrel=2 +pkgrel=3 epoch=2 pkgdesc='Compiler and tools for the Go programming language from Google' arch=('x86_64' 'i686') @@ -19,16 +19,22 @@ license=('custom') depends=('perl' 'gawk') makedepends=('inetutils') options=('!strip' 'staticlibs') -optdepends=('liteide: IDE for editing and building projects written in Go') +optdepends=('liteide: IDE for editing and building projects written in Go' + 'mercurial: Version control system written in Python' + 'git: Version control system written in C') install="$pkgname.install" backup=('usr/lib/go/bin') if [ "$CARCH" == 'x86_64' ]; then - source=("http://go.googlecode.com/files/${pkgname}$pkgver.linux-amd64.tar.gz") - sha256sums=('1252ca0aa0a96d53c0592fbc4ea9c9ff5c6b588169c92e08d06da9d89d9d91f2') + source=("http://go.googlecode.com/files/${pkgname}$pkgver.linux-amd64.tar.gz" + 'go.sh') + sha256sums=('1252ca0aa0a96d53c0592fbc4ea9c9ff5c6b588169c92e08d06da9d89d9d91f2' + 'b6209904c88bde96efcac846c267e308e4dc39c8a45f2690204c2175de4b9b0a') else - source=("http://go.googlecode.com/files/${pkgname}$pkgver.linux-386.tar.gz") - sha256sums=('3f51aacc7af60c520fe1071f3cb1d9ceee5db0e8fdfb7168a73e12fd7603e651') + source=("http://go.googlecode.com/files/${pkgname}$pkgver.linux-386.tar.gz" + 'go.sh') + sha256sums=('3f51aacc7af60c520fe1071f3cb1d9ceee5db0e8fdfb7168a73e12fd7603e651' + 'b6209904c88bde96efcac846c267e308e4dc39c8a45f2690204c2175de4b9b0a') fi build() { @@ -129,6 +135,9 @@ package() { install -Dm644 src/pkg/runtime/cgocall.h \ "$pkgdir/usr/lib/go/src/pkg/runtime/cgocall.h" + # In order to make godoc work, see FS#38597 + install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/etc/profile.d/$pkgname.sh" + # This is to make go get code.google.com/p/go-tour/gotour and # then running the gotour executable work out of the box. ln -sf /usr/bin "$pkgdir/usr/lib/go/bin" diff --git a/community/go/go.install b/community/go/go.install index 286aaf9dd..2f6482620 100644 --- a/community/go/go.install +++ b/community/go/go.install @@ -8,6 +8,19 @@ post_install() { echo ' export PATH=$PATH:~/go/bin' echo ' go get code.google.com/p/go-tour/gotour' echo + echo 'For adding useful go tools:' + echo + echo ' go get code.google.com/p/go.tools/cmd/benchcmp' + echo ' go get code.google.com/p/go.tools/cmd/cover' + echo ' go get code.google.com/p/go.tools/cmd/godoc' + echo ' go get code.google.com/p/go.tools/cmd/goimports' + echo ' go get code.google.com/p/go.tools/cmd/gotype' + echo ' go get code.google.com/p/go.tools/cmd/html2article' + echo ' go get code.google.com/p/go.tools/cmd/ssadump' + echo ' go get code.google.com/p/go.tools/cmd/vet' + echo + echo '#go-nuts at irc.freenode.net may provide more answers.' + echo } # vim:set ts=2 sw=2 et: diff --git a/community/go/go.sh b/community/go/go.sh new file mode 100644 index 000000000..8393dc8d2 --- /dev/null +++ b/community/go/go.sh @@ -0,0 +1 @@ +export GOROOT=/usr/lib/go diff --git a/community/guvcview/PKGBUILD b/community/guvcview/PKGBUILD index c655e8916..a50905dd6 100644 --- a/community/guvcview/PKGBUILD +++ b/community/guvcview/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 102513 2013-12-12 16:22:48Z giovanni $ +# $Id: PKGBUILD 105940 2014-02-19 16:43:36Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Maxwell Pray a.k.a. Synthead <synthead@gmail.com> pkgname=guvcview -pkgver=1.7.2 +pkgver=1.7.3 pkgrel=1 pkgdesc="A video viewer and capturer for the linux uvc driver" arch=('i686' 'x86_64' 'mips64el') @@ -14,7 +14,7 @@ makedepends=('pkg-config' 'intltool') optdepends=('pulseaudio: for PulseAudio support') options=('!docs') source=("http://downloads.sourceforge.net/project/${pkgname}/source/${pkgname}-src-${pkgver}.tar.gz") -md5sums=('93fa335e6ce52bb730541d5280ed0dad') +md5sums=('f9c510ed9908a8d20ca27099aca948a7') build() { cd "${srcdir}/${pkgname}-src-${pkgver}" diff --git a/community/libfm/PKGBUILD b/community/libfm/PKGBUILD index e0bdadfc0..e530ba921 100644 --- a/community/libfm/PKGBUILD +++ b/community/libfm/PKGBUILD @@ -1,22 +1,25 @@ -# $Id: PKGBUILD 105876 2014-02-17 13:45:08Z bpiotrowski $ +# $Id: PKGBUILD 105979 2014-02-20 12:14:35Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Unknown47 <unknown47r@gmail.com> # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> pkgname=libfm -pkgver=1.1.4 -pkgrel=1 +pkgver=1.2.0 +pkgrel=3 pkgdesc='Library for file management' url='http://pcmanfm.sourceforge.net/' arch=('i686' 'x86_64' 'mips64el') license=('GPL') groups=('lxde') depends=('gtk2' 'menu-cache' 'udisks' 'desktop-file-utils' 'libexif') -makedepends=('intltool') +makedepends=('intltool' 'gtk-doc') +replaces=('lxshortcut') +provides=('lxshortcut') +conflicts=('lxshortcut') install=libfm.install source=(http://downloads.sourceforge.net/pcmanfm/libfm-$pkgver.tar.xz) -md5sums=('fd3ff9174e097ab3fd619e4a10fd822a') +md5sums=('07d1361bc008db46b0fd4c775f5696de') build() { cd $pkgname-$pkgver diff --git a/community/libfreexl/PKGBUILD b/community/libfreexl/PKGBUILD new file mode 100644 index 000000000..175bbed9e --- /dev/null +++ b/community/libfreexl/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 105987 2014-02-20 17:40:58Z bgyorgy $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Brian Galey <bkgaley at gmail dot com> +# Contributor: Bruno Gola <brunogola at gmail dot com> + +pkgname=libfreexl +pkgver=1.0.0g +pkgrel=2 +pkgdesc="Library to extract valid data from within an Excel (.xls) spreadsheet" +arch=('i686' 'x86_64') +url="https://www.gaia-gis.it/fossil/freexl" +license=('MPL' 'GPL' 'LGPL') +depends=('glibc') +source=("http://www.gaia-gis.it/gaia-sins//${pkgname/lib/}-$pkgver.tar.gz") +sha256sums=('cf2b110f5fc7089fa61c7421f59caa4125b13087b4686ed82dba7abedf2ec266') + +build() { + cd "$srcdir/${pkgname/lib/}-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/${pkgname/lib/}-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/libftdi/PKGBUILD b/community/libftdi/PKGBUILD index 047615a8e..02c91cfba 100644 --- a/community/libftdi/PKGBUILD +++ b/community/libftdi/PKGBUILD @@ -1,15 +1,17 @@ -# $Id: PKGBUILD 105529 2014-02-09 17:42:22Z kkeen $ +# $Id: PKGBUILD 105985 2014-02-20 16:15:43Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> pkgname=libftdi pkgver=1.1 -pkgrel=2 -pkgdesc="A library to talk to FTDI chips" +pkgrel=3 +pkgdesc="A library to talk to FTDI chips, optional python bindings." arch=('i686' 'x86_64' 'mips64el') url="http://www.intra2net.com/en/developer/libftdi/download.php" license=('GPL2' 'LGPL2.1') depends=('libusbx') -makedepends=('boost' 'cmake') +optdepends=('python: library bindings') +makedepends=('boost' 'cmake' 'python' 'swig') +# doxygen for docs, confuse for eeprom source=(http://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig}) sha1sums=('f05ade5614aa31e64f91a30ce3782f7ca3704d18' 'SKIP') @@ -20,15 +22,22 @@ prepare() { } build() { - cd "${pkgname}1-$pkgver" - mkdir build + cd "$srcdir/${pkgname}1-$pkgver" + mkdir -p build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=ON \ -DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=OFF make } +# needs yet unknown dependencies +#check() { +# cd "$srcdir/${pkgname}1-$pkgver/build" +# make check +#} + package() { cd "${pkgname}1-$pkgver/build" make DESTDIR="$pkgdir" install } + diff --git a/community/libmediainfo/PKGBUILD b/community/libmediainfo/PKGBUILD index cdd16bdd1..a35cde454 100644 --- a/community/libmediainfo/PKGBUILD +++ b/community/libmediainfo/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 101323 2013-11-22 17:32:16Z spupykin $ +# $Id: PKGBUILD 105967 2014-02-20 09:02:05Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: hydro <hydro@freenet.de> pkgname=libmediainfo -pkgver=0.7.65 +pkgver=0.7.67 pkgrel=1 pkgdesc="shared library for mediainfo" arch=('i686' 'x86_64' 'mips64el') @@ -13,7 +13,7 @@ depends=( 'curl' 'libmms' 'libzen') makedepends=('libtool' 'automake' 'autoconf') source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2 libmediainfo-0.7.50-libmms.patch) -md5sums=('51f62420b58a61c27ec9406e82ab3999' +md5sums=('c6372a176f45a9971740b46c652f65eb' '2f4b21cc250f663d52b497dedb963e3b') build() { diff --git a/community/libspatialite/PKGBUILD b/community/libspatialite/PKGBUILD new file mode 100644 index 000000000..d9d3e4dcc --- /dev/null +++ b/community/libspatialite/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 105988 2014-02-20 17:46:02Z bgyorgy $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Brian Galey <bkgaley at gmail dot com> +# Contributor: Pietro Zambelli <peter.zamb at gmail dot com> + +pkgname=libspatialite +pkgver=4.1.1 +pkgrel=4 +pkgdesc="SQLite extension to support spatial data types and operations" +arch=('i686' 'x86_64') +url="https://www.gaia-gis.it/fossil/libspatialite" +license=('MPL' 'GPL' 'LGPL') +depends=('geos' 'libfreexl' 'libxml2' 'proj' 'sqlite3') +source=("http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz") +sha256sums=('0481a20af952f4a38c9dbb10f37fd38c45f16c50397f8da0079e02435b9b910f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr \ + --enable-libxml2 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/libxnvctrl/PKGBUILD b/community/libxnvctrl/PKGBUILD index e5f3cf25b..a7b6f3942 100644 --- a/community/libxnvctrl/PKGBUILD +++ b/community/libxnvctrl/PKGBUILD @@ -1,10 +1,9 @@ -# $Id: PKGBUILD 104297 2014-01-17 10:20:00Z flexiondotorg $ +# $Id: PKGBUILD 106022 2014-02-21 10:31:21Z flexiondotorg $ # Maintainer: Martin Wimpress <code@flexion.org> -# Contributor: Alessio Sergi <asergi at archlinux dot us> pkgname=libxnvctrl -pkgver=331.38 -pkgrel=2 +pkgver=331.49 +pkgrel=1 pkgdesc="NVIDIA X Ctrl library" arch=('i686' 'x86_64') url="http://www.nvidia.com/" @@ -12,7 +11,7 @@ license=('GPL2') depends=('libxext') source=("http://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-${pkgver}.tar.bz2" "10_libxnvctrl_so_0.diff") -sha1sums=('ad3fd407dcf8678c770d6202651eb08162fd5e5d' +sha1sums=('9c6b3445fdc800ebf01703527a0610365dd6c0f3' '84146494a08d4b691e2cff84d1551210eee584dd') prepare() { diff --git a/community/libzdb/PKGBUILD b/community/libzdb/PKGBUILD index 8332420bf..a6fca9af3 100644 --- a/community/libzdb/PKGBUILD +++ b/community/libzdb/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 100245 2013-11-02 08:41:34Z spupykin $ +# $Id: PKGBUILD 105969 2014-02-20 09:02:23Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=libzdb -pkgver=2.12 -pkgrel=2 +pkgver=3.0 +pkgrel=1 pkgdesc="Zild Database Library" arch=('i686' 'x86_64' 'mips64el') url="http://www.tildeslash.com/libzdb/" license=('GPL') depends=('postgresql-libs' 'sqlite' 'libmariadbclient') source=(http://www.tildeslash.com/libzdb/dist/libzdb-$pkgver.tar.gz) -md5sums=('dd95114cae471d1b5dfda1f263b222c1') +md5sums=('3bb9efff10a1f3ebc5b76c1055c48635') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/lightdm/PKGBUILD b/community/lightdm/PKGBUILD index de8099c1b..a3de04e5e 100755 --- a/community/lightdm/PKGBUILD +++ b/community/lightdm/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 104558 2014-01-22 19:29:43Z alucryd $ +# $Id: PKGBUILD 105938 2014-02-19 16:00:07Z alucryd $ # Maintainer: Maxime Gauduin <alucryd@gmail.com> # Contributor: Morfeo <morfeo89@hotmail.it> pkgbase=lightdm pkgname=('lightdm' 'liblightdm-qt4' 'liblightdm-qt5') -pkgver=1.8.6 +pkgver=1.8.7 pkgrel=1 epoch=1 pkgdesc='A lightweight display manager' @@ -20,7 +20,7 @@ source=("https://launchpad.net/lightdm/${pkgver%.*}/${pkgver}/+download/${pkgbas 'lightdm.rules' 'lightdm-default-config.patch' 'Xsession') -sha256sums=('111760e65d9f29e4bfe41a8affc9d8aa4163d92832a0d2be03ccae4618603b9e' +sha256sums=('6a56b98224f147e27e0c26ce586ae9b7380dd23291b38a625fcc79a50cc63e39' '0d2adba25cdbe59e97ffd302083db9d5e23920780f41e04f64512cd6b633289a' 'b29521fbd7a48a8f60b93ecca3b30c30bcb71560de8033c8d39b25c22c6f696f' 'e8c4c5fd3b801a390d201166fd1fb9730e78a5c62928768103b870b6bd980ea0' diff --git a/community/lksctp-tools/PKGBUILD b/community/lksctp-tools/PKGBUILD index bfde05d0f..70bdf9a7b 100644 --- a/community/lksctp-tools/PKGBUILD +++ b/community/lksctp-tools/PKGBUILD @@ -3,15 +3,15 @@ # Contributer: Nicolas Martyanoff <khaelin@gmail.com> pkgname=lksctp-tools -pkgver=1.0.15 -pkgrel=2 +pkgver=1.0.16 +pkgrel=1 pkgdesc='An implementation of the SCTP protocol' arch=('i686' 'x86_64' 'mips64el') url='http://lksctp.sourceforge.net/' license=('GPL2' 'LGPL2.1') depends=('bash') source=("http://downloads.sourceforge.net/sourceforge/lksctp/$pkgname-$pkgver.tar.gz") -md5sums=('d829677541fb41061e7f4d61f8413b07') +md5sums=('708bb0b5a6806ad6e8d13c55b067518e') build() { cd $pkgname-$pkgver diff --git a/community/lxc/PKGBUILD b/community/lxc/PKGBUILD index 16ac7d949..cfd9ee539 100644 --- a/community/lxc/PKGBUILD +++ b/community/lxc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 105711 2014-02-14 09:37:34Z spupykin $ +# $Id: PKGBUILD 106015 2014-02-21 08:11:19Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andrea Zucchelli <zukka77@gmail.com> # Contributor: Daniel Micay <danielmicay@gmail.com> @@ -6,13 +6,13 @@ # Contributor: Jon Nordby <jononor@gmail.com> pkgname=lxc -pkgver=0.9.0 +pkgver=1.0.0 epoch=1 -pkgrel=6 +pkgrel=1 pkgdesc="Linux Containers" arch=('i686' 'x86_64' 'mips64el') url="http://linuxcontainers.org" -depends=('bash' 'perl' 'libseccomp') +depends=('bash' 'perl' 'libseccomp' 'libcap') makedepends=('docbook2x') optdepends=('arch-install-scripts: for archlinux template') license=('LGPL') @@ -20,16 +20,14 @@ install=lxc.install source=("http://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz" "lxc.tmpfiles.d" "lxc@.service") -md5sums=('8552a4479090616f4bc04d8473765fc9' +md5sums=('87a9d168a6e55326303cce3b2cb7f82e' 'df94c9fb8a753011c86ee664e9f521ff' '32db4ef06b27f36e15ff4b67c049dfeb') prepare() { cd "$srcdir/$pkgname-${pkgver/_/-}" - sed -i 's|sbin/init none bind|sbin/init none ro,bind|' templates/lxc-sshd.in sed -i \ - -e "s/for name in docbook2x-man db2x_docbook2man; do/for name in docbook2x-man db2x_docbook2man docbook2man; do/" \ - -e "s|AM_INIT_AUTOMAKE.*|AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability subdir-objects])|" \ + -e 's|"\\"-//Davenport//DTD DocBook V3.0//EN\\""|"\\"-//OASIS//DTD DocBook XML\\" \\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\""|' \ configure.ac } diff --git a/community/lxshortcut/PKGBUILD b/community/lxshortcut/PKGBUILD deleted file mode 100644 index b1f549ee8..000000000 --- a/community/lxshortcut/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# $Id: PKGBUILD 99904 2013-10-31 02:23:19Z allan $ -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> -# Contributor: swanson <swansonwebaake at gmail dot com> -# Contributor: zoulnix <http://goo.gl/HQaP> -# Contributor: n6W588kJ2d - -pkgname=lxshortcut -pkgver=0.1.2 -pkgrel=1 -pkgdesc='Small program used to edit application shortcuts' -arch=('i686' 'x86_64' 'mips64el') -url="http://lxde.org/" -license=('GPL') -groups=('lxde') -depends=('gtk2') -makedepends=('autoconf' 'automake' 'gcc' 'intltool' 'make' 'pkg-config') -source=(http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz) -md5sums=('72f0dfafa8098be853beae6e33b5e13b') - -build() { - cd $srcdir/$pkgname-$pkgver - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var - - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=${pkgdir} install -} diff --git a/community/mediainfo-gui/PKGBUILD b/community/mediainfo-gui/PKGBUILD index 5dd6cffc7..d879eabbb 100644 --- a/community/mediainfo-gui/PKGBUILD +++ b/community/mediainfo-gui/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 103859 2014-01-12 19:04:40Z eric $ +# $Id: PKGBUILD 105973 2014-02-20 09:02:55Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: hydro <hydro@freenet.de> pkgname=mediainfo-gui -pkgver=0.7.65 -pkgrel=6 +pkgver=0.7.67 +pkgrel=1 pkgdesc="GUI for mediainfo" arch=('i686' 'x86_64' 'mips64el') url="http://mediainfo.sourceforge.net" @@ -12,7 +12,7 @@ license=('GPL') depends=('libmediainfo' 'wxgtk' 'libsm' 'desktop-file-utils') install=mediainfo-gui.install source=(http://downloads.sourceforge.net/mediainfo/mediainfo_${pkgver}.tar.bz2) -md5sums=('19d7992a7d0cba0f5f731f993e8c537c') +md5sums=('480ac31a4080737f21937f9d260b96de') build() { cd MediaInfo/Project/GNU/GUI diff --git a/community/mediainfo/PKGBUILD b/community/mediainfo/PKGBUILD index daf640f31..b9918cf24 100644 --- a/community/mediainfo/PKGBUILD +++ b/community/mediainfo/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 101325 2013-11-22 17:32:35Z spupykin $ +# $Id: PKGBUILD 105971 2014-02-20 09:02:40Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: hydro <hydro@freenet.de> pkgname=mediainfo -pkgver=0.7.65 +pkgver=0.7.67 pkgrel=1 pkgdesc="supplies technical and tag information about a video or audio file" arch=('i686' 'x86_64' 'mips64el') @@ -12,7 +12,7 @@ license=('GPL') depends=('libmediainfo') makedepends=('libtool' 'automake' 'autoconf') source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2) -md5sums=('19d7992a7d0cba0f5f731f993e8c537c') +md5sums=('480ac31a4080737f21937f9d260b96de') build() { cd $srcdir/MediaInfo/Project/GNU/CLI diff --git a/community/minitube/PKGBUILD b/community/minitube/PKGBUILD index 1abb5e533..1f52a12d7 100644 --- a/community/minitube/PKGBUILD +++ b/community/minitube/PKGBUILD @@ -1,26 +1,18 @@ -# $Id: PKGBUILD 103290 2014-01-02 16:08:02Z speps $ +# $Id: PKGBUILD 105996 2014-02-20 19:25:26Z speps $ # Maintainer : speps <speps at aur dot archlinux dot org> # Contributor: Andrea Scarpino <andrea@archlinux.org> pkgname=minitube -pkgver=2.1.5 +pkgver=2.1.6 pkgrel=1 pkgdesc="A native YouTube client in Qt. Watch YouTube videos without Flash Player" arch=('i686' 'x86_64' 'mips64el') url='http://flavio.tordini.org/minitube' license=('GPL3') -depends=('phonon') +depends=('phonon-qt4') install="$pkgname.install" -source=("http://flavio.tordini.org/files/$pkgname/$pkgname-$pkgver.tar.gz" - "$pkgname-missing-locale.patch") -md5sums=('e52933f3ae5200f83aa39ac71ac13bfb' - '70cdaa1d3df700cf90243be5a0d55443') - -prepare() { - cd $pkgname - # remove missing translations - patch -p1 -i ../${source[1]} -} +source=("http://flavio.tordini.org/files/$pkgname/$pkgname-1.2.6.tar.gz") # tagging mismatch +md5sums=('b5a7794cad661d47e0e856b864f774af') build() { cd $pkgname diff --git a/community/minitube/minitube-missing-locale.patch b/community/minitube/minitube-missing-locale.patch deleted file mode 100644 index 5288120e4..000000000 --- a/community/minitube/minitube-missing-locale.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -aur minitube/locale/locale.pri minitube.patched/locale/locale.pri ---- minitube/locale/locale.pri 2013-12-19 00:37:27.000000000 +0100 -+++ minitube.patched/locale/locale.pri 2013-12-25 00:03:56.783943888 +0100 -@@ -4,7 +4,7 @@ - DEPENDPATH += $$PWD - - # ls -1 *.ts | tr '\n' ' ' --TRANSLATIONS += ar.ts ast.ts be.ts bg_BG.ts ca.ts ca_ES.ts cs_CZ.ts da.ts de_DE.ts el.ts en.ts es.ts es_AR.ts es_ES.ts es_MX.ts fi.ts fi_FI.ts fr.ts gl.ts he_IL.ts hr.ts hu.ts ia.ts it.ts ja_JP.ts ky.ts ms_MY.ts nb.ts nl.ts pl.ts pl_PL.ts pt.ts pt_BR.ts ro.ts ru.ts sk.ts sl.ts sq.ts sv_SE.ts tr.ts uk.ts uk_UA.ts vi.ts zh_CN.ts zh_TW.ts -+TRANSLATIONS += ar.ts ast.ts bg_BG.ts ca.ts cs_CZ.ts da.ts de_DE.ts el.ts en.ts es.ts es_AR.ts es_ES.ts fi.ts fi_FI.ts fr.ts gl.ts he_IL.ts hu.ts ia.ts it.ts ja_JP.ts ky.ts ms_MY.ts nb.ts nl.ts pl.ts pl_PL.ts pt_BR.ts ro.ts ru.ts sk.ts sl.ts sq.ts sv_SE.ts tr.ts uk.ts uk_UA.ts zh_CN.ts zh_TW.ts - isEmpty(QMAKE_LRELEASE) { - win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe - else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease diff --git a/community/mldonkey/PKGBUILD b/community/mldonkey/PKGBUILD new file mode 100644 index 000000000..2b64d7515 --- /dev/null +++ b/community/mldonkey/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 106068 2014-02-21 22:30:45Z anatolik $ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> + +pkgname=mldonkey +pkgver=3.1.3 +pkgrel=3 +pkgdesc='A multi-network P2P client' +arch=(i686 x86_64) +url='http://mldonkey.sourceforge.net/' +license=(GPL) +depends=(desktop-file-utils file gd) +makedepends=(lablgtk2 librsvg ocaml) +optdepends=('librsvg: GUI support' + 'gtk2: GUI support') +backup=(etc/conf.d/mldonkey) +install=mldonkey.install +source=(http://downloads.sourceforge.net/sourceforge/mldonkey/$pkgname-$pkgver.tar.bz2 + mldonkey.conf + mldonkey.service + mldonkey.tmpfiles + gd_version.patch) +sha1sums=('424386f277e84df55a2cbab213fae60787e42c8b' + '7e70e5f3c7bf5036debde4dacbed463c0464a1e7' + 'd6886479cf36fbee0a62def0291706973c91dfa5' + 'a454b919fac518ecb32f6262afbef0dfc423401c' + '18c4a0753d338bf24cac28dcbd43abcf59ce4534') + +prepare() { + cd mldonkey-$pkgver + patch -p0 < "$srcdir/gd_version.patch" # a fix from upstream http://cvs.savannah.gnu.org/viewvc/mldonkey/config/configure.in?root=mldonkey&r1=1.357&r2=1.358&view=patch + + rm config/configure # remove this file to force its regeneration, we've just changed ./config/configure.in +} + +build() { + cd mldonkey-$pkgver + ./configure --prefix=/usr --enable-gui=newgui2 + make +} + +package() { + cd mldonkey-$pkgver + make DESTDIR="$pkgdir" install + + install -Dm644 icons/rsvg/type_source_normal.svg "$pkgdir"/usr/share/icons/mldonkey.svg + install -Dm644 distrib/mldonkey.desktop "$pkgdir"/usr/share/applications/mldonkey.desktop + + install -Dm644 "$srcdir"/mldonkey.conf "$pkgdir"/etc/conf.d/mldonkey + install -Dm644 "$srcdir"/mldonkey.service "$pkgdir"/usr/lib/systemd/system/mldonkey.service + install -Dm644 "$srcdir"/mldonkey.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/mldonkey.conf +} diff --git a/community/mldonkey/gd_version.patch b/community/mldonkey/gd_version.patch new file mode 100644 index 000000000..666bd2c71 --- /dev/null +++ b/community/mldonkey/gd_version.patch @@ -0,0 +1,40 @@ +--- config/configure.in 2013/07/07 11:46:34 1.357 ++++ config/configure.in 2013/07/20 10:14:57 1.358 +@@ -932,13 +932,30 @@ + GDMAJORVERSION=`$GDLIBCONFIG --majorversion` + GDMINORVERSION=`$GDLIBCONFIG --minorversion` + GDREVISION=`$GDLIBCONFIG --revision` +- if [ [ $GDMAJORVERSION = 2 ] && [ $GDMINORVERSION = 0 ] && [ $GDREVISION -gt 14 ]]; then +- AC_MSG_RESULT($GDVERSION) +- LIBGD=yes +- else +- AC_MSG_RESULT(no (found $GDVERSION)) +- LIBGD=no +- fi ++ case $GDMAJORVERSION in ++ 1) ++ AC_MSG_RESULT(no (found $GDVERSION)) ++ LIBGD=no ++ ;; ++ 2) ++ if test $GDMINORVERSION -ge 1; then ++ AC_MSG_RESULT($GDVERSION) ++ LIBGD=yes ++ else ++ if test $GDREVISION -gt 14; then ++ AC_MSG_RESULT($GDVERSION) ++ LIBGD=yes ++ else ++ AC_MSG_RESULT(no (found $GDVERSION)) ++ LIBGD=no ++ fi ++ fi ++ ;; ++ *) ++ AC_MSG_RESULT($GDVERSION) ++ LIBGD=yes ++ ;; ++ esac + else + LIBGD=yes + fi diff --git a/community/mldonkey/mldonkey.conf b/community/mldonkey/mldonkey.conf new file mode 100644 index 000000000..04d91573a --- /dev/null +++ b/community/mldonkey/mldonkey.conf @@ -0,0 +1,2 @@ +# Parameters to be passed to the daemon (default is empty) +PARAMS="" diff --git a/community/mldonkey/mldonkey.install b/community/mldonkey/mldonkey.install new file mode 100644 index 000000000..68186f0be --- /dev/null +++ b/community/mldonkey/mldonkey.install @@ -0,0 +1,27 @@ +post_install() { + if ! getent group mldonkey >/dev/null; then + groupadd --system mldonkey + fi + if ! getent passwd mldonkey >/dev/null; then + useradd --system -c 'Mldonkey daemon user' -g mldonkey -d /var/lib/mldonkey -s /bin/false mldonkey + fi + + mkdir -p /var/lib/mldonkey + chown mldonkey:mldonkey /var/lib/mldonkey + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + if getent passwd mldonkey >/dev/null; then + userdel mldonkey + fi + if getent group mldonkey >/dev/null; then + groupdel mldonkey + fi + + update-desktop-database -q +} diff --git a/community/mldonkey/mldonkey.service b/community/mldonkey/mldonkey.service new file mode 100644 index 000000000..db644c2f1 --- /dev/null +++ b/community/mldonkey/mldonkey.service @@ -0,0 +1,10 @@ +[Unit] +Description=Mldonkey - Multiple Peer-To-Peer Network Client +After=network.target + +[Service] +User=mldonkey +ExecStart=/usr/bin/mlnet -log_to_syslog true -log_file /dev/null -pid /run/mldonkey + +[Install] +WantedBy=multi-user.target diff --git a/community/mldonkey/mldonkey.tmpfiles b/community/mldonkey/mldonkey.tmpfiles new file mode 100644 index 000000000..5dde66a82 --- /dev/null +++ b/community/mldonkey/mldonkey.tmpfiles @@ -0,0 +1 @@ +d /run/mldonkey 755 mldonkey mldonkey - diff --git a/community/multitail/PKGBUILD b/community/multitail/PKGBUILD index e286de8e6..62549d928 100644 --- a/community/multitail/PKGBUILD +++ b/community/multitail/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 101979 2013-12-03 09:00:37Z kkeen $ +# $Id: PKGBUILD 105957 2014-02-19 21:11:15Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Kevin Piche <kevin@archlinux.org> # Contributor: Roberto Carvajal <roberto@archlinux.org> pkgname=multitail -pkgver=6.0 +pkgver=6.2.1 pkgrel=1 pkgdesc="Lets you view one or multiple files like the original tail program" arch=('i686' 'x86_64' 'mips64el') @@ -13,7 +13,7 @@ url="http://www.vanheusden.com/multitail" depends=('ncurses') backup=('etc/multitail.conf') source=("${url}/${pkgname}-${pkgver}.tgz") -md5sums=('fb8efc547d389257021885fe5402255c') +md5sums=('f83419bd2b90ae4227c5a3ce2f66b56d') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 308c12d92..ca12d118a 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 104706 2014-01-24 17:24:23Z bpiotrowski $ +# $Id: PKGBUILD 105921 2014-02-19 10:26:16Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: James Campos <james.r.campos@gmail.com> @@ -8,7 +8,7 @@ # Contributor: TIanyi Cui <tianyicui@gmail.com> pkgname=nodejs -pkgver=0.10.25 +pkgver=0.10.26 pkgrel=1 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64' 'mips64el') @@ -19,7 +19,7 @@ makedepends=('python2') checkdepends=('curl') options=('!emptydirs') source=(http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz) -sha256sums=('46eef3b9d5475a2081dc2b2f7cf1f4c3a56824d1fc9b04e7ed1d7a88e8f6b36f') +sha256sums=('ef5e4ea6f2689ed7f781355012b942a2347e0299da0804a58de8e6281c4b1daa') prepare() { cd node-v$pkgver diff --git a/community/nomacs/PKGBUILD b/community/nomacs/PKGBUILD index a409ba992..10102ee81 100644 --- a/community/nomacs/PKGBUILD +++ b/community/nomacs/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 104801 2014-01-26 12:17:39Z andyrtr $ +# $Id: PKGBUILD 106005 2014-02-21 02:39:30Z speps $ # Maintainer: speps <speps at aur dot archlinux dot org> pkgname=nomacs -pkgver=1.6.2 -pkgrel=3 +pkgver=1.6.4 +pkgrel=1 pkgdesc="A Qt image viewer" arch=(i686 x86_64) url="http://www.nomacs.org/" @@ -12,7 +12,7 @@ depends=('qt4' 'exiv2' 'libraw' 'opencv') makedepends=('cmake') install="$pkgname.install" source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver-source.tar.bz2") -md5sums=('3e8782b7bf792933ba673a2e9340841b') +md5sums=('c3d77583ff1926077eaa66c0dadec296') prepare() { cd $pkgname-$pkgver diff --git a/community/pcmanfm/PKGBUILD b/community/pcmanfm/PKGBUILD index 0823d454b..2548f0931 100644 --- a/community/pcmanfm/PKGBUILD +++ b/community/pcmanfm/PKGBUILD @@ -1,34 +1,34 @@ -# $Id: PKGBUILD 97022 2013-09-10 14:32:02Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com> +# $Id: PKGBUILD 105925 2014-02-19 10:35:08Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Unknown47 <unknown47r@gmail.com> # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> pkgname=pcmanfm -pkgver=1.1.2 -pkgrel=2 -pkgdesc="An extremely fast and lightweight file manager" +pkgver=1.2.0 +pkgrel=1 +pkgdesc='Extremely fast and lightweight file manager' arch=('i686' 'x86_64' 'mips64el') -url="http://pcmanfm.sourceforge.net/" +url='http://pcmanfm.sourceforge.net/' license=('GPL') groups=('lxde') depends=('gtk2' 'desktop-file-utils' 'libfm' 'lxmenu-data') makedepends=('intltool') optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems') install=$pkgname.install -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.gz) -md5sums=('41104699e653ff2b0a9a9e80a257d6a2') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz) +md5sums=('11d59a492c9802866279a6e7e2b3f49e') build() { - cd $srcdir/$pkgname-$pkgver - - ./configure --sysconfdir=/etc --prefix=/usr + cd $pkgname-$pkgver + ./configure --sysconfdir=/etc --prefix=/usr make LDFLAGS+=' -lm' } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR="$pkgdir" install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install - sed -e 's|x-directory/normal|inode/directory|' -i $pkgdir/usr/share/applications/pcmanfm.desktop + sed -e 's|x-directory/normal|inode/directory|' -i \ + "$pkgdir"/usr/share/applications/pcmanfm.desktop } diff --git a/community/pidgin-lwqq/PKGBUILD b/community/pidgin-lwqq/PKGBUILD index 2d8d73663..6d1e74387 100644 --- a/community/pidgin-lwqq/PKGBUILD +++ b/community/pidgin-lwqq/PKGBUILD @@ -1,22 +1,22 @@ -# $Id: PKGBUILD 105694 2014-02-14 06:29:13Z fyan $ +# $Id: PKGBUILD 106078 2014-02-22 02:44:18Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> pkgname=pidgin-lwqq -pkgver=0.2c.20140214 -_commit=de349f7a2d6b1728f4f03e374dd3bc000f4b1248 +pkgver=0.2c.20140221 +#_gitver="tag=$pkgver" +_gitver='commit=c8482238c5d484c33c1444ad4ef9d967ce970596' pkgrel=1 pkgdesc="A pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol" arch=('i686' 'x86_64' 'mips64el') url="https://github.com/xiehuc/pidgin-lwqq" license=('GPL3') -depends=('libpurple' 'curl' 'hicolor-icon-theme' 'gtk-update-icon-cache' 'libev' 'js185') +depends=('libpurple' 'curl' 'hicolor-icon-theme' 'gtk-update-icon-cache' 'libev' 'js') optdepends=('pidgin: Multi-protocol instant messaging client' 'telepathy-haze: Empathy plugin support') makedepends=('git' 'cmake') install=$pkgname.install options=(debug) -source=("git://github.com/xiehuc/pidgin-lwqq.git#commit=$_commit" -#source=("git://github.com/xiehuc/pidgin-lwqq.git#tag=$pkgver" +source=("git://github.com/xiehuc/pidgin-lwqq.git#$_gitver" "git://github.com/xiehuc/lwqq.git") prepare() { @@ -29,8 +29,7 @@ prepare() { build() { cd $pkgname - #Disable SSL as per upstream suggests - cmake -DCMAKE_INSTALL_PREFIX=/usr -DSSL=Off . + cmake -DCMAKE_INSTALL_PREFIX=/usr . make } diff --git a/community/plan9port/PKGBUILD b/community/plan9port/PKGBUILD index 48e94274c..561fa5ca9 100644 --- a/community/plan9port/PKGBUILD +++ b/community/plan9port/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 104876 2014-01-27 23:51:46Z arodseth $ +# $Id: PKGBUILD 105934 2014-02-19 12:29:36Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: phrakture <aaronmgriffin--gmail--com> # Contributor: Fazlul Shahriar @@ -6,7 +6,7 @@ pkgname=plan9port pkgver=20131024 -pkgrel=3 +pkgrel=4 pkgdesc='Port of many programs from Plan 9 to Unix-like operating systems' arch=('x86_64' 'i686' 'mips64el') url='http://swtch.com/plan9port/' @@ -19,14 +19,16 @@ options=('!zipman' 'staticlibs') source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tgz" 'plan9.sh') sha256sums=('5cba7856bdb35a96a923120e61d320d424fee1a6f09b7af3e87eb7814a747d4f' - 'c216efa3455ba0b22b1723ae62e4c1e21b3a776a760d8fcedb902ff994b701c1') + '8768c080a8ceb0a52a3f866bd8ffc4b26f9deb97c6877ceea78ec0b316325a6b') package() { cd "$pkgname" - # TODO: Find a way to install in a better directory than /usr/local/plan9 + # Try the gentoo way for fixing hardcoded paths + PLAN9=/usr/lib/plan9 + grep --null -l -r '/usr/local/plan9' | xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g" - d=usr/local + d=usr/lib ./INSTALL -b install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh" @@ -44,11 +46,11 @@ package() { rm -f config install.log install.sum install.txt configure Makefile INSTALL \ LICENSE - # Fix hardcoded paths - for f in `grep -H -r "$pkgdir$d/$pkgname" | cut -d: -f1`; do - echo -n "\t$f" - [ -e "$f" ] && sed -i "s:$pkgdir$d/$pkgname:$d/$pkgname:" "$f" || true - done + # The old method for fixing hardcoded paths + #for f in `grep -H -r "$pkgdir$d/$pkgname" | cut -d: -f1`; do + # echo -n "\t$f" + # [ -e "$f" ] && sed -i "s:$pkgdir$d/$pkgname:$d/$pkgname:" "$f" || true + #done # Fix python scripts find "$pkgdir" -name '*.py' -print0 |xargs -0 \ @@ -67,6 +69,11 @@ package() { gunzip "$i" fi done + + # Once more + #grep --null -l -r "$pkgdir/usr/local/plan9" | xargs --null sed -i "s!$pkgdir/usr/local/plan9!${PLAN9}!g" + grep --null -l -r "$pkgdir$PLAN9" | xargs --null sed -i "s!$pkgdir$PLAN9!${PLAN9}!g" || true + grep --null -l -r "/build/plan9port/pkg/plan9port/$PLAN9" | xargs --null sed -i "s!/build/plan9port/pkg/plan9port/$PLAN9!${PLAN9}!g" || true } # vim:set ts=2 sw=2 et: diff --git a/community/plan9port/plan9.sh b/community/plan9port/plan9.sh index 86109fc57..0cce7dc83 100644 --- a/community/plan9port/plan9.sh +++ b/community/plan9port/plan9.sh @@ -1,2 +1,4 @@ -export PLAN9=/usr/local/plan9 +export PLAN9=/usr/lib/plan9 export PATH=$PATH:$PLAN9/bin +export ROOTPATH=$ROOTPATH:$PLAN9/bin +export MANPATH=$MANPATH:$PLAN9/man diff --git a/community/poedit/PKGBUILD b/community/poedit/PKGBUILD index a9c7f4b2a..fe8e29d3a 100644 --- a/community/poedit/PKGBUILD +++ b/community/poedit/PKGBUILD @@ -1,4 +1,5 @@ -# $Id: PKGBUILD 105671 2014-02-13 11:03:29Z spupykin $ +# $Id: PKGBUILD 105897 2014-02-18 09:38:03Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alexander Fehr <pizzapunk@gmail.com> @@ -6,7 +7,7 @@ pkgname=poedit pkgver=1.6.4 -pkgrel=1 +pkgrel=2 pkgdesc="Cross-platform gettext catalogs (.po files) editor" arch=('i686' 'x86_64' 'mips64el') url="http://www.poedit.net/" @@ -15,15 +16,9 @@ depends=('wxgtk' 'desktop-file-utils' 'lucene++' 'gtkspell') makedepends=('boost' 'libsm') install=poedit.install #source=(http://www.poedit.net/dl/poedit-$pkgver.tar.gz) -source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-$pkgver.tar.gz - build-fix.patch) -md5sums=('203e27826c1baa4de403ce6d1cc60444' - '724aed37a6760c8ac9405f9ee4b70c05') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 <$srcdir/build-fix.patch -} +#source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-$pkgver.tar.gz +source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-${pkgver}b.tar.gz) +md5sums=('bd494435b42121b5262b386d95ca66fd') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/poedit/build-fix.patch b/community/poedit/build-fix.patch deleted file mode 100644 index fb582bf2b..000000000 --- a/community/poedit/build-fix.patch +++ /dev/null @@ -1,235 +0,0 @@ -diff -wbBur poedit-1.6.4/src/edapp.cpp poedit-1.6.4.my/src/edapp.cpp ---- poedit-1.6.4/src/edapp.cpp 2014-02-07 22:03:55.000000000 +0400 -+++ poedit-1.6.4.my/src/edapp.cpp 2014-02-13 14:49:30.231324614 +0400 -@@ -67,7 +67,6 @@ - - #include "edapp.h" - #include "edframe.h" --#include "aboutbox.h" - #include "manager.h" - #include "prefsdlg.h" - #include "parser.h" -@@ -666,7 +665,7 @@ - about.SetCopyright(L"Copyright \u00a9 1999-2014 Václav Slavík"); - about.SetWebSite("http://www.poedit.net"); - -- PoeditAboutBox(about); -+// PoeditAboutBox(about); - } - - -@@ -792,7 +791,7 @@ - void PoeditApp::EmailSupport(const wxString& subject, const wxString& body) - { - wxString body2(body); -- wxString appname(HasLicense() ? "Poedit Pro" : "Poedit"); -+ wxString appname("Poedit"); - - #ifdef __WXOSX__ - NSString *s = [[NSProcessInfo processInfo] operatingSystemVersionString]; -@@ -927,31 +926,8 @@ - - void PoeditApp::OnLicense(wxCommandEvent&) - { -- ShowLicenseInformation(); - } - - void PoeditApp::ImportLicenseKey(const wxString& url) - { -- PoeditLicense lic = PoeditLicense::FromURL(url); -- -- if (lic.IsValid()) -- { -- lic.Store(); // save valid license -- ShowLicenseInformation(nullptr, &lic); // ...and thank the user -- } -- else if (!lic.Key().empty()) -- { -- // if we at least parsed the data, even if invalid, show it and let the -- // user correct them -- ShowLicenseInformation(nullptr, &lic); -- } -- else -- { -- wxMessageDialog dlg(nullptr, _("Invalid license data."), _("Poedit"), wxOK | wxICON_ERROR); -- dlg.SetExtendedMessage(wxString::Format(_("The link doesn't contain valid Poedit license. Try entering it manually or contact support at help@poedit.net.\n\n(%s)"), url)); -- dlg.ShowModal(); -- } -- -- if (wxTopLevelWindows.empty()) -- OpenNewFile(); - } -diff -wbBur poedit-1.6.4/src/edapp.h poedit-1.6.4.my/src/edapp.h ---- poedit-1.6.4/src/edapp.h 2014-02-07 22:03:55.000000000 +0400 -+++ poedit-1.6.4.my/src/edapp.h 2014-02-13 14:49:08.831324860 +0400 -@@ -27,8 +27,6 @@ - #ifndef _EDAPP_H_ - #define _EDAPP_H_ - --#include "licensing.h" -- - #include <wx/app.h> - #include <wx/string.h> - #include <wx/intl.h> -diff -wbBur poedit-1.6.4/src/edframe.cpp poedit-1.6.4.my/src/edframe.cpp ---- poedit-1.6.4/src/edframe.cpp 2014-02-07 22:03:55.000000000 +0400 -+++ poedit-1.6.4.my/src/edframe.cpp 2014-02-13 14:49:20.301324729 +0400 -@@ -85,9 +85,7 @@ - #include "errorbar.h" - #include "utility.h" - #include "languagectrl.h" --#include "statistics.h" - #include "welcomescreen.h" --#include "wordpress.h" - #include "errors.h" - - #include <wx/listimpl.cpp> -@@ -1374,8 +1372,6 @@ - - void PoeditFrame::OnNewForWordpress(wxCommandEvent&) - { -- CHECK_LICENSE(Wordpress); -- - DoIfCanDiscardCurrentDoc([=]{ - NewForWordpress(); - }); -@@ -1466,73 +1462,6 @@ - void PoeditFrame::NewForWordpress() - { - // TODO: share code with NewFromPOT() -- -- wxDirDialog dirdlg(this, -- _("Select the folder with the WordPress theme or plugin"), -- "", -- wxDD_DEFAULT_STYLE | wxDD_DIR_MUST_EXIST); -- if (dirdlg.ShowModal() != wxID_OK) -- return; -- -- try -- { -- std::unique_ptr<ProgressInfo> progress(new ProgressInfo(this, _("WordPress"))); -- progress->UpdateMessage(_("Analyzing WordPress code...")); -- -- auto wpInfo = WordpressInfo::Analyze(dirdlg.GetPath()); -- auto catalog = wpInfo.CreateCatalog(); -- -- delete m_catalog; -- m_catalog = catalog.release(); -- -- m_fileName = wpInfo.GetPOFilePath("LANG"); -- m_catalog->SetFileName(m_fileName); -- m_fileExistsOnDisk = false; -- m_modified = true; -- -- EnsureContentView(Content::PO); -- m_list->CatalogChanged(m_catalog); -- -- UpdateTitle(); -- UpdateMenu(); -- UpdateStatusBar(); -- InitSpellchecker(); -- -- progress.reset(); -- -- UpdateCatalog(); -- -- // Choose the language: -- wxWindowPtr<LanguageDialog> dlg(new LanguageDialog(this)); -- -- dlg->ShowWindowModalThenDo([=](int retcode){ -- if (retcode == wxID_OK) -- { -- Language lang = dlg->GetLang(); -- m_catalog->Header().Lang = lang; -- m_catalog->Header().SetHeaderNotEmpty("Plural-Forms", lang.DefaultPluralFormsExpr()); -- -- m_fileName = wpInfo.GetPOFilePath(lang.Code()); -- m_catalog->SetFileName(m_fileName); -- m_fileExistsOnDisk = false; -- m_modified = true; -- -- UpdateTitle(); -- UpdateMenu(); -- UpdateStatusBar(); -- RecreatePluralTextCtrls(); -- InitSpellchecker(); -- if (m_list) -- m_list->CatalogChanged(m_catalog); // refresh language column -- } -- }); -- } -- catch (const WordpressException& e) -- { -- WordpressErrorDialog dlg(this, e); -- dlg.ShowModal(); -- return; -- } - } - - -@@ -1728,10 +1657,6 @@ - - void PoeditFrame::OnStatistics(wxCommandEvent&) - { -- CHECK_LICENSE(Statistics); -- -- wxWindowPtr<wxDialog> dlg(new StatisticsWindow(this, *m_catalog)); -- dlg->ShowWindowModalThenDo([dlg](int){}); - } - - -diff -wbBur poedit-1.6.4/src/tm/tm_migrate.cpp poedit-1.6.4.my/src/tm/tm_migrate.cpp ---- poedit-1.6.4/src/tm/tm_migrate.cpp 2014-02-01 22:10:12.000000000 +0400 -+++ poedit-1.6.4.my/src/tm/tm_migrate.cpp 2014-02-13 14:15:57.734681082 +0400 -@@ -92,7 +92,7 @@ - return path.GetFullPath(); - #endif - #else -- return wxStandardPaths::Get().GetInstallPrefix() + "/libexec/poedit-dump-legacy-tm"; -+ return wxStandardPaths::Get().GetInstallPrefix() + "/lib/poedit/poedit-dump-legacy-tm"; - #endif - } - -diff -wbBur poedit-1.6.4/src/welcomescreen.cpp poedit-1.6.4.my/src/welcomescreen.cpp ---- poedit-1.6.4/src/welcomescreen.cpp 2014-02-07 22:03:55.000000000 +0400 -+++ poedit-1.6.4.my/src/welcomescreen.cpp 2014-02-13 14:48:36.421325233 +0400 -@@ -118,11 +118,10 @@ - #endif - - --class UpgradeSizer : public wxBoxSizer, public LicenseObserver -+class UpgradeSizer : public wxBoxSizer - { - public: - UpgradeSizer(int orient) : wxBoxSizer(orient) {} -- virtual void OnLicenseEntered() { ShowItems(false); } - }; - - } // anonymous namespace -@@ -203,26 +202,6 @@ - - sizer->AddSpacer(20); - -- if (!HasLicense()) -- { -- auto upgradeSizer = new UpgradeSizer(wxHORIZONTAL); -- sizer->Add(upgradeSizer, wxSizerFlags().Align(wxALIGN_RIGHT).Border()); -- auto upgradeBtn = new wxBitmapButton(this, wxID_ANY, wxArtProvider::GetBitmap("UpgradeBanner"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER, wxDefaultValidator, "Upgrade to Pro"); -- upgradeBtn->SetBitmapCurrent(wxArtProvider::GetBitmap("UpgradeBannerHighlight")); -- upgradeBtn->SetToolTip(_("Upgrade to the Pro version of Poedit with more features.")); -- upgradeSizer->Add(upgradeBtn); -- auto upgradeInfoBtn = new wxBitmapButton(this, wxID_ANY, wxArtProvider::GetBitmap("UpgradeBannerInfo"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER, wxDefaultValidator, "Upgrade to Pro Info"); -- upgradeInfoBtn->SetBitmapCurrent(wxArtProvider::GetBitmap("UpgradeBannerInfoHighlight")); -- upgradeSizer->Add(upgradeInfoBtn); -- -- upgradeBtn->Bind(wxEVT_BUTTON, [=](wxCommandEvent&){ -- PurchaseUpgrade(UpgradeSource::WelcomeScreen_Upgrade, /*certain=*/false, parent); -- }); -- upgradeInfoBtn->Bind(wxEVT_BUTTON, [=](wxCommandEvent&){ -- AskUserToUpgradeIfAppliable(UpgradeSource::WelcomeScreen_Info, parent); -- }); -- } -- - sizer->Add(new ActionButton( - this, wxID_OPEN, - _("Edit a translation"), diff --git a/community/python2-xapian/PKGBUILD b/community/python2-xapian/PKGBUILD index 668f7c797..00542c856 100644 --- a/community/python2-xapian/PKGBUILD +++ b/community/python2-xapian/PKGBUILD @@ -1,22 +1,22 @@ -# $Id: PKGBUILD 99157 2013-10-25 05:16:11Z fyan $ +# $Id: PKGBUILD 105927 2014-02-19 11:00:34Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: DonVla <donvla/users.sourceforge/net> # Contributor: Hervé Cauwelier <herve/oursours/net> pkgname=python2-xapian _realname=xapian-bindings -pkgver=1.2.15 +pkgver=1.2.17 epoch=1 -pkgrel=2 +pkgrel=1 pkgdesc="Python bindings for Xapian" arch=(i686 x86_64 mips64el) url="http://xapian.org/docs/bindings/python/" license=('GPL') depends=('python2' "xapian-core=$epoch:$pkgver") -source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-$pkgver.tar.gz") +source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz") build() { - cd "$srcdir/${_realname}-$pkgver" + cd ${_realname}-$pkgver LDFLAGS=-lpython2.7 ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \ --prefix=/usr --with-python \ @@ -26,10 +26,10 @@ build() { } package() { - cd "$srcdir/${_realname}-$pkgver" + cd ${_realname}-$pkgver make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: -sha512sums=('b3733308f0446fa041dcae677b3d3316bd8e775fcd1a1770ca2fab5b60e40463bbbce210cb1161161f6e9f1ff5e5473d38c2dab922b7f4f2705ac165d991c0ec') +sha512sums=('4c8348ece62b57c4442e8cb16282b7da2a8ebecaf99eefbb263795c1451f1395c2073ea311df0159e74a4d52029682034926526b17554627cf8e286f328f36a7') diff --git a/community/qingy/PKGBUILD b/community/qingy/PKGBUILD deleted file mode 100644 index a5a12bf08..000000000 --- a/community/qingy/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# $Id: PKGBUILD 99973 2013-10-31 02:46:37Z allan $ -# Maintainer: Eric Bélanger <eric@archlinux.org> -# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> - -pkgname=qingy -pkgver=1.0.0 -pkgrel=9 -pkgdesc="A DirectFB getty replacement" -arch=('i686' 'x86_64' 'mips64el') -url="http://qingy.sourceforge.net/" -license=('GPL') -depends=('directfb' 'openssl' 'libxss') -makedepends=('emacs') -backup=('etc/pam.d/qingy' 'etc/logrotate.d/qingy' 'etc/qingy/settings' 'etc/qingy/welcomes') -install=qingy.install -source=(http://downloads.sourceforge.net/sourceforge/qingy/${pkgname}-${pkgver}.tar.bz2 \ - qingy.logrotate qingy@.service) -sha1sums=('22ee505e935bf7ddcbd33e23f754a5a1ca082c81' - '21676cf0b71334c666f7b3e4f3d8b4f319266c81' - '43a6f1cee03ffa598a77cb3c333cb1e8c63b4a2c') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed -i 's|/lib/security/||' media/pam/default/qingy - XFREE=/usr/bin/Xorg XINIT=/usr/bin/xinit \ - ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc \ - --enable-emacs --disable-optimizations --disable-static - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m644 "${srcdir}/qingy.logrotate" "${pkgdir}/etc/logrotate.d/qingy" - install -D -m644 "${srcdir}/qingy@.service" "${pkgdir}/usr/lib/systemd/system/qingy@.service" -} diff --git a/community/qingy/qingy.install b/community/qingy/qingy.install deleted file mode 100644 index 0defe31d8..000000000 --- a/community/qingy/qingy.install +++ /dev/null @@ -1,20 +0,0 @@ -infodir=usr/share/info -filelist=(qingy.info.gz) - -post_install() { - [[ -x usr/bin/install-info ]] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install -} - -pre_remove() { - [[ -x usr/bin/install-info ]] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} diff --git a/community/qingy/qingy.logrotate b/community/qingy/qingy.logrotate deleted file mode 100644 index e16fb8d2a..000000000 --- a/community/qingy/qingy.logrotate +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/qingy.log { - compress - rotate 1 - size=+1024k - notifempty - missingok - copytruncate - noolddir -} diff --git a/community/qingy/qingy@.service b/community/qingy/qingy@.service deleted file mode 100644 index 537eb53fd..000000000 --- a/community/qingy/qingy@.service +++ /dev/null @@ -1,21 +0,0 @@ -[Unit] -Description=Qingy on %I -Documentation=info:qingy -After=systemd-user-sessions.service plymouth-quit-wait.service - -[Service] -Environment=TERM=linux -ExecStart=/usr/bin/qingy %I -n -Type=idle -Restart=always -RestartSec=0 -UtmpIdentifier=%I -TTYPath=/dev/%I -TTYReset=yes -TTYVHangup=yes -TTYVTDisallocate=yes -KillMode=process -IgnoreSIGPIPE=no - -[Install] -Alias=getty.target.wants/qingy@tty1.service diff --git a/community/qlandkartegt/PKGBUILD b/community/qlandkartegt/PKGBUILD index b82fe34ab..e04cc3a2c 100644 --- a/community/qlandkartegt/PKGBUILD +++ b/community/qlandkartegt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 98683 2013-10-16 20:04:00Z jlichtblau $ +# $Id: PKGBUILD 106093 2014-02-22 12:16:01Z jlichtblau $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Matthias Maennich <arch@maennich.net> # Contributor: <boenki@gmx.de> pkgname=qlandkartegt -pkgver=1.7.5 +pkgver=1.7.6 pkgrel=1 pkgdesc="Use your GPS with Linux" arch=('i686' 'x86_64' 'mips64el') @@ -18,7 +18,7 @@ install=$pkgname.install changelog=$pkgname.changelog source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz $pkgname-mimetypes.xml) -sha256sums=('a8b571ba838568ed258c61fa0ab18b370c7d22d2539a632a0028b78f4a22aa2c' +sha256sums=('ff1e352d07fd136e75a80035d888efe095f1f44ca15d46262169e98e5a14e1c3' 'e8d33948831f8a66edd752c71c653085d6c4d9f1969e70dd8c40b9c7ca37fba0') build() { diff --git a/community/qlandkartegt/qlandkartegt.changelog b/community/qlandkartegt/qlandkartegt.changelog index 04136b721..cad9bb592 100644 --- a/community/qlandkartegt/qlandkartegt.changelog +++ b/community/qlandkartegt/qlandkartegt.changelog @@ -1,3 +1,6 @@ +2014-02-22 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * qlandkartegt 1.7.6-1 + 2013-10-16 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> * qlandkartegt 1.7.5-1 diff --git a/community/rethinkdb/PKGBUILD b/community/rethinkdb/PKGBUILD new file mode 100644 index 000000000..9c69e0a37 --- /dev/null +++ b/community/rethinkdb/PKGBUILD @@ -0,0 +1,64 @@ +# $Id: PKGBUILD 106066 2014-02-21 22:10:06Z anatolik $ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Contributor: Sigmund Lahn <sigmund@lahn.no> + +pkgname=rethinkdb +pkgver=1.11.3 +pkgrel=1 +pkgdesc='An open-source distributed database built with love.' +arch=(i686 x86_64) +url='http://www.rethinkdb.com/' +license=(AGPL) +depends=(protobuf ncurses gperftools) +makedepends=(boost python python2 subversion) # subversion is for checking out V8 sources +backup=(etc/rethinkdb/instances.d/default.conf) +install=rethinkdb.install +options=(!emptydirs) +source=( + http://download.rethinkdb.com/dist/rethinkdb-$pkgver.tgz + rethinkdb-tmpfile.conf + rethinkdb.service + build.diff +) +sha256sums=('ab59ebe40f4a6a499b27e4ce85818f8ebe88d919d832f22384ba2cdacf0ba267' + '656d3a42e75d087e723f71aa320fdd91cbbb82071ef72eb11fd3e4a619b429a4' + 'e56bffa2b9ebc3a00ef566ab2be0719a633c89d961a2461dfa2d9ffdb258c1a2' + 'd2330ac0d2fd0a8f14daa4993eb49b55b0de544496e15345502fcdea2a6aaf88') + +prepare() { + cd rethinkdb-$pkgver + patch -p1 < "$srcdir/build.diff" +} + +build() { + cd rethinkdb-$pkgver + ./configure --fetch v8 --disable-drivers --dynamic all --enable-precompiled-web --prefix=/usr --sysconfdir=/etc + make +} + +check() { + cd rethinkdb-$pkgver + make build/release/rethinkdb-unittest + # skip some failing tests (should be fixed in 1.12) + # https://github.com/rethinkdb/rethinkdb/issues/1059 + # https://github.com/rethinkdb/rethinkdb/issues/549 + ./build/release/rethinkdb-unittest --gtest_filter=-TimerTest.TestApproximateWaitTimes:RDBProtocol.OvershardedSindexCreateDrop:RDBProtocol.OvershardedMissingAttr:RDBProtocol.OvershardedOverSizedKeys:RDBBtree.SindexInterruptionViaDrop:RDBBtree.SindexPostConstruct +} + +package() { + cd rethinkdb-$pkgver + make DESTDIR="$pkgdir" install + + install -Dm644 "$srcdir"/rethinkdb-tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/rethinkdb.conf + install -Dm644 "$srcdir"/rethinkdb.service "$pkgdir"/usr/lib/systemd/system/rethinkdb@.service + + # create 'default' database instance + cp "$pkgdir"/etc/rethinkdb/default.conf.sample "$pkgdir"/etc/rethinkdb/instances.d/default.conf + sed -e 's|# directory=/var/lib/rethinkdb|directory=/var/lib/rethinkdb|' \ + -e 's|# pid-file=/var/run/rethinkdb/rethinkdb.pid|pid-file=/var/run/rethinkdb/default.pid|' \ + -i "$pkgdir"/etc/rethinkdb/instances.d/default.conf + + # Arch uses systemd, no need for init.d scripts + rm -r "$pkgdir"/etc/init.d +} diff --git a/community/rethinkdb/build.diff b/community/rethinkdb/build.diff new file mode 100644 index 000000000..cb271712e --- /dev/null +++ b/community/rethinkdb/build.diff @@ -0,0 +1,20 @@ +diff --git a/mk/support.mk b/mk/support.mk +index 821695c..7f8f857 100644 +--- a/mk/support.mk ++++ b/mk/support.mk +@@ -185,9 +185,13 @@ $(V8_SRC_DIR): + $P MAKE v8 dependencies + $(EXTERN_MAKE) -C $(V8_SRC_DIR) dependencies $(SUPPORT_LOG_REDIRECT) + +-$(V8_INT_LIB): $(V8_INT_DIR) ++ ( cd $(TC_SRC_DIR) && \ ++ find v8 -type f -exec sed -e 's_^#!/usr/bin/env python$$_&2_; s_^#!/usr/bin/python$$_&2_' -i {} \; && \ ++ sed 's/\bpython\b/python2/' -i v8/Makefile v8/build/gyp/gyp ) $(SUPPORT_LOG_REDIRECT) ++ ++$(V8_INT_LIB): | $(V8_INT_DIR) + $P MAKE v8 +- $(EXTERN_MAKE) -C $(V8_INT_DIR) native CXXFLAGS=-Wno-array-bounds $(SUPPORT_LOG_REDIRECT) ++ $(EXTERN_MAKE) -C $(V8_INT_DIR) native CXXFLAGS='-Wno-error' $(SUPPORT_LOG_REDIRECT) + $P AR $@ + find $(V8_INT_DIR) -iname "*.o" | grep -v '\/preparser_lib\/' | xargs ar cqs $(V8_INT_LIB); + diff --git a/community/rethinkdb/rethinkdb-tmpfile.conf b/community/rethinkdb/rethinkdb-tmpfile.conf new file mode 100644 index 000000000..694501e8a --- /dev/null +++ b/community/rethinkdb/rethinkdb-tmpfile.conf @@ -0,0 +1 @@ +d /run/rethinkdb 0755 rethinkdb rethinkdb -
\ No newline at end of file diff --git a/community/rethinkdb/rethinkdb.install b/community/rethinkdb/rethinkdb.install new file mode 100644 index 000000000..8c74c4f0b --- /dev/null +++ b/community/rethinkdb/rethinkdb.install @@ -0,0 +1,47 @@ +post_install() { + groupadd rethinkdb &>/dev/null + useradd -g rethinkdb -d /var/lib/rethinkdb -s /bin/false rethinkdb &>/dev/null + + /usr/bin/systemd-tmpfiles --create rethinkdb.conf + + if [ -d /var/lib/rethinkdb ]; then + echo "Database directory '/var/lib/rethinkdb' already exists. If you want to recreate default database then delete the directory and run 'rethinkdb create -d /var/lib/rethinkdb/default'." + fi + + if [ ! -d /var/lib/rethinkdb/default ]; then + mkdir -p /var/lib/rethinkdb + /usr/bin/rethinkdb create -d /var/lib/rethinkdb/default + fi + chown -R rethinkdb:rethinkdb /var/lib/rethinkdb +} + +post_upgrade() { + IFS='.' read -a new_version <<< "$1" + IFS='.' read -a old_version <<< "$2" + + # previously data diecotry was /var/lib/rethinkdb/ + # now we moved to multi-instance location: /var/lib/rethinkdb/default + # convert from previous location, remove this check Q3'13 + if [ -e /var/lib/rethinkdb/metadata -a ! -d /var/lib/rethinkdb/default ]; then + echo "You store rethinkdb data in /var/lib/rethinkdb. Moving this data to per-instance location /var/lib/rethinkdb/default." + mkdir /var/lib/rethinkdb/default + mv /var/lib/rethinkdb/* /var/lib/rethinkdb/default + chown -R rethinkdb:rethinkdb /var/lib/rethinkdb + fi + + if [ "${old_version[0]}" != "${new_version[0]}" -o "${old_version[1]}" != "${new_version[1]}" ]; then + echo "This release changed data storage format. Please upgrade your data using following information https://github.com/rethinkdb/rethinkdb/tree/next/scripts/migration" + fi + + getent group rethinkdb >/dev/null 2>&1 || groupadd rethinkdb &>/dev/null + getent passwd rethinkdb >/dev/null 2>&1 || useradd -g rethinkdb -d /var/lib/rethinkdb -s /bin/false rethinkdb &>/dev/null +} + +post_remove() { + #/usr/bin/systemctl stop rethinkdb@default.service + + getent passwd rethinkdb >/dev/null && userdel rethinkdb + getent group rethinkdb >/dev/null && groupdel rethinkdb + + echo "RethinkDB data directory '/var/lib/rethinkdb' is left untouched. Remove it if you really sure you won't need your data in the future." +} diff --git a/community/rethinkdb/rethinkdb.service b/community/rethinkdb/rethinkdb.service new file mode 100644 index 000000000..9c9bbedd4 --- /dev/null +++ b/community/rethinkdb/rethinkdb.service @@ -0,0 +1,12 @@ +[Unit] +Description=RethinkDB database server for instance '%i' + +[Service] +User=rethinkdb +Group=rethinkdb +ExecStart=/usr/bin/rethinkdb serve --config-file /etc/rethinkdb/instances.d/%i.conf +KillMode=process +PrivateTmp=true + +[Install] +WantedBy=multi-user.target diff --git a/community/roxterm/PKGBUILD b/community/roxterm/PKGBUILD index dd13a0d2d..63e0eaabf 100644 --- a/community/roxterm/PKGBUILD +++ b/community/roxterm/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 105882 2014-02-17 19:03:35Z ttoepper $ +# $Id: PKGBUILD 106002 2014-02-20 21:13:47Z ttoepper $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Alexander Fehr <pizzapunk gmail com> pkgname=roxterm pkgver=2.8.2 -pkgrel=1 +pkgrel=2 pkgdesc='Tabbed, VTE-based terminal emulator' arch=('i686' 'x86_64' 'mips64el') url='http://roxterm.sourceforge.net/' @@ -23,7 +23,9 @@ sha1sums=('fcde0b09f6ff02c5ec93a528e870e139d814b529' build() { cd "${srcdir}/roxterm-${pkgver}" - python2 mscript.py configure --prefix='/usr' + # FS#38967: Reenable deprecated VTE3 functions + python2 mscript.py configure --prefix='/usr' \ + --enable-deprecated-bg-opts python2 mscript.py build } diff --git a/community/simgear/PKGBUILD b/community/simgear/PKGBUILD index 83df26b44..7bfbabc08 100644 --- a/community/simgear/PKGBUILD +++ b/community/simgear/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 101482 2013-11-26 11:05:38Z spupykin $ +# $Id: PKGBUILD 105919 2014-02-19 10:21:57Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: William Rea <sillywilly@gmail.com> # Contributor: Hans Janssen <hans@janserv.xs4all.nl> pkgname=simgear -pkgver=2.12.1 -pkgrel=2 +pkgver=3.0.0 +pkgrel=1 pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications." arch=(i686 x86_64) -depends=('glut' 'freealut' 'plib' 'openscenegraph') +depends=('glu' 'glut' 'freealut' 'plib' 'openscenegraph') makedepends=('boost' 'cmake' 'mesa') license=("GPL") #url="http://www.simgear.org" @@ -16,7 +16,7 @@ url="https://gitorious.org/fg" options=('!makeflags' 'staticlibs') #source=("SimGear-$pkgver.tar.gz::https://gitorious.org/fg/simgear/archive-tarball/release/$pkgver") source=("http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/simgear-$pkgver.tar.bz2") -md5sums=('8c483e13bce96f1dc27300a087fdb962') +md5sums=('097f55962dfc48b3e740334dbfda64a6') build() { cd $srcdir/simgear-$pkgver diff --git a/community/simgear/osg-3.2.patch b/community/simgear/osg-3.2.patch deleted file mode 100644 index 30d732ad6..000000000 --- a/community/simgear/osg-3.2.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -wbBur simgear-2.10.0/simgear/scene/material/EffectGeode.cxx simgear-2.10.0.q/simgear/scene/material/EffectGeode.cxx ---- simgear-2.10.0/simgear/scene/material/EffectGeode.cxx 2011-06-29 18:58:56.000000000 +0400 -+++ simgear-2.10.0.q/simgear/scene/material/EffectGeode.cxx 2013-07-25 16:14:24.268934729 +0400 -@@ -80,15 +80,15 @@ - int n = _effect->getGenerator(Effect::TANGENT); - tsg->generate(geometry, 0); // 0 is normal_unit, but I have no idea what that is! - if (n != -1 && !geometry->getVertexAttribArray(n)) -- geometry->setVertexAttribData(n, osg::Geometry::ArrayData(tsg->getTangentArray(), osg::Geometry::BIND_PER_VERTEX,GL_FALSE)); -+ geometry->setVertexAttribArray(n, tsg->getTangentArray(), osg::Array::BIND_PER_VERTEX); - - n = _effect->getGenerator(Effect::BINORMAL); - if (n != -1 && !geometry->getVertexAttribArray(n)) -- geometry->setVertexAttribData(n, osg::Geometry::ArrayData(tsg->getBinormalArray(), osg::Geometry::BIND_PER_VERTEX,GL_FALSE)); -+ geometry->setVertexAttribArray(n, tsg->getBinormalArray(), osg::Array::BIND_PER_VERTEX); - - n = _effect->getGenerator(Effect::NORMAL); - if (n != -1 && !geometry->getVertexAttribArray(n)) -- geometry->setVertexAttribData(n, osg::Geometry::ArrayData(tsg->getNormalArray(), osg::Geometry::BIND_PER_VERTEX,GL_FALSE)); -+ geometry->setVertexAttribArray(n, tsg->getNormalArray(), osg::Array::BIND_PER_VERTEX); - } - } - diff --git a/community/simplescreenrecorder/PKGBUILD b/community/simplescreenrecorder/PKGBUILD new file mode 100644 index 000000000..49aa26559 --- /dev/null +++ b/community/simplescreenrecorder/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 106080 2014-02-22 04:33:02Z kkeen $ +# Maintainer: Kyle Keen <keenerd@gmail.com> +# Contributor: Maarten Baert + +pkgname=simplescreenrecorder +pkgver=0.2.0 +pkgrel=2 +pkgdesc="A feature-rich screen recorder that supports X11 and OpenGL." +arch=("i686" "x86_64") +url="http://www.maartenbaert.be/simplescreenrecorder/" +license=("GPL3") +depends=("qt4" "ffmpeg" "ffmpeg-compat" "alsa-lib" "libpulse" "jack" "libgl" "glu" "libx11" "libxext" "libxfixes") +optdepends=("lib32-simplescreenrecorder: OpenGL recording of 32-bit applications") +makedepends=("git") +source=("git+https://github.com/MaartenBaert/ssr.git#tag=0.2.0") +md5sums=("SKIP") + +options=("!libtool") +install=simplescreenrecorder.install + +build() { + cd ssr + ./configure --prefix=/usr --disable-assert + make +} +package() { + cd ssr + make DESTDIR="${pkgdir}" install +} diff --git a/community/simplescreenrecorder/simplescreenrecorder.install b/community/simplescreenrecorder/simplescreenrecorder.install new file mode 100644 index 000000000..5fc896fdc --- /dev/null +++ b/community/simplescreenrecorder/simplescreenrecorder.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -f usr/share/icons/hicolor + ldconfig +} +post_upgrade() { + post_install +} +post_remove() { + post_install +} diff --git a/community/stlink/PKGBUILD b/community/stlink/PKGBUILD new file mode 100644 index 000000000..8104d73c0 --- /dev/null +++ b/community/stlink/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> + +pkgname=stlink +pkgrel=1 +pkgver=1.0.0 +pkgdesc='Firtmware programmer for STM32 STLINK v1/v2 protocol' +arch=(i686 x86_64) +url='https://github.com/texane/stlink' +license=(BSD) +depends=(libusb) +install=stlink.install +source=(https://github.com/texane/stlink/archive/$pkgver.zip) +sha256sums=('09e676948adda9fd354d0a07584ad5884bc7f8e36ddb6b2f39b2211056b7263a') + +build() { + cd stlink-$pkgver + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd stlink-$pkgver + + # install binaries + make DESTDIR="$pkgdir" install + + # install additional files + install -Dm644 stlink_v1.modprobe.conf "$pkgdir"/etc/modprobe.d/stlink_v1.modprobe.conf + install -Dm644 49-stlinkv1.rules "$pkgdir"/etc/udev/rules.d/49-stlinkv1.rules + install -Dm644 49-stlinkv2.rules "$pkgdir"/etc/udev/rules.d/49-stlinkv2.rules + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README +} diff --git a/community/stlink/stlink.install b/community/stlink/stlink.install new file mode 100644 index 000000000..c1dec8388 --- /dev/null +++ b/community/stlink/stlink.install @@ -0,0 +1,23 @@ +msg() { +# modprobe -r usb-storage && modprobe usb-storage + udevadm control --reload-rules + echo "You may have to reload the usb-storage module." + echo "To do this use" + echo " modprobe -r usb-storage && modprobe usb-storage" +} + +# arg 1: the new package version +post_install() { + msg +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + msg +} + +# arg 1: the old package version +post_remove() { + msg +} diff --git a/community/subtle/PKGBUILD b/community/subtle/PKGBUILD new file mode 100644 index 000000000..73bc390bc --- /dev/null +++ b/community/subtle/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 106073 2014-02-21 23:10:38Z anatolik $ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Angel Velasquez <angvp@archlinux.org> +# Contributor: unexist <unexist@dorfelite.net> +# Contributor: Abakus <java5@arcor.de> +# Contributor: TDY <tdy@gmx.com> +# Contributor: Xilon <xilonmu@gmail.com> + +pkgname=subtle +# check the mercurial hash at http://hg.subforge.org/subtle +_hg_revision=3243 +_hg_hash=43d1d0478c46 +pkgver=0.11.r$_hg_revision +pkgrel=1 +pkgdesc='Grid-based manual tiling window manager' +arch=(x86_64 i686) +url='http://subtle.subforge.org/' +license=(GPL) +depends=(ruby libxrandr libxft libxpm libxinerama libxtst) +backup=(etc/xdg/subtle/subtle.rb) +install=subtle.install +source=(http://hg.subforge.org/subtle/archive/$_hg_hash.tar.bz2 + do_not_relink_binaries_on_install.diff) +sha256sums=('d3e29561a78a0491e6357ce60c940a1b050e99d116bffb7881d97b6a6b893137' + '448dd3bcc8fd3807ab0f66c1d82edccbeb830502dfe758770e7f7a76ffce35a0') + +prepare() { + cd subtle-$_hg_hash + + # Use vendor_ruby instead of site_ruby + sed -e \ + 's/RbConfig::CONFIG\["sitelibdir"\]/RbConfig::CONFIG\["vendorlibdir"\]/' \ + -i Rakefile + + patch -p1 < "$srcdir"/do_not_relink_binaries_on_install.diff +} + +build() { + cd subtle-$_hg_hash + + rake build revision=$_hg_revision +} + +package() { + cd subtle-$_hg_hash + + # regenerate config with proper $pkgdir, revision and cppflags are not needed at this step + rake config destdir="$pkgdir" + rake install +} diff --git a/community/subtle/do_not_relink_binaries_on_install.diff b/community/subtle/do_not_relink_binaries_on_install.diff new file mode 100644 index 000000000..030fd3880 --- /dev/null +++ b/community/subtle/do_not_relink_binaries_on_install.diff @@ -0,0 +1,12 @@ +diff -r 71c757f2a3c4 Rakefile +--- a/Rakefile Wed Jun 19 15:12:38 2013 +0200 ++++ b/Rakefile Thu Jan 23 20:46:18 2014 -0800 +@@ -535,7 +535,7 @@ + ## + + desc("Install subtle") +-task(:install => [:config, :build]) do ++task(:install => [:config]) do + verbose = (true == RakeFileUtils.verbose) + + # Make install dirs diff --git a/community/subtle/subtle.install b/community/subtle/subtle.install new file mode 100644 index 000000000..76b832b5c --- /dev/null +++ b/community/subtle/subtle.install @@ -0,0 +1,5 @@ +post_upgrade() { + echo "In order to use sur you can install ruby-curb and ruby-minitar." + echo "If you have subtle on your system remember to upgrade with:" + echo " sur upgrade" +} diff --git a/community/tmux/PKGBUILD b/community/tmux/PKGBUILD index bb4f4e368..a8e3d231f 100644 --- a/community/tmux/PKGBUILD +++ b/community/tmux/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 87109 2013-03-27 11:16:29Z spupykin $ +# $Id: PKGBUILD 106013 2014-02-21 07:54:51Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: TDY <tdy@gmx.com> # Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com> pkgname=tmux -pkgver=1.8 +pkgver=1.9 pkgrel=1 pkgdesc='A terminal multiplexer' url='http://tmux.sourceforge.net/' @@ -13,7 +13,7 @@ license=('BSD') depends=('ncurses' 'libevent') source=(http://downloads.sourceforge.net/tmux/tmux-$pkgver.tar.gz LICENSE) -md5sums=('b9477de2fe660244cbc6e6d7e668ea0e' +md5sums=('5f5ed0f03a666279264da45b60075600' '71601bc37fa44e4395580b321963018e') build() { diff --git a/community/tup/PKGBUILD b/community/tup/PKGBUILD new file mode 100644 index 000000000..288994aa8 --- /dev/null +++ b/community/tup/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Arvid Norlander <anmaster A_T tele2 d_o_t (ccTLD for Sweden, which is se)> +# Contributor: Patrick McCarty <pnorcks at gmail dot com> + +pkgname=tup +pkgver=0.7.1 +pkgrel=1 +pkgdesc='A fast, file-based build system' +arch=(i686 x86_64) +url='http://gittup.org/tup/index.html' +license=(GPL2) +depends=(fuse) +install=tup.install +source=(https://github.com/gittup/tup/archive/v$pkgver.zip) +sha256sums=('9c9107bc1ea2ee18fdd706fd870deec155c45655b1199492d1a14ccbc498a918') + +build() { + cd tup-$pkgver + # We can't run tup itself here as it requires fuse, but fuse is not available + # in clean chroot environment. Use bootstrapped version of tup. + TUP_LABEL=$pkgver ./build.sh +} + +check() { + cd tup-$pkgver/test + #./test.sh +} + +package() { + cd tup-$pkgver + + install -d "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man1 "$pkgdir"/usr/share/vim/vimfiles/{syntax,ftdetect} + install -m755 -t "$pkgdir"/usr/bin build/tup + install -m644 -t "$pkgdir"/usr/share/man/man1 tup.1 + install -m644 -t "$pkgdir"/usr/share/vim/vimfiles/syntax contrib/syntax/tup.vim + echo 'au BufNewFile,BufRead Tupfile,*.tup setf tup' > "$pkgdir"/usr/share/vim/vimfiles/ftdetect/tup.vim +} diff --git a/community/tup/tup.install b/community/tup/tup.install new file mode 100644 index 000000000..4d71928a6 --- /dev/null +++ b/community/tup/tup.install @@ -0,0 +1,30 @@ +suid_set=tmp/tup.upgrade.suid_set +binary=/usr/bin/tup + +suid_msg() { + if [ -f $suid_set ]; then + echo "$binary has suid bit set. It allows you to run commands in chroot-ed environment (e.g. for full dependency tracking)." + echo "See 'man tup' for more information." + else + echo "If you want to be able to run commands in chroot-ed environment (e.g. for full dependency tracking)" \ + "you need to set suid bit on tup binary: 'sudo chmod +s $binary'." + echo "See 'man tup' for more information." + fi +} + +pre_upgrade() { + [ -u $binary ] && touch $suid_set + return 0 +} + +post_install() { + suid_msg + return 0 +} + +post_upgrade() { + suid_msg + [ -f $suid_set ] && chmod +s $binary + rm -f $suid_set + return 0 +} diff --git a/community/v8/PKGBUILD b/community/v8/PKGBUILD new file mode 100644 index 000000000..0bd5f7e58 --- /dev/null +++ b/community/v8/PKGBUILD @@ -0,0 +1,74 @@ +# $Id: PKGBUILD 106071 2014-02-21 22:59:53Z anatolik $ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Kaiting Chen <kaitocracy@gmail.com> +# Contributor: tocer <tocer.deng@gmail.com> + +pkgname=v8 +# use http://omahaproxy.appspot.com/ to find stable v8 version +pkgver=3.23.17.13 +pkgrel=1 +pkgdesc='Fast and modern Javascript engine' +arch=(i686 x86_64) +url='http://code.google.com/p/v8' +license=(BSD) +depends=(readline icu) +makedepends=(subversion python2) +# unfortunately https://github.com/$pkgname/$pkgname does not contain all tags +source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.bz2 + v8.pc) +sha256sums=('4b826735d182e9615fd9259e3f5d008c4f53d98c9f3531a6af75f00bd07be0b1' + '2b054309df9af9fb2e3e14527e88360b44745649b4866e592fb357ac90935f5d') + +[[ "$CARCH" = 'i686' ]] && ARCH=ia32 +[[ "$CARCH" = 'x86_64' ]] && ARCH=x64 + +prepare() { + cd v8-$pkgver + + # we do not need icu sources, just one icu.gyp + sed -e 's|\bthird_party/icu --revision |--depth=files third_party/icu --revision |' -i Makefile + make dependencies + + find build/ test/ tools/ src/ -type f -exec \ + sed -e 's_^#!/usr/bin/env python$_&2_' \ + -e 's_^#!/usr/bin/python$_&2_' \ + -e "s_'python'_'python2'_" -i {} \; + + sed 's/\bpython\b/python2/' -i Makefile build/gyp/gyp + + sed "s/@VERSION@/$pkgver/g" -i "$srcdir/v8.pc" +} + +build() { + cd v8-$pkgver + + build/gyp_v8 -Dv8_enable_i18n_support=1 -Duse_system_icu=1 -Dconsole=readline -Dcomponent=shared_library -Dv8_target_arch=$ARCH -Dwerror= --generator-output=out -f make + + make -C out builddir=`pwd`/out/Release BUILDTYPE=Release mksnapshot.$ARCH + make -C out builddir=`pwd`/out/Release BUILDTYPE=Release +} + +check() { + cd v8-$pkgver + # A number of tests are failing. Figure out what happens and then enable tests. + # LD_LIBRARY_PATH=out/Release/lib.target tools/run-tests.py --no-presubmit --outdir=out --buildbot --arch=$ARCH --mode=Release # --progress=dots +} + +package() { + cd v8-$pkgver + + install -Dm755 out/Release/d8 "$pkgdir"/usr/bin/d8 + install -Dm755 out/Release/lib.target/libv8.so "$pkgdir"/usr/lib/libv8.so + + # V8 has several header files and ideally if it had its own folder in /usr/include + # But doing it here will break all users. Ideally if they use provided pkgconfig file. + install -d "$pkgdir"/usr/include + install -Dm644 include/*.h "$pkgdir"/usr/include + + install -d "$pkgdir"/usr/lib/pkgconfig + install -m644 "$srcdir/v8.pc" "$pkgdir"/usr/lib/pkgconfig + + install -d "$pkgdir"/usr/share/licenses/v8 + install -m644 LICENSE* "$pkgdir"/usr/share/licenses/v8 +} diff --git a/community/v8/v8.pc b/community/v8/v8.pc new file mode 100644 index 000000000..f3e604bec --- /dev/null +++ b/community/v8/v8.pc @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=/usr/lib +includedir=${prefix}/include + +Name: v8 +Description: V8 JavaScript Engine +Version: @VERSION@ +Libs: -L${libdir} -lv8 -pthread +Cflags: -I${includedir} diff --git a/community/virtualbox-modules-lts/PKGBUILD b/community/virtualbox-modules-lts/PKGBUILD index f8d432691..5f207b037 100644 --- a/community/virtualbox-modules-lts/PKGBUILD +++ b/community/virtualbox-modules-lts/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 105457 2014-02-08 12:33:27Z bpiotrowski $ +# $Id: PKGBUILD 106042 2014-02-21 16:17:57Z andyrtr $ # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Ionut Biru <ibiru@archlinux.org> # Contributor: Sébastien Luttringer @@ -6,7 +6,7 @@ pkgbase=virtualbox-modules-lts pkgname=('virtualbox-host-modules-lts' 'virtualbox-guest-modules-lts') pkgver=4.3.6 -pkgrel=5 +pkgrel=6 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') diff --git a/community/virtualbox-modules/PKGBUILD b/community/virtualbox-modules/PKGBUILD index e5a316067..e191a90f0 100644 --- a/community/virtualbox-modules/PKGBUILD +++ b/community/virtualbox-modules/PKGBUILD @@ -1,21 +1,21 @@ -# $Id: PKGBUILD 104437 2014-01-20 20:07:03Z tpowa $ +# $Id: PKGBUILD 106041 2014-02-21 14:56:19Z thomas $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Maintainer: Sébastien Luttringer pkgbase=virtualbox-modules pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules') pkgver=4.3.6 -pkgrel=4 +pkgrel=5 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') -makedepends=('linux>=3.12' 'linux<3.13' - 'linux-headers>=3.12' 'linux-headers<3.13' +makedepends=('linux>=3.13' 'linux<3.14' + 'linux-headers>=3.13' 'linux-headers<3.14' "virtualbox-host-dkms>=$pkgver" "virtualbox-guest-dkms>=$pkgver") # remember to also adjust the .install files and the package deps below -_extramodules=extramodules-3.12-ARCH +_extramodules=extramodules-3.13-ARCH build() { _kernver="$(cat /usr/lib/modules/$_extramodules/version)" @@ -33,7 +33,7 @@ build() { package_virtualbox-host-modules(){ _kernver="$(cat /usr/lib/modules/$_extramodules/version)" pkgdesc='Host kernel modules for VirtualBox' - depends=('linux>=3.12' 'linux<3.13') + depends=('linux>=3.13' 'linux<3.14') replaces=('virtualbox-modules') conflicts=('virtualbox-modules') install=virtualbox-host-modules.install @@ -48,7 +48,7 @@ package_virtualbox-guest-modules(){ _kernver="$(cat /usr/lib/modules/$_extramodules/version)" pkgdesc='Guest kernel modules for VirtualBox' license=('GPL') - depends=('linux>=3.12' 'linux<3.13') + depends=('linux>=3.13' 'linux<3.14') replaces=('virtualbox-archlinux-modules') conflicts=('virtualbox-archlinux-modules') install=virtualbox-guest-modules.install diff --git a/community/virtualbox-modules/virtualbox-guest-modules.install b/community/virtualbox-modules/virtualbox-guest-modules.install index 424121a1a..cfc68a808 100644 --- a/community/virtualbox-modules/virtualbox-guest-modules.install +++ b/community/virtualbox-modules/virtualbox-guest-modules.install @@ -1,5 +1,5 @@ _depmod() { - EXTRAMODULES=extramodules-3.12-ARCH + EXTRAMODULES=extramodules-3.13-ARCH depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) } diff --git a/community/virtualbox-modules/virtualbox-host-modules.install b/community/virtualbox-modules/virtualbox-host-modules.install index 864e3389c..82fea85e3 100644 --- a/community/virtualbox-modules/virtualbox-host-modules.install +++ b/community/virtualbox-modules/virtualbox-host-modules.install @@ -1,5 +1,5 @@ _depmod() { - EXTRAMODULES=extramodules-3.12-ARCH + EXTRAMODULES=extramodules-3.13-ARCH depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) } diff --git a/community/virtviewer/PKGBUILD b/community/virtviewer/PKGBUILD index 9251089ef..92df47f8b 100644 --- a/community/virtviewer/PKGBUILD +++ b/community/virtviewer/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 105236 2014-02-03 09:59:08Z heftig $ +# $Id: PKGBUILD 106034 2014-02-21 12:52:48Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Jonathan Wiersma <archaur at jonw dot org> pkgname=virtviewer pkgver=0.6.0 -pkgrel=2 +pkgrel=3 pkgdesc="A lightweight interface for interacting with the graphical display of virtualized guest OS." depends=('gtk-vnc' 'libglade>=2.6.0' 'libvirt' 'spice-gtk3' 'desktop-file-utils') -makedepends=('intltool') +makedepends=('intltool' 'spice-protocol') url="http://virt-manager.et.redhat.com" arch=('i686' 'x86_64' 'mips64el') license=('GPL') diff --git a/community/xapian-core/PKGBUILD b/community/xapian-core/PKGBUILD index 662d590dc..1011eb2df 100644 --- a/community/xapian-core/PKGBUILD +++ b/community/xapian-core/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 100301 2013-11-02 08:52:08Z spupykin $ +# $Id: PKGBUILD 105911 2014-02-19 08:50:20Z spupykin $ # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Alexander Fehr <pizzapunk gmail com> # Contributor: William Rea <sillywilly@gmail.com> @@ -6,8 +6,8 @@ pkgname=xapian-core epoch=1 -pkgver=1.2.15 -pkgrel=2 +pkgver=1.2.17 +pkgrel=1 pkgdesc='Open source search engine library.' arch=('i686' 'x86_64' 'mips64el') url='http://www.xapian.org/' @@ -15,8 +15,8 @@ license=('GPL') depends=('sh' 'gcc-libs' 'zlib' 'util-linux') # xapian config requires libxapian.la options=('libtool') -source=("http://oligarchy.co.uk/xapian/${pkgver}/${pkgname}-${pkgver}.tar.gz") -md5sums=('3af45069c6a14a7ecad2da24cbc3d2c5') +source=("http://oligarchy.co.uk/xapian/${pkgver}/${pkgname}-${pkgver}.tar.xz") +md5sums=('493117bf45e5471e86b4fc5d6d8069dc') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/yagf/PKGBUILD b/community/yagf/PKGBUILD index 10844f3a5..35887c297 100644 --- a/community/yagf/PKGBUILD +++ b/community/yagf/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 85428 2013-03-01 10:43:02Z andrea $ +# $Id: PKGBUILD 105975 2014-02-20 09:03:10Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: das-ich <das-ich@yandex.ru> pkgname=yagf -pkgver=0.9.2 -pkgrel=3 -pkgdesc="QT4-based GUI for Cuneiform and Tesseract OCRs" -arch=(i686 x86_64 'mips64el') +pkgver=0.9.3 +pkgrel=1 +pkgdesc="Qt4-based GUI for Cuneiform and Tesseract OCRs" +arch=(i686 x86_64 mips64el) url="http://symmetrica.net/cuneiform-linux/yagf-en.html" license=('GPL') depends=('qt4' 'aspell') @@ -16,7 +16,7 @@ optdepends=('cuneiform: recognition tool' makedepends=('cmake') install=yagf.install source=(http://symmetrica.net/cuneiform-linux/${pkgname}-${pkgver}.tar.gz) -md5sums=('13592e52006d20f71c0094aafb13ed0e') +md5sums=('54549f1daef831ca88532b450a9cf1d9') build() { cd "${srcdir}/${pkgname}-$pkgver" |