diff options
25 files changed, 661 insertions, 87 deletions
diff --git a/community/fbterm/PKGBUILD b/community/fbterm/PKGBUILD new file mode 100644 index 000000000..d2ebdb0d7 --- /dev/null +++ b/community/fbterm/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 81466 2012-12-21 12:36:51Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: noonov <noonov@gmail.com> + +pkgname=fbterm +pkgver=1.7.0 +pkgrel=5 +pkgdesc="A fast terminal emulator for linux with frame buffer device or VESA video card" +arch=('i686' 'x86_64') +url="http://code.google.com/p/fbterm/" +license=('GPL2') +depends=('gcc-libs' 'fontconfig') +optdepends=('libx86: for VESA video card support') +install=fbterm.install +source=("http://fbterm.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/${pkgname}-${pkgver%.?}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver%.?}" + + install -Dm644 terminfo/fbterm "${pkgdir}/usr/share/terminfo/f/fbterm" + + make DESTDIR="${pkgdir}" TERMINFO="${pkgdir}/usr/share/terminfo" install +} + +md5sums=('c36bae75a450df0519b4527cccaf7572') diff --git a/community/fbterm/fbterm.install b/community/fbterm/fbterm.install new file mode 100644 index 000000000..9b4d7ebd1 --- /dev/null +++ b/community/fbterm/fbterm.install @@ -0,0 +1,22 @@ +post_install() { + cat <<EOF + +==> To run fbterm as a non-root user, do: + +sudo gpasswd -a YOUR_USERNAME video + + +==> To enable keyboard shortcuts for non-root users, do: + +sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm + +or + +sudo chmod u+s /usr/bin/fbterm + +EOF +} + +post_upgrade() { + post_install $1 +} diff --git a/community/fcitx-fbterm/PKGBUILD b/community/fcitx-fbterm/PKGBUILD new file mode 100644 index 000000000..127ac3897 --- /dev/null +++ b/community/fcitx-fbterm/PKGBUILD @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Author: CSSlayer <wengxt@gmail.com> +# Contributor: Yangtse <yangtsesu@gmail.com> + +pkgname=fcitx-fbterm +pkgver=0.2.0 +pkgrel=2 +pkgdesc="Fbterm support for Fcitx." +arch=('i686' 'x86_64') +url="http://code.google.com/p/fcitx" +license=('GPL2') +depends=('fcitx>=4.1.0' 'fbterm') +makedepends=('cmake' 'intltool') +source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz") +install=fcitx-fbterm.install + +build(){ + cd "$srcdir/${pkgname}-${pkgver}" + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make +} + +package () +{ + cd "$srcdir/${pkgname}-${pkgver}/build" + make DESTDIR="${pkgdir}" install +} +md5sums=('a7eb80fde3e0d1cab27e230c912849da') diff --git a/community/fcitx-fbterm/fcitx-fbterm.install b/community/fcitx-fbterm/fcitx-fbterm.install new file mode 100644 index 000000000..cca516725 --- /dev/null +++ b/community/fcitx-fbterm/fcitx-fbterm.install @@ -0,0 +1,16 @@ +post_install() { + echo "$ sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm" + echo "or" + echo "$ sudo chmod u+s /usr/bin/fbterm" + + echo "Do above once,Then launch fbterm with fcitx" + echo "$ fcitx-fbterm-helper -l" +} +post_upgrade() { + echo "$ sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm" + echo "or" + echo "$ sudo chmod u+s /usr/bin/fbterm" + + echo "Do above once,Then launch fbterm with fcitx" + echo "$ fcitx-fbterm-helper -l" +} diff --git a/community/fcitx-mozc/PKGBUILD b/community/fcitx-mozc/PKGBUILD new file mode 100644 index 000000000..cd1413842 --- /dev/null +++ b/community/fcitx-mozc/PKGBUILD @@ -0,0 +1,100 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com> + +## Mozc compile option +_bldtype=Release + +_zipcoderel=201208 +_protobuf_ver=2.4.1 + +_pkgbase=mozc +pkgname=fcitx-mozc +pkgdesc="Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)" +pkgver=1.6.1187.102 +_patchver=${pkgver}.2 +pkgrel=3 +groups=('mozc-im') +arch=('i686' 'x86_64') +url="http://code.google.com/p/mozc/" +license=('custom') +depends=('qt' 'fcitx' 'zinnia') +makedepends=('pkg-config' 'python2' 'gtest' 'qt' 'curl' 'fcitx' 'gtk2') +replaces=('mozc' 'mozc-server' 'mozc-utils-gui' 'mozc-fcitx') +conflicts=('mozc' 'mozc-server' 'mozc-utils-gui' 'mozc-fcitx') +source=(http://mozc.googlecode.com/files/mozc-${pkgver}.tar.bz2 + http://downloads.sourceforge.net/pnsft-aur/ken_all-${_zipcoderel}.zip + http://downloads.sourceforge.net/pnsft-aur/jigyosyo-${_zipcoderel}.zip + http://protobuf.googlecode.com/files/protobuf-${_protobuf_ver}.tar.bz2 + http://fcitx.googlecode.com/files/fcitx-mozc-${_patchver}.patch +) + +build() { + cd "$srcdir" + ln -sf `which python2` ./python + PATH="${srcdir}:${PATH}" + + cd "${srcdir}/${_pkgbase}-${pkgver}" + + rm unix/fcitx -rf + patch -Np2 -i ${srcdir}/fcitx-mozc-${_patchver}.patch + + # Generate zip code seed + msg "Generating zip code seed..." + python2 dictionary/gen_zip_code_seed.py --zip_code="${srcdir}/KEN_ALL.CSV" --jigyosyo="${srcdir}/JIGYOSYO.CSV" >> data/dictionary_oss/dictionary09.txt + msg "Done." + + # Copy protobuf to be linked statically + cp -rf "${srcdir}/protobuf-${_protobuf_ver}" protobuf/files + + msg "Starting make..." + + _targets="server/server.gyp:mozc_server gui/gui.gyp:mozc_tool unix/fcitx/fcitx.gyp:fcitx-mozc" + _qmnames="qmake-qt4 qmake4 qmake" + + QTDIR=/usr python2 build_mozc.py gyp --channel_dev=0 + python2 build_mozc.py build_tools -c $_bldtype + python2 build_mozc.py build -c $_bldtype $_targets + + # Extract license part of mozc + head -n 28 server/mozc_server.cc > LICENSE +} + +package() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + install -D -m 755 out_linux/${_bldtype}/mozc_server "${pkgdir}/usr/lib/mozc/mozc_server" + install -m 755 out_linux/${_bldtype}/mozc_tool "${pkgdir}/usr/lib/mozc/mozc_tool" + install -d "${pkgdir}/usr/lib/mozc/documents/" + install -m 644 data/installer/*.html "${pkgdir}/usr/lib/mozc/documents/" + + install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + for mofile in out_linux/${_bldtype}/obj/gen/unix/fcitx/po/*.mo + do + filename=`basename $mofile` + lang=${filename/.mo/} + install -D -m 644 "$mofile" "${pkgdir}/usr/share/locale/$lang/LC_MESSAGES/fcitx-mozc.mo" + done + + install -D -m 755 out_linux/${_bldtype}/fcitx-mozc.so "${pkgdir}/usr/lib/fcitx/fcitx-mozc.so" + install -D -m 644 unix/fcitx/fcitx-mozc.conf "${pkgdir}/usr/share/fcitx/addon/fcitx-mozc.conf" + install -D -m 644 unix/fcitx/mozc.conf "${pkgdir}/usr/share/fcitx/inputmethod/mozc.conf" + + install -d "${pkgdir}/usr/share/fcitx/mozc/icon" + install -m 644 data/images/product_icon_32bpp-128.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc.png" + install -m 644 data/images/unix/ui-alpha_full.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-alpha_full.png" + install -m 644 data/images/unix/ui-alpha_half.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-alpha_half.png" + install -m 644 data/images/unix/ui-direct.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-direct.png" + install -m 644 data/images/unix/ui-hiragana.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-hiragana.png" + install -m 644 data/images/unix/ui-katakana_full.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-katakana_full.png" + install -m 644 data/images/unix/ui-katakana_half.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-katakana_half.png" + install -m 644 data/images/unix/ui-dictionary.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-dictionary.png" + install -m 644 data/images/unix/ui-properties.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-properties.png" + install -m 644 data/images/unix/ui-tool.png "${pkgdir}/usr/share/fcitx/mozc/icon/mozc-tool.png" +} + +md5sums=('e5246d17a81d2e942e9e8de0c3240c95' + 'd1df91ca1fc0cf2b0ffe4eb4ddcf09ca' + '0f7eff544b256eb643ef309678742e09' + 'ed436802019c9e1f40cc750eaf78f318' + 'a70fa7d5cef505c14f61e739b0502444') diff --git a/community/golangide/PKGBUILD b/community/golangide/PKGBUILD index f034f60c8..81aee4a30 100644 --- a/community/golangide/PKGBUILD +++ b/community/golangide/PKGBUILD @@ -1,4 +1,4 @@ -#$Id: PKGBUILD 81406 2012-12-19 18:29:25Z arodseth $ +#$Id: PKGBUILD 81475 2012-12-21 17:01:26Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: spambanane <happy.house@gmx.de> # Contributor: Matteo <matteo.dek@gmail.com> @@ -6,78 +6,78 @@ pkgname=golangide pkgver=15 pkgrel=1 -_hgrev=1011 -pkgdesc='Simple IDE for Go to edit code and build projects' +pkgdesc='IDE for editing and building projects written in the Go programming language' license=('LGPL') arch=('x86_64' 'i686') url='https://github.com/visualfc/liteide' -depends=('go' 'libpng12' 'glib2') +depends=('go' 'libpng12' 'glib2' 'qt' 'qjson' 'qtwebkit') makedepends=('gendesk') options=('!strip') _name=('Golang IDE') -_genericname=('Integrated development environment') - -if [ "$CARCH" == "x86_64" ]; then - source=("http://$pkgname.googlecode.com/files/liteidex${pkgver}.linux-amd64.hg${_hgrev}.tar.bz2" - 'golangide.png' - 'golangide.sh') - sha256sums=('cb024050d1b41533c91722c005d08e99834585c3826e0b62cb55ec672b48f519' - '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697' - '79eaede6c031e87a94627fb126a0aefab1feb971995d648436f142b3d684f1b2') -else - source=("http://$pkgname.googlecode.com/files/liteidex${pkgver}.linux-386.hg${_hgrev}.tar.bz2" - 'golangide.png' - 'golangide.sh') - sha256sums=('b41d9be3935524f38a3c8ba9db1014412e0daf7d57e2b8c2bee1de4572b67d18' +source=("$pkgname.tgz::https://nodeload.github.com/visualfc/liteide/tar.gz/master" + 'golangide.png' + 'golangide.sh') +sha256sums=('23158d09d5d3c439a07d12532dc8cdbc963c65dde1739f2e19b611a7d2f8944e' '47c52b22326034bd3d6a7b11b05a53c8b3838c08e145171cf5cad2ca00260697' - '79eaede6c031e87a94627fb126a0aefab1feb971995d648436f142b3d684f1b2') -fi + '9b1844a1e3a611760c2d2072b539cca0d2eed1584e1bf04a7fdd8d171e3cd775') build() { cd "$srcdir" + + msg2 'Generating .desktop file' gendesk -n - cd "liteide" - # Fixing insecure RPATH + msg2 'Compiling...' + cd "liteide-master/build" + chmod +x build_linux.sh webkit_linux.sh + QTDIR=/usr ./build_linux.sh + QTDIR=/usr ./webkit_linux.sh + + # Fixing insecure RPATH, need to test if this is still needed + msg2 'Fixing...' + cd "../liteidex" find . -name "*.so" -type f -exec sed -i 's|/home/win|/usr/lib/|g' {} \; find . -name liteide -type f -exec sed -i 's|/home/win|/usr/lib/|g' {} \; } package() { - cd "$srcdir/liteide" + cd "$srcdir/liteide-master/liteidex" - msg2 "Creating directories..." + msg2 'Creating directories...' mkdir -p "$pkgdir/usr/lib/liteide" mkdir -p "$pkgdir/usr/share/liteide" mkdir -p "$pkgdir/usr/share/doc/$pkgname" - msg2 "Packaging executables..." - for binary in goastview goapi goexec godocview liteide; do + msg2 'Packaging executables...' + for binary in goastview goapi goexec godocview liteidex; do install -Dm755 "bin/$binary" "$pkgdir/usr/bin/$binary" done install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname" - msg2 "Packaging resources..." - cp -r share/liteide/* "$pkgdir/usr/share/liteide" + msg2 'Packaging resources...' + cp -r deploy/* "$pkgdir/usr/share/liteide" + cp -r os_deploy/* "$pkgdir/usr/share/liteide" - msg2 "Packaging libraries and plugins..." - cp -r lib/liteide/* "$pkgdir/usr/lib/liteide" + msg2 'Packaging libraries and plugins...' + cp -r liteide/lib/liteide/* "$pkgdir/usr/lib/liteide" + cp -r liteide/bin/libliteapp.* "$pkgdir/usr/lib/" + chmod -x "$pkgdir/usr/lib/liteide/plugins/"* - msg2 "Packaging license and license exception..." + msg2 'Packaging license and license exception...' install -Dm644 LICENSE.LGPL \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE.LGPL" + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 LGPL_EXCEPTION.TXT \ - "$pkgdir/usr/share/licenses/$pkgname/LGPL_EXCEPTION.TXT" + "$pkgdir/usr/share/licenses/$pkgname/LGPL_EXCEPTION" - cd .. + cd ../.. - msg2 "Packaging menu entry and icon..." + msg2 'Packaging menu entry and icon...' install -Dm644 "$pkgname.desktop" \ "$pkgdir/usr/share/applications/$pkgname.desktop" install -Dm644 "$pkgname.png" \ "$pkgdir/usr/share/pixmaps/$pkgname.png" - msg2 "Cleaning up..." + msg2 'Cleaning up...' rm -rf "$pkgdir/usr/share/$pkgname/doc" } diff --git a/community/golangide/golangide.sh b/community/golangide/golangide.sh index 824126c45..70705e5f3 100644 --- a/community/golangide/golangide.sh +++ b/community/golangide/golangide.sh @@ -1,6 +1,7 @@ #!/bin/sh +# The libqjson issue has been reported upstream if [ ! -z $GOROOT -a -e $GOROOT ]; then - /usr/bin/liteide $@ + LD_PRELOAD=/usr/lib/libqjson.so /usr/bin/liteidex $@ else - GOROOT=/usr/lib/go /usr/bin/liteide $@ + GOROOT=/usr/lib/go LD_PRELOAD=/usr/lib/libqjson.so /usr/bin/liteidex $@ fi diff --git a/community/libtxc_dxtn/PKGBUILD b/community/libtxc_dxtn/PKGBUILD new file mode 100644 index 000000000..33f7bf0fa --- /dev/null +++ b/community/libtxc_dxtn/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 81456 2012-12-21 10:04:07Z lcarlier $ +# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> + +pkgname=libtxc_dxtn +pkgver=1.0.1 +pkgrel=3 +arch=(i686 x86_64) +pkgdesc="Texture compression library for Mesa" +url="http://dri.freedesktop.org/wiki/S3TC" +license=(custom:BSD) +depends=(mesa) +options=(!libtool) +source=(http://people.freedesktop.org/~cbrill/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('7105107f07ac49753f4b61ba9d0c79c5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + + # License + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + sed -n '5,22{s|^ \* \?||;p}' txc_dxtn.h \ + > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/community/pidgin-lwqq/0.1a_fix.patch b/community/pidgin-lwqq/0.1a_fix.patch new file mode 100644 index 000000000..63f2adfd0 --- /dev/null +++ b/community/pidgin-lwqq/0.1a_fix.patch @@ -0,0 +1,12 @@ +--- a/src/liblwqq/http.c ++++ b/src/liblwqq/http.c +@@ -515,7 +515,9 @@ static int multi_timer_cb(CURLM *multi, long timeout_ms, void *userp) + } + if(g->still_running){ + lwqq_log(LOG_NOTICE,"still running:%d,timeout:%ld\n",g->still_running,timeout_ms); ++ #if USE_DEBUG + if(g->still_running>1)lwqq_gdb_whats_running(); ++ #endif + } + //close time clock + //this should always return 0 this is curl!! diff --git a/community/pidgin-lwqq/PKGBUILD b/community/pidgin-lwqq/PKGBUILD new file mode 100644 index 000000000..c6280985b --- /dev/null +++ b/community/pidgin-lwqq/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 81454 2012-12-21 09:33:44Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=pidgin-lwqq +pkgver=0.1a +_pkgver=0.1-a +pkgrel=2 +pkgdesc="A pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol" +arch=('i686' 'x86_64') +url="https://github.com/xiehuc/pidgin-lwqq" +license=('GPL3') +depends=('libpurple' 'curl' 'libev' 'hicolor-icon-theme') +optdepends=('telepathy-haze: Empathy plugin support') +makedepends=('git' 'cmake') +install=$pkgname.install +source=("https://github.com/xiehuc/$pkgname/archive/${_pkgver}.tar.gz" + 0.1a_fix.patch) + +build() +{ + cd "${srcdir}/$pkgname-${_pkgver}" + patch -Np1 -i "$srcdir/0.1a_fix.patch" + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_LIBEV=On .. + make +} + +package() +{ + cd "$srcdir/$pkgname-${_pkgver}/build" + make DESTDIR="${pkgdir}" install +} +md5sums=('d0efece1c2b2301f49c68f8a2b7bae95' + '18baf836e3a1198cdd9dbed287bf6609') diff --git a/community/pidgin-lwqq/pidgin-lwqq.install b/community/pidgin-lwqq/pidgin-lwqq.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/community/pidgin-lwqq/pidgin-lwqq.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/python2-xapian/PKGBUILD b/community/python2-xapian/PKGBUILD new file mode 100644 index 000000000..c6e435a54 --- /dev/null +++ b/community/python2-xapian/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 81458 2012-12-21 10:08:56Z 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.12 +pkgrel=1 +pkgdesc="Python bindings for Xapian" +arch=(i686 x86_64) +url="http://xapian.org/docs/bindings/python/" +license=('GPL') +groups=(xapian) +depends=('python2' 'xapian-core') +source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-$pkgver.tar.gz") + +build() { + cd "$srcdir/${_realname}-$pkgver" + + ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \ + --prefix=/usr --with-python \ + PYTHON=/usr/bin/python2 + + make +} + + +package() { + cd "$srcdir/${_realname}-$pkgver" + + make DESTDIR="$pkgdir" install +} +# vim:set ts=2 sw=2 et: +md5sums=('9331d7885a68470184ba3d3e8c2b57d5') diff --git a/community/rtl-sdr/PKGBUILD b/community/rtl-sdr/PKGBUILD index 2cd445945..4750f11a3 100644 --- a/community/rtl-sdr/PKGBUILD +++ b/community/rtl-sdr/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 81041 2012-12-10 21:47:51Z kkeen $ +# $Id: PKGBUILD 81477 2012-12-21 22:12:35Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Michael Düll <mail@akurei.me> pkgname=rtl-sdr -pkgver=20121210 -_commit="562fd7e8e3200fa876312e58427b3c9a7575d3fa" +pkgver=20121221 +_commit="f2880e1de293ab357097499403b0c7b55cfb4586" pkgrel=1 pkgdesc="Driver for Realtek RTL2832U, allowing general purpose software defined radio (SDR)." arch=('i686' 'x86_64') diff --git a/extra/freetype2/PKGBUILD b/extra/freetype2/PKGBUILD index 3bd67cbf0..ff0ed781c 100644 --- a/extra/freetype2/PKGBUILD +++ b/extra/freetype2/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 161854 2012-06-15 16:53:25Z andyrtr $ +# $Id: PKGBUILD 173707 2012-12-21 16:29:38Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=freetype2 -pkgver=2.4.10 -pkgrel=1 +pkgver=2.4.11 +pkgrel=2 pkgdesc="TrueType font rendering library" arch=(i686 x86_64 'mips64el') license=('GPL') @@ -13,7 +13,7 @@ options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2 freetype-2.3.0-enable-spr.patch freetype-2.2.1-enable-valid.patch) -md5sums=('13286702e9390a91661f980608adaff1' +md5sums=('b93435488942486c8d0ca22e8f768034' '816dc8619a6904a7385769433c0a8653' '214119610444c9b02766ccee5e220680') diff --git a/extra/mysql/PKGBUILD b/extra/mysql/PKGBUILD index a7148b661..bed55a5fb 100644 --- a/extra/mysql/PKGBUILD +++ b/extra/mysql/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 167246 2012-09-29 09:32:53Z andrea $ +# $Id: PKGBUILD 173697 2012-12-21 09:03:47Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Douglas Soares de Andrade <douglas@archlinux.org> pkgbase=mysql pkgname=('libmysqlclient' 'mysql-clients' 'mysql') -pkgver=5.5.28 +pkgver=5.5.29 pkgrel=1 arch=('i686' 'x86_64' 'mips64el') license=('GPL') @@ -13,9 +13,9 @@ makedepends=('cmake' 'openssl' 'zlib') options=('!libtool') source=("http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.5/${pkgbase}-${pkgver}.tar.gz" 'mysqld.rc' 'my.cnf' 'mysqld-post.sh' 'mysqld-tmpfile.conf' 'mysqld.service') -md5sums=('da8ddb3d00e6e159153d2444360f52a8' +md5sums=('e6b9f9cb82e990bd8f0474df7462904e' 'e7eb2faeab755cbb2fe03542bf328da9' - '1c949c0dbea5206af0db14942d9927b6' + '1351485633baf9894cfdf7c5bbffd7b5' '6ea6ceb360d09a774e87335ee098ddd5' '2fa6e456964d4ff5e6d4f9ff0126aed6' 'a0e1460c276a50a9666c331de83271f2') diff --git a/extra/mysql/my.cnf b/extra/mysql/my.cnf index 9a41b4fc3..387020858 100644 --- a/extra/mysql/my.cnf +++ b/extra/mysql/my.cnf @@ -18,14 +18,14 @@ [client] #password = your_password port = 3306 -socket = /var/run/mysqld/mysqld.sock +socket = /run/mysqld/mysqld.sock # Here follows entries for some specific programs # The MySQL server [mysqld] port = 3306 -socket = /var/run/mysqld/mysqld.sock +socket = /run/mysqld/mysqld.sock datadir = /var/lib/mysql skip-external-locking key_buffer_size = 16M diff --git a/extra/nawk/PKGBUILD b/extra/nawk/PKGBUILD index bdb78754e..a3b760125 100644 --- a/extra/nawk/PKGBUILD +++ b/extra/nawk/PKGBUILD @@ -1,24 +1,30 @@ -# $Id: PKGBUILD 142711 2011-11-13 14:58:31Z dreisner $ +# $Id: PKGBUILD 173726 2012-12-22 02:28:46Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> pkgname=nawk -pkgver=20110810 -pkgrel=3 +pkgver=20121220 +pkgrel=1 pkgdesc="The one, true implementation of AWK" url="http://cm.bell-labs.com/who/bwk/" license=('MIT') arch=('i686' 'x86_64' 'mips64el') options=('!makeflags') depends=('glibc') -source=("http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz" +source=("$pkgname-$pkgver.tar.gz::http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz" 'manpage-naming.patch') -md5sums=('a7062ecade93dc4cb39190e48db9a51d' +md5sums=('b74ca7f8f4284fc82ccee6b4e34531d8' '8486d387a51fe3b3c9875c4151ad92b4') build() { + # awk -> nawk patch -Np1 < manpage-naming.patch + + # create license sed -n '/Copyright/,/THIS SOFTWARE\./p' README > LICENSE + # fix build + sed -i '/YACC = yacc -d -S/ s|^|#|' makefile + make "CPPFLAGS=-DHAS_ISBLANK" "LDFLAGS=$LDFLAGS" "CFLAGS=$CFLAGS" } diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD index e6c684b1e..95a121a57 100644 --- a/libre/blender-libre/PKGBUILD +++ b/libre/blender-libre/PKGBUILD @@ -1,7 +1,7 @@ # $Id$ # Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> -spacenav=false +spacenav=true pkgbase=blender-libre pkgflag=-libre if [ $spacenav == true ]; then @@ -16,9 +16,9 @@ else spndesc='' fi pkgdesc="Fully integrated 3D graphics creation suite, without nonfree cuda-toolkit and redcode image format support$spndesc" -pkgver=2.65 +pkgver=2.65a pkgrel=1 -pkgaev=5 +pkgaev=6 arch=( i686 x86_64 @@ -137,7 +137,7 @@ source=( "http://download.${pkgbase%$pkgflag}.org/source/${pkgbase%$pkgflag}-$pkgver.tar.gz" ) sha512sums=( - 92488691c25d390eabf35569cb37ec62437dd42f57e096334a6ed804b3265efe6f81871eba15dad67399ff4e6bf4262d4043298a3ceb90e5dc57586eb9f2870f + 02d493a7395160047b39dcfb48dbd45c285fbeaec741d4248bef62a8da8743e6bf59bba4ecc401e35c0f21a8db4e883c9b29d620be6c4dd6d4852ae53e7c978f ) build() { @@ -148,27 +148,28 @@ build() { [[ $CARCH == i686 ]] && DSUPPORT_SSE2_BUILD='-DSUPPORT_SSE2_BUILD=OFF' - setarch $CARCH cmake .. \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DPYTHON_INCLUDE_DIRS=/usr/include/python3.3m \ - -DPYTHON_LIBPATH=/usr/lib \ - -DPYTHON_LIBRARY=python3.3m \ - -DPYTHON_VERSION=3.3 \ - $DSUPPORT_SSE2_BUILD \ - -DWITH_CODEC_FFMPEG=ON \ - -DWITH_CODEC_SNDFILE=ON \ - -DWITH_CYCLES=ON \ - -DWITH_CYCLES_CUDA_BINARIES=OFF \ - -DWITH_FFTW3=ON \ - -DWITH_GAMEENGINE=ON \ - -DWITH_IMAGE_REDCODE=OFF \ - -DWITH_INSTALL_PORTABLE=OFF \ - -DWITH_JACK=ON \ - -DWITH_MOD_OCEANSIM=ON \ - -DWITH_OPENCOLLADA=ON \ - -DWITH_PLAYER=ON \ - -DWITH_PYTHON_INSTALL=OFF \ + setarch $CARCH cmake ..\ + -DCMAKE_BUILD_TYPE=Release\ + -DCMAKE_INSTALL_PREFIX=/usr\ + -DOPENIMAGEIO_ROOT_DIR=/usr\ + -DPYTHON_INCLUDE_DIRS=/usr/include/python3.3m\ + -DPYTHON_LIBPATH=/usr/lib\ + -DPYTHON_LIBRARY=python3.3m\ + -DPYTHON_VERSION=3.3\ + $DSUPPORT_SSE2_BUILD\ + -DWITH_CODEC_FFMPEG=ON\ + -DWITH_CODEC_SNDFILE=ON\ + -DWITH_CYCLES=ON\ + -DWITH_CYCLES_CUDA_BINARIES=OFF\ + -DWITH_FFTW3=ON\ + -DWITH_GAMEENGINE=ON\ + -DWITH_IMAGE_REDCODE=OFF\ + -DWITH_INSTALL_PORTABLE=OFF\ + -DWITH_JACK=ON\ + -DWITH_MOD_OCEANSIM=ON\ + -DWITH_OPENCOLLADA=ON\ + -DWITH_PLAYER=ON\ + -DWITH_PYTHON_INSTALL=OFF\ -DWITH_SYSTEM_GLEW=ON setarch $CARCH make $MAKEFLAGS diff --git a/libre/calibre-libre/PKGBUILD b/libre/calibre-libre/PKGBUILD new file mode 100644 index 000000000..dd5233b0e --- /dev/null +++ b/libre/calibre-libre/PKGBUILD @@ -0,0 +1,85 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Petrov Roman <nwhisper@gmail.com> +# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com> +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> + +_pkgname=calibre +pkgname=calibre-libre +pkgver=0.9.11 +pkgrel=1 +pkgdesc="Ebook management application (unar support included instead of libunrar and without nonfree fonts)" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/" +license=('GPL3') +depends=('python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' + 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-imaging' 'shared-mime-info' 'python2-dnspython' + 'unar' 'python2-pyqt' 'python2-psutil' 'icu' 'libmtp' + 'python2-netifaces' 'python2-cssselect') +makedepends=('python2-pycountry') +optdepends=('ipython2: to use calibre-debug') +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +install=calibre.install +source=("http://calibre-ebook.googlecode.com/files/${_pkgname}-${pkgver}.tar.xz" + 'desktop_integration.patch' + 'calibre-mount-helper') +md5sums=('07e620aed65d7bae2a27ccea123da4c9' + '42c07b43d575b5e7e7524bd7b9528f0e' + '675cd87d41342119827ef706055491e7') + +build() { + cd "${srcdir}/${_pkgname}" + + #rm -rf src/{cherrypy,pyPdf} + rm -rf src/cherrypy + sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py + + # Fix for calibre-0.8.58 + sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py + + sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ + $(find . -regex ".*.py\|.*.recipe") + + # Remove nonfree fonts + cd resources/fonts; \ + rm prs500/tt0003m_.ttf; ln -s ../liberation/LiberationSans-Regular.ttf prs500/tt0003m_.ttf; \ + rm prs500/tt0011m_.ttf; ln -s ../liberation/LiberationSerif-Regular.ttf prs500/tt0011m_.ttf; \ + rm prs500/tt0419m_.ttf; ln -s ../liberation/LiberationMono-Regular.ttf prs500/tt0419m_.ttf; \ + cd ../.. + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${_pkgname}" + + patch -Np1 -i "${srcdir}/desktop_integration.patch" + + # More on desktop integration (e.g. enforce arch defaults) + sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ + -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ + -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ + -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/python2.7/site-packages" + LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ + --staging-bindir="${pkgdir}/usr/bin" \ + --staging-libdir="${pkgdir}/usr/lib" \ + --staging-sharedir="${pkgdir}/usr/share" + + find "${pkgdir}" -type d -empty -delete + + # See http://lwn.net/SubscriberLink/465311/7c299471a5399167/ + rm -rf "${pkgdir}/usr/bin/calibre-mount-helper" + install -m 755 "${srcdir}/calibre-mount-helper" "${pkgdir}/usr/bin" +} diff --git a/libre/calibre-libre/calibre-mount-helper b/libre/calibre-libre/calibre-mount-helper new file mode 100644 index 000000000..00cac4270 --- /dev/null +++ b/libre/calibre-libre/calibre-mount-helper @@ -0,0 +1,28 @@ +#!/bin/sh -e +# Replacement for upstream mount helper using udisks/eject +# (C) 2010 Martin Pitt <mpitt@debian.org> + +ACTION="$1" +DEV="$2" + +case "$ACTION" in + mount) + udisks --mount "$DEV" + + # check if mount worked. If not, fail + # udisks does return 0 even if mount failed + mount | grep -q "$DEV" || exit 0 + ;; + + eject) + eject "$DEV" + ;; + + cleanup) + ;; + + *) + echo "unknown action" >&2 + exit 1 +esac + diff --git a/libre/calibre-libre/calibre.install b/libre/calibre-libre/calibre.install new file mode 100644 index 000000000..6210bd0ab --- /dev/null +++ b/libre/calibre-libre/calibre.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/libre/calibre-libre/desktop_integration.patch b/libre/calibre-libre/desktop_integration.patch new file mode 100644 index 000000000..4c756f5d4 --- /dev/null +++ b/libre/calibre-libre/desktop_integration.patch @@ -0,0 +1,109 @@ +--- a/src/calibre/linux.py 2012-09-21 06:56:20.000000000 +0200 ++++ b/src/calibre/linux.py 2012-09-22 18:51:12.000000000 +0200 +@@ -179,19 +179,6 @@ + self.setup_completion() + if islinux or isbsd: + self.setup_desktop_integration() +- self.create_uninstaller() +- +- from calibre.utils.config import config_dir +- if os.path.exists(config_dir): +- os.chdir(config_dir) +- if islinux or isbsd: +- for f in os.listdir('.'): +- if os.stat(f).st_uid == 0: +- import shutil +- shutil.rmtree(f) if os.path.isdir(f) else os.unlink(f) +- if os.stat(config_dir).st_uid == 0: +- os.rmdir(config_dir) +- + if warn is None and self.warnings: + self.info('There were %d warnings'%len(self.warnings)) + for args, kwargs in self.warnings: +@@ -237,7 +224,7 @@ + if isnetbsd: + f = os.path.join(self.opts.staging_root, 'share/bash_completion.d/calibre') + else: +- f = os.path.join(self.opts.staging_etc, 'bash_completion.d/calibre') ++ f = os.path.join(self.opts.staging_root, 'usr/share/bash-completion/completions/calibre') + if not os.path.exists(os.path.dirname(f)): + os.makedirs(os.path.dirname(f)) + self.manifest.append(f) +@@ -357,63 +344,39 @@ + + with TemporaryDirectory() as tdir, CurrentDir(tdir), \ + PreserveMIMEDefaults(): +- render_img('mimetypes/lrf.png', 'calibre-lrf.png') +- cc('xdg-icon-resource install --noupdate --context mimetypes --size 128 calibre-lrf.png application-lrf', shell=True) +- self.icon_resources.append(('mimetypes', 'application-lrf', '128')) +- cc('xdg-icon-resource install --noupdate --context mimetypes --size 128 calibre-lrf.png text-lrs', shell=True) +- self.icon_resources.append(('mimetypes', 'application-lrs', +- '128')) +- render_img('mimetypes/mobi.png', 'calibre-mobi.png') +- cc('xdg-icon-resource install --noupdate --context mimetypes --size 128 calibre-mobi.png application-x-mobipocket-ebook', shell=True) +- self.icon_resources.append(('mimetypes', 'application-x-mobipocket-ebook', '128')) +- render_img('mimetypes/tpz.png', 'calibre-tpz.png') +- cc('xdg-icon-resource install --noupdate --context mimetypes --size 128 calibre-tpz.png application-x-topaz-ebook', shell=True) +- self.icon_resources.append(('mimetypes', 'application-x-topaz-ebook', '128')) +- render_img('mimetypes/azw2.png', 'calibre-azw2.png') +- cc('xdg-icon-resource install --noupdate --context mimetypes --size 128 calibre-azw2.png application-x-kindle-application', shell=True) +- self.icon_resources.append(('mimetypes', 'application-x-kindle-application', '128')) +- render_img('mimetypes/azw3.png', 'calibre-azw3.png') +- cc('xdg-icon-resource install --noupdate --context mimetypes --size 128 calibre-azw3.png application-x-mobi8-ebook', shell=True) +- self.icon_resources.append(('mimetypes', 'application-x-mobi8-ebook', '128')) +- render_img('lt.png', 'calibre-gui.png', width=256, height=256) +- cc('xdg-icon-resource install --noupdate --size 256 calibre-gui.png calibre-gui', shell=True) +- self.icon_resources.append(('apps', 'calibre-gui', '128')) +- render_img('viewer.png', 'calibre-viewer.png') +- cc('xdg-icon-resource install --size 128 calibre-viewer.png calibre-viewer', shell=True) +- self.icon_resources.append(('apps', 'calibre-viewer', '128')) ++ dir = os.path.join(self.opts.staging_sharedir,'../pixmaps') ++ os.mkdir(dir) ++ render_img('mimetypes/lrf.png', os.path.join(dir,'calibre-lrf.png')) ++ render_img('lt.png', os.path.join(dir, 'calibre-gui.png')) ++ render_img('viewer.png', os.path.join(dir, 'calibre-viewer.png')) + + mimetypes = set([]) + for x in all_input_formats(): + mt = guess_type('dummy.'+x)[0] +- if mt and 'chemical' not in mt and 'ctc-posml' not in mt: ++ if mt and 'chemical' not in mt and 'text' not in mt and 'pdf' not in mt and 'xhtml' not in mt: + mimetypes.add(mt) + + def write_mimetypes(f): + f.write('MimeType=%s;\n'%';'.join(mimetypes)) + +- f = open('calibre-lrfviewer.desktop', 'wb') ++ dir = os.path.join(self.opts.staging_sharedir,'../applications') ++ os.mkdir(dir) ++ f = open(os.path.join(dir, 'calibre-lrfviewer.desktop'), 'wb') + f.write(VIEWER) + f.close() +- f = open('calibre-ebook-viewer.desktop', 'wb') ++ f = open(os.path.join(dir, 'calibre-ebook-viewer.desktop'), 'wb') + f.write(EVIEWER) + write_mimetypes(f) + f.close() +- f = open('calibre-gui.desktop', 'wb') ++ f = open(os.path.join(dir, 'calibre-gui.desktop'), 'wb') + f.write(GUI) + write_mimetypes(f) + f.close() +- des = ('calibre-gui.desktop', 'calibre-lrfviewer.desktop', +- 'calibre-ebook-viewer.desktop') +- for x in des: +- cmd = ['xdg-desktop-menu', 'install', '--noupdate', './'+x] +- cc(' '.join(cmd), shell=True) +- self.menu_resources.append(x) +- cc(['xdg-desktop-menu', 'forceupdate']) +- f = open('calibre-mimetypes.xml', 'wb') ++ dir = os.path.join(self.opts.staging_sharedir,'../mime/packages/') ++ os.makedirs(dir) ++ f = open(os.path.join(dir, 'calibre.xml'), 'wb') + f.write(MIME) + f.close() +- self.mime_resources.append('calibre-mimetypes.xml') +- cc('xdg-mime install ./calibre-mimetypes.xml', shell=True) + except Exception: + if self.opts.fatal_errors: + raise diff --git a/libre/claws-mail-libre/PKGBUILD b/libre/claws-mail-libre/PKGBUILD index 38533f59b..7a093b29a 100644 --- a/libre/claws-mail-libre/PKGBUILD +++ b/libre/claws-mail-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=claws-mail pkgname=claws-mail-libre pkgflag=-libre pkgver=3.9.0 -pkgrel=1 +pkgrel=2 pkgdesc='A GTK+ based e-mail client, without nonfree PalmOS handheld devices support' arch=( i686 @@ -42,7 +42,7 @@ optdepends=( ) provides=( claws - $pkgbase + $pkgbase=$pkgver ) conflicts=( $pkgbase diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index 083330019..47666d7b4 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -10,7 +10,7 @@ _basekernel=3.0 _sublevel=57 pkgver=${_basekernel}.${_sublevel} pkgrel=1 -_lxopkgver=${_basekernel}.56 # nearly always the same as pkgver +_lxopkgver=${_basekernel}.57 # nearly always the same as pkgver arch=('i686' 'x86_64' 'mips64el') url="http://linux-libre.fsfla.org/" license=('GPL2') @@ -44,7 +44,7 @@ md5sums=('5f64180fe7df4e574dac5911b78f5067' 'f36222e7ce20c8e4dc27376f9be60f6c' '670931649c60fcb3ef2e0119ed532bd4' '8a71abc4224f575008f974a099b5cf6f' - 'fbaf6e706052fdd45ab889505758c3fc') + '21f93138b6d4410b095cc9998f89e47d') if [ "$CARCH" != "mips64el" ]; then # Don't use the Loongson-specific patches on non-mips64el arches. unset source[${#source[@]}-1] diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index a45561c3e..711d8efb5 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -13,7 +13,7 @@ _basekernel=3.7 _sublevel=1 pkgver=${_basekernel}.${_sublevel} pkgrel=2 -_lxopkgver=${_basekernel}.0 # nearly always the same as pkgver +_lxopkgver=${_basekernel}.1 # nearly always the same as pkgver arch=('i686' 'x86_64' 'mips64el') url="http://linux-libre.fsfla.org/" license=('GPL2') @@ -43,7 +43,7 @@ md5sums=('06bf9601d859531e7378eb43d4ca7dd3' '9d3c56a4b999c8bfbd4018089a62f662' '88d501404f172dac6fcb248978251560' '3485d6c7ae3af35d16e09d6d9a7ed32a' - '0a74f8d9c640daabb774c25cb74db512') + 'b56c33eaee920970151fffdfc7df0766') if [ "$CARCH" != "mips64el" ]; then # Don't use the Loongson-specific patches on non-mips64el arches. unset source[${#source[@]}-1] |