summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernels/linux-libre-knock/PKGBUILD11
-rw-r--r--kernels/linux-libre-knock/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch50
-rw-r--r--kernels/linux-libre-lts-knock/PKGBUILD6
-rw-r--r--kernels/linux-libre-lts-knock/gcc5_buildfixes.diff66
-rw-r--r--kernels/linux-libre-pae/PKGBUILD11
-rw-r--r--kernels/linux-libre-pae/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch50
-rw-r--r--kernels/linux-libre-xen/PKGBUILD11
-rw-r--r--kernels/linux-libre-xen/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch50
-rw-r--r--libre-multilib/lib32-mesa-libcl/PKGBUILD4
-rw-r--r--libre-multilib/lib32-opencl-mesa/PKGBUILD4
-rw-r--r--libre/ath9k-htc-firmware/PKGBUILD9
-rw-r--r--libre/ath9k-htc-firmware/fix.patch22
-rw-r--r--libre/bfgminer/PKGBUILD6
-rw-r--r--libre/calibre/PKGBUILD8
-rw-r--r--libre/libretools/PKGBUILD33
-rw-r--r--libre/linux-libre-lts/PKGBUILD6
-rw-r--r--libre/linux-libre-lts/gcc5_buildfixes.diff66
-rw-r--r--libre/linux-libre/PKGBUILD11
-rw-r--r--libre/linux-libre/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch50
-rw-r--r--libre/mesa-libcl/PKGBUILD4
-rw-r--r--libre/opencv/PKGBUILD129
-rw-r--r--libre/opencv/fsh.patch136
-rw-r--r--libre/opencv/pkgconfig.patch35
-rw-r--r--libre/opencv/x86_asmfix.patch46
-rw-r--r--libre/openttd/PKGBUILD6
-rw-r--r--libre/parabola-keyring/PKGBUILD8
-rw-r--r--libre/pngcrush/PKGBUILD26
-rw-r--r--libre/povray/PKGBUILD8
-rw-r--r--libre/spacefm/PKGBUILD6
-rw-r--r--pcr/galera/PKGBUILD14
-rw-r--r--pcr/mariadb-galera/PKGBUILD31
-rw-r--r--pcr/mariadb-galera/mariadb.install30
-rw-r--r--pcr/renpy/PKGBUILD77
-rw-r--r--pcr/renpy/renpy-launcher.sh4
-rw-r--r--pcr/renpy/renpy.csh1
-rw-r--r--pcr/renpy/renpy.desktop12
-rw-r--r--pcr/renpy/renpy.install21
-rw-r--r--pcr/renpy/renpy.sh1
-rw-r--r--pcr/ruby-yard/PKGBUILD21
-rw-r--r--pcr/webp-npapi/PKGBUILD35
40 files changed, 488 insertions, 637 deletions
diff --git a/kernels/linux-libre-knock/PKGBUILD b/kernels/linux-libre-knock/PKGBUILD
index 0700e2f8f..8f0d5948f 100644
--- a/kernels/linux-libre-knock/PKGBUILD
+++ b/kernels/linux-libre-knock/PKGBUILD
@@ -9,7 +9,7 @@
pkgbase=linux-libre-knock # Build stock knock kernel
_pkgbasever=4.0-gnu
-_pkgver=4.0.4-gnu
+_pkgver=4.0.5-gnu
_knockpatchver=3.18_1
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
@@ -19,7 +19,7 @@ _replacesoldmodules=() # '%' gets replaced with _kernelname
_srcname=linux-${_pkgbasever%-*}
_archpkgver=${_pkgver%-*}
pkgver=${_pkgver//-/_}
-pkgrel=2
+pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="https://gnunet.org/knock"
license=('GPL2')
@@ -36,13 +36,12 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
# standard config files for mkinitcpio ramdisk
'linux.preset'
'logo_linux_'{clut224.ppm,vga16.ppm,mono.pbm}
- 'md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch'
'change-default-console-loglevel.patch'
# loongson-community patch: http://linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/
'4.0.2-ae91f13af5-loongson-community.patch')
sha256sums=('0e2dd5be12c1f82ab3d03b89cbe3f1a20e14332ec42c102efb226a6283fdd38a'
'SKIP'
- 'e447de9a53c5aefd25f0474f3304ab87076b88353badaae20dcbd85712e85e61'
+ '5ac82d1955fee5abccda157ef2399b34d4fd1c2310a33d19c09ca5953b308172'
'SKIP'
'93a1610c203ea4c187ac5b50dce105fac86df914b1406e1d85df5857d36201c9'
'SKIP'
@@ -53,7 +52,6 @@ sha256sums=('0e2dd5be12c1f82ab3d03b89cbe3f1a20e14332ec42c102efb226a6283fdd38a'
'bfd4a7f61febe63c880534dcb7c31c5b932dde6acf991810b41a939a93535494'
'6de8a8319271809ffdb072b68d53d155eef12438e6d04ff06a5a4db82c34fa8a'
'13bd7a8d9ed6b6bc971e4cd162262c5a20448a83796af39ce394d827b0e5de74'
- 'bc83293e64653d60793708a0e277741f57c018f5ea3551a8aff3a220df917ceb'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
'13e141279af2bc17decfc041e015710daac9a6cd1c9b4e871a76cb8f916b9e22')
validpgpkeys=(
@@ -89,9 +87,6 @@ prepare() {
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
- # https://bugzilla.kernel.org/show_bug.cgi?id=98501
- patch -Np1 -i "${srcdir}/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch"
-
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
diff --git a/kernels/linux-libre-knock/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch b/kernels/linux-libre-knock/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch
deleted file mode 100644
index 9f09102dc..000000000
--- a/kernels/linux-libre-knock/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From a81157768a00e8cf8a7b43b5ea5cac931262374f Mon Sep 17 00:00:00 2001
-From: Eric Work <work.eric@gmail.com>
-Date: Mon, 18 May 2015 23:26:23 -0700
-Subject: [PATCH] md/raid0: fix restore to sector variable in
- raid0_make_request
-
-The variable "sector" in "raid0_make_request()" was improperly updated
-by a call to "sector_div()" which modifies its first argument in place.
-Commit 47d68979cc968535cb87f3e5f2e6a3533ea48fbd restored this variable
-after the call for later re-use. Unfortunetly the restore was done after
-the referenced variable "bio" was advanced. This lead to the original
-value and the restored value being different. Here we move this line to
-the proper place.
-
-One observed side effect of this bug was discarding a file though
-unlinking would cause an unrelated file's contents to be discarded.
-
-Signed-off-by: NeilBrown <neilb@suse.de>
-Fixes: 47d68979cc96 ("md/raid0: fix bug with chunksize not a power of 2.")
-Cc: stable@vger.kernel.org (any that received above backport)
-URL: https://bugzilla.kernel.org/show_bug.cgi?id=98501
----
- drivers/md/raid0.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c
-index 6a68ef5..efb654e 100644
---- a/drivers/md/raid0.c
-+++ b/drivers/md/raid0.c
-@@ -524,6 +524,9 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio)
- ? (sector & (chunk_sects-1))
- : sector_div(sector, chunk_sects));
-
-+ /* Restore due to sector_div */
-+ sector = bio->bi_iter.bi_sector;
-+
- if (sectors < bio_sectors(bio)) {
- split = bio_split(bio, sectors, GFP_NOIO, fs_bio_set);
- bio_chain(split, bio);
-@@ -531,7 +534,6 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio)
- split = bio;
- }
-
-- sector = bio->bi_iter.bi_sector;
- zone = find_zone(mddev->private, &sector);
- tmp_dev = map_sector(mddev, zone, sector, &sector);
- split->bi_bdev = tmp_dev->bdev;
---
-2.4.1
-
diff --git a/kernels/linux-libre-lts-knock/PKGBUILD b/kernels/linux-libre-lts-knock/PKGBUILD
index 7e35dd74c..88e0ef1c1 100644
--- a/kernels/linux-libre-lts-knock/PKGBUILD
+++ b/kernels/linux-libre-lts-knock/PKGBUILD
@@ -9,7 +9,7 @@
pkgbase=linux-libre-lts-knock # Build stock -lts-knock kernel
_pkgbasever=3.14-gnu
-_pkgver=3.14.43-gnu
+_pkgver=3.14.44-gnu
_knockpatchver=3.16_1
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
@@ -46,7 +46,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
'3.14.26-8475f027b4-loongson-community.patch')
sha256sums=('477555c709b9407fe37dbd70d3331ff9dde1f9d874aba2741f138d07ae6f281b'
'SKIP'
- '1c8d7336a4176e3a96de49688cb268cc5e7a44063d32a2597a339094f3f7cc16'
+ '684af3ce9116a1e3f099c1fe4a85b13105777637def19db0c0100cbf9952a0cd'
'SKIP'
'70cbe962aa01989ffa83490bb0765d6e4c781f6133dc8d768d84bd6716ac0209'
'SKIP'
@@ -62,7 +62,7 @@ sha256sums=('477555c709b9407fe37dbd70d3331ff9dde1f9d874aba2741f138d07ae6f281b'
'52dec83a8805a8642d74d764494acda863e0aa23e3d249e80d4b457e20a3fd29'
'65d58f63215ee3c5f9c4fc6bce36fc5311a6c7dbdbe1ad29de40647b47ff9c0d'
'cf2e7a2d00787f754028e7459688c2755a406e632ce48b60952fa4ff7ed6f4b7'
- '470d6d019d288dce02b4a9758a34ea71d41715663a19a164749212a470a131e7'
+ '9c89039a0f876888fda3be6f574bca5a120e3587d8342747bbc0723b0b4cde7a'
'7c2d1e257acce0ea6f260f3acf18e30e21c12a9a6b3d7d1d4097dafd287388e2')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
diff --git a/kernels/linux-libre-lts-knock/gcc5_buildfixes.diff b/kernels/linux-libre-lts-knock/gcc5_buildfixes.diff
index f29d60674..e8a85b055 100644
--- a/kernels/linux-libre-lts-knock/gcc5_buildfixes.diff
+++ b/kernels/linux-libre-lts-knock/gcc5_buildfixes.diff
@@ -1,69 +1,3 @@
-From 9493c2422cae272d6f1f567cbb424195defe4176 Mon Sep 17 00:00:00 2001
-From: Chen Gang <gang.chen.5i5j@gmail.com>
-Date: Sat, 1 Nov 2014 19:46:12 +0800
-Subject: qla2xxx: remove redundant declaration in 'qla_gbl.h'
-
-Remove 2 redundant extern inline functions: qla8044_set_qsnt_ready() and
-qla8044_need_reset_handler(). At present, within upstream next kernel
-source code, they are only used within "drivers/scsi/qla2xxx/qla_nx2.c".
-
-The related error and warnings (with allmodconfig under tile):
-
- CC [M] drivers/scsi/qla2xxx/qla_nx2.o
- drivers/scsi/qla2xxx/qla_nx2.c:1633:1: error: static declaration of 'qla8044_need_reset_handler' follows non-static declaration
- qla8044_need_reset_handler(struct scsi_qla_host *vha)
- ^
- In file included from drivers/scsi/qla2xxx/qla_def.h:3706:0,
- from drivers/scsi/qla2xxx/qla_nx2.c:11:
- drivers/scsi/qla2xxx/qla_gbl.h:756:20: note: previous declaration of 'qla8044_need_reset_handler' was here
- extern inline void qla8044_need_reset_handler(struct scsi_qla_host *vha);
- ^
- drivers/scsi/qla2xxx/qla_gbl.h:756:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
- make[3]: *** [drivers/scsi/qla2xxx/qla_nx2.o] Error 1
- make[2]: *** [drivers/scsi/qla2xxx] Error 2
- make[1]: *** [drivers/scsi] Error 2
- make: *** [drivers] Error 2
-
- CC [M] drivers/scsi/qla2xxx/qla_tmpl.o
- In file included from drivers/scsi/qla2xxx/qla_def.h:3706:0,
- from drivers/scsi/qla2xxx/qla_tmpl.c:7:
- drivers/scsi/qla2xxx/qla_gbl.h:755:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
- extern inline void qla8044_set_qsnt_ready(struct scsi_qla_host *vha);
- ^
-
-Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
-Acked-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-
-diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h
-index b1865a7..7686bfe 100644
---- a/drivers/scsi/qla2xxx/qla_gbl.h
-+++ b/drivers/scsi/qla2xxx/qla_gbl.h
-@@ -752,8 +752,6 @@ extern void qla8044_set_idc_dontreset(struct scsi_qla_host *ha);
- extern int qla8044_rd_direct(struct scsi_qla_host *vha, const uint32_t crb_reg);
- extern void qla8044_wr_direct(struct scsi_qla_host *vha,
- const uint32_t crb_reg, const uint32_t value);
--extern inline void qla8044_set_qsnt_ready(struct scsi_qla_host *vha);
--extern inline void qla8044_need_reset_handler(struct scsi_qla_host *vha);
- extern int qla8044_device_state_handler(struct scsi_qla_host *vha);
- extern void qla8044_clear_qsnt_ready(struct scsi_qla_host *vha);
- extern void qla8044_clear_drv_active(struct qla_hw_data *);
-diff --git a/drivers/scsi/qla2xxx/qla_nx2.c b/drivers/scsi/qla2xxx/qla_nx2.c
-index 24a8528..ed4d6b6 100644
---- a/drivers/scsi/qla2xxx/qla_nx2.c
-+++ b/drivers/scsi/qla2xxx/qla_nx2.c
-@@ -238,7 +238,7 @@ qla8044_rmw_crb_reg(struct scsi_qla_host *vha,
- return;
- }
-
--inline void
-+static inline void
- qla8044_set_qsnt_ready(struct scsi_qla_host *vha)
- {
- uint32_t qsnt_state;
---
-cgit v0.10.2
-
diff --git a/lib/mpi/mpi-inline.h b/lib/mpi/mpi-inline.h
index e2b3985..c245ea3 100644
--- a/lib/mpi/mpi-inline.h
diff --git a/kernels/linux-libre-pae/PKGBUILD b/kernels/linux-libre-pae/PKGBUILD
index 888ceaa5b..77867f1ae 100644
--- a/kernels/linux-libre-pae/PKGBUILD
+++ b/kernels/linux-libre-pae/PKGBUILD
@@ -9,7 +9,7 @@
pkgbase=linux-libre-pae # Build stock -pae kernel
_pkgbasever=4.0-gnu
-_pkgver=4.0.4-gnu
+_pkgver=4.0.5-gnu
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
_replacesoldkernels=('kernel26%' 'kernel26-libre%') # '%' gets replaced with _kernelname
@@ -18,7 +18,7 @@ _replacesoldmodules=() # '%' gets replaced with _kernelname
_srcname=linux-${_pkgbasever%-*}
_archpkgver=${_pkgver%-*}
pkgver=${_pkgver//-/_}
-pkgrel=2
+pkgrel=1
arch=('i686')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -33,18 +33,16 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
# standard config files for mkinitcpio ramdisk
'linux.preset'
'logo_linux_'{clut224.ppm,vga16.ppm,mono.pbm}
- 'md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch'
'change-default-console-loglevel.patch')
sha256sums=('0e2dd5be12c1f82ab3d03b89cbe3f1a20e14332ec42c102efb226a6283fdd38a'
'SKIP'
- 'e447de9a53c5aefd25f0474f3304ab87076b88353badaae20dcbd85712e85e61'
+ '5ac82d1955fee5abccda157ef2399b34d4fd1c2310a33d19c09ca5953b308172'
'SKIP'
'a77c1bd4473e4a6eae2f276f4fc677054732cd282e001bbe8abab8da7fcda60a'
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
'bfd4a7f61febe63c880534dcb7c31c5b932dde6acf991810b41a939a93535494'
'6de8a8319271809ffdb072b68d53d155eef12438e6d04ff06a5a4db82c34fa8a'
'13bd7a8d9ed6b6bc971e4cd162262c5a20448a83796af39ce394d827b0e5de74'
- 'bc83293e64653d60793708a0e277741f57c018f5ea3551a8aff3a220df917ceb'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
@@ -70,9 +68,6 @@ prepare() {
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
- # https://bugzilla.kernel.org/show_bug.cgi?id=98501
- patch -Np1 -i "${srcdir}/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch"
-
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
diff --git a/kernels/linux-libre-pae/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch b/kernels/linux-libre-pae/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch
deleted file mode 100644
index 9f09102dc..000000000
--- a/kernels/linux-libre-pae/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From a81157768a00e8cf8a7b43b5ea5cac931262374f Mon Sep 17 00:00:00 2001
-From: Eric Work <work.eric@gmail.com>
-Date: Mon, 18 May 2015 23:26:23 -0700
-Subject: [PATCH] md/raid0: fix restore to sector variable in
- raid0_make_request
-
-The variable "sector" in "raid0_make_request()" was improperly updated
-by a call to "sector_div()" which modifies its first argument in place.
-Commit 47d68979cc968535cb87f3e5f2e6a3533ea48fbd restored this variable
-after the call for later re-use. Unfortunetly the restore was done after
-the referenced variable "bio" was advanced. This lead to the original
-value and the restored value being different. Here we move this line to
-the proper place.
-
-One observed side effect of this bug was discarding a file though
-unlinking would cause an unrelated file's contents to be discarded.
-
-Signed-off-by: NeilBrown <neilb@suse.de>
-Fixes: 47d68979cc96 ("md/raid0: fix bug with chunksize not a power of 2.")
-Cc: stable@vger.kernel.org (any that received above backport)
-URL: https://bugzilla.kernel.org/show_bug.cgi?id=98501
----
- drivers/md/raid0.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c
-index 6a68ef5..efb654e 100644
---- a/drivers/md/raid0.c
-+++ b/drivers/md/raid0.c
-@@ -524,6 +524,9 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio)
- ? (sector & (chunk_sects-1))
- : sector_div(sector, chunk_sects));
-
-+ /* Restore due to sector_div */
-+ sector = bio->bi_iter.bi_sector;
-+
- if (sectors < bio_sectors(bio)) {
- split = bio_split(bio, sectors, GFP_NOIO, fs_bio_set);
- bio_chain(split, bio);
-@@ -531,7 +534,6 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio)
- split = bio;
- }
-
-- sector = bio->bi_iter.bi_sector;
- zone = find_zone(mddev->private, &sector);
- tmp_dev = map_sector(mddev, zone, sector, &sector);
- split->bi_bdev = tmp_dev->bdev;
---
-2.4.1
-
diff --git a/kernels/linux-libre-xen/PKGBUILD b/kernels/linux-libre-xen/PKGBUILD
index 4229f23a1..53e23dd9c 100644
--- a/kernels/linux-libre-xen/PKGBUILD
+++ b/kernels/linux-libre-xen/PKGBUILD
@@ -9,7 +9,7 @@
pkgbase=linux-libre-xen # Build stock -xen kernel
_pkgbasever=4.0-gnu
-_pkgver=4.0.4-gnu
+_pkgver=4.0.5-gnu
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
_replacesoldkernels=('kernel26%' 'kernel26-libre%') # '%' gets replaced with _kernelname
@@ -18,7 +18,7 @@ _replacesoldmodules=() # '%' gets replaced with _kernelname
_srcname=linux-${_pkgbasever%-*}
_archpkgver=${_pkgver%-*}
pkgver=${_pkgver//-/_}
-pkgrel=2
+pkgrel=1
arch=('i686')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -33,18 +33,16 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
# standard config files for mkinitcpio ramdisk
'linux.preset'
'logo_linux_'{clut224.ppm,vga16.ppm,mono.pbm}
- 'md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch'
'change-default-console-loglevel.patch')
sha256sums=('0e2dd5be12c1f82ab3d03b89cbe3f1a20e14332ec42c102efb226a6283fdd38a'
'SKIP'
- 'e447de9a53c5aefd25f0474f3304ab87076b88353badaae20dcbd85712e85e61'
+ '5ac82d1955fee5abccda157ef2399b34d4fd1c2310a33d19c09ca5953b308172'
'SKIP'
'829578ec9d35cae1f7fa559c6cab1d13ca21bc91be88f9f110e7ee70e698e659'
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
'bfd4a7f61febe63c880534dcb7c31c5b932dde6acf991810b41a939a93535494'
'6de8a8319271809ffdb072b68d53d155eef12438e6d04ff06a5a4db82c34fa8a'
'13bd7a8d9ed6b6bc971e4cd162262c5a20448a83796af39ce394d827b0e5de74'
- 'bc83293e64653d60793708a0e277741f57c018f5ea3551a8aff3a220df917ceb'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
@@ -70,9 +68,6 @@ prepare() {
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
- # https://bugzilla.kernel.org/show_bug.cgi?id=98501
- patch -Np1 -i "${srcdir}/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch"
-
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
diff --git a/kernels/linux-libre-xen/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch b/kernels/linux-libre-xen/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch
deleted file mode 100644
index 9f09102dc..000000000
--- a/kernels/linux-libre-xen/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From a81157768a00e8cf8a7b43b5ea5cac931262374f Mon Sep 17 00:00:00 2001
-From: Eric Work <work.eric@gmail.com>
-Date: Mon, 18 May 2015 23:26:23 -0700
-Subject: [PATCH] md/raid0: fix restore to sector variable in
- raid0_make_request
-
-The variable "sector" in "raid0_make_request()" was improperly updated
-by a call to "sector_div()" which modifies its first argument in place.
-Commit 47d68979cc968535cb87f3e5f2e6a3533ea48fbd restored this variable
-after the call for later re-use. Unfortunetly the restore was done after
-the referenced variable "bio" was advanced. This lead to the original
-value and the restored value being different. Here we move this line to
-the proper place.
-
-One observed side effect of this bug was discarding a file though
-unlinking would cause an unrelated file's contents to be discarded.
-
-Signed-off-by: NeilBrown <neilb@suse.de>
-Fixes: 47d68979cc96 ("md/raid0: fix bug with chunksize not a power of 2.")
-Cc: stable@vger.kernel.org (any that received above backport)
-URL: https://bugzilla.kernel.org/show_bug.cgi?id=98501
----
- drivers/md/raid0.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c
-index 6a68ef5..efb654e 100644
---- a/drivers/md/raid0.c
-+++ b/drivers/md/raid0.c
-@@ -524,6 +524,9 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio)
- ? (sector & (chunk_sects-1))
- : sector_div(sector, chunk_sects));
-
-+ /* Restore due to sector_div */
-+ sector = bio->bi_iter.bi_sector;
-+
- if (sectors < bio_sectors(bio)) {
- split = bio_split(bio, sectors, GFP_NOIO, fs_bio_set);
- bio_chain(split, bio);
-@@ -531,7 +534,6 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio)
- split = bio;
- }
-
-- sector = bio->bi_iter.bi_sector;
- zone = find_zone(mddev->private, &sector);
- tmp_dev = map_sector(mddev, zone, sector, &sector);
- split->bi_bdev = tmp_dev->bdev;
---
-2.4.1
-
diff --git a/libre-multilib/lib32-mesa-libcl/PKGBUILD b/libre-multilib/lib32-mesa-libcl/PKGBUILD
index 9c42c698d..b2e22e6a2 100644
--- a/libre-multilib/lib32-mesa-libcl/PKGBUILD
+++ b/libre-multilib/lib32-mesa-libcl/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=mesa
_pkgname=libcl
pkgname=lib32-$pkgbase-$_pkgname
-pkgver=10.5.6
+pkgver=10.5.7
pkgrel=1
pkgdesc='Mesa 3-D OpenCL library and ICD loader (32-bit)'
arch=('x86_64')
@@ -18,7 +18,7 @@ provides=("lib32-$_pkgname")
conflicts=("lib32-$_pkgname" "lib32-$_pkgname-libre" 'lib32-opencl-nvidia' 'lib32-opencl-nvidia-304xx')
replaces=("lib32-$_pkgname" "lib32-$_pkgname-libre" 'lib32-opencl-nvidia' 'lib32-opencl-nvidia-304xx')
source=(ftp://ftp.freedesktop.org/pub/$pkgbase/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig})
-sha512sums=('691a757755a76a85ac0877617bad7491037dda9445fc36499e9fc32d0fbfb3d3cdf8666bc45596a4d8e0b6fea40860e86e5e2ef1adc041b23cb5990aceaf4903'
+sha512sums=('0ccd9c3700d4c12a6625ad2a5ca46c721135fc3ef9650a6571f210f9f203d44c327e76604e3627edede2a561f88e2fabcf47a339bbd7c106a9c6408ed25a446c'
'SKIP')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # Emil Velikov <emil.l.velikov@gmail.com>
diff --git a/libre-multilib/lib32-opencl-mesa/PKGBUILD b/libre-multilib/lib32-opencl-mesa/PKGBUILD
index 2e044cdf7..40ff5b502 100644
--- a/libre-multilib/lib32-opencl-mesa/PKGBUILD
+++ b/libre-multilib/lib32-opencl-mesa/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=mesa
_pkgname=libcl
pkgname=lib32-opencl-$pkgbase
-pkgver=10.5.6
+pkgver=10.5.7
pkgrel=1
pkgdesc='OpenCL support for mesa drivers (32-bit)'
arch=('x86_64')
@@ -16,7 +16,7 @@ optdepends=('opencl-headers: headers necessary for OpenCL development')
# "CHROOTEXTRAPKG=(multilib-devel)" on "/etc/libretools.d/chroot.conf" file.
makedepends=('python2-mako' 'dri2proto' 'dri3proto' 'glproto' 'presentproto' 'python2' 'llvm')
source=(ftp://ftp.freedesktop.org/pub/$pkgbase/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig})
-sha512sums=('691a757755a76a85ac0877617bad7491037dda9445fc36499e9fc32d0fbfb3d3cdf8666bc45596a4d8e0b6fea40860e86e5e2ef1adc041b23cb5990aceaf4903'
+sha512sums=('0ccd9c3700d4c12a6625ad2a5ca46c721135fc3ef9650a6571f210f9f203d44c327e76604e3627edede2a561f88e2fabcf47a339bbd7c106a9c6408ed25a446c'
'SKIP')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # Emil Velikov <emil.l.velikov@gmail.com>
diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD
index 18e67da95..1c358e085 100644
--- a/libre/ath9k-htc-firmware/PKGBUILD
+++ b/libre/ath9k-htc-firmware/PKGBUILD
@@ -2,16 +2,16 @@
# Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=ath9k-htc-firmware
-pkgver=1.3.2
-pkgrel=10
+pkgver=1.4.0
+pkgrel=1
pkgdesc='Free firmware files for the Qualcomm Atheros AR7010 and AR9271 USB 802.11n NICs'
arch=('any')
url=('http://wireless.kernel.org/en/users/Drivers/ath9k_htc')
-license=('BSD')
+license=('BSD3')
makedepends=('cmake' 'xtensa-unknown-elf-binutils' 'xtensa-unknown-elf-gcc')
source=("https://github.com/qca/open-ath9k-htc-firmware/archive/$pkgver.tar.gz"
'LICENSE')
-md5sums=('73c66751151dd47535cb4142477da480'
+md5sums=('503f75163649a7e52a64737991a41ca2'
'5163b2711bc481c77045850610b7dd31')
prepare() {
@@ -28,6 +28,7 @@ build() {
cd $srcdir/open-ath9k-htc-firmware-$pkgver
export CTARGET="xtensa-unknown-elf"
+ export CC="xtensa-unknown-elf"
export CFLAGS="-mtext-section-literals -O2 -pipe --param=ssp-buffer-size=4 -fno-aggressive-loop-optimizations"
export CXXFLAGS="${CFLAGS}"
diff --git a/libre/ath9k-htc-firmware/fix.patch b/libre/ath9k-htc-firmware/fix.patch
deleted file mode 100644
index 68a504a8a..000000000
--- a/libre/ath9k-htc-firmware/fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD
-index 172cb97..2a6af01 100644
---- a/libre/ath9k-htc-firmware/PKGBUILD
-+++ b/libre/ath9k-htc-firmware/PKGBUILD
-@@ -16,6 +16,9 @@ md5sums=('73c66751151dd47535cb4142477da480'
-
- prepare() {
-
-+ mkdir -p $srcdir/bin
-+ ln -s /usr/bin/xtensa-unknown-elf-as $srcdir/bin/as
-+ export PATH=$srcdir/bin:$PATH
- cd $srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware
- mkdir -p build/{k2,magpie}
-
-@@ -35,6 +38,7 @@ INCLUDE(CMakeForceCompiler)
- SET(CMAKE_SYSTEM_PROCESSOR xtensa)
- SET(COMPILER_PREFIX "xtensa-unknown-elf")
- SET(CMAKE_FIND_ROOT_PATH /usr/xtensa-unknown-elf)
-+SET(CMAKE_OBJCOPY /usr/bin/xtensa-unknown-elf-objcopy)
-
- CMAKE_FORCE_C_COMPILER(/usr/bin/xtensa-unknown-elf-gcc GNU)
- EOF
diff --git a/libre/bfgminer/PKGBUILD b/libre/bfgminer/PKGBUILD
index 744ff14e2..642bce39c 100644
--- a/libre/bfgminer/PKGBUILD
+++ b/libre/bfgminer/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 128006 2015-02-20 05:03:56Z fyan $
+# $Id: PKGBUILD 134838 2015-06-05 13:46:45Z fyan $
# Maintainer (Arch): Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor (Arch): Andy Weidenbaum <archbaum@gmail.com>
pkgname=bfgminer
-pkgver=5.1.0
+pkgver=5.2.0
pkgrel=1.parabola1
pkgdesc="Bitcoin miner featuring overclocking, monitoring, fan speed control and remote management. For FPGA/GPU/CPU Bitcoin mining, with opencl-mesa recommendation"
arch=('i686' 'x86_64' 'mips64el')
@@ -16,7 +16,7 @@ url='http://bfgminer.org/'
license=('GPL3')
source=(http://luke.dashjr.org/programs/bitcoin/files/$pkgname/$pkgver/$pkgname-$pkgver.txz
remove-dangerous-rpath.patch)
-sha256sums=('436595e8b3af267e8fed023ac6b5f208a385d891d0c3c1c41b8aa13f1c1e69c9'
+sha256sums=('0cec8a4012d5784f781201d245bee834b0085274a24737ff3a4d0a28d48edc28'
'27d89695ff963dd8f66654b9d454aa725c7db769def708513188fe0a496fda4d')
prepare() {
diff --git a/libre/calibre/PKGBUILD b/libre/calibre/PKGBUILD
index 0edb099c9..25c6f1fa5 100644
--- a/libre/calibre/PKGBUILD
+++ b/libre/calibre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 134308 2015-05-29 12:44:59Z jelle $
+# $Id: PKGBUILD 134840 2015-06-05 13:57:51Z jelle $
# Maintainer (Arch): Jelle van der Waa <jelle@vdwaa.nl>
# Maintainer (Arch): Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor (Arch): Giovanni Scafora <giovanni@archlinux.org>
@@ -9,7 +9,7 @@
pkgname=calibre
_pkgname=$pkgname-libre
-pkgver=2.29.0
+pkgver=2.30.0
pkgrel=1.parabola1
pkgdesc="Ebook management application, without nonfree decompression engine for RAR archives"
arch=('i686' 'x86_64' 'mips64el')
@@ -32,8 +32,8 @@ install=$pkgname.install
mksource=("http://download.$pkgname-ebook.com/${pkgver}/$pkgname-${pkgver}.tar.xz")
source=("https://repo.parabola.nu/other/${_pkgname}/${_pkgname}-${pkgver}.tar.xz"
'libre.patch')
-mkmd5sums=('b5fa328864cd4d91f827889856a1352b')
-md5sums=('67a33eb891bcf7812f3c5128a2816c81'
+mkmd5sums=('7cf51288c5acc142ef2e1b21168cc64a')
+md5sums=('fd908c114964a14d6be3f07e4a407367'
'0c70c8d2fd4b11c51d061596e3c8d487')
mksource(){
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD
index d67658e7e..67c9a8d59 100644
--- a/libre/libretools/PKGBUILD
+++ b/libre/libretools/PKGBUILD
@@ -4,16 +4,16 @@
# Contributor: Márcio Silva <coadde@parabola.nu>
pkgbase=libretools
-pkgname=(libretools libretools-mips64el librelib gitget xbs)
+pkgname=(libretools librelib gitget xbs)
pkgdesc="Programs for Parabola development"
url="https://projects.parabola.nu/packages/libretools.git/"
license=('GPL3' 'GPL2')
-pkgver=20150526
-_libretools_commit=a608070d29143f11826725ae0261bf0dcd902bc2
-_devtools_commit=b04dc724f01f47107b31b791950d22c27aca7d9b
-md5sums=('81c7681cb6e8b94fa87e18cd8e4ef61a'
- '84ce76368ddca3bd02198ebc4e85ab3f')
+pkgver=20150607
+_libretools_commit=9c26929bb8f7279620bff5db68ee9291eef393b3
+_devtools_commit=c271ab745f80167f452ee6afa1ff430c2f1523b0
+md5sums=('32fab6c2c214bc1a233b55fa8a767b2b'
+ 'ffee2c79249bd9727826c39946934a08')
_packages_url=https://projects.parabola.nu/packages
source=($_packages_url/libretools.git/snapshot/libretools-$_libretools_commit.tar.bz2
@@ -28,7 +28,7 @@ build() {
cd "$srcdir"
ln -sf devtools-par-$_devtools_commit devtools-par
cd "$srcdir/$pkgbase-$_libretools_commit"
- make build-libretools build-libretools-mips64el build-librelib build-doc
+ make
}
check() {
@@ -63,6 +63,8 @@ package_gitget() {
package_xbs() {
pkgdesc='A tool for working with arbitrary ABS-like build systems'
+ backup=(etc/xbs/xbs.conf
+ etc/xbs/xbs-abs.conf)
license=(GPL2)
depends=(
"gitget=$pkgver" # `helper-abslibre`
@@ -75,9 +77,13 @@ package_xbs() {
}
package_libretools() {
- backup=(etc/libretools.conf etc/libretools.d/chroot.conf etc/libretools.d/librefetch.conf)
+ backup=(etc/libretools.conf
+ etc/libretools.d/chroot.conf
+ etc/libretools.d/librefetch.conf)
install=libretools.install
conflicts=(devtools)
+ conflicts=(libretools-mips64el)
+ replaces=(libretools-mips64el)
depends=(
"librelib=$pkgver"
@@ -96,14 +102,3 @@ package_libretools() {
cd "$srcdir/$pkgbase-$_libretools_commit"
make install-libretools install-doc DESTDIR="$pkgdir"
}
-
-package_libretools-mips64el() {
- pkgdesc="Scripts for Parabola development (for mips64el architecture)"
- license=(GPL3)
- depends=("$pkgbase=$pkgver"
- git # mips-add
- )
-
- cd "$srcdir/$pkgbase-$_libretools_commit"
- make install-libretools-mips64el DESTDIR="$pkgdir"
-}
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD
index 3916be539..0e7d3ff5a 100644
--- a/libre/linux-libre-lts/PKGBUILD
+++ b/libre/linux-libre-lts/PKGBUILD
@@ -9,7 +9,7 @@
pkgbase=linux-libre-lts # Build kernel with -lts localname
_pkgbasever=3.14-gnu
-_pkgver=3.14.43-gnu
+_pkgver=3.14.44-gnu
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
_replacesoldkernels=('kernel26%' 'kernel26-libre%') # '%' gets replaced with _kernelname
@@ -43,7 +43,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
'3.14.26-8475f027b4-loongson-community.patch')
sha256sums=('477555c709b9407fe37dbd70d3331ff9dde1f9d874aba2741f138d07ae6f281b'
'SKIP'
- '1c8d7336a4176e3a96de49688cb268cc5e7a44063d32a2597a339094f3f7cc16'
+ '684af3ce9116a1e3f099c1fe4a85b13105777637def19db0c0100cbf9952a0cd'
'SKIP'
'b4cc9c49948fc1d571c27ddeddd93b5b499ccc17fb06fa75bfe41ecddfbc12e4'
'3fa8ce26aea9b5e596ccfc842baa3f2a8be8ef4a62bc13d75e8da2bafd89141c'
@@ -57,7 +57,7 @@ sha256sums=('477555c709b9407fe37dbd70d3331ff9dde1f9d874aba2741f138d07ae6f281b'
'52dec83a8805a8642d74d764494acda863e0aa23e3d249e80d4b457e20a3fd29'
'65d58f63215ee3c5f9c4fc6bce36fc5311a6c7dbdbe1ad29de40647b47ff9c0d'
'cf2e7a2d00787f754028e7459688c2755a406e632ce48b60952fa4ff7ed6f4b7'
- '470d6d019d288dce02b4a9758a34ea71d41715663a19a164749212a470a131e7'
+ '9c89039a0f876888fda3be6f574bca5a120e3587d8342747bbc0723b0b4cde7a'
'7c2d1e257acce0ea6f260f3acf18e30e21c12a9a6b3d7d1d4097dafd287388e2')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
diff --git a/libre/linux-libre-lts/gcc5_buildfixes.diff b/libre/linux-libre-lts/gcc5_buildfixes.diff
index f29d60674..e8a85b055 100644
--- a/libre/linux-libre-lts/gcc5_buildfixes.diff
+++ b/libre/linux-libre-lts/gcc5_buildfixes.diff
@@ -1,69 +1,3 @@
-From 9493c2422cae272d6f1f567cbb424195defe4176 Mon Sep 17 00:00:00 2001
-From: Chen Gang <gang.chen.5i5j@gmail.com>
-Date: Sat, 1 Nov 2014 19:46:12 +0800
-Subject: qla2xxx: remove redundant declaration in 'qla_gbl.h'
-
-Remove 2 redundant extern inline functions: qla8044_set_qsnt_ready() and
-qla8044_need_reset_handler(). At present, within upstream next kernel
-source code, they are only used within "drivers/scsi/qla2xxx/qla_nx2.c".
-
-The related error and warnings (with allmodconfig under tile):
-
- CC [M] drivers/scsi/qla2xxx/qla_nx2.o
- drivers/scsi/qla2xxx/qla_nx2.c:1633:1: error: static declaration of 'qla8044_need_reset_handler' follows non-static declaration
- qla8044_need_reset_handler(struct scsi_qla_host *vha)
- ^
- In file included from drivers/scsi/qla2xxx/qla_def.h:3706:0,
- from drivers/scsi/qla2xxx/qla_nx2.c:11:
- drivers/scsi/qla2xxx/qla_gbl.h:756:20: note: previous declaration of 'qla8044_need_reset_handler' was here
- extern inline void qla8044_need_reset_handler(struct scsi_qla_host *vha);
- ^
- drivers/scsi/qla2xxx/qla_gbl.h:756:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
- make[3]: *** [drivers/scsi/qla2xxx/qla_nx2.o] Error 1
- make[2]: *** [drivers/scsi/qla2xxx] Error 2
- make[1]: *** [drivers/scsi] Error 2
- make: *** [drivers] Error 2
-
- CC [M] drivers/scsi/qla2xxx/qla_tmpl.o
- In file included from drivers/scsi/qla2xxx/qla_def.h:3706:0,
- from drivers/scsi/qla2xxx/qla_tmpl.c:7:
- drivers/scsi/qla2xxx/qla_gbl.h:755:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
- extern inline void qla8044_set_qsnt_ready(struct scsi_qla_host *vha);
- ^
-
-Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
-Acked-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-
-diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h
-index b1865a7..7686bfe 100644
---- a/drivers/scsi/qla2xxx/qla_gbl.h
-+++ b/drivers/scsi/qla2xxx/qla_gbl.h
-@@ -752,8 +752,6 @@ extern void qla8044_set_idc_dontreset(struct scsi_qla_host *ha);
- extern int qla8044_rd_direct(struct scsi_qla_host *vha, const uint32_t crb_reg);
- extern void qla8044_wr_direct(struct scsi_qla_host *vha,
- const uint32_t crb_reg, const uint32_t value);
--extern inline void qla8044_set_qsnt_ready(struct scsi_qla_host *vha);
--extern inline void qla8044_need_reset_handler(struct scsi_qla_host *vha);
- extern int qla8044_device_state_handler(struct scsi_qla_host *vha);
- extern void qla8044_clear_qsnt_ready(struct scsi_qla_host *vha);
- extern void qla8044_clear_drv_active(struct qla_hw_data *);
-diff --git a/drivers/scsi/qla2xxx/qla_nx2.c b/drivers/scsi/qla2xxx/qla_nx2.c
-index 24a8528..ed4d6b6 100644
---- a/drivers/scsi/qla2xxx/qla_nx2.c
-+++ b/drivers/scsi/qla2xxx/qla_nx2.c
-@@ -238,7 +238,7 @@ qla8044_rmw_crb_reg(struct scsi_qla_host *vha,
- return;
- }
-
--inline void
-+static inline void
- qla8044_set_qsnt_ready(struct scsi_qla_host *vha)
- {
- uint32_t qsnt_state;
---
-cgit v0.10.2
-
diff --git a/lib/mpi/mpi-inline.h b/lib/mpi/mpi-inline.h
index e2b3985..c245ea3 100644
--- a/lib/mpi/mpi-inline.h
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 51c10d7c1..24b6802a9 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -9,7 +9,7 @@
pkgbase=linux-libre # Build stock "" kernel
_pkgbasever=4.0-gnu
-_pkgver=4.0.4-gnu
+_pkgver=4.0.5-gnu
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
_replacesoldkernels=('kernel26%' 'kernel26-libre%') # '%' gets replaced with _kernelname
@@ -18,7 +18,7 @@ _replacesoldmodules=('linux-libre%-kmod-alx') # '%' gets replaced with _kernelna
_srcname=linux-${_pkgbasever%-*}
_archpkgver=${_pkgver%-*}
pkgver=${_pkgver//-/_}
-pkgrel=2
+pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -33,13 +33,12 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
# standard config files for mkinitcpio ramdisk
'linux.preset'
'logo_linux_'{clut224.ppm,vga16.ppm,mono.pbm}
- 'md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch'
'change-default-console-loglevel.patch'
# loongson-community patch: http://linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/
'4.0.2-ae91f13af5-loongson-community.patch')
sha256sums=('0e2dd5be12c1f82ab3d03b89cbe3f1a20e14332ec42c102efb226a6283fdd38a'
'SKIP'
- 'e447de9a53c5aefd25f0474f3304ab87076b88353badaae20dcbd85712e85e61'
+ '5ac82d1955fee5abccda157ef2399b34d4fd1c2310a33d19c09ca5953b308172'
'SKIP'
'5fa50ffbe7b6e82c70d1d15947c34caa0b484ecd264f01149f40b910e7c8f394'
'33f68753bc12456e601492f870f7e04cd116f36b81630d9bad954093d72bc57a'
@@ -48,7 +47,6 @@ sha256sums=('0e2dd5be12c1f82ab3d03b89cbe3f1a20e14332ec42c102efb226a6283fdd38a'
'bfd4a7f61febe63c880534dcb7c31c5b932dde6acf991810b41a939a93535494'
'6de8a8319271809ffdb072b68d53d155eef12438e6d04ff06a5a4db82c34fa8a'
'13bd7a8d9ed6b6bc971e4cd162262c5a20448a83796af39ce394d827b0e5de74'
- 'bc83293e64653d60793708a0e277741f57c018f5ea3551a8aff3a220df917ceb'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
'13e141279af2bc17decfc041e015710daac9a6cd1c9b4e871a76cb8f916b9e22')
validpgpkeys=(
@@ -80,9 +78,6 @@ prepare() {
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
- # https://bugzilla.kernel.org/show_bug.cgi?id=98501
- patch -Np1 -i "${srcdir}/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch"
-
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
diff --git a/libre/linux-libre/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch b/libre/linux-libre/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch
deleted file mode 100644
index 9f09102dc..000000000
--- a/libre/linux-libre/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From a81157768a00e8cf8a7b43b5ea5cac931262374f Mon Sep 17 00:00:00 2001
-From: Eric Work <work.eric@gmail.com>
-Date: Mon, 18 May 2015 23:26:23 -0700
-Subject: [PATCH] md/raid0: fix restore to sector variable in
- raid0_make_request
-
-The variable "sector" in "raid0_make_request()" was improperly updated
-by a call to "sector_div()" which modifies its first argument in place.
-Commit 47d68979cc968535cb87f3e5f2e6a3533ea48fbd restored this variable
-after the call for later re-use. Unfortunetly the restore was done after
-the referenced variable "bio" was advanced. This lead to the original
-value and the restored value being different. Here we move this line to
-the proper place.
-
-One observed side effect of this bug was discarding a file though
-unlinking would cause an unrelated file's contents to be discarded.
-
-Signed-off-by: NeilBrown <neilb@suse.de>
-Fixes: 47d68979cc96 ("md/raid0: fix bug with chunksize not a power of 2.")
-Cc: stable@vger.kernel.org (any that received above backport)
-URL: https://bugzilla.kernel.org/show_bug.cgi?id=98501
----
- drivers/md/raid0.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c
-index 6a68ef5..efb654e 100644
---- a/drivers/md/raid0.c
-+++ b/drivers/md/raid0.c
-@@ -524,6 +524,9 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio)
- ? (sector & (chunk_sects-1))
- : sector_div(sector, chunk_sects));
-
-+ /* Restore due to sector_div */
-+ sector = bio->bi_iter.bi_sector;
-+
- if (sectors < bio_sectors(bio)) {
- split = bio_split(bio, sectors, GFP_NOIO, fs_bio_set);
- bio_chain(split, bio);
-@@ -531,7 +534,6 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio)
- split = bio;
- }
-
-- sector = bio->bi_iter.bi_sector;
- zone = find_zone(mddev->private, &sector);
- tmp_dev = map_sector(mddev, zone, sector, &sector);
- split->bi_bdev = tmp_dev->bdev;
---
-2.4.1
-
diff --git a/libre/mesa-libcl/PKGBUILD b/libre/mesa-libcl/PKGBUILD
index 73a6b94c9..23ae29172 100644
--- a/libre/mesa-libcl/PKGBUILD
+++ b/libre/mesa-libcl/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=mesa
_pkgname=libcl
pkgname=$pkgbase-$_pkgname
-pkgver=10.5.6
+pkgver=10.5.7
pkgrel=1
pkgdesc='Mesa 3-D OpenCL library and ICD loader'
arch=('i686' 'x86_64' 'mips64el')
@@ -18,7 +18,7 @@ provides=("$_pkgname")
conflicts=("$_pkgname" "$_pkgname-libre" 'opencl-nvidia' 'opencl-nvidia-304xx')
replaces=("$_pkgname" "$_pkgname-libre" 'opencl-nvidia' 'opencl-nvidia-304xx')
source=(ftp://ftp.freedesktop.org/pub/$pkgbase/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig})
-sha512sums=('691a757755a76a85ac0877617bad7491037dda9445fc36499e9fc32d0fbfb3d3cdf8666bc45596a4d8e0b6fea40860e86e5e2ef1adc041b23cb5990aceaf4903'
+sha512sums=('0ccd9c3700d4c12a6625ad2a5ca46c721135fc3ef9650a6571f210f9f203d44c327e76604e3627edede2a561f88e2fabcf47a339bbd7c106a9c6408ed25a446c'
'SKIP')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # Emil Velikov <emil.l.velikov@gmail.com>
diff --git a/libre/opencv/PKGBUILD b/libre/opencv/PKGBUILD
new file mode 100644
index 000000000..d6d7a707b
--- /dev/null
+++ b/libre/opencv/PKGBUILD
@@ -0,0 +1,129 @@
+# $Id$
+# Maintainer (Arch): Ray Rashif <schiv@archlinux.org>
+# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgbase=opencv
+pkgname=('opencv' 'opencv-samples')
+pkgver=2.4.10
+pkgrel=3.parabola1
+pkgdesc="Open Source Computer Vision Library, without nonfree and 3rdparty modules and Milky icons"
+arch=('i686' 'x86_64')
+license=('BSD')
+url="http://opencv.org/"
+depends=('intel-tbb' 'openexr' 'xine-lib' 'libdc1394' 'gtkglext')
+makedepends=('cmake' 'python2-numpy' 'mesa' 'eigen2')
+optdepends=('opencv-samples'
+ 'eigen2'
+ 'libcl: For coding with OpenCL'
+ 'python2-numpy: Python 2.x interface')
+mksource=("http://downloads.sourceforge.net/opencvlibrary/$pkgname-$pkgver.zip")
+source=("https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-${pkgver}.zip"
+ 'pkgconfig.patch'
+ 'fsh.patch'
+ 'x86_asmfix.patch')
+mkmd5sums=('ec63952d3a3dff965d5fdde765926821')
+md5sums=('1cf568ec12de8a3f786cd2d851b0f001'
+ 'c7cea48ed7d4f729ebdb9673bac41bd3'
+ 'c597598d142dd34d0eb4af7d6e9779d8'
+ 'b937d3589a62666f17f6dc93e0109717')
+
+_cmakeopts=('-D WITH_OPENCL=ON'
+ '-D WITH_OPENGL=ON'
+ '-D WITH_TBB=ON'
+ '-D WITH_XINE=ON'
+ '-D WITH_GSTREAMER=OFF'
+ '-D BUILD_WITH_DEBUG_INFO=OFF'
+ '-D BUILD_TESTS=OFF'
+ '-D BUILD_PERF_TESTS=OFF'
+ '-D BUILD_EXAMPLES=ON'
+ '-D INSTALL_C_EXAMPLES=ON'
+ '-D INSTALL_PYTHON_EXAMPLES=ON'
+ '-D CMAKE_BUILD_TYPE=Release'
+ '-D CMAKE_INSTALL_PREFIX=/usr'
+ '-D CMAKE_SKIP_RPATH=ON')
+
+# 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')
+
+mksource() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ rm -rv 3rdparty
+ rm -rv modules/nonfree
+ rm -rv modules/highgui/src/files_Qt/Milky
+}
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ msg2 "Applying backported fix for x86 ASM breakage"
+ # see https://github.com/Itseez/opencv/pull/3331
+ patch -Np1 -i "$srcdir/x86_asmfix.patch"
+
+ msg2 "Fixing broken pkg-config (downstream)"
+ # see https://bugs.archlinux.org/task/32430
+ # and http://code.opencv.org/issues/1925
+ patch -Np1 -i "$srcdir/pkgconfig.patch"
+
+ # TODO: this is mostly upstream frei0r; they hardcode the path
+ #msg2 "Hack-fixing folder naming inconsistency (downstream)"
+ # see http://code.opencv.org/issues/2512
+ # and https://bugs.archlinux.org/task/32342
+ #patch -Np1 -i "$srcdir/fsh.patch"
+
+ # 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[@]} .
+
+ make
+}
+
+package_opencv() {
+ options=('staticlibs')
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # install license file
+ install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd "$pkgdir/usr/share"
+
+ # separate samples package; also be -R friendly
+ if [[ -d OpenCV/samples ]]; then
+ mv OpenCV/samples "$srcdir/$pkgname-samples"
+ mv OpenCV $pkgname # otherwise folder naming is inconsistent
+ elif [[ ! -d OpenCV ]]; then
+ warning "Directory naming issue; samples package may not be built!"
+ fi
+}
+
+package_opencv-samples() {
+ pkgdesc+=" (samples)"
+ depends=("opencv=$pkgver") # sample codes change with lib/API
+ unset optdepends
+
+ mkdir -p "$pkgdir/usr/share/opencv"
+ cp -r "$srcdir/opencv-samples" "$pkgdir/usr/share/opencv/samples"
+
+ # install license file
+ install -Dm644 "$srcdir/opencv-$pkgver/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/libre/opencv/fsh.patch b/libre/opencv/fsh.patch
new file mode 100644
index 000000000..650d46a70
--- /dev/null
+++ b/libre/opencv/fsh.patch
@@ -0,0 +1,136 @@
+diff -baur opencv-2.4.7.orig/cmake/OpenCVGenPkgconfig.cmake opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake
+--- opencv-2.4.7.orig/cmake/OpenCVGenPkgconfig.cmake 2013-11-12 20:31:27.253763202 +0000
++++ opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake 2013-11-12 20:31:54.923577113 +0000
+@@ -46,7 +46,7 @@
+
+ #need better solution....
+ if(libpath MATCHES "3rdparty")
+- set(installDir "share/OpenCV/3rdparty/${OPENCV_LIB_INSTALL_PATH}")
++ set(installDir "share/opencv/3rdparty/${OPENCV_LIB_INSTALL_PATH}")
+ else()
+ set(installDir "${OPENCV_LIB_INSTALL_PATH}")
+ endif()
+diff -baur opencv-2.4.7.orig/cmake/OpenCVModule.cmake opencv-2.4.7/cmake/OpenCVModule.cmake
+--- opencv-2.4.7.orig/cmake/OpenCVModule.cmake 2013-11-12 20:31:27.253763202 +0000
++++ opencv-2.4.7/cmake/OpenCVModule.cmake 2013-11-12 20:35:37.805415871 +0000
+@@ -807,7 +807,7 @@
+ if(INSTALL_C_EXAMPLES AND NOT WIN32 AND EXISTS "${samples_path}")
+ file(GLOB sample_files "${samples_path}/*")
+ install(FILES ${sample_files}
+- DESTINATION share/OpenCV/samples/${module_id}
++ DESTINATION share/opencv/samples/${module_id}
+ PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
+ endif()
+ endfunction()
+diff -baur opencv-2.4.7.orig/CMakeLists.txt opencv-2.4.7/CMakeLists.txt
+--- opencv-2.4.7.orig/CMakeLists.txt 2013-11-12 20:31:27.437095684 +0000
++++ opencv-2.4.7/CMakeLists.txt 2013-11-12 20:40:21.160171499 +0000
+@@ -243,9 +243,9 @@
+ if(ANDROID OR WIN32)
+ set(OPENCV_DOC_INSTALL_PATH doc)
+ elseif(INSTALL_TO_MANGLED_PATHS)
+- set(OPENCV_DOC_INSTALL_PATH share/OpenCV-${OPENCV_VERSION}/doc)
++ set(OPENCV_DOC_INSTALL_PATH share/doc/opencv-${OPENCV_VERSION})
+ else()
+- set(OPENCV_DOC_INSTALL_PATH share/OpenCV/doc)
++ set(OPENCV_DOC_INSTALL_PATH share/doc/opencv)
+ endif()
+
+ if(WIN32)
+@@ -282,7 +282,7 @@
+ set(OPENCV_3P_LIB_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}staticlib${LIB_SUFFIX}")
+ else()
+ set(OPENCV_LIB_INSTALL_PATH lib${LIB_SUFFIX})
+- set(OPENCV_3P_LIB_INSTALL_PATH share/OpenCV/3rdparty/${OPENCV_LIB_INSTALL_PATH})
++ set(OPENCV_3P_LIB_INSTALL_PATH share/opencv/3rdparty/${OPENCV_LIB_INSTALL_PATH})
+ endif()
+ set(OPENCV_INCLUDE_INSTALL_PATH "include")
+
+@@ -290,7 +290,7 @@
+ if(LIB_SUFFIX AND NOT SIZEOF_VOID_P_BITS EQUAL LIB_SUFFIX)
+ set(OPENCV_CONFIG_INSTALL_PATH lib${LIB_SUFFIX}/cmake/opencv)
+ else()
+- set(OPENCV_CONFIG_INSTALL_PATH share/OpenCV)
++ set(OPENCV_CONFIG_INSTALL_PATH share/opencv)
+ endif()
+ endif()
+
+diff -baur opencv-2.4.7.orig/data/CMakeLists.txt opencv-2.4.7/data/CMakeLists.txt
+--- opencv-2.4.7.orig/data/CMakeLists.txt 2013-11-12 20:31:27.280430213 +0000
++++ opencv-2.4.7/data/CMakeLists.txt 2013-11-12 20:31:54.923577113 +0000
+@@ -5,6 +5,6 @@
+ install(FILES ${HAAR_CASCADES} DESTINATION sdk/etc/haarcascades COMPONENT main)
+ install(FILES ${LBP_CASCADES} DESTINATION sdk/etc/lbpcascades COMPONENT main)
+ elseif(NOT WIN32)
+- install(FILES ${HAAR_CASCADES} DESTINATION share/OpenCV/haarcascades COMPONENT main)
+- install(FILES ${LBP_CASCADES} DESTINATION share/OpenCV/lbpcascades COMPONENT main)
++ install(FILES ${HAAR_CASCADES} DESTINATION share/opencv/haarcascades COMPONENT main)
++ install(FILES ${LBP_CASCADES} DESTINATION share/opencv/lbpcascades COMPONENT main)
+ endif()
+diff -baur opencv-2.4.7.orig/modules/java/CMakeLists.txt opencv-2.4.7/modules/java/CMakeLists.txt
+--- opencv-2.4.7.orig/modules/java/CMakeLists.txt 2013-11-12 20:31:27.360429532 +0000
++++ opencv-2.4.7/modules/java/CMakeLists.txt 2013-11-12 20:36:41.984985273 +0000
+@@ -279,7 +279,7 @@
+ if(WIN32)
+ set(JAR_INSTALL_DIR java)
+ else(WIN32)
+- set(JAR_INSTALL_DIR share/OpenCV/java)
++ set(JAR_INSTALL_DIR share/opencv/java)
+ endif(WIN32)
+ install(FILES ${JAR_FILE} DESTINATION ${JAR_INSTALL_DIR} COMPONENT main)
+ endif(ANDROID)
+diff -baur opencv-2.4.7.orig/samples/c/CMakeLists.txt opencv-2.4.7/samples/c/CMakeLists.txt
+--- opencv-2.4.7.orig/samples/c/CMakeLists.txt 2013-11-12 20:31:27.433762373 +0000
++++ opencv-2.4.7/samples/c/CMakeLists.txt 2013-11-12 20:31:54.923577113 +0000
+@@ -54,6 +54,6 @@
+ if (INSTALL_C_EXAMPLES AND NOT WIN32)
+ file(GLOB C_SAMPLES *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd )
+ install(FILES ${C_SAMPLES}
+- DESTINATION share/OpenCV/samples/c
++ DESTINATION share/opencv/samples/c
+ PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
+ endif ()
+diff -baur opencv-2.4.7.orig/samples/cpp/CMakeLists.txt opencv-2.4.7/samples/cpp/CMakeLists.txt
+--- opencv-2.4.7.orig/samples/cpp/CMakeLists.txt 2013-11-12 20:31:27.417095818 +0000
++++ opencv-2.4.7/samples/cpp/CMakeLists.txt 2013-11-12 20:31:55.110242982 +0000
+@@ -83,6 +83,6 @@
+ if (INSTALL_C_EXAMPLES AND NOT WIN32)
+ file(GLOB C_SAMPLES *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd )
+ install(FILES ${C_SAMPLES}
+- DESTINATION share/OpenCV/samples/cpp
++ DESTINATION share/opencv/samples/cpp
+ PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
+ endif()
+diff -baur opencv-2.4.7.orig/samples/gpu/CMakeLists.txt opencv-2.4.7/samples/gpu/CMakeLists.txt
+--- opencv-2.4.7.orig/samples/gpu/CMakeLists.txt 2013-11-12 20:31:27.407095885 +0000
++++ opencv-2.4.7/samples/gpu/CMakeLists.txt 2013-11-12 20:31:55.110242982 +0000
+@@ -83,6 +83,6 @@
+ if (INSTALL_C_EXAMPLES AND NOT WIN32)
+ file(GLOB install_list *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd )
+ install(FILES ${install_list}
+- DESTINATION share/OpenCV/samples/${project}
++ DESTINATION share/opencv/samples/${project}
+ PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
+ endif()
+diff -baur opencv-2.4.7.orig/samples/gpu/performance/CMakeLists.txt opencv-2.4.7/samples/gpu/performance/CMakeLists.txt
+--- opencv-2.4.7.orig/samples/gpu/performance/CMakeLists.txt 2013-11-12 20:31:27.407095885 +0000
++++ opencv-2.4.7/samples/gpu/performance/CMakeLists.txt 2013-11-12 20:31:55.110242982 +0000
+@@ -29,6 +29,6 @@
+ if(INSTALL_C_EXAMPLES AND NOT WIN32)
+ file(GLOB GPU_FILES performance/*.cpp performance/*.h)
+ install(FILES ${GPU_FILES}
+- DESTINATION share/OpenCV/samples/gpu/performance
++ DESTINATION share/opencv/samples/gpu/performance
+ PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
+ endif()
+diff -baur opencv-2.4.7.orig/samples/ocl/CMakeLists.txt opencv-2.4.7/samples/ocl/CMakeLists.txt
+--- opencv-2.4.7.orig/samples/ocl/CMakeLists.txt 2013-11-12 20:31:27.397095952 +0000
++++ opencv-2.4.7/samples/ocl/CMakeLists.txt 2013-11-12 20:39:29.227200043 +0000
+@@ -54,6 +54,6 @@
+ if (INSTALL_C_EXAMPLES AND NOT WIN32)
+ file(GLOB install_list *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd )
+ install(FILES ${install_list}
+- DESTINATION share/OpenCV/samples/${project}
++ DESTINATION share/opencv/samples/${project}
+ PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
+ endif()
diff --git a/libre/opencv/pkgconfig.patch b/libre/opencv/pkgconfig.patch
new file mode 100644
index 000000000..5626eb6e0
--- /dev/null
+++ b/libre/opencv/pkgconfig.patch
@@ -0,0 +1,35 @@
+diff -baur opencv-2.4.7.orig/cmake/OpenCVGenPkgconfig.cmake opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake
+--- opencv-2.4.7.orig/cmake/OpenCVGenPkgconfig.cmake 2013-11-12 20:31:27.253763202 +0000
++++ opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake 2013-11-12 20:41:48.936262732 +0000
+@@ -10,7 +10,7 @@
+ # -------------------------------------------------------------------------------------------
+ set(prefix "${CMAKE_INSTALL_PREFIX}")
+ set(exec_prefix "\${prefix}")
+-set(libdir "") #TODO: need link paths for OpenCV_EXTRA_COMPONENTS
++set(libdir "\${prefix}/${OPENCV_LIB_INSTALL_PATH}")
+ set(includedir "\${prefix}/${OPENCV_INCLUDE_INSTALL_PATH}")
+
+ if(CMAKE_BUILD_TYPE MATCHES "Release")
+@@ -35,10 +35,11 @@
+ ocv_list_reverse(OpenCV_EXTRA_COMPONENTS)
+
+ #build the list of components
+-set(OpenCV_LIB_COMPONENTS_ "")
++set(OpenCV_LIB_COMPONENTS_ "-L\${libdir}")
+ foreach(CVLib ${OpenCV_LIB_COMPONENTS})
+ get_target_property(libpath ${CVLib} LOCATION_${CMAKE_BUILD_TYPE})
+ get_filename_component(libname "${libpath}" NAME)
++ get_filename_component(lname "${libpath}" NAME_WE)
+
+ if(INSTALL_TO_MANGLED_PATHS)
+ set(libname "${libname}.${OPENCV_VERSION}")
+@@ -51,7 +52,8 @@
+ set(installDir "${OPENCV_LIB_INSTALL_PATH}")
+ endif()
+
+- set(OpenCV_LIB_COMPONENTS_ "${OpenCV_LIB_COMPONENTS_} \${exec_prefix}/${installDir}/${libname}")
++ string(REPLACE "libopencv" "-lopencv" lname "${lname}")
++ set(OpenCV_LIB_COMPONENTS_ "${OpenCV_LIB_COMPONENTS_} ${lname}")
+ endforeach()
+
+ # add extra dependencies required for OpenCV
diff --git a/libre/opencv/x86_asmfix.patch b/libre/opencv/x86_asmfix.patch
new file mode 100644
index 000000000..789f65f9c
--- /dev/null
+++ b/libre/opencv/x86_asmfix.patch
@@ -0,0 +1,46 @@
+From ea50be0529c248961e1b66293f8a9e4b807294a6 Mon Sep 17 00:00:00 2001
+From: Samuel Martin <s.martin49@gmail.com>
+Date: Sun, 12 Oct 2014 10:17:23 +0200
+Subject: [PATCH] core: fix x86 PIC code compilation
+
+This bug was triggered by Buildroot autobuilders [1,2], causing this
+kind of failures [3,4]:
+
+ [ 14%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o
+ /home/test/autobuild/instance-0/output/build/opencv-2.4.10/modules/core/src/system.cpp: In function '(static initializers for /home/test/autobuild/instance-0/output/build/opencv-2.4.10/modules/core/src/system.cpp)':
+ /home/test/autobuild/instance-0/output/build/opencv-2.4.10/modules/core/src/system.cpp:280:10: error: inconsistent operand constraints in an 'asm'
+ make[3]: *** [modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o] Error 1
+
+[1] http://buildroot.org/
+[2] http://autobuild.buildroot.org/
+[3] http://autobuild.buildroot.org/?reason=opencv-2.4.10
+[4] http://autobuild.buildroot.org/results/483/4838285b25d6293a5cf0bb9eadd5040a7c75d766/build-end.log
+
+Signed-off-by: Samuel Martin <s.martin49@gmail.com>
+---
+ modules/core/src/system.cpp | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp
+index 5a970d5..e9ffdc7 100644
+--- a/modules/core/src/system.cpp
++++ b/modules/core/src/system.cpp
+@@ -267,14 +267,17 @@ struct HWFeatures
+ : "cc"
+ );
+ #else
++ // We need to preserve ebx since we are compiling PIC code.
++ // This means we cannot use "=b" for the 2nd output register.
+ asm volatile
+ (
+ "pushl %%ebx\n\t"
+ "movl $7,%%eax\n\t"
+ "movl $0,%%ecx\n\t"
+ "cpuid\n\t"
++ "movl %%ebx,%1\n\t"
+ "popl %%ebx\n\t"
+- : "=a"(cpuid_data[0]), "=b"(cpuid_data[1]), "=c"(cpuid_data[2]), "=d"(cpuid_data[3])
++ : "=a"(cpuid_data[0]), "=r"(cpuid_data[1]), "=c"(cpuid_data[2]), "=d"(cpuid_data[3])
+ :
+ : "cc"
+ );
diff --git a/libre/openttd/PKGBUILD b/libre/openttd/PKGBUILD
index ed984afa9..c465dffc4 100644
--- a/libre/openttd/PKGBUILD
+++ b/libre/openttd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 130965 2015-04-08 20:31:16Z lcarlier $
+# $Id: PKGBUILD 134823 2015-06-05 05:37:02Z lcarlier $
# Maintainer (Arch): Vesa Kaihlavirta <vegai@iki.fi>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=openttd
-pkgver=1.5.0
+pkgver=1.5.1
pkgrel=1.parabola1
pkgdesc='An engine for running Transport Tycoon Deluxe, without nonfree openttd-opensfx recommendation'
arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-f
install=openttd.install
optdepends=('openttd-opengfx: free graphics')
source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
-sha256sums=('cb2735c3c94709430c58eb4e8820cd5d26b1a17447c34ca8792bb3432a3f7c2d')
+sha256sums=('c98e76e57de213c8d2ccafa4fa2e02b91c031b2487639ccf9b85c725c1428f49')
build() {
cd ${pkgname}-${pkgver}
diff --git a/libre/parabola-keyring/PKGBUILD b/libre/parabola-keyring/PKGBUILD
index c1c8a25dc..6ee8d3411 100644
--- a/libre/parabola-keyring/PKGBUILD
+++ b/libre/parabola-keyring/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=parabola-keyring
-pkgver=20150529
-pkgrel=2
+pkgver=20150606
+pkgrel=1
pkgdesc='Parabola GNU/Linux-libre PGP keyring'
arch=('any')
url='https://projects.parabola.nu/hackers.git/'
@@ -13,10 +13,10 @@ source=("http://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz"
"http://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz.sig")
validpgpkeys=('C92BAA713B8D53D3CAE63FC9E6974752F9704456'
'49F707A1CB366C580E625B3C456032D717A4CD9C')
-sha512sums=('8c5d73683ada52fcf55dbd99517fb2babd776c64e75ec17009ce254ba91a9d8073a9b2c1ee5fce0e0eb6da652a6efa2a9b62ef3ed924fd9fa1c505ef8ab0546b'
- 'SKIP')
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr DESTDIR="${pkgdir}" install
}
+sha512sums=('9065814753e65723bfc24df3f3ba43216cca416f2057df93461cdfc3dda370ae6ce128e98a6f5fa2f14f9a8dad362fd1cab195c3512bf3c96fbc86d55532e47f'
+ 'SKIP')
diff --git a/libre/pngcrush/PKGBUILD b/libre/pngcrush/PKGBUILD
deleted file mode 100644
index 7b43aa0ff..000000000
--- a/libre/pngcrush/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=pngcrush
-pkgver=1.7.70
-pkgrel=1
-pkgdesc="A tool for optimizing the compression of PNG files"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://pmt.sourceforge.net/pngcrush/"
-license=('custom')
-depends=('libpng' 'zlib')
-source=(http://downloads.sourceforge.net/pmt/$pkgname-$pkgver-nolib.tar.xz)
-md5sums=('cd1619005f46f4032442bdc0e49d9212')
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver-nolib
- sed -n '10,17s/^\s*//p' cexcept.h > LICENSE.cexcept.txt
- sed -rn '97,142s/ \* ?//p' pngcrush.c > LICENSE.pngcrush.txt
- make
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver-nolib
- install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
- install -Dm644 LICENSE.cexcept.txt "$pkgdir"/usr/share/licenses/$pkgname/cexcept.txt
- install -Dm644 LICENSE.pngcrush.txt "$pkgdir"/usr/share/licenses/$pkgname/pngcrush.txt
-}
diff --git a/libre/povray/PKGBUILD b/libre/povray/PKGBUILD
index 0bcc2e65c..b15bcc3c2 100644
--- a/libre/povray/PKGBUILD
+++ b/libre/povray/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 131935 2015-04-22 10:18:29Z arodseth $
+# $Id: PKGBUILD 134935 2015-06-07 09:24:14Z arodseth $
# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
# Contributor (Arch): Tom Newsom <Jeepster@gmx.co.uk>
# Contributor (Arch): tobias <tobias@archlinux.org>
@@ -10,7 +10,7 @@
_pkgname=povray-libre
pkgname=povray
pkgver=3.7
-pkgrel=7.parabola1
+pkgrel=8.parabola1
epoch=1
pkgdesc='Script based raytracer for creating 3D graphics, without nonfree documentation'
arch=('x86_64' 'i686' 'mips64el')
@@ -25,8 +25,8 @@ backup=("etc/povray/$pkgver/povray.conf"
mksource=("$pkgname-$pkgver.zip::https://github.com/POV-Ray/$pkgname/archive/$pkgver-stable.zip")
source=("https://repo.parabola.nu/other/$_pkgname/$_pkgname-$pkgver.tar.xz"
'povray3.7.0_rc3-user-conf.patch')
-mksha256sums=('1261d963327a4b04c09d56bbd7436d0062e6bf8363674e3fb4e240beefb5b5cb')
-sha256sums=('ba2a867b8593689067143b23ebdccb8f8f46487244802d24d873517287b924f1'
+mksha256sums=('f30ab643ad694f32b916f183c3783e24cb4cc073bf58f2869dbffc02b603c968')
+sha256sums=('13be30ed28d47b3796de55263d0fca74edcbe990b08059c589dcc72540a179a7'
'95b04ec4973e6e8a80fc83df2e3caff0b4d6699c4154144f3017d42cab7236e0')
mksource() {
diff --git a/libre/spacefm/PKGBUILD b/libre/spacefm/PKGBUILD
index f7bd4207c..00d0b0e08 100644
--- a/libre/spacefm/PKGBUILD
+++ b/libre/spacefm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 133107 2015-05-09 18:23:35Z arojas $
+# $Id: PKGBUILD 134719 2015-06-03 22:17:41Z arojas $
# Maintainer (Arch): Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor (Arch): IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/
# Contributor (Arch): ridikulus_rat <the.ridikulus.rat@gmail.com>
@@ -6,7 +6,7 @@
# Contributor: Edison Ibañez <arkhan.xxx@gmail.com>
pkgname=spacefm
-pkgver=1.0.1
+pkgver=1.0.2
pkgrel=1.parabola1
pkgdesc='Multi-panel tabbed file manager, with unar support'
arch=('i686' 'x86_64' 'mips64el')
@@ -24,7 +24,7 @@ replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
source=($pkgname-$pkgver.tar.gz::https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz
libre.patch)
-md5sums=('3665b0cf08dcbebefcc832afc19d613e'
+md5sums=('cef34680fc5b76d8aefc1efa5e4b8824'
'66cc35023050ff6664bf14b1073700e2')
prepare() {
diff --git a/pcr/galera/PKGBUILD b/pcr/galera/PKGBUILD
index de023c24a..9b3d8f124 100644
--- a/pcr/galera/PKGBUILD
+++ b/pcr/galera/PKGBUILD
@@ -2,17 +2,23 @@
# Contributor: Nico Suarez <nicodoggie@gmail.com>
pkgname=galera
-pkgver=25.3.9
+pkgver=25.3.10
pkgrel=1
pkgdesc='Galera WSREP provider'
arch=('i686' 'x86_64' 'mips64el')
-license=('GPL2', 'custom:OpenSSL Linking Exception')
+license=('GPL2' 'custom:OpenSSL Linking Exception')
depends=('openssl')
-makedepends=('boost>=1.57' 'check' 'scons' 'patch')
+makedepends=('boost>=1.58' 'check' 'scons' 'patch')
url='http://www.codership.com'
options=('!libtool')
source=(https://github.com/codership/galera/archive/release_${pkgver}.tar.gz)
-md5sums=('d044c0ca6b6831c9a84683a5c0803000')
+sha512sums=('c08420b72e446c93645012ec04465c4cb65152bd3eaa840142fafdcb6945f76e77e2be00cf68930227656b78c25cd5ce36ebe823d6fcbcd320e6ae91b3b38a5c')
+
+prepare() {
+ cd "$pkgname-release_$pkgver"
+ # makes build fail on 25.3.10
+ sed "s/-Werror//g" -i SConstruct
+}
build(){
cd "$pkgname-release_$pkgver"
diff --git a/pcr/mariadb-galera/PKGBUILD b/pcr/mariadb-galera/PKGBUILD
index b569fa01a..db811db47 100644
--- a/pcr/mariadb-galera/PKGBUILD
+++ b/pcr/mariadb-galera/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id$
+# $Id: PKGBUILD 238754 2015-05-09 12:28:18Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
pkgbase=mariadb-galera
#pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb-galera')
pkgname='mariadb-galera'
-pkgver=10.0.16
+pkgver=10.0.19
_pkgver=${pkgver/.a/a}
pkgrel=1
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
license=('GPL')
url='https://mariadb.com/kb/en/galera/'
makedepends=('cmake' 'openssl' 'zlib' 'libaio' 'libxml2' 'openssl' 'pcre' 'jemalloc' 'galera')
-source=(http://ftp.wa.co.za/pub/mariadb/${pkgbase}-${pkgver}/source/${pkgbase}-${pkgver}.tar.gz
+source=(https://downloads.mariadb.org/interstitial/${pkgbase}-$pkgver/source/${pkgbase}-$pkgver.tar.gz
mariadb.service
mariadb-post.sh
mariadb-tmpfile.conf)
+sha512sums=('9acba0d851c8bdfe0b28e3ec3dc9a21a41c8f283322d73a3c05ac10b9e9400302b9e6fe47d0d5ef73307254af715bc3ed144acaa325ce6c78841ddd14ee754c7'
+ 'adab89d2978a9cc249ac56ce62cf4d23b98c0d693fe9f770912e44aef6425624552d8b51b5df226dfe325a6cc8f97f985b4dfd0b961abf08b1b6515b6a470aa2'
+ 'e20bd243d7d35bcefa802ea222b73b9451cb393fb17bdd2ba3ed2294853e54e06f176f6b6bf16a12f9dcb72b08499a3611712c99064ccbfd6b85b727b69e8ef6'
+ '04e7a1b4b1007d8c0a15285408834bf6a9b59fbce55e34fbc52857a90091c0b67c89d032e0ae8a6f990e726bad5a7f53106dff7ba41e09e5ba2ff343d00e486f')
prepare() {
- sed -i 's/_SVID_SOURCE/_DEFAULT_SOURCE/' \
- mariadb-$pkgver/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
+ :
+# sed -i 's/_SVID_SOURCE/_DEFAULT_SOURCE/' \
+# mariadb-$pkgver/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
}
build() {
@@ -123,7 +128,8 @@ package_mariadb-galera() {
pkgdesc='Fast SQL database server, drop-in replacement for MySQL with Galera replication'
backup=('etc/mysql/my.cnf')
install=mariadb.install
- depends=('mariadb-clients' 'inetutils' 'libaio' 'libxml2' 'pcre' 'galera' 'jemalloc')
+ depends=('mariadb-clients' 'inetutils' 'libaio' 'libxml2' 'pcre' 'galera' 'jemalloc'
+ 'lz4')
optdepends=('perl-dbd-mysql: for mysqlhotcopy, mysql_convert_table_format and mysql_setpermission')
conflicts=('mysql' 'mariadb')
provides=("mysql=$pkgver" "mariadb=$pkgver")
@@ -137,6 +143,9 @@ package_mariadb-galera() {
install -Dm644 ../mariadb.service "$pkgdir"/usr/lib/systemd/system/mysqld.service
install -Dm644 ../mariadb-tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/mysql.conf
+ install -dm700 var/lib/mysql
+ chown -R 89:89 var/lib/mysql &>/dev/null
+
# provided by libmariadbclient
cd "$pkgdir"
rm -f usr/bin/{mysql_config,mysql_client_test_embedded,mysqltest_embedded}
@@ -155,11 +164,3 @@ package_mariadb-galera() {
rm -f -r usr/{data,mysql-test,sql-bench}
rm -f usr/share/man/man1/mysql-test-run.pl.1
}
-md5sums=('eaf628a5d4edba6a3e84c66403ebdde9'
- 'd488fffa9f62f9949c4aa1bb6e6db692'
- 'b79e65a5aa536e6b5bc60988eb0b78a2'
- '2fa6e456964d4ff5e6d4f9ff0126aed6')
-md5sums=('b3110fd96e44c5ced9f71251e2f19e0b'
- 'd488fffa9f62f9949c4aa1bb6e6db692'
- 'b79e65a5aa536e6b5bc60988eb0b78a2'
- '2fa6e456964d4ff5e6d4f9ff0126aed6')
diff --git a/pcr/mariadb-galera/mariadb.install b/pcr/mariadb-galera/mariadb.install
index 68bcc14e4..1ca233beb 100644
--- a/pcr/mariadb-galera/mariadb.install
+++ b/pcr/mariadb-galera/mariadb.install
@@ -1,17 +1,10 @@
-if [[ $(command -v my_print_defaults >/dev/null 2>&1) ]]; then
- datadir=$(my_print_defaults mysqld | sed -n "s/^--datadir=//p")
-fi
-[[ -z $datadir ]] && datadir=/var/lib/mysql
-
post_install(){
groupadd -g 89 mysql &>/dev/null
- useradd -u 89 -g mysql -d $datadir -s /bin/false mysql &>/dev/null
+ useradd -u 89 -g mysql -d /var/lib/mysql -s /bin/false mysql &>/dev/null
- if [[ ! -e $datadir ]]; then
- install -dm700 $datadir
- usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=$datadir
- chown -R mysql:mysql var/lib/mysql &>/dev/null
- fi
+ echo ":: You need to initialize the MariaDB data directory prior to starting"
+ echo " the service. This can be done with mysql_install_db command, e.g.:"
+ echo " mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql"
usr/bin/systemd-tmpfiles --create mysql.conf
@@ -23,11 +16,12 @@ https://mariadb.com/kb/en/mariadb/documentation/replication/galera/getting-start
post_upgrade(){
getent group mysql >/dev/null 2>&1 || groupadd -g 89 mysql &>/dev/null
- getent passwd mysql >/dev/null 2>&1 || useradd -u 89 -g mysql -d $datadir -s /bin/false mysql &>/dev/null
+ getent passwd mysql >/dev/null 2>&1 || useradd -u 89 -g mysql -d /var/lib/mysql \
+ -s /bin/false mysql &>/dev/null
if [[ "$(vercmp $2 5.5.25-4)" -lt 0 ]] && [[ -d /data ]]; then
for x in data/*; do
- cp -r $x $datadir/
+ cp -r $x var/lib/mysql
done
rm -rf data
fi
@@ -42,13 +36,3 @@ post_upgrade(){
echo " running mysql_upgrade afterwards."
fi
}
-
-post_remove(){
- if getent passwd mysql >/dev/null 2>&1; then
- userdel mysql
- fi
-
- if getent group mysql >/dev/null 2>&1; then
- groupdel mysql
- fi
-}
diff --git a/pcr/renpy/PKGBUILD b/pcr/renpy/PKGBUILD
deleted file mode 100644
index 4cfbbb1fa..000000000
--- a/pcr/renpy/PKGBUILD
+++ /dev/null
@@ -1,77 +0,0 @@
-# Maintainer (Arch): AlexanderR <rvacheva at nxt dot ru>
-# Contributor (Arch): zhn <zhangn1985 AT gmail com>
-# Maintainer: Márcio Silva <coadde@parabola.nu>
-
-pkgbase=renpy
-pkgname=($pkgbase python2-$pkgbase)
-pkgver=6.18.3
-pkgrel=1
-pkgdesc="Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell stories with the computer. This package contains both player and development tools"
-arch=('i686' 'x86_64' 'mips64el')
-license=MIT
-url="http://www.$pkgbase.org/"
-depends=('ttf-dejavu')
-makedepends=('cython' 'ffmpeg' 'freetype2>=2.5.1' 'fribidi' 'glew' 'python2>=2.7' 'python2-pygame>=1.9.1')
-conflicts=("${pkgbase}64" "$pkgbase-bin")
-replaces=("${pkgbase}64")
-source=("http://www.$pkgbase.org/dl/$pkgver/$pkgbase-$pkgver-source.tar.bz2"
- "$pkgbase.desktop" "$pkgbase."{sh,csh} "$pkgbase-launcher.sh")
-sha512sums=('7ea99adaf1fbea7a499790fb5b37349fc797f383fb633956a43955c80885b259e26570469c430f4c4c103e62444f60082690489ee6400809f5e9024693261e55'
- '1af85c7a0c10662bfa4c03611fed695325f5953ac0f2c913f5342b1dca22b22115f07e69d646d92a3b95f5b896283e9b1bc7fe3e0a338536b5d9d48beedae8d5'
- '2a9302adbc6ff45e048d42487ac86e7501f90b2d393933af5d39d663a0b3707f795a04f65598e356a64809dfa0175a4ad860b355e5337ee149692c21caf339df'
- 'bcb3152a88d5f913a99855e9d6fa5d0019e310ba9d55a6288d2d8b60cb6c9ab3ddf8c772dfd23a2851d52479adc2a16bd3ffe25ff7fb50d222ec1f55eaa48b09'
- '727f9f16e1cff76c279d6e1578572a92c7b21ec34c6cb2841a04ac7b5cf6d2836487293744a9541993ee2e3a8dae927feb4e78f1afd01a748f5489090453cdd7')
-
-export CPPFLAGS="$CPPFLAGS $(pkg-config freetype2 --cflags) $(pkg-config glib-2.0 --cflags)"
-
-prepare() {
- cd $srcdir/$pkgbase-$pkgver-source
-
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgbase.py module/setup.py
-
- msg 'fonts are provided by ttf-dejavu'
- cd $pkgname
- rm -v common/DejaVuSans.ttf common/DejaVuSans.txt
-}
-
-build() {
- cd $srcdir/$pkgbase-$pkgver-source
- python2 module/setup.py build
-}
-
-package_renpy() {
- depends+=("python2-$pkgbase=$pkgver")
- arch=('any')
- install=$pkgbase.install
-
- cd $pkgbase-$pkgver-source
-
- install -vd $pkgdir/{usr/share/{$pkgbase,doc/$pkgbase},etc/profile.d}
- install -vm755 $srcdir/$pkgbase.{sh,csh} $pkgdir/etc/profile.d
- install -vDm755 $srcdir/$pkgbase-launcher.sh $pkgdir/usr/bin/$pkgbase
- install -vDm644 $srcdir/$pkgbase.desktop $pkgdir/usr/share/applications/$pkgbase.desktop
-
- cp -va launcher $pkgbase{,.py} templates the_question tutorial $pkgdir/usr/share/$pkgbase
- ln -vs $pkgbase/common $pkgdir/usr/share/$pkgbase/common
- cp -va doc/* $pkgdir/usr/share/doc/$pkgbase
-
- install -vDm644 launcher/game/images/logo.png $pkgdir/usr/share/pixmaps/$pkgbase.png
- install -vDm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgbase/LICENSE
-
- chgrp -vR games $pkgdir/usr/share/$pkgbase/{the_question,tutorial}
- chmod -vR g+w $pkgdir/usr/share/$pkgbase/{the_question,tutorial}
-}
-
-package_python2-renpy() {
- pkgdesc="Platform-dependant Ren'Py libraries"
- depends=('ffmpeg' 'freetype2>=2.5.1' 'fribidi' 'glew' 'python2-pygame>=1.9.1')
- provides=("python-$pkgbase=$pkgver")
- conflicts=("python-$pkgbase")
- replaces=("python-$pkgbase")
-
- cd $pkgbase-$pkgver-source
-
- msg "install $pkgname"
- python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1
- install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
diff --git a/pcr/renpy/renpy-launcher.sh b/pcr/renpy/renpy-launcher.sh
deleted file mode 100644
index 605c0c1fd..000000000
--- a/pcr/renpy/renpy-launcher.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env sh
-mkdir -p ~/renpy_projects
-cd ~/renpy_projects
-exec env python2 -OO /usr/share/renpy/renpy.py "$@"
diff --git a/pcr/renpy/renpy.csh b/pcr/renpy/renpy.csh
deleted file mode 100644
index 71269b48c..000000000
--- a/pcr/renpy/renpy.csh
+++ /dev/null
@@ -1 +0,0 @@
-setenv RENPY_BASE /usr/share/renpy/
diff --git a/pcr/renpy/renpy.desktop b/pcr/renpy/renpy.desktop
deleted file mode 100644
index 5cd64ea94..000000000
--- a/pcr/renpy/renpy.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=Ren'Py
-GenericName= renpy
-GenericName[fr]= renpy
-Comment=A programming language and runtime, intended to ease the creation of visual-novel type games.
-Comment[fr]=Un langage de programmation et un exécutable conçus pour faciliter la création de jeux de type "visual-novel"
-Icon=renpy.png
-Exec=renpy
-Categories=Game;AdventureGame;
-
diff --git a/pcr/renpy/renpy.install b/pcr/renpy/renpy.install
deleted file mode 100644
index bfe161cdb..000000000
--- a/pcr/renpy/renpy.install
+++ /dev/null
@@ -1,21 +0,0 @@
-post_install() {
- ln -vsf /usr/share/doc/renpy /usr/share/renpy/doc
-
- cat << EOF
-This package sets global environment variable RENPY_BASE, forcing all RenPy
-games, including incompatible ones, to use system-wide interpreter. Undefine
-this variable to launch games, you downloaded somewhere, with their built-in
-versions of interpreter.
-
-To run two example games: The Question and RenPy Tutorial you should be
-member of "games" group.
-EOF
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- rm -v /usr/share/renpy/doc
-}
diff --git a/pcr/renpy/renpy.sh b/pcr/renpy/renpy.sh
deleted file mode 100644
index 32b2e6d29..000000000
--- a/pcr/renpy/renpy.sh
+++ /dev/null
@@ -1 +0,0 @@
-export RENPY_BASE=/usr/share/renpy/
diff --git a/pcr/ruby-yard/PKGBUILD b/pcr/ruby-yard/PKGBUILD
index ffa8f9e9a..958f80e46 100644
--- a/pcr/ruby-yard/PKGBUILD
+++ b/pcr/ruby-yard/PKGBUILD
@@ -1,25 +1,24 @@
-# Contributor (Arch): Jerome Leclanche <jerome@leclan.ch>
-# Contributor (Arch): Matt Harrison <matt at mistbyte dot com>
-# Contributor (Arch): Renzo Carbonara <gnuk0001@gmail.com>
-# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>
+# Maintainer (Arch): Jerome Leclanche <jerome@leclan.ch>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_gemname=yard
pkgname=ruby-$_gemname
-pkgver=0.8.7.4
+pkgver=0.8.7.6
pkgrel=1
pkgdesc="Documentation tool for consistent and usable documentation in Ruby."
-arch=('any')
+arch=("any")
url="http://yardoc.org"
-license=('MIT')
-depends=('ruby')
-makedepends=('rubygems')
+license=("MIT")
+depends=("ruby")
+makedepends=("rubygems")
source=("http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem")
noextract=("$_gemname-$pkgver.gem")
-sha256sums=('e65a26f9b9dc6e2aa9b1d1d2e1a45bee3edf540a6a7e6c30fa6aa1df7f7a29b4')
+sha256sums=("3da10884b94fa25b7476f619b1d2cfb61290e10673965c545975630cd88a46b6")
+
package() {
cd "$srcdir"
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _gemdir="$(ruby -rubygems -e"puts Gem.default_dir")"
gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem"
install -D "$pkgdir$_gemdir/gems/${_gemname}-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
diff --git a/pcr/webp-npapi/PKGBUILD b/pcr/webp-npapi/PKGBUILD
new file mode 100644
index 000000000..9e11ddc87
--- /dev/null
+++ b/pcr/webp-npapi/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Márcio Silva <coadde@parabola.nu>
+
+pkgname=webp-npapi
+pkgver=1.0.0.0
+pkgrel=1
+pkgdesc="A WebP plugin for NPAPI-compliant browsers on GNU/Linux"
+arch=('i686' 'x86_64' 'mips64el')
+url="https://code.google.com/p/webp-npapi-linux/"
+license=('APACHE')
+depends=('libwebp')
+makedepends=('subversion' 'gtk2')
+source=('webp-npapi::svn+https://webp-npapi-linux.googlecode.com/svn/trunk/'
+ 'ftp://gnu.mirror.iweb.com/icecat/4.0/icecat-4.0.tar.xz')
+md5sums=('SKIP'
+ '04548bfd70e6a66cd75cdb1f1fc81eb4')
+options=('!makeflags')
+
+prepare() {
+ cd "$srcdir/webp-npapi"
+ sed -i 's|[.][.][/][.][.][/]include[/]|../icecat-4.0/modules/plugin/base/public/|g;
+ ' webp-npapi.h \
+ CPlugin.h
+}
+
+build() {
+ cd "$srcdir/webp-npapi"
+ make all
+}
+
+package() {
+ cd "$srcdir/webp-npapi"
+ install -d "$pkgdir/usr/lib/mozilla/plugins/"
+ install -m644 *.so "$pkgdir/usr/lib/mozilla/plugins/"
+}