From 7c266ff5a9e1f533fd8bd8c2fbbcc05df350dcd3 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 14 Apr 2014 03:52:55 +0000 Subject: Mon Apr 14 03:47:31 UTC 2014 --- community/ccid/PKGBUILD | 8 +-- community/freerdp/CVE-2014-0791.patch | 79 ++++++++++++++++++++++++++ community/freerdp/PKGBUILD | 11 ++-- community/geany-plugins/PKGBUILD | 14 ++--- community/geany/PKGBUILD | 20 +++---- community/kaffeine/PKGBUILD | 38 +++++++++++++ community/kaffeine/kaffeine-1.2.2-gcc4.7.patch | 32 +++++++++++ community/kaffeine/kaffeine.install | 12 ++++ community/libnatpmp/PKGBUILD | 15 +++-- community/libnatpmp/fix_header_issue.diff | 59 +++++++++++++++++++ community/lmms/PKGBUILD | 10 ++-- community/lxtask/PKGBUILD | 27 +++++++-- community/lxtask/fix-cpu-count.patch | 18 ++++++ community/lxtask/fix-integer-overflow.patch | 39 +++++++++++++ community/lxtask/fix-sort-by-user.patch | 19 +++++++ community/mongodb/PKGBUILD | 21 ++++--- community/mongodb/removeWerror.patch | 22 ++----- community/python-pygpgme/PKGBUILD | 27 +++++++++ community/redshift/PKGBUILD | 15 ++--- community/stunnel/PKGBUILD | 6 +- community/tcpflow/PKGBUILD | 33 ++++++++--- community/yakuake/PKGBUILD | 31 ++++++++++ community/yakuake/yakuake.install | 11 ++++ 23 files changed, 479 insertions(+), 88 deletions(-) create mode 100644 community/freerdp/CVE-2014-0791.patch create mode 100644 community/kaffeine/PKGBUILD create mode 100644 community/kaffeine/kaffeine-1.2.2-gcc4.7.patch create mode 100644 community/kaffeine/kaffeine.install create mode 100644 community/libnatpmp/fix_header_issue.diff create mode 100644 community/lxtask/fix-cpu-count.patch create mode 100644 community/lxtask/fix-integer-overflow.patch create mode 100644 community/lxtask/fix-sort-by-user.patch create mode 100644 community/python-pygpgme/PKGBUILD create mode 100644 community/yakuake/PKGBUILD create mode 100644 community/yakuake/yakuake.install (limited to 'community') diff --git a/community/ccid/PKGBUILD b/community/ccid/PKGBUILD index 1001d3729..a0519e1fe 100644 --- a/community/ccid/PKGBUILD +++ b/community/ccid/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 105836 2014-02-16 08:59:50Z giovanni $ +# $Id: PKGBUILD 109306 2014-04-13 07:27:36Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Daniel Plaza pkgname=ccid -pkgver=1.4.15 +pkgver=1.4.16 pkgrel=1 pkgdesc="A generic USB Chip/Smart Card Interface Devices driver" arch=('i686' 'x86_64') @@ -12,8 +12,8 @@ license=('LGPL' 'GPL') depends=('pcsclite' 'libusbx' 'flex') makedepends=('pkg-config') backup=(etc/reader.conf.d/libccidtwin) -source=("https://alioth.debian.org/frs/download.php/file/3989/${pkgname}-${pkgver}.tar.bz2") -md5sums=('c195333c953f5530bc04a194b5ac1b71') +source=("https://alioth.debian.org/frs/download.php/file/4016/${pkgname}-${pkgver}.tar.bz2") +md5sums=('2f3ca6c4b4ad0f81d41a0e032e0f556f') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/freerdp/CVE-2014-0791.patch b/community/freerdp/CVE-2014-0791.patch new file mode 100644 index 000000000..a47d804d1 --- /dev/null +++ b/community/freerdp/CVE-2014-0791.patch @@ -0,0 +1,79 @@ +--- a/libfreerdp-core/license.h 2013-01-03 05:46:59.000000000 +0800 ++++ b/libfreerdp-core/license.h 2014-04-09 19:11:59.593507658 +0800 +@@ -177,9 +177,9 @@ + + SCOPE_LIST* license_new_scope_list(); + void license_free_scope_list(SCOPE_LIST* scopeList); +-void license_read_scope_list(STREAM* s, SCOPE_LIST* scopeList); ++boolean license_read_scope_list(STREAM* s, SCOPE_LIST* scopeList); + +-void license_read_license_request_packet(rdpLicense* license, STREAM* s); ++boolean license_read_license_request_packet(rdpLicense* license, STREAM* s); + void license_read_platform_challenge_packet(rdpLicense* license, STREAM* s); + void license_read_new_license_packet(rdpLicense* license, STREAM* s); + void license_read_upgrade_license_packet(rdpLicense* license, STREAM* s); +--- a/libfreerdp-core/license.c 2013-01-03 05:46:59.000000000 +0800 ++++ b/libfreerdp-core/license.c 2014-04-09 19:11:59.593507658 +0800 +@@ -199,7 +199,8 @@ + switch (bMsgType) + { + case LICENSE_REQUEST: +- license_read_license_request_packet(license, s); ++ if(!license_read_license_request_packet(license, s)) ++ return false; + license_send_new_license_request_packet(license); + break; + +@@ -533,13 +534,16 @@ + * @param scopeList scope list + */ + +-void license_read_scope_list(STREAM* s, SCOPE_LIST* scopeList) ++boolean license_read_scope_list(STREAM* s, SCOPE_LIST* scopeList) + { + uint32 i; + uint32 scopeCount; + + stream_read_uint32(s, scopeCount); /* ScopeCount (4 bytes) */ + ++ if (scopeCount > stream_get_length(s) / 4) /* every blob is at least 4 bytes */ ++ return false; ++ + scopeList->count = scopeCount; + scopeList->array = (LICENSE_BLOB*) xmalloc(sizeof(LICENSE_BLOB) * scopeCount); + +@@ -549,6 +553,7 @@ + scopeList->array[i].type = BB_SCOPE_BLOB; + license_read_binary_blob(s, &scopeList->array[i]); + } ++ return true; + } + + /** +@@ -593,7 +598,7 @@ + * @param s stream + */ + +-void license_read_license_request_packet(rdpLicense* license, STREAM* s) ++boolean license_read_license_request_packet(rdpLicense* license, STREAM* s) + { + /* ServerRandom (32 bytes) */ + stream_read(s, license->server_random, 32); +@@ -608,7 +613,8 @@ + license_read_binary_blob(s, license->server_certificate); + + /* ScopeList */ +- license_read_scope_list(s, license->scope_list); ++ if(!license_read_scope_list(s, license->scope_list)) ++ return false; + + /* Parse Server Certificate */ + certificate_read_server_certificate(license->certificate, +@@ -617,6 +623,7 @@ + license_generate_keys(license); + license_generate_hwid(license); + license_encrypt_premaster_secret(license); ++ return true; + } + + /** diff --git a/community/freerdp/PKGBUILD b/community/freerdp/PKGBUILD index c442c9e4b..20efeba32 100644 --- a/community/freerdp/PKGBUILD +++ b/community/freerdp/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 99744 2013-10-30 23:26:59Z allan $ +# $Id: PKGBUILD 109311 2014-04-13 09:23:06Z fyan $ # Maintainer: Sergej Pupykin # Contributor: Stijn Segers pkgname=freerdp pkgver=1.0.2 -pkgrel=4 +pkgrel=5 pkgdesc="Free RDP client" arch=('i686' 'x86_64') url="http://freerdp.sourceforge.net" @@ -16,15 +16,18 @@ conflicts=('freerdp-git') changelog=${pkgname}.changelog source=($pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/FreeRDP/archive/$pkgver.tar.gz ffmpeg2.0.patch - patch_numblock.patch) + patch_numblock.patch + CVE-2014-0791.patch) md5sums=('c260051a94caff590def5caa4fcf59d6' '1260eecf01ea5212e2db8ac9c5e7fa6d' - 'ac581d445ded7cdbd59082a48d9c28ac') + 'ac581d445ded7cdbd59082a48d9c28ac' + '62d0ab241c16ee5d85ff89183df9bbc0') prepare() { cd $srcdir/FreeRDP-$pkgver patch -Np1 -i ../ffmpeg2.0.patch patch -Np1 -i ../patch_numblock.patch + patch -Np1 -i ../CVE-2014-0791.patch } build() { diff --git a/community/geany-plugins/PKGBUILD b/community/geany-plugins/PKGBUILD index 4fef542dd..74d02eca6 100644 --- a/community/geany-plugins/PKGBUILD +++ b/community/geany-plugins/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 99755 2013-10-30 23:30:58Z allan $ +# $Id: PKGBUILD 109348 2014-04-13 20:12:27Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Angel 'angvp' Velasquez # Contributor: djgera # Contributor: Patrick Melo pkgname=geany-plugins -pkgver=1.23 -pkgrel=3 +pkgver=1.24 +pkgrel=1 pkgdesc='Plugins for Geany' arch=('x86_64' 'i686') url='http://plugins.geany.org/' @@ -17,19 +17,17 @@ makedepends=('intltool' 'vala' 'gdb' 'cppcheck') optdepends=('hspell: hebrew spell checker') install="$pkgname.install" source=("http://plugins.geany.org/$pkgname/$pkgname-$pkgver.tar.bz2") -sha256sums=('ff26860edd1cbaea88c73bd8c2bd02f9ba04046674f05d3696baf66582e2bf58') +sha256sums=('dcc0414b29ae0160fc3a7adb0a1d6cbd5bd6bfb1900dab03e8774b3cebf6f2ec') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" ./configure --prefix=/usr --libexecdir=/usr/lib make } package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: diff --git a/community/geany/PKGBUILD b/community/geany/PKGBUILD index 22827bbb9..5f8af80f5 100644 --- a/community/geany/PKGBUILD +++ b/community/geany/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 99754 2013-10-30 23:30:36Z allan $ +# $Id: PKGBUILD 109346 2014-04-13 17:45:28Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Angel Velasquez # Contributor: Ionut Biru @@ -6,23 +6,23 @@ # Contributor: Allan McRae pkgname=geany -pkgver=1.23.1 +pkgver=1.24 pkgrel=1 pkgdesc='Fast and lightweight IDE' arch=('x86_64' 'i686') -url="http://www.geany.org/" +url='http://www.geany.org/' license=('GPL') depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils') makedepends=('perlxml' 'setconf' 'intltool') -optdepends=('vte: for terminal support' - 'geany-plugins: various extra features' +optdepends=('geany-plugins: various extra features' + 'vte: terminal support' 'python2') install="$pkgname.install" source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2") -sha256sums=('8815b16e59d8679ec359a1a5754fee05e77f7bca53083c939654bfc77d978fad') +sha256sums=('51c37690fea9b7a9baaf7f9158c5d88d86ae81d44409ec0460aa0445fe0a039f') prepare() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" # Python2 fix sed -i '0,/on/s//on2/' data/templates/files/main.py @@ -32,7 +32,7 @@ prepare() { } build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" ./configure --prefix=/usr make @@ -42,9 +42,7 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: diff --git a/community/kaffeine/PKGBUILD b/community/kaffeine/PKGBUILD new file mode 100644 index 000000000..0d2f4996c --- /dev/null +++ b/community/kaffeine/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 109333 2014-04-13 12:27:58Z andrea $ +# Maintainer: +# Contributor: Pierre Schmitz + +pkgname=kaffeine +pkgver=1.2.2 +pkgrel=3 +pkgdesc='KDE media player' +license=('GPL') +arch=('i686' 'x86_64') +url="http://kaffeine.kde.org" +depends=('kdebase-runtime' 'xine-lib') +makedepends=('cmake' 'automoc4') +install=kaffeine.install +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz + kaffeine-1.2.2-gcc4.7.patch) +md5sums=('690e48d2e5fe123887109aa9b1bc1c31' + '48afe5ec99b38fe02782db57a847033f') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 -i "${srcdir}/kaffeine-1.2.2-gcc4.7.patch" +} + +build() { + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} diff --git a/community/kaffeine/kaffeine-1.2.2-gcc4.7.patch b/community/kaffeine/kaffeine-1.2.2-gcc4.7.patch new file mode 100644 index 000000000..e74563e0b --- /dev/null +++ b/community/kaffeine/kaffeine-1.2.2-gcc4.7.patch @@ -0,0 +1,32 @@ +commit 2da9df1e67004c3cfa879578c351300a99f23da1 +Author: Christoph Pfister +Date: Wed Apr 4 21:22:09 2012 +0200 + + fix build for gcc 4.7 + +diff --git a/src/dvb/dvbepg.cpp b/src/dvb/dvbepg.cpp +index 7fc8f68..e70d8b8 100644 +--- a/src/dvb/dvbepg.cpp ++++ b/src/dvb/dvbepg.cpp +@@ -690,15 +690,15 @@ void AtscEpgFilter::processEitSection(const char *data, int size) + // 1980-01-06T000000 minus 15 secs (= UTC - GPS in 2011) + QDateTime baseDateTime = QDateTime(QDate(1980, 1, 5), QTime(23, 59, 45), Qt::UTC); + +- for (AtscEitSectionEntry entry = eitSection.entries(); (entryCount > 0) && entry.isValid(); +- --entryCount, entry.advance()) { ++ for (AtscEitSectionEntry eitEntry = eitSection.entries(); ++ (entryCount > 0) && eitEntry.isValid(); --entryCount, eitEntry.advance()) { + DvbEpgEntry epgEntry; + epgEntry.channel = channel; +- epgEntry.begin = baseDateTime.addSecs(entry.startTime()); +- epgEntry.duration = QTime().addSecs(entry.duration()); +- epgEntry.title = entry.title(); ++ epgEntry.begin = baseDateTime.addSecs(eitEntry.startTime()); ++ epgEntry.duration = QTime().addSecs(eitEntry.duration()); ++ epgEntry.title = eitEntry.title(); + +- quint32 id = ((quint32(fakeChannel.networkId) << 16) | quint32(entry.eventId())); ++ quint32 id = ((quint32(fakeChannel.networkId) << 16) | quint32(eitEntry.eventId())); + DvbSharedEpgEntry entry = epgEntries.value(id); + + if (entry.isValid() && (entry->channel == epgEntry.channel) && diff --git a/community/kaffeine/kaffeine.install b/community/kaffeine/kaffeine.install new file mode 100644 index 000000000..5c501dc49 --- /dev/null +++ b/community/kaffeine/kaffeine.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/libnatpmp/PKGBUILD b/community/libnatpmp/PKGBUILD index 89e5e3967..a3790c157 100644 --- a/community/libnatpmp/PKGBUILD +++ b/community/libnatpmp/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 109133 2014-04-10 15:59:00Z anatolik $ +# $Id: PKGBUILD 109301 2014-04-12 23:46:12Z anatolik $ # Maintainer: Anatol Pomozov # Contributor: Gustavo Alvarez # Contributor: Kristjan Reinloo @@ -6,17 +6,22 @@ pkgname=libnatpmp pkgver=20140401 -pkgrel=1 +pkgrel=2 pkgdesc='A portable and fully compliant implementation of the NAT-PMP protocol' arch=(i686 x86_64) url='http://miniupnp.free.fr/libnatpmp.html' license=(BSD) depends=(glibc) -source=(http://miniupnp.tuxfamily.org/files/libnatpmp-$pkgver.tar.gz) -sha1sums=('e9511edecb9a75dbe8c9ed39c0469a18dc7e950b') +source=(http://miniupnp.tuxfamily.org/files/libnatpmp-$pkgver.tar.gz + fix_header_issue.diff) +sha1sums=('e9511edecb9a75dbe8c9ed39c0469a18dc7e950b' + '58baa3fe61edfc117ae92452fbc8176d095bd7d2') prepare() { - sed -e 's/CFLAGS = /CFLAGS += /' -i $pkgname-$pkgver/Makefile + cd $pkgname-$pkgver + sed -e 's/CFLAGS = /CFLAGS += /' -i Makefile + # The patch comes from upstream https://github.com/miniupnp/libnatpmp/commit/f376ab72bc4de0b45f4e10c9b287b7ffe2a1fcd1 + patch -p1 < "$srcdir"/fix_header_issue.diff } build() { diff --git a/community/libnatpmp/fix_header_issue.diff b/community/libnatpmp/fix_header_issue.diff new file mode 100644 index 000000000..2e52886b0 --- /dev/null +++ b/community/libnatpmp/fix_header_issue.diff @@ -0,0 +1,59 @@ +commit f376ab72bc4de0b45f4e10c9b287b7ffe2a1fcd1 +Author: Thomas Bernard +Date: Thu Apr 10 23:09:44 2014 +0200 + + remove declspec.h problems. still has to be fixed definitely + +diff --git a/getgateway.h b/getgateway.h +index d868f80..b3e17c6 100644 +--- a/getgateway.h ++++ b/getgateway.h +@@ -1,6 +1,6 @@ + /* $Id: getgateway.h,v 1.7 2013/09/10 20:09:04 nanard Exp $ */ + /* libnatpmp +-Copyright (c) 2007-2013, Thomas BERNARD ++Copyright (c) 2007-2014, Thomas BERNARD + All rights reserved. + + Redistribution and use in source and binary forms, with or without +@@ -38,12 +38,12 @@ typedef unsigned short uint16_t; + #endif + #define in_addr_t uint32_t + #endif +-#include "declspec.h" ++/* #include "declspec.h" */ + + /* getdefaultgateway() : + * return value : + * 0 : success + * -1 : failure */ +-LIBSPEC int getdefaultgateway(in_addr_t * addr); ++/* LIBSPEC */int getdefaultgateway(in_addr_t * addr); + + #endif +diff --git a/natpmp.h b/natpmp.h +index 62d113f..2399afb 100644 +--- a/natpmp.h ++++ b/natpmp.h +@@ -1,6 +1,6 @@ + /* $Id: natpmp.h,v 1.19 2014/04/01 09:39:29 nanard Exp $ */ + /* libnatpmp +-Copyright (c) 2007-2013, Thomas BERNARD ++Copyright (c) 2007-2014, Thomas BERNARD + All rights reserved. + + Redistribution and use in source and binary forms, with or without +@@ -48,10 +48,12 @@ typedef unsigned short uint16_t; + #define in_addr_t uint32_t + #include "declspec.h" + #else /* WIN32 */ ++#define LIBSPEC + #include + #endif /* WIN32 */ + +-#include "declspec.h" ++/* causes problem when installing. Maybe should it be inlined ? */ ++/* #include "declspec.h" */ + + typedef struct { + int s; /* socket */ diff --git a/community/lmms/PKGBUILD b/community/lmms/PKGBUILD index 1f41a6d99..d6b9c69a5 100644 --- a/community/lmms/PKGBUILD +++ b/community/lmms/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 99896 2013-10-31 02:20:39Z allan $ +# $Id: PKGBUILD 109323 2014-04-13 11:20:12Z lfleischer $ # Maintainer: Lukas Fleischer # Contributor: Shinlun Hsieh # Contributor: Mateusz Herych # Contributor: Storyteller pkgname=lmms -pkgver=0.4.15 +pkgver=1.0.0 pkgrel=1 pkgdesc='The Linux MultiMedia Studio.' arch=('i686' 'x86_64') url='http://lmms.sourceforge.net/' license=('GPL') depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'qt4' 'sdl_sound' - 'libsamplerate' 'shared-mime-info') + 'libsamplerate' 'shared-mime-info' 'fltk') optdepends=('wine: VST support (experimental)' 'fftw: SpectrumAnalyzer plugin' 'stk: STK instruments plugins' @@ -23,9 +23,9 @@ provides=('lmms-extras') conflicts=('lmms-extras') options=('!makeflags') install=lmms.install -source=("http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2" +source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.bz2/download" zynaddsubfx_unlink.patch) -md5sums=('0c754480ded76b7c081a99d7a884549c' +md5sums=('72260dd6e29bf018875fd751c1d43465' 'd2ea78ac0cf2979505f140c6845617cf') build() { diff --git a/community/lxtask/PKGBUILD b/community/lxtask/PKGBUILD index c1c6bf5e4..6ba068535 100644 --- a/community/lxtask/PKGBUILD +++ b/community/lxtask/PKGBUILD @@ -1,26 +1,41 @@ -# $Id: PKGBUILD 104479 2014-01-21 17:24:15Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski +# $Id: PKGBUILD 109303 2014-04-13 01:12:59Z bgyorgy $ +# Maintainer: Balló György +# Contributor: Bartłomiej Piotrowski # Contributor: Angel Velasquez # Contributor: Geoffroy Carrier pkgname=lxtask pkgver=0.1.4 -pkgrel=4 +pkgrel=5 pkgdesc='Task manager of the LXDE Desktop' arch=('i686' 'x86_64') license=('GPL2') url='http://lxde.org/' groups=('lxde') depends=('gtk2') -makedepends=('pkgconfig' 'intltool') -source=(http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.gz) -md5sums=('c4ab47d03d41a88696d64d3f1e78cf7f') +makedepends=('intltool') +source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz + fix-integer-overflow.patch + fix-sort-by-user.patch + fix-cpu-count.patch) +md5sums=('c4ab47d03d41a88696d64d3f1e78cf7f' + '0d4d325bd20dc7dcf2489bf78f18efb5' + 'ecb4b04fac25c7533b8760696b742330' + 'd18064be20c653274e31a73426e06abb') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../fix-integer-overflow.patch + patch -Np1 -i ../fix-sort-by-user.patch + patch -Np1 -i ../fix-cpu-count.patch +} build() { cd $pkgname-$pkgver ./configure --sysconfdir=/etc --prefix=/usr make } + package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install diff --git a/community/lxtask/fix-cpu-count.patch b/community/lxtask/fix-cpu-count.patch new file mode 100644 index 000000000..a0104289a --- /dev/null +++ b/community/lxtask/fix-cpu-count.patch @@ -0,0 +1,18 @@ +commit 963dea395cc58eae940b85e242f0d84fb7d2eaa5 +Author: dgod +Date: Mon Apr 22 19:08:58 2013 +0800 + + Patch that resolves -1% CPU for processes on armhf + +diff --git a/src/xfce-taskmanager-linux.c b/src/xfce-taskmanager-linux.c +index 116fec1..1267dfc 100644 +--- a/src/xfce-taskmanager-linux.c ++++ b/src/xfce-taskmanager-linux.c +@@ -267,6 +267,7 @@ gboolean get_system_status (system_status *sys_stat) + } + } + fclose (file); ++ if(!cpu_count) cpu_count++; /* cpu_count should be at least 1 */ + } + sys_stat->cpu_count=cpu_count; + return TRUE; diff --git a/community/lxtask/fix-integer-overflow.patch b/community/lxtask/fix-integer-overflow.patch new file mode 100644 index 000000000..aac7b22c6 --- /dev/null +++ b/community/lxtask/fix-integer-overflow.patch @@ -0,0 +1,39 @@ +commit 2dbcf129cd830bc3b50a2e040f862026eb1d9ab7 +Author: dgod +Date: Sun Feb 12 17:32:14 2012 +0800 + + fix integer overflow in memory show + + Extended by Arch Linux to fix sort tasks by memory. + +diff --git a/src/interface.c b/src/interface.c +index 52c6727..62e89ff 100644 +--- a/src/interface.c ++++ b/src/interface.c +@@ -430,10 +430,10 @@ void fill_list_item(gint i, GtkTreeIter *iter) + gtk_tree_store_set(GTK_TREE_STORE(list_store), iter, COLUMN_STATE, task->state, -1); + + /* size */ +- gtk_tree_store_set(GTK_TREE_STORE(list_store), iter, COLUMN_MEM, size_to_string(buf, task->size * 1024), -1); ++ gtk_tree_store_set(GTK_TREE_STORE(list_store), iter, COLUMN_MEM, size_to_string(buf, ((guint64)task->size)*1024), -1); + + /* rss */ +- gtk_tree_store_set(GTK_TREE_STORE(list_store), iter, COLUMN_RSS, size_to_string(buf, task->rss*1024), -1); ++ gtk_tree_store_set(GTK_TREE_STORE(list_store), iter, COLUMN_RSS, size_to_string(buf, ((guint64)task->rss)*1024), -1); + + gtk_tree_store_set(GTK_TREE_STORE(list_store), iter, COLUMN_UNAME, task->uname, -1); + sprintf(buf,"%0d%%", (guint)task->time_percentage); +@@ -545,10 +545,10 @@ gint compare_size_list_item(GtkTreeModel *model, GtkTreeIter *iter1, GtkTreeIter + gtk_tree_model_get(model, iter1, column, &s1, -1); + gtk_tree_model_get(model, iter2, column, &s2, -1); + +- gint64 i1 = string_to_size(s1); +- gint64 i2 = string_to_size(s2); ++ guint64 i1 = string_to_size(s1); ++ guint64 i2 = string_to_size(s2); + +- ret = i2 - i1; ++ ret = (i2 > i1) - (i2 < i1); + + g_free(s1); + g_free(s2); diff --git a/community/lxtask/fix-sort-by-user.patch b/community/lxtask/fix-sort-by-user.patch new file mode 100644 index 000000000..0c049554e --- /dev/null +++ b/community/lxtask/fix-sort-by-user.patch @@ -0,0 +1,19 @@ +commit 02fb78fb4f1e46b5176f45e2c221da6e52e9d014 +Author: dgod +Date: Wed Oct 31 20:31:48 2012 +0800 + + fix sort tasks by clicking the User Name + +diff --git a/src/interface.c b/src/interface.c +index 45cf256..1f98351 100644 +--- a/src/interface.c ++++ b/src/interface.c +@@ -195,7 +195,7 @@ void create_list_store(void) + column = gtk_tree_view_column_new_with_attributes(_("User"), cell_renderer, "text", COLUMN_UNAME, NULL); + gtk_tree_view_column_set_resizable(column, TRUE); + gtk_tree_view_column_set_sort_column_id(column, COLUMN_UNAME); +- gtk_tree_sortable_set_sort_func(GTK_TREE_SORTABLE(list_store), COLUMN_UNAME, compare_int_list_item, (void *)COLUMN_UNAME, NULL); ++ gtk_tree_sortable_set_sort_func(GTK_TREE_SORTABLE(list_store), COLUMN_UNAME, compare_string_list_item, (void *)COLUMN_UNAME, NULL); + gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); + + cell_renderer = gtk_cell_renderer_text_new(); diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD index caf35813c..015f7fe9b 100644 --- a/community/mongodb/PKGBUILD +++ b/community/mongodb/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 108911 2014-04-07 12:17:25Z fyan $ +# $Id: PKGBUILD 109312 2014-04-13 09:23:07Z fyan $ # Maintainer: Felix Yan # Contributor: Sven-Hendrik Haase # Contributor: Thomas Dziedzic < gostrc at gmail > @@ -6,13 +6,13 @@ # Contributor: Alec Thomas pkgname=mongodb -pkgver=2.4.10 +pkgver=2.6.0 pkgrel=1 pkgdesc='A high-performance, open source, schema-free document-oriented database' arch=('i686' 'x86_64') url='http://www.mongodb.org' license=('AGPL3') -depends=('boost-libs' 'pcre' 'snappy' 'openssl' 'gperftools') # 'libsasl') +depends=('boost-libs' 'pcre' 'snappy' 'openssl' 'gperftools' 'libsasl') # 'libyaml' 'yaml-cpp' 'v8') makedepends=('scons' 'boost' 'readline' 'ncurses' 'libpcap') checkdepends=('python2-pymongo') optdepends=('libpcap: needed for mongosniff') @@ -35,9 +35,9 @@ build() { --use-system-pcre \ --use-system-snappy \ --use-system-tcmalloc \ - --ssl \ - --sharedclient - # --use-sasl-client + --use-sasl-client \ + --ssl + # --use-system-yaml # --use-system-v8 } @@ -60,11 +60,10 @@ package() { --use-system-pcre \ --use-system-snappy \ --use-system-tcmalloc \ + --use-sasl-client \ --ssl \ - --sharedclient \ - --full \ --prefix="$pkgdir/usr" - # --use-sasl-client + # --use-system-yaml # --use-system-v8 install -Dm644 "$srcdir/mongodb.conf" "$pkgdir/etc/mongodb.conf" @@ -73,7 +72,7 @@ package() { install -dm755 "$pkgdir/var/log/mongodb" } -sha512sums=('970364dda2dba18bf979a0fc8291d9656b3cc3ba0aec1ca26d81f14f833e355c023d19b3cfaa81704013bf2c0e732d72de08b0f8236dafe85a3ac4d51b87edc6' +sha512sums=('60747ebd2fce9cffdb6b5ea3472a4efa46cd7e1ee38aee2a806a15667b5d86a61da89bf176876553ab348c0f3b3b925125921330b333a8349275e6ce79ccd337' '05dead727d3ea5fe8af1a3c3888693f6b3e2b8cb7f197a5d793352e10d2c524e96c9a5c55ad2e88c1114643a9612ec0b26a2574b48a5260a9b51ec8941461f1c' '177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9' - 'e709f76fa71a10d6b72d2eeae65d715e0a0a7e6cb93704114f22db8662d7102de77bd1e6706049351beb159aaa04548cfe4b14fe6ee498a166c5ad54c8275f84') + 'SKIP') diff --git a/community/mongodb/removeWerror.patch b/community/mongodb/removeWerror.patch index dd96084da..e25f121bb 100644 --- a/community/mongodb/removeWerror.patch +++ b/community/mongodb/removeWerror.patch @@ -1,21 +1,11 @@ ---- a/SConstruct 2013-03-16 02:59:55.000000000 +0800 -+++ b/SConstruct 2013-03-20 10:55:20.009645869 +0800 -@@ -692,7 +692,7 @@ +--- a/SConstruct 2014-04-08 22:55:57.206075327 +0800 ++++ b/SConstruct 2014-04-08 22:57:58.692240224 +0800 +@@ -819,7 +819,7 @@ "-Winvalid-pch"] ) # env.Append( " -Wconversion" ) TODO: this doesn't really work yet - if linux: + if linux or darwin: - env.Append( CCFLAGS=["-Werror", "-pipe"] ) + env.Append( CCFLAGS=["-pipe"] ) - if not has_option('clang'): - env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's ---- a/src/third_party/v8/SConscript 2013-04-17 03:21:23.000000000 +0800 -+++ b/src/third_party/v8/SConscript 2013-04-18 17:41:29.878618892 +0800 -@@ -47,7 +47,6 @@ - 'gcc': { - 'all': { - 'CCFLAGS': ['-Wall', -- '-Werror', - '-W', - '-Wno-unused-parameter', - '-Woverloaded-virtual', + env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] ) + env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] ) diff --git a/community/python-pygpgme/PKGBUILD b/community/python-pygpgme/PKGBUILD new file mode 100644 index 000000000..5bb1c44a7 --- /dev/null +++ b/community/python-pygpgme/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Lukas Fleischer + +pkgbase=python-pygpgme +pkgname=(python-pygpgme python2-pygpgme) +pkgver=0.3 +pkgrel=2 +pkgdesc="A Python interface to the gpgme GnuPG library" +arch=('i686' 'x86_64') +url='https://launchpad.net/pygpgme' +makedepends=('python' 'python2') +license=('LGPL') +source=("https://launchpad.net/pygpgme/trunk/${pkgver}/+download/pygpgme-${pkgver}.tar.gz") +md5sums=('d38355af73f0352cde3d410b25f34fd0') + +package_python-pygpgme() { + depends=('python' 'gpgme') + + cd "${srcdir}/pygpgme-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 +} + +package_python2-pygpgme() { + depends=('python2' 'gpgme') + + cd "${srcdir}/pygpgme-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 +} diff --git a/community/redshift/PKGBUILD b/community/redshift/PKGBUILD index aff73c9fd..fa0210aba 100644 --- a/community/redshift/PKGBUILD +++ b/community/redshift/PKGBUILD @@ -1,20 +1,21 @@ -# $Id: PKGBUILD 109293 2014-04-12 21:39:07Z lfleischer $ +# $Id: PKGBUILD 109308 2014-04-13 08:35:54Z lfleischer $ # Maintainer: Lukas Fleischer # Contributor: Geoffrey Teale # Contributor: Mark, Huo Mian # Contributor: Biginoz +# Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> pkgname=redshift pkgver=1.9 -pkgrel=1 +pkgrel=2 pkgdesc='Adjusts the color temperature of your screen according to your surroundings.' arch=('i686' 'x86_64') url='http://jonls.dk/redshift/' license=('GPL3') -depends=('gconf' 'geoclue' 'libxxf86vm') -optdepends=('pygtk: for gtk-redshift' - 'python-xdg: for gtk-redshift' - 'librsvg: for gtk-redshift') +depends=('geoclue' 'libdrm' 'libxcb' 'libxxf86vm') +optdepends=('pygtk: for redshift-gtk' + 'python-xdg: for redshift-gtk' + 'librsvg: for redshift-gtk') makedepends=('python') install='redshift.install' source=("https://github.com/jonls/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz") @@ -23,7 +24,7 @@ md5sums=('9640218cd9ba88f6d10b347b2277c415') build() { cd "${srcdir}/${pkgname}-${pkgver}" - PYTHON=/usr/bin/python ./configure --prefix=/usr + ./configure --prefix=/usr --enable-drm --enable-randr --enable-vidmode --enable-geoclue make } diff --git a/community/stunnel/PKGBUILD b/community/stunnel/PKGBUILD index 6a79c3e0e..6ee7ba1eb 100644 --- a/community/stunnel/PKGBUILD +++ b/community/stunnel/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 107290 2014-03-16 16:03:43Z lfleischer $ +# $Id: PKGBUILD 109329 2014-04-13 11:55:50Z lfleischer $ # Maintainer: Lukas Fleischer # Contributor: Kaiting Chen # Contributor: Daniel J Griffiths # Contributor: Kevin Piche pkgname=stunnel -pkgver=5.00 +pkgver=5.01 pkgrel=1 pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ install=$pkgname.install source=("https://www.stunnel.org/downloads/$pkgname-$pkgver.tar.gz"{,.asc} 'Makefile.patch' 'stunnel.tmpfiles.conf') -md5sums=('4f00fd0faf99e3c9cf258a19dd83d14a' +md5sums=('7b63266b6fa05da696729e245100da65' 'SKIP' '579f198ecb90a42fcbfd8a4e48006264' '2e065a39998e57727ee79887bbd1751e') diff --git a/community/tcpflow/PKGBUILD b/community/tcpflow/PKGBUILD index 582004c4e..e00a1b7ba 100644 --- a/community/tcpflow/PKGBUILD +++ b/community/tcpflow/PKGBUILD @@ -1,27 +1,44 @@ -# $Id: PKGBUILD 82467 2013-01-18 15:47:09Z fyan $ -# Maintainer: Chris Brannon +# $Id: PKGBUILD 109310 2014-04-13 08:57:55Z fyan $ +# Maintainer: Felix Yan +# Contributor: Chris Brannon # Contributor: Jeff Mickey pkgname=tcpflow -pkgver=1.3.0 +pkgver=1.4.4 pkgrel=1 pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently" arch=('i686' 'x86_64') url="http://afflib.org/software/tcpflow" license=('GPL') -depends=('gcc-libs' 'libpcap' 'zlib') -source=("https://github.com/simsong/$pkgname/archive/$pkgname-$pkgver.tar.gz") +depends=('libpcap' 'cairo') +makedepends=('git' 'boost') +source=("git+https://github.com/simsong/$pkgname.git#tag=$pkgname-$pkgver" + 'git+https://github.com/simsong/be13_api.git' + 'git+https://github.com/simsong/dfxml.git' + 'git+https://github.com/joyent/http-parser.git') +md5sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP') + +prepare() { + cd $pkgname + git submodule init + git config submodule."src/be13_api".url "$srcdir/be13_api" + git config submodule."src/dfxml".url "$srcdir/dfxml" + git config submodule."src/http-parser".url "$srcdir/http-parser" + git submodule update +} build() { - cd "$srcdir/$pkgname-$pkgname-$pkgver" + cd $pkgname sh bootstrap.sh ./configure --prefix=/usr --mandir=/usr/share/man make } package() { - cd "$srcdir/$pkgname-$pkgname-$pkgver" + cd $pkgname make DESTDIR="$pkgdir" install } -md5sums=('446be6d852bc7ddd0a8d5149f2bddb60') diff --git a/community/yakuake/PKGBUILD b/community/yakuake/PKGBUILD new file mode 100644 index 000000000..b4f776385 --- /dev/null +++ b/community/yakuake/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 109331 2014-04-13 12:27:19Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: James Rayner +# Contributor: leeghoofd + +pkgname=yakuake +pkgver=2.9.9 +pkgrel=1 +pkgdesc="A drop-down terminal emulator based on KDE konsole technology" +arch=('i686' 'x86_64') +url='http://yakuake.kde.org/' +license=('GPL') +depends=('kdebase-konsole') +makedepends=('cmake' 'automoc4') +install="${pkgname}.install" +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") +md5sums=('ef97612710b28d62e43a58bed49cbead') + +build() { + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/community/yakuake/yakuake.install b/community/yakuake/yakuake.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/community/yakuake/yakuake.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf