From d976aa5e1544c80dc2457ea20b27f28f3fa05899 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Apr 2013 00:04:48 -0700 Subject: Fri Apr 12 00:04:48 PDT 2013 --- community/chmsee/PKGBUILD | 6 +- community/jemalloc/PKGBUILD | 30 ++ community/libpinyin/PKGBUILD | 15 +- community/mcelog/PKGBUILD | 18 +- community/mcelog/mcelog.service | 4 +- community/nbd/PKGBUILD | 8 +- community/netcf/PKGBUILD | 6 +- community/percona-server/PKGBUILD | 8 +- community/smem/PKGBUILD | 6 +- community/xvba-video-open/PKGBUILD | 49 -- .../fix-build-with-glext.h-version-85.patch | 17 - .../xvba-video-open/xvba-video-0.8.0-glx-fix.patch | 12 - .../xvba-video-open/xvba-video-h264-level51.patch | 33 -- core/systemd/PKGBUILD | 16 +- extra/ardour/PKGBUILD | 17 +- extra/calligra/PKGBUILD | 8 +- extra/libmpdclient/PKGBUILD | 13 +- extra/mpc/PKGBUILD | 15 +- extra/mpd/PKGBUILD | 36 +- extra/mpd/ffmpeg.patch | 15 - extra/mpd/rc.d | 25 - extra/opencv/PKGBUILD | 80 ++-- extra/qt5/PKGBUILD | 80 +++- extra/qt5/gcc48.patch | 63 +++ extra/qt5/use-python2.patch | 11 + extra/qtchooser/3.conf | 2 + extra/qtchooser/4.conf | 2 + extra/qtchooser/5.conf | 2 + extra/qtchooser/PKGBUILD | 35 ++ ...Make-the-Reset-Firefox-feature-more-gener.patch | 281 ++++++++++++ libre-testing/iceweasel-libre/PKGBUILD | 501 +++++++-------------- .../iceweasel-libre/iceweasel-install-dir.patch | 12 +- libre-testing/iceweasel-libre/iceweasel.desktop | 173 ++++--- libre-testing/iceweasel-libre/iceweasel.install | 13 + libre-testing/iceweasel-libre/libre.patch | 34 +- libre-testing/iceweasel-libre/mozconfig | 50 +- libre-testing/iceweasel-libre/mozconfig.pgo | 1 + 37 files changed, 904 insertions(+), 793 deletions(-) create mode 100644 community/jemalloc/PKGBUILD delete mode 100644 community/xvba-video-open/PKGBUILD delete mode 100644 community/xvba-video-open/fix-build-with-glext.h-version-85.patch delete mode 100644 community/xvba-video-open/xvba-video-0.8.0-glx-fix.patch delete mode 100644 community/xvba-video-open/xvba-video-h264-level51.patch delete mode 100644 extra/mpd/ffmpeg.patch delete mode 100755 extra/mpd/rc.d create mode 100644 extra/qt5/gcc48.patch create mode 100644 extra/qtchooser/3.conf create mode 100644 extra/qtchooser/4.conf create mode 100644 extra/qtchooser/5.conf create mode 100644 extra/qtchooser/PKGBUILD create mode 100644 libre-testing/iceweasel-libre/Bug-756390-Make-the-Reset-Firefox-feature-more-gener.patch create mode 100644 libre-testing/iceweasel-libre/iceweasel.install diff --git a/community/chmsee/PKGBUILD b/community/chmsee/PKGBUILD index 4ce9bf0a0..c49379b51 100644 --- a/community/chmsee/PKGBUILD +++ b/community/chmsee/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 86523 2013-03-18 14:47:32Z lcarlier $ +# $Id: PKGBUILD 88085 2013-04-11 09:03:50Z lcarlier $ # Maintainer : Laurent Carlier # Contributor: dionydonny # Contributor: Ermanno pkgname=chmsee pkgver=2.0 -pkgrel=4 +pkgrel=5 arch=('i686' 'x86_64') pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner." url="http://chmsee.googlecode.com/" license=('GPL') -depends=('xulrunner>18.0' 'xulrunner<20.0' 'chmlib' 'desktop-file-utils') +depends=('xulrunner>18.0' 'xulrunner<21.0' 'chmlib' 'desktop-file-utils') makedepends=('python2') #source=(chmsee-$pkgver.tar.gz::https://github.com/jungleji/chmsee/tarball/v$pkgver #source=(https://github.com/jungleji/chmsee/archive/b2a3c2ad32bfe9db067665ea1928d7e130d1b5e7.zip diff --git a/community/jemalloc/PKGBUILD b/community/jemalloc/PKGBUILD new file mode 100644 index 000000000..e5ccd4fea --- /dev/null +++ b/community/jemalloc/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 88096 2013-04-11 13:54:05Z mtorromeo $ +# Maintainer: Massimiliano Torromeo +# Contributor: Kovivchak Evgen + +pkgname=jemalloc +pkgver=3.3.1 +pkgrel=1 +pkgdesc="General-purpose scalable concurrent malloc implementation" +arch=('i686' 'x86_64') +license=('BSD') +url="http://www.canonware.com/jemalloc/" +depends=('glibc') +makedepends=('autoconf' 'make') +source=(http://www.canonware.com/download/jemalloc/$pkgname-$pkgver.tar.bz2) + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + mv "$pkgdir"/usr/bin/{,jemalloc-}pprof + chmod 644 "$pkgdir"/usr/lib/*.a + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +sha256sums=('35c433cc1df5cdf9eb58b7980338552fc1d7aa64f89fe5643a972ccedb7cf20a') diff --git a/community/libpinyin/PKGBUILD b/community/libpinyin/PKGBUILD index 12b2c07a0..5eebe2071 100644 --- a/community/libpinyin/PKGBUILD +++ b/community/libpinyin/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 86857 2013-03-23 08:32:34Z fyan $ +# $Id: PKGBUILD 88087 2013-04-11 09:30:02Z fyan $ # Maintainer: Felix Yan # Contributor: Yangtse # Contributor: WU Jun pkgname=libpinyin -pkgver=0.8.93 -pkgrel=2 +pkgver=0.9.0 +pkgrel=1 pkgdesc="Library to deal with pinyin" arch=('i686' 'x86_64') url="https://github.com/libpinyin/libpinyin" @@ -13,13 +13,11 @@ license=('GPL') depends=('db' 'glib2') options=(!libtool) source=("https://github.com/libpinyin/libpinyin/archive/${pkgver}.tar.gz" - "http://downloads.sourceforge.net/libpinyin/model5.text.tar.gz" - "https://github.com/epico/libpinyin/commit/00fec992f5c760f546a1db933fb08325fc9cccbf.patch") + "http://downloads.sourceforge.net/libpinyin/model5.text.tar.gz") noextract=("model5.text.tar.gz") build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../00fec992f5c760f546a1db933fb08325fc9cccbf.patch cp "${srcdir}/model5.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/" sed -i '/wget.*model5\.text\.tar\.gz/ d' ${srcdir}/${pkgname}-${pkgver}/data/Makefile.am @@ -32,6 +30,5 @@ package() { cd "${srcdir}/libpinyin-$pkgver" make DESTDIR="${pkgdir}" install } -md5sums=('1d9a768496c8a4368d3488639cadd554' - 'a83812e2d3be5695be54f95d9d7a3aa0' - '2163a85183c36f69d65d19b2bc9e2c9b') +md5sums=('e2237be88c6b9f1ed4f7c6e75a1738b4' + 'a83812e2d3be5695be54f95d9d7a3aa0') diff --git a/community/mcelog/PKGBUILD b/community/mcelog/PKGBUILD index daf096264..f6493bd0d 100644 --- a/community/mcelog/PKGBUILD +++ b/community/mcelog/PKGBUILD @@ -1,32 +1,32 @@ -# $Id: PKGBUILD 78891 2012-10-26 13:18:06Z spupykin $ +# $Id: PKGBUILD 88089 2013-04-11 09:34:40Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Thomas Mudrunka # Maintainer: Thomas Mudrunka pkgname=mcelog -pkgver=1.0pre3 -pkgrel=5 +pkgver=20130411 +pkgrel=1 pkgdesc="Print machine check event log from x86-64 kernel" url="http://freshmeat.net/projects/mcelog/" license=("GPL") arch=('i686' 'x86_64') +makedepends=('git') options=('docs') backup=('etc/mcelog/mcelog.conf') -#source=("ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/${pkgname}-${pkgver}.tar.gz" -source=("ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.gz" +source=("git://github.com/andikleen/mcelog.git" "${pkgname}.rc" "mcelog.service") -md5sums=('b42f2214de6f4feb992556149edc67fa' +md5sums=('SKIP' 'f039a77d7bde3518d3d695b144816e8a' - 'a8859012781f017624bbfe61c9d700bb') + 'b71eb82e532aed3918ebf6b30e158e7f') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/mcelog" make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/mcelog" mkdir -p $pkgdir/usr/share/doc/mcelog make install prefix=$pkgdir/usr etcprefix=$pkgdir DOCDIR=$pkgdir/usr/share/doc/mcelog install -Dm0755 mcelog.cron "${pkgdir}/usr/sbin/mcelog.cron" diff --git a/community/mcelog/mcelog.service b/community/mcelog/mcelog.service index c689bee77..35c18bc6f 100644 --- a/community/mcelog/mcelog.service +++ b/community/mcelog/mcelog.service @@ -3,8 +3,8 @@ Description=Machine Check Exception Logging Daemon After=syslog.target [Service] -PIDFile=/var/run/mcelog.pid -ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground --pidfile /var/run/mcelog.pid +PIDFile=/run/mcelog.pid +ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground --pidfile /run/mcelog.pid StandardOutput=syslog [Install] diff --git a/community/nbd/PKGBUILD b/community/nbd/PKGBUILD index 416123bbf..3ac9403db 100644 --- a/community/nbd/PKGBUILD +++ b/community/nbd/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 74302 2012-07-24 10:33:15Z svenstaro $ +# $Id: PKGBUILD 88083 2013-04-11 08:51:54Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Christian Hesse # Contributor: Ionut Biru # Contributor: Gerhard Brauer pkgname=nbd -pkgver=3.2 -pkgrel=3 +pkgver=3.3 +pkgrel=1 pkgdesc="tools for network block devices, allowing you to use remote block devices over TCP/IP" arch=('i686' 'x86_64') url="http://nbd.sourceforge.net" @@ -16,7 +16,7 @@ source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 backup=('etc/nbd-server/config') depends=('glib2') install=nbd.install -md5sums=('9cafce4ecfb55e670d7ded4c8f4e6bc9' +md5sums=('cde8fe6e870b8a7459f12e5dcf572d86' '2d05d426b8c2708d5f8a0d028fcbae05' 'e7b13a8b3369e11927d9917664557efa' '5d1acc143018117174f79eff15afa038') diff --git a/community/netcf/PKGBUILD b/community/netcf/PKGBUILD index 054391d02..e23f369d5 100644 --- a/community/netcf/PKGBUILD +++ b/community/netcf/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 85918 2013-03-08 23:40:43Z foutrelis $ +# $Id: PKGBUILD 88091 2013-04-11 09:41:03Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Aurélien Wailly pkgname=netcf pkgver=0.2.2 -pkgrel=3 +pkgrel=4 pkgdesc="A library for configuring network interfaces" arch=('i686' 'x86_64') license=('LGPL') url="https://fedorahosted.org/netcf/" -depends=('augeas>=0.7.4' 'netcfg' 'libxslt' 'libxml2' 'libnl') +depends=('augeas>=0.7.4' 'netctl' 'libxslt' 'libxml2' 'libnl') makedepends=('gcc') options=(!libtool) source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz") diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD index f40aad0d0..f6e65de1a 100644 --- a/community/percona-server/PKGBUILD +++ b/community/percona-server/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 87057 2013-03-26 13:09:29Z mtorromeo $ +# $Id: PKGBUILD 88094 2013-04-11 13:45:38Z mtorromeo $ # Maintainer: Massimiliano Torromeo pkgname=percona-server -pkgver=5.5.30_rel30.1 -pkgrel=3 +pkgver=5.5.30_rel30.2 +pkgrel=1 pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation" arch=('i686' 'x86_64') @@ -97,7 +97,7 @@ package() { rm "${pkgdir}"/usr/share/man/man1/mysql-test-run.pl.1 } -sha256sums=('7309cf2645a1b45a17d6dbfda8c96b00e1186f3b9aba7f8692da14b52f98fb3b' +sha256sums=('d30876033cd5590f8e1d68aff6a2eaad677dbe59168d4610c580c4e4e2e923a7' '82a241d9fa4032187a26597d044e94ba810b209b53a7ce14bb6eb92555993a48' '9bc66470f3f80534c0bb62f9f8325ccf60b164f421f74ad74a963f065d7b1869' 'badf6a701d9dc6ea3b4ddca26cb0f42b6236432ccdbc14c64962147802594a60') diff --git a/community/smem/PKGBUILD b/community/smem/PKGBUILD index 750c55f46..3c4bbffee 100644 --- a/community/smem/PKGBUILD +++ b/community/smem/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 86144 2013-03-12 08:52:17Z cinelli $ +# $Id: PKGBUILD 88078 2013-04-11 05:47:45Z cinelli $ # Maintainer: Federico Cinelli # Contributor: Dave Reisner # Contributor: Isaac Dupree # Contributor: Sebastien Duquette pkgname=smem -pkgver=1.2 +pkgver=1.3 pkgrel=1 pkgdesc="Generate reports on memory usage." url="http://www.selenic.com/smem/" @@ -14,7 +14,7 @@ depends=('python2') optdepends=('python2-matplotlib: for chart generation') arch=('i686' 'x86_64') source=("http://www.selenic.com/smem/download/$pkgname-$pkgver.tar.gz") -md5sums=('b8975840a08172ba8a1abbe7cb202dfe') +md5sums=('dd849102610aadb9f64379db09e73d41') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/xvba-video-open/PKGBUILD b/community/xvba-video-open/PKGBUILD deleted file mode 100644 index 22ea8ca2b..000000000 --- a/community/xvba-video-open/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# $Id: PKGBUILD 85947 2013-03-09 21:11:01Z lcarlier $ -# Maintainer: Laurent Carlier -# Contributor: Jesse Jaara - -pkgname=xvba-video-open -pkgver=0.8.0 -pkgrel=2 -pkgdesc="OSS version of xvba-video lib to enable hw video acceleration on AMD's HD series of GFX cards" -arch=('i686' 'x86_64') -url="http://www.splitted-desktop.com/~gbeauchesne/xvba-video/" -license=('GPL2') -depends=('catalyst-utils' 'libva') -makedepends=('mesa') -options=(!libtool) -source=(ftp://ftp.archlinux.org/other/community/xvba-video-open/xvba-video-${pkgver}.tar.gz - http://developer.amd.com/wordpress/media/2012/10/xvba-sdk-0.74-404001.tar.gz - xvba-video-h264-level51.patch - xvba-video-0.8.0-glx-fix.patch - fix-build-with-glext.h-version-85.patch) -md5sums=('d9ddec2e7f02c1fa533773918e88e311' - 'b8f56bc55aa70cb19dd12857fdc184cc' - 'bce1de0a8b274049568453a53e8fce6a' - '5dc283eab46418eeef8e8be7c028a2ba') - -build() { - cd "${srcdir}/xvba-video-${pkgver}" - - # patch from opensuse (thanks vi0l0!) - patch -Np1 -i ../xvba-video-h264-level51.patch - patch -Np1 -i ../xvba-video-0.8.0-glx-fix.patch - - patch -Np1 -i ../fix-build-with-glext.h-version-85.patch - - export CPPFLAGS="${CPPFLAGS} -I${srcdir}/include" - - ./configure --disable-debug --enable-libxvba-dlopen --prefix=/usr - make PYTHON=python2 -} - -package() { - cd "${srcdir}/xvba-video-${pkgver}" - - make DESTDIR="${pkgdir}" install -} -md5sums=('d9ddec2e7f02c1fa533773918e88e311' - 'b8f56bc55aa70cb19dd12857fdc184cc' - 'bce1de0a8b274049568453a53e8fce6a' - '5dc283eab46418eeef8e8be7c028a2ba' - '69e8a9027affbaf7066e35bc97b3a984') diff --git a/community/xvba-video-open/fix-build-with-glext.h-version-85.patch b/community/xvba-video-open/fix-build-with-glext.h-version-85.patch deleted file mode 100644 index f3cabce50..000000000 --- a/community/xvba-video-open/fix-build-with-glext.h-version-85.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -ru xvba-video-0.8.0/src/utils_glx.h xvba-video-0.8.0.patched/src/utils_glx.h ---- xvba-video-0.8.0/src/utils_glx.h 2011-06-14 13:07:13.000000000 +0200 -+++ xvba-video-0.8.0.patched/src/utils_glx.h 2013-02-17 10:53:34.589818821 +0100 -@@ -25,6 +25,13 @@ - #include - #include - -+#if GL_GLEXT_VERSION >= 85 -+/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED -+ block and is not defined if GL_VERSION_1_3 is defined in -+ Redefine the type here as an interim solution */ -+typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); -+#endif -+ - #ifndef GL_FRAMEBUFFER_BINDING - #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT - #endif diff --git a/community/xvba-video-open/xvba-video-0.8.0-glx-fix.patch b/community/xvba-video-open/xvba-video-0.8.0-glx-fix.patch deleted file mode 100644 index 7cb249a16..000000000 --- a/community/xvba-video-open/xvba-video-0.8.0-glx-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur xvba-video-0.8.0/src/xvba_image.c xvba-video-0.8.0-patched/src/xvba_image.c ---- xvba-video-0.8.0/src/xvba_image.c 2011-06-14 13:07:13.000000000 +0200 -+++ xvba-video-0.8.0-patched/src/xvba_image.c 2012-07-22 14:55:14.186667413 +0200 -@@ -423,7 +423,7 @@ - } - - #if USE_GLX --const HWImageHooks hw_image_hooks_glx attribute_hidden; -+extern const HWImageHooks hw_image_hooks_glx attribute_hidden; - #endif - - // Commit image to the HW diff --git a/community/xvba-video-open/xvba-video-h264-level51.patch b/community/xvba-video-open/xvba-video-h264-level51.patch deleted file mode 100644 index a617a90ab..000000000 --- a/community/xvba-video-open/xvba-video-h264-level51.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -rup xvba-video.orig/src/xvba_buffer.c xvba-video/src/xvba_buffer.c ---- xvba-video.orig/src/xvba_buffer.c 2011-09-08 03:17:28.000000000 +0200 -+++ xvba-video/src/xvba_buffer.c 2012-07-03 21:38:04.851465348 +0200 -@@ -368,23 +368,18 @@ translate_VAPictureParameterBufferH264( - obj_context->picture_height - ); - -- /* Check for H.264 content over HP@L4.1 */ -+ /* Check for wrongly coded H264 Level 41 -+ adjust profile to Level 51 when reframes are too many -+ */ - unsigned int num_ref_frames = pic_param->num_ref_frames; -- if (profile == XVBA_H264_HIGH && level > 41) { -- if (!driver_data->warn_h264_over_hp_l41) { -- driver_data->warn_h264_over_hp_l41 = 1; -- xvba_information_message( -- "driver does not support H.264 content over HP@L4.1. " -- "Please upgrade.\n" -- ); -- } -+ if (profile == XVBA_H264_HIGH && level == 41) { - -- /* Use fail-safe values (lower ref frames) */ -+ /* Increase Level to decode pseudo Level 41 as Level 51 */ - const unsigned int mbw = pic_param->picture_width_in_mbs_minus1 + 1; - const unsigned int mbh = (obj_context->picture_height + 15) / 16; - const unsigned int max_ref_frames = 12288 * 1024 / (mbw * mbh * 384); - if (max_ref_frames < num_ref_frames) -- num_ref_frames = max_ref_frames; -+ level = 51; - } - - XVBABufferDescriptor * const xvba_buffer = obj_surface->pic_desc_buffer; diff --git a/core/systemd/PKGBUILD b/core/systemd/PKGBUILD index 3c77f53ed..137f6f714 100644 --- a/core/systemd/PKGBUILD +++ b/core/systemd/PKGBUILD @@ -3,7 +3,7 @@ pkgbase=systemd pkgname=('systemd' 'systemd-sysvcompat') -pkgver=200 +pkgver=201 pkgrel=1 arch=('i686' 'x86_64') url="http://www.freedesktop.org/wiki/Software/systemd" @@ -17,17 +17,21 @@ source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" 'initcpio-install-udev' 'initcpio-install-timestamp' 'use-split-usr-path.patch') -md5sums=('5584b96e55c46217dab4c1768d10a472' +md5sums=('3e758392ff0e9206b3f7ee252b4a654b' 'e99e9189aa2f6084ac28b8ddf605aeb8' 'fb37e34ea006c79be1c54cbb0f803414' 'df69615503ad293c9ddf9d8b7755282d' '76bf83fe34c5b40533abc5dc940576a6') -build() { +prepare() { cd "$pkgname-$pkgver" # hang onto this until we do the /{,s}bin merge patch -Np1 <"$srcdir/use-split-usr-path.patch" +} + +build() { + cd "$pkgname-$pkgver" ./configure \ --enable-static \ @@ -45,9 +49,9 @@ build() { make } -#check() { -# make -C "$pkgname-$pkgver" check -#} +check() { + make -C "$pkgname-$pkgver" check +} package_systemd() { pkgdesc="system and service manager" diff --git a/extra/ardour/PKGBUILD b/extra/ardour/PKGBUILD index e1719ecc2..01a03ef63 100644 --- a/extra/ardour/PKGBUILD +++ b/extra/ardour/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 180842 2013-03-26 21:39:25Z schiv $ +# $Id: PKGBUILD 182614 2013-04-11 09:00:27Z schiv $ # Maintainer: Ray Rashif # Contributor: SpepS # Contributor: see .contrib pkgname=ardour -pkgver=3.0 +_pkgname=Ardour3 +pkgver=3.1 pkgrel=1 pkgdesc="Professional-grade digital audio workstation" arch=('i686' 'x86_64') @@ -16,14 +17,18 @@ makedepends=('python2' 'boost' 'cppunit' 'doxygen' 'graphviz') install=$pkgname.install source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2" "$pkgname.desktop") -md5sums=('2759df2ac29e6075e006cc5b262bfee0' +md5sums=('6291ee6e6519a801a6c7255eb005895f' '316bd21ece5e2208a104fd09cac521af') -build() { - cd "$pkgname-$pkgver" +prepare() { + cd "$srcdir/$_pkgname-$pkgver" # python2 fix sed -i 's/python ${SRC}/python2 ${SRC}/' libs/pbd/wscript +} + +build() { + cd "$srcdir/$_pkgname-$pkgver" python2 waf configure --prefix=/usr \ --configdir=/etc \ @@ -33,7 +38,7 @@ build() { } package() { - cd "$pkgname-$pkgver" + cd "$srcdir/$_pkgname-$pkgver" python2 waf install --destdir="$pkgdir" diff --git a/extra/calligra/PKGBUILD b/extra/calligra/PKGBUILD index 1a3759c0b..007b3ce5f 100644 --- a/extra/calligra/PKGBUILD +++ b/extra/calligra/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 180802 2013-03-26 11:49:30Z foutrelis $ +# $Id: PKGBUILD 182625 2013-04-11 16:04:29Z andrea $ # Maintainer: Ronald van Haren # Maintainer: Andrea Scarpino @@ -17,8 +17,8 @@ pkgname=('calligra-filters' 'calligra-handbook' 'calligra-braindump' 'calligra-flow') -pkgver=2.6.2 -pkgrel=3 +pkgver=2.6.3 +pkgrel=1 arch=('i686' 'x86_64') url='http://www.calligra-suite.org/' license=('FDL1.2' 'GPL2' 'LGPL') @@ -28,7 +28,7 @@ makedepends=('cmake' 'automoc4' 'boost ' 'kdepimlibs' 'eigen2' 'kdeedu-marble' 'openjpeg' 'kdegraphics-okular' 'pstoedit' 'vc') groups=('calligra') source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2") -md5sums=('1c2feb12677ee71eb2e428e589b33862') +md5sums=('90d6bb619191abbcc94094379d47e225') build() { mkdir build diff --git a/extra/libmpdclient/PKGBUILD b/extra/libmpdclient/PKGBUILD index 91f6eb78e..f715412f1 100644 --- a/extra/libmpdclient/PKGBUILD +++ b/extra/libmpdclient/PKGBUILD @@ -1,21 +1,22 @@ -# $Id: PKGBUILD 153242 2012-03-12 13:45:57Z bisson $ +# $Id: PKGBUILD 182606 2013-04-10 23:43:13Z bisson $ # Contributor: Andrea Scarpino # Maintainer: Gaetan Bisson pkgname=libmpdclient -pkgver=2.7 +pkgver=2.8 pkgrel=1 pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages' -url='http://mpd.wikia.com/wiki/ClientLib:libmpdclient' +url='http://www.musicpd.org/libs/libmpdclient/' license=('custom:BSD') arch=('i686' 'x86_64') +source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('7e23c760296fe47e9e4108a0eba6fef08cfe4db8') + options=('!libtool') -source=("http://downloads.sourceforge.net/project/musicpd/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha1sums=('f97e35525851eb192d3799f0dabe32915c56b96b') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --disable-static + ./configure --prefix=/usr --disable-static --disable-documentation make } diff --git a/extra/mpc/PKGBUILD b/extra/mpc/PKGBUILD index cb4eeae22..8e7c3216e 100644 --- a/extra/mpc/PKGBUILD +++ b/extra/mpc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 154004 2012-03-21 10:52:38Z bisson $ +# $Id: PKGBUILD 182608 2013-04-10 23:44:08Z bisson $ # Maintainer: Gaetan Bisson # Contributor: Angel Velasquez # Contributor: Andrea Scarpino @@ -6,16 +6,17 @@ # Contributor: Link Dupont pkgname=mpc -pkgver=0.22 -pkgrel=2 +pkgver=0.23 +pkgrel=1 pkgdesc='Minimalist command line interface to MPD' -url='http://mpd.wikia.com/wiki/Client:Mpc' +url='http://www.musicpd.org/clients/mpc/' license=('GPL2') arch=('i686' 'x86_64') -options=('!emptydirs') depends=('libmpdclient') -source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.gz") -sha1sums=('e35414c1f5b25f4e500ceae125adb5bb9063b029') +source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('25d217b699fd70fd9b65b8b820addf794a109a9c') + +options=('!emptydirs') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/extra/mpd/PKGBUILD b/extra/mpd/PKGBUILD index 1762049e5..f89dc5a0a 100644 --- a/extra/mpd/PKGBUILD +++ b/extra/mpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 179309 2013-03-05 11:03:53Z bisson $ +# $Id: PKGBUILD 182602 2013-04-10 23:39:58Z bisson $ # Maintainer: Gaetan Bisson # Contributor: Angel Velasquez # Contributor: Andrea Scarpino @@ -6,32 +6,25 @@ # Contributor: Ben pkgname=mpd -pkgver=0.17.3 -pkgrel=3 +pkgver=0.17.4 +pkgrel=1 pkgdesc='Flexible, powerful, server-side application for playing music' -url='http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki' +url='http://www.musicpd.org/' license=('GPL') arch=('i686' 'x86_64') depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2' 'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl') makedepends=('doxygen') -source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2" - 'ffmpeg.patch' - 'tmpfiles.d' - 'rc.d') -sha1sums=('f684d73a7517371a4461afdb2439f9533b51a49d' - '8a06d04bfdf4e0dc43479907dc9b3bd7fba6dd10' - 'f4d5922abb69abb739542d8e93f4dfd748acdad7' - '3470d489565f0ed479f1665dd2876f66acb5a585') +source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" + 'tmpfiles.d') +sha1sums=('f60b54e368fe74fde2fd4571227b0428fe0ae3cb' + 'f4d5922abb69abb739542d8e93f4dfd748acdad7') backup=('etc/mpd.conf') install=install build() { cd "${srcdir}/${pkgname}-${pkgver}" - - patch -p1 -i ../ffmpeg.patch - ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -41,25 +34,20 @@ build() { --enable-pulse \ --disable-sidplay \ --with-systemdsystemunitdir=/usr/lib/systemd/system - make } package() { cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - + install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists + install -Dm644 doc/mpdconf.example "${pkgdir}"/etc/mpd.conf + install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf sed \ -e '/^#playlist_directory/c playlist_directory "/var/lib/mpd/playlists"' \ -e '/^#db_file/c db_file "/var/lib/mpd/mpd.db"' \ -e '/^#pid_file/c pid_file "/run/mpd/mpd.pid"' \ -e '/^#state_file/c state_file "/var/lib/mpd/mpdstate"' \ -e '/^#user/c user "mpd"' \ - -i doc/mpdconf.example - - install -Dm755 ../rc.d "${pkgdir}"/etc/rc.d/mpd - install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists - install -Dm644 doc/mpdconf.example "${pkgdir}"/etc/mpd.conf - install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf + -i "${pkgdir}"/etc/mpd.conf } diff --git a/extra/mpd/ffmpeg.patch b/extra/mpd/ffmpeg.patch deleted file mode 100644 index 83b13d80f..000000000 --- a/extra/mpd/ffmpeg.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Naur old/src/decoder/ffmpeg_decoder_plugin.c new/src/decoder/ffmpeg_decoder_plugin.c ---- old/src/decoder/ffmpeg_decoder_plugin.c 2013-01-07 11:39:40.000000000 +1100 -+++ new/src/decoder/ffmpeg_decoder_plugin.c 2013-03-05 21:54:27.116585462 +1100 -@@ -395,6 +395,11 @@ - #endif - return SAMPLE_FORMAT_S32; - -+#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,17,0) -+ case AV_SAMPLE_FMT_FLTP: -+ return SAMPLE_FORMAT_FLOAT; -+#endif -+ - default: - break; - } diff --git a/extra/mpd/rc.d b/extra/mpd/rc.d deleted file mode 100755 index f00e16067..000000000 --- a/extra/mpd/rc.d +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy 'Starting Music Player Daemon' - /usr/bin/mpd /etc/mpd.conf &> /dev/null && - { add_daemon mpd; stat_done; } || stat_fail - ;; - stop) - stat_busy 'Stopping Music Player Daemon' - /usr/bin/mpd --kill /etc/mpd.conf &> /dev/null && - { rm_daemon mpd; stat_done; } || stat_fail - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/extra/opencv/PKGBUILD b/extra/opencv/PKGBUILD index 8490915a6..044d675db 100644 --- a/extra/opencv/PKGBUILD +++ b/extra/opencv/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 179299 2013-03-04 22:18:11Z schiv $ +# $Id: PKGBUILD 182637 2013-04-11 18:36:34Z schiv $ # Maintainer: Ray Rashif # Contributor: Tobias Powalowski pkgbase=opencv -pkgname=('opencv' 'opencv-docs' 'opencv-samples') +pkgname=('opencv' 'opencv-samples') _realname=OpenCV -pkgver=2.4.4 +pkgver=2.4.5 pkgrel=1 pkgdesc="Open Source Computer Vision Library" arch=('i686' 'x86_64') @@ -14,16 +14,14 @@ url="http://opencv.org/" depends=('jasper' 'gstreamer0.10-base' 'intel-tbb' 'libcl' 'xine-lib' 'libdc1394' 'openexr' 'gtkglext') makedepends=('cmake' 'python2-numpy' 'mesa' - 'opencl-headers' 'eigen2' - 'texlive-bin' 'python2-sphinx') # for docs -optdepends=('opencv-docs' - 'opencv-samples' + 'opencl-headers' 'eigen2') +optdepends=('opencv-samples' 'eigen2' 'python2-numpy: Python 2.x interface') -source=("http://downloads.sourceforge.net/opencvlibrary/$_realname-${pkgver}.tar.bz2" +source=("http://downloads.sourceforge.net/opencvlibrary/$pkgname-$pkgver.tar.gz" 'pkgconfig.patch' 'fsh.patch') -md5sums=('bb7272c102a801a9f9ee01db6e7ad8e9' +md5sums=('8eac87462c7bec8b89021b723207c623' 'cb916260b5ec594fe7a0cc2e54fc569f' '35256e3ccace373feba8131d1540a0de') @@ -31,10 +29,6 @@ _cmakeopts=('-D WITH_OPENCL=ON' '-D WITH_OPENGL=ON' '-D WITH_TBB=ON' '-D WITH_XINE=ON' - '-D ENABLE_SSE=OFF' - '-D ENABLE_SSE2=OFF' - '-D ENABLE_SSE3=OFF' - '-D BUILD_DOCS=ON' '-D BUILD_PACKAGE=OFF' '-D BUILD_WITH_DEBUG_INFO=OFF' '-D BUILD_TESTS=OFF' @@ -46,8 +40,17 @@ _cmakeopts=('-D WITH_OPENCL=ON' '-D CMAKE_INSTALL_PREFIX=/usr' '-D CMAKE_SKIP_RPATH=ON') -build() { - cd "$srcdir/$_realname-$pkgver" +# SSE only available from Pentium 3 onwards (i686 is way older) +[[ "$CARCH" = 'i686' ]] && \ + _cmakeopts+=('-D ENABLE_SSE=OFF' + '-D ENABLE_SSE2=OFF' + '-D ENABLE_SSE3=OFF') + +# all x64 CPUs support SSE2 but not SSE3 +[[ "$CARCH" = 'x86_64' ]] && _cmakeopts+=('-D ENABLE_SSE3=OFF') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" # fix pkg-config mess # see https://bugs.archlinux.org/task/32430 @@ -58,8 +61,13 @@ build() { # see http://code.opencv.org/issues/2512 patch -Np1 -i "$srcdir/fsh.patch" - # python2 compatibility for generating docs - sed -i 's/sphinx-build/sphinx-build2/' cmake/OpenCVDetectPython.cmake + # no longer including docs, see https://bugs.archlinux.org/task/34185 + # python2 compatibility for generating (html) docs + #sed -i 's/sphinx-build/sphinx-build2/' cmake/OpenCVDetectPython.cmake +} + +build() { + cd "$srcdir/$pkgname-$pkgver" cmake ${_cmakeopts[@]} . @@ -67,58 +75,28 @@ build() { } package_opencv() { - cd "$srcdir/$_realname-$pkgver" + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install # install license file - install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \ + install -Dm644 "$srcdir/$pkgname-$pkgver/doc/license.txt" \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" cd "$pkgdir/usr/share" - # separate docs package; also be -R friendly - [[ -d doc ]] && mv doc "$srcdir/opencv-doc" - - # separate samples package + # separate samples package; also be -R friendly [[ -d $pkgname/samples ]] && mv $pkgname/samples "$srcdir/opencv-samples" } -package_opencv-docs() { - pkgdesc+=" (documentation)" - unset depends - unset optdepends - options=('docs') - - # PDFs are not being generated for some reason as of 2.4.4 - # even after adding latex and sphinx deps - # when previously without them there were a couple of good docs installed - - cd "$srcdir" - - # doc dir now includes opencv subdir (looks like they finally listened) - cp -r opencv-doc "$pkgdir/usr/share/doc" - - # install license file - #install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \ - # "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - package_opencv-samples() { pkgdesc+=" (samples)" depends=('bash') unset optdepends unset options - cd "$srcdir" - mkdir -p "$pkgdir/usr/share/opencv" - cp -r opencv-samples "$pkgdir/usr/share/opencv/samples" - - # Do we really need licenses for these minor splits? - # install license file - #install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \ - # "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cp -r "$srcdir/opencv-samples" "$pkgdir/usr/share/opencv/samples" } # vim:set ts=2 sw=2 et: diff --git a/extra/qt5/PKGBUILD b/extra/qt5/PKGBUILD index e9cf73b33..658ae50e7 100644 --- a/extra/qt5/PKGBUILD +++ b/extra/qt5/PKGBUILD @@ -1,9 +1,10 @@ -# $Id: PKGBUILD 180690 2013-03-25 19:15:43Z bpiotrowski $ +# $Id: PKGBUILD 182619 2013-04-11 11:34:49Z andrea $ # Maintainer: Andrea Scarpino pkgbase=qt5 pkgname=('qt5-base' 'qt5-declarative' + 'qt5-doc' 'qt5-graphicaleffects' 'qt5-imageformats' 'qt5-jsbackend' @@ -15,8 +16,8 @@ pkgname=('qt5-base' 'qt5-translations' 'qt5-webkit' 'qt5-xmlpatterns') -pkgver=5.0.1 -pkgrel=10 +pkgver=5.0.2 +pkgrel=1 arch=('i686' 'x86_64') url='http://qt-project.org/' license=('GPL3' 'LGPL') @@ -31,12 +32,13 @@ options=('!libtool') _pkgfqn="qt-everywhere-opensource-src-${pkgver}" source=("http://releases.qt-project.org/${pkgbase}/${pkgver}/single/${_pkgfqn}.tar.xz" 'assistant.desktop' 'designer.desktop' 'linguist.desktop' - 'use-python2.patch') -md5sums=('00a577bd88e682d1b4d01d41d1d699cf' + 'use-python2.patch' 'gcc48.patch') +md5sums=('2cab3518d86fe8f0638c7faea8b46397' 'f1837a03fd0ebbd2da58975845f278e3' '480fea1ed076992b688373c8db274be0' '5595c24d5bb942c21e3a4d299e6d0bf1' - 'ec3133b093550f16a21bb91e5f0f2943') + 'd6ab43fb371be494e3bfd9b210c40bf1' + '7927028e2374321c78a76df858e723d6') build() { cd ${_pkgfqn} @@ -54,10 +56,16 @@ build() { -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ $(find . -name '*.py') + # GCC 4.8 fixes + cd qtbase + patch -p1 -i "${srcdir}"/gcc48.patch + cd ../ + ./configure -confirm-license -opensource \ -prefix /usr \ + -bindir /usr/lib/qt/bin \ -docdir /usr/share/doc/qt \ - -headerdir /usr/include/qt5 \ + -headerdir /usr/include/qt \ -archdatadir /usr/lib/qt \ -datadir /usr/share/qt \ -sysconfdir /etc/xdg \ @@ -74,13 +82,25 @@ build() { -reduce-relocations make + + # build docs + make docs + + # build examples + for m in qtbase qtdeclarative qtmultimedia qtquick1 qtscript qtsvg qttools \ + qtwebkit-examples-and-demos qtxmlpatterns; do + cd ${m}/examples + ${QTDIR}/qmake + make + cd ../../ + done } package_qt5-base() { pkgdesc='A cross-platform application and UI framework' depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'dbus' 'fontconfig' 'systemd' 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'libpng' 'xcb-util-image' - 'hicolor-icon-theme' 'xdg-utils' 'icu') + 'hicolor-icon-theme' 'xdg-utils' 'icu' 'qtchooser') optdepends=('postgresql-libs: PostgreSQL driver' 'libmariadbclient: MariaDB driver' 'unixodbc: ODBC driver' @@ -102,6 +122,12 @@ package_qt5-base() { # Fix wrong qmake path in pri file sed -i "s|${srcdir}/${_pkgfqn}/qtbase|/usr|" \ "${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap.pri + + # Useful symlinks + install -d "${pkgdir}"/usr/bin + for b in "${pkgdir}"/usr/lib/qt/bin/*; do + ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5 + done } package_qt5-declarative() { @@ -115,6 +141,32 @@ package_qt5-declarative() { # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; + + # Useful symlinks + install -d "${pkgdir}"/usr/bin + for b in "${pkgdir}"/usr/lib/qt/bin/*; do + ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5 + done +} + +package_qt5-doc() { + pkgdesc='A cross-platform application and UI framework (Documentation and Examples)' + depends=('qt5-base') + conflicts=('qt-doc') + replaces=('qt-doc') + provides=('qt-doc') + options=('docs') + groups=() + + cd ${_pkgfqn} + make INSTALL_ROOT="${pkgdir}" install_docs + + for m in qtbase qtdeclarative qtmultimedia qtquick1 qtscript qtsvg qttools \ + qtwebkit-examples-and-demos qtxmlpatterns; do + cd ${m}/examples + make INSTALL_ROOT="${pkgdir}" install + cd ../../ + done } package_qt5-jsbackend() { @@ -140,6 +192,12 @@ package_qt5-xmlpatterns() { # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; + + # Useful symlinks + install -d "${pkgdir}"/usr/bin + for b in "${pkgdir}"/usr/lib/qt/bin/*; do + ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5 + done } package_qt5-translations() { @@ -250,6 +308,12 @@ package_qt5-tools() { # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; + + # Useful symlinks + install -d "${pkgdir}"/usr/bin + for b in "${pkgdir}"/usr/lib/qt/bin/*; do + ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5 + done } package_qt5-webkit() { diff --git a/extra/qt5/gcc48.patch b/extra/qt5/gcc48.patch new file mode 100644 index 000000000..03b205b68 --- /dev/null +++ b/extra/qt5/gcc48.patch @@ -0,0 +1,63 @@ +# Author: David E. Narváez +# AuthorDate: 2013-02-23 23:14:50 -0500 +# Commit: David E. Narváez +# CommitDate: 2013-02-23 23:14:50 -0500 +# +# Rename qAbs Function for timeval +# +# This decouples it from qAbs which is declared as a constexpr under +# certain compilation flags and enables for qtbase to be compiled with +# GCC 4.8 +# +# Change-Id: I78e02256ffc8b460ca74ae5241e77dfac4e09ba9 +diff --git a/src/corelib/kernel/qtimerinfo_unix.cpp b/src/corelib/kernel/qtimerinfo_unix.cpp +index 0eee425..7a29247 100644 +--- a/src/corelib/kernel/qtimerinfo_unix.cpp ++++ b/src/corelib/kernel/qtimerinfo_unix.cpp +@@ -87,22 +87,21 @@ + firstTimerInfo = 0; + } + + timeval QTimerInfoList::updateCurrentTime() + { + return (currentTime = qt_gettime()); + } + + #if ((_POSIX_MONOTONIC_CLOCK-0 <= 0) && !defined(Q_OS_MAC) && !defined(Q_OS_INTEGRITY)) || defined(QT_BOOTSTRAPPED) + +-template <> +-timeval qAbs(const timeval &t) ++timeval qAbsTimeval(const timeval &t) + { + timeval tmp = t; + if (tmp.tv_sec < 0) { + tmp.tv_sec = -tmp.tv_sec - 1; + tmp.tv_usec -= 1000000; + } + if (tmp.tv_sec == 0 && tmp.tv_usec < 0) { + tmp.tv_usec = -tmp.tv_usec; + } + return normalizedTimeval(tmp); +@@ -137,21 +136,21 @@ + *delta = elapsedTime - elapsedTimeTicks; + + previousTicks = currentTicks; + previousTime = currentTime; + + // If tick drift is more than 10% off compared to realtime, we assume that the clock has + // been set. Of course, we have to allow for the tick granularity as well. + timeval tickGranularity; + tickGranularity.tv_sec = 0; + tickGranularity.tv_usec = msPerTick * 1000; +- return elapsedTimeTicks < ((qAbs(*delta) - tickGranularity) * 10); ++ return elapsedTimeTicks < ((qAbsTimeval(*delta) - tickGranularity) * 10); + } + + /* + repair broken timer + */ + void QTimerInfoList::timerRepair(const timeval &diff) + { + // repair all timers + for (int i = 0; i < size(); ++i) { + register QTimerInfo *t = at(i); diff --git a/extra/qt5/use-python2.patch b/extra/qt5/use-python2.patch index 8a7075a97..eb53b10f6 100644 --- a/extra/qt5/use-python2.patch +++ b/extra/qt5/use-python2.patch @@ -94,3 +94,14 @@ message_receiver_generator.input = MESSAGE_RECEIVERS message_receiver_generator.depends = $$SCRIPTS message_receiver_generator.output_function = message_receiver_generator_output +--- qt-everywhere-opensource-src-5.0.2/qtwebkit/Tools/qmake/mkspecs/features/configure.prf~ 2013-04-11 08:05:15.149214600 +0000 ++++ qt-everywhere-opensource-src-5.0.2/qtwebkit/Tools/qmake/mkspecs/features/configure.prf 2013-04-11 08:05:28.829105110 +0000 +@@ -116,7 +116,7 @@ + production_build:blackberry { + addReasonForSkippingBuild("Build not supported on BB10 yet.") + } +- requiredPrograms = gperf python perl bison ruby flex ++ requiredPrograms = gperf python2 perl bison ruby flex + for(program, requiredPrograms): \ + !programExistsInPath($$program): \ + addReasonForSkippingBuild("Missing $$program from PATH") diff --git a/extra/qtchooser/3.conf b/extra/qtchooser/3.conf new file mode 100644 index 000000000..bea263c91 --- /dev/null +++ b/extra/qtchooser/3.conf @@ -0,0 +1,2 @@ +/usr/lib/qt3/bin +/usr/lib diff --git a/extra/qtchooser/4.conf b/extra/qtchooser/4.conf new file mode 100644 index 000000000..96e344eba --- /dev/null +++ b/extra/qtchooser/4.conf @@ -0,0 +1,2 @@ +/usr/lib/qt4/bin +/usr/lib diff --git a/extra/qtchooser/5.conf b/extra/qtchooser/5.conf new file mode 100644 index 000000000..bcd76decb --- /dev/null +++ b/extra/qtchooser/5.conf @@ -0,0 +1,2 @@ +/usr/lib/qt/bin +/usr/lib diff --git a/extra/qtchooser/PKGBUILD b/extra/qtchooser/PKGBUILD new file mode 100644 index 000000000..d288fb09d --- /dev/null +++ b/extra/qtchooser/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 182622 2013-04-11 12:14:29Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=qtchooser +pkgver=26 +pkgrel=3 +pkgdesc='Wrap the other Qt tools by searching for different instances of Qt on the system' +arch=('i686' 'x86_64') +url='http://qt.gitorious.org/qt/qtchooser' +license=('GPL') +depends=('gcc-libs') +source=("http://macieira.org/${pkgname}/${pkgname}-${pkgver}-g97962d2.tar.gz" + {3,4,5}.conf) +md5sums=('a188a5cb63113130e0d05fe4d5bf4e95' + '7c5da2b7911d1c4fabc63d6ef00f0020' + 'aa4d49b269e1b806f5eea170801f0aa6' + 'cf83f09a9a5a44d898b93f624d74dd11') + +build() { + cd ${pkgname}-${pkgver}-g97962d2 + make +} + +package() { + cd ${pkgname}-${pkgver}-g97962d2 + make INSTALL_ROOT="${pkgdir}" install + + install -d "${pkgdir}"/etc/xdg/qtchooser + install -m644 "${srcdir}"/{3,4,5}.conf \ + "${pkgdir}"/etc/xdg/qtchooser/ + + # Set the default Qt + ln -s /etc/xdg/qtchooser/5.conf \ + "${pkgdir}"/etc/xdg/qtchooser/default.conf +} diff --git a/libre-testing/iceweasel-libre/Bug-756390-Make-the-Reset-Firefox-feature-more-gener.patch b/libre-testing/iceweasel-libre/Bug-756390-Make-the-Reset-Firefox-feature-more-gener.patch new file mode 100644 index 000000000..4ca4fc704 --- /dev/null +++ b/libre-testing/iceweasel-libre/Bug-756390-Make-the-Reset-Firefox-feature-more-gener.patch @@ -0,0 +1,281 @@ +From: Mike Hommey +Date: Tue, 5 Jun 2012 08:57:06 +0200 +Subject: Bug 756390 - Make the "Reset Firefox" feature more generic + +diff --git a/browser/components/migration/content/migration.js b/browser/components/migration/content/migration.js +index 0e8ccf5..fa46c08 100644 +--- a/browser/components/migration/content/migration.js ++++ b/browser/components/migration/content/migration.js +@@ -249,7 +249,7 @@ var MigrationWizard = { + } + + var brandBundle = document.getElementById("brandBundle"); +- // These strings don't exist when not using official branding. If that's ++ // These strings may not exist when not using official branding. If that's + // the case, just skip this page. + try { + var pageTitle = brandBundle.getString("homePageMigrationPageTitle"); +@@ -281,8 +281,8 @@ var MigrationWizard = { + case "chrome": + source = "sourceNameChrome"; + break; +- case "firefox": +- source = "sourceNameFirefox"; ++ case "self": ++ source = "brand"; + break; + } + +@@ -292,7 +292,12 @@ var MigrationWizard = { + var oldHomePageURL = this._migrator.sourceHomePageURL; + + if (oldHomePageURL && source) { +- var appName = MigrationUtils.getLocalizedString(source); ++ var appName; ++ if (source == "brand") { ++ appName = brandBundle.GetStringFromName("brandFullName"); ++ } else { ++ appName = MigrationUtils.getLocalizedString(source); ++ } + var oldHomePageLabel = + brandBundle.getFormattedString("homePageImport", [appName]); + var oldHomePage = document.getElementById("oldHomePage"); +diff --git a/browser/components/migration/content/migration.xul b/browser/components/migration/content/migration.xul +index f030756..23e37ff 100644 +--- a/browser/components/migration/content/migration.xul ++++ b/browser/components/migration/content/migration.xul +@@ -42,7 +42,7 @@ + #elifdef XP_UNIX + + #endif +- ++