From 3092fe0e20f490a5f9b8b9602ffc039a22be60c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Wed, 8 Jan 2014 03:41:42 +0000 Subject: Wed Jan 8 03:37:02 UTC 2014 --- community/i3status/PKGBUILD | 14 +++++---- community/lz4/01-fix-include.patch | 11 +++++++ community/lz4/PKGBUILD | 16 +++++++--- community/mpv/PKGBUILD | 17 ++++------- .../mpv/mpv-0.3.1-always_respect_sector_size.patch | 34 ---------------------- 5 files changed, 36 insertions(+), 56 deletions(-) create mode 100644 community/lz4/01-fix-include.patch delete mode 100644 community/mpv/mpv-0.3.1-always_respect_sector_size.patch (limited to 'community') diff --git a/community/i3status/PKGBUILD b/community/i3status/PKGBUILD index dfd36db63..649bb51c1 100644 --- a/community/i3status/PKGBUILD +++ b/community/i3status/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 85172 2013-02-27 14:41:02Z ttoepper $ +# $Id: PKGBUILD 103554 2014-01-07 21:43:33Z ttoepper $ # Maintainer: Thorsten Töpper pkgname=i3status -pkgver=2.7 +pkgver=2.8 pkgrel=1 -pkgdesc="Generates status bar to use with dzen2 or xmobar" +pkgdesc='Generates status bar to use with i3bar, dzen2 or xmobar' arch=('i686' 'x86_64') -url="http://i3.zekjur.net/i3status/" +url='http://i3.zekjur.net/i3status/' license=('BSD') groups=('i3') depends=('wireless_tools' 'confuse' 'alsa-lib' 'yajl') @@ -14,8 +14,10 @@ makedepends=('asciidoc') backup=('etc/i3status.conf') install=i3status.install options=('docs') -source=("http://i3.zekjur.net/i3status/$pkgname-$pkgver.tar.bz2") -md5sums=('f0a39e84aebb65496af3dcec9d8cfeb8') +source=("http://i3.zekjur.net/i3status/$pkgname-$pkgver.tar.bz2" + "http://i3.zekjur.net/i3status/$pkgname-$pkgver.tar.bz2.asc") +md5sums=('68d944e9c1f48183356c9ea15b5b4e3b' + 'SKIP') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/lz4/01-fix-include.patch b/community/lz4/01-fix-include.patch new file mode 100644 index 000000000..960fb3674 --- /dev/null +++ b/community/lz4/01-fix-include.patch @@ -0,0 +1,11 @@ +--- a/programs/Makefile 2014-01-07 22:03:45.197517981 +0100 ++++ b/programs/Makefile 2014-01-07 22:03:43.126477362 +0100 +@@ -34,7 +34,7 @@ + DESTDIR= + PREFIX=/usr + CC=gcc +-CFLAGS+= -I. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" ++CFLAGS+= -I.. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" + + BINDIR=$(PREFIX)/bin + MANDIR=$(PREFIX)/share/man/man1 diff --git a/community/lz4/PKGBUILD b/community/lz4/PKGBUILD index 0fc508a3f..748e8a8bd 100644 --- a/community/lz4/PKGBUILD +++ b/community/lz4/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 103238 2013-12-30 22:18:53Z seblu $ +# $Id: PKGBUILD 103558 2014-01-07 22:36:39Z seblu $ # Maintainer: Sébastien Luttringer # Contacted by mail, author use svn commit as release version. # He only push tested release code into svn and support using revision as version pkgname=lz4 -pkgver=110 +pkgver=111 pkgrel=1 pkgdesc='Very fast lossless compression algorithm' arch=('i686' 'x86_64') @@ -13,12 +13,20 @@ url='https://code.google.com/p/lz4/' license=('GPL2') makedepends=('svn') depends=('glibc') -source=("$pkgname::svn+http://lz4.googlecode.com/svn/trunk/#revision=$pkgver") -md5sums=('SKIP') +source=("$pkgname::svn+http://lz4.googlecode.com/svn/trunk/#revision=$pkgver" + '01-fix-include.patch') +md5sums=('SKIP' + '522618c085bb30924f540c3b2c18a7e4') + +prepare() { + patch -d $pkgname -p 1 < 01-fix-include.patch +} build() { cd $pkgname make + cd programs + make } package() { diff --git a/community/mpv/PKGBUILD b/community/mpv/PKGBUILD index 8f1703791..ae6e65128 100644 --- a/community/mpv/PKGBUILD +++ b/community/mpv/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 103275 2014-01-02 08:50:55Z bpiotrowski $ +# $Id: PKGBUILD 103520 2014-01-07 07:23:00Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Eivind Uggedal pkgname=mpv -pkgver=0.3.1 -pkgrel=2 +pkgver=0.3.2 +pkgrel=1 pkgdesc='Video player based on MPlayer/mplayer2' arch=('i686' 'x86_64') license=('GPL') @@ -17,15 +17,8 @@ depends=( makedepends=('mesa' 'python-docutils' 'waf') options=('!emptydirs' '!buildflags') install=mpv.install -source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz - mpv-0.3.1-always_respect_sector_size.patch) -md5sums=('f7e4091eb9ce058ce35b4bc1b6c4f3a2' - 'afe01937e9bff1f241d37774eda39b7a') - -prepare() { - cd $pkgname-$pkgver - patch -p1 -i ../mpv-0.3.1-always_respect_sector_size.patch -} +source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz) +md5sums=('516f2eeec1d1f69905d11c1feec8166e') build() { cd $pkgname-$pkgver diff --git a/community/mpv/mpv-0.3.1-always_respect_sector_size.patch b/community/mpv/mpv-0.3.1-always_respect_sector_size.patch deleted file mode 100644 index 82c474081..000000000 --- a/community/mpv/mpv-0.3.1-always_respect_sector_size.patch +++ /dev/null @@ -1,34 +0,0 @@ -From b04b48fc10dabb1d1b26ff519f55dcafb320985e Mon Sep 17 00:00:00 2001 -From: wm4 -Date: Thu, 2 Jan 2014 00:39:14 +0100 -Subject: [PATCH] stream: always respect sector_size, fixes cdda:// - -Streams like CDDA have special requirements in what quantities data can -be read: you can only read a sector at once, not more and not less. The -stream_peek() function didn't respect that and set less (used internal -buffer size of 2048 bytes, instead of CD sector size of 2352 bytes), so -no data was read and EOF was accidentally set, making playback with -cdda:// fail. - -This is a regression since commit 9a723f, but that commit merely exposed -the issue (the redundant seek would clear the EOF flag). ---- - stream/stream.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/stream/stream.c b/stream/stream.c -index 3332e66..b48de57 100644 ---- a/stream/stream.c -+++ b/stream/stream.c -@@ -562,7 +562,7 @@ struct bstr stream_peek(stream_t *s, int len) - while (buf_valid < len) { - int chunk = MPMAX(len - buf_valid, STREAM_BUFFER_SIZE); - if (s->sector_size) -- chunk = STREAM_BUFFER_SIZE; -+ chunk = s->sector_size; - assert(buf_valid + chunk <= TOTAL_BUFFER_SIZE); - int read = stream_read_unbuffered(s, &s->buffer[buf_valid], chunk); - if (read == 0) --- -1.8.5.1 - -- cgit v1.2.3