From d08467e9f8a0d3a27d7e6880a8607ee37fe6f478 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 14 Dec 2018 11:54:46 +0100 Subject: community/teeworlds: fix in packaging for 32-bit --- community/teeworlds/PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 community/teeworlds/PKGBUILD (limited to 'community') diff --git a/community/teeworlds/PKGBUILD b/community/teeworlds/PKGBUILD new file mode 100644 index 00000000..2dc03c3f --- /dev/null +++ b/community/teeworlds/PKGBUILD @@ -0,0 +1,6 @@ +eval "$( + declare -f package | \ + sed ' + s@x86_64@x86@g + ' +)" -- cgit v1.2.3-70-g09d2 From 55b4da9f6f7d3b2605aedc390593bd97eef87ae0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 20 Dec 2018 12:59:36 +0100 Subject: community/eclipse: source -> source_i686 --- community/eclipse/PKGBUILD | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'community') diff --git a/community/eclipse/PKGBUILD b/community/eclipse/PKGBUILD index c1a4a6db..5da20b19 100644 --- a/community/eclipse/PKGBUILD +++ b/community/eclipse/PKGBUILD @@ -1,9 +1,9 @@ # we want the i686 binaries! -source=("${source[@]/-x86_64/}") -sha256sums=('70ae1934385b0b7c25e5a76bfcd6d092bfd8d19ce451c3d909afa3cf2448452e' - 'c33337a1740a84aabec3bd256f4256c8693ab0d1f755c120614bd28ae354f326' - '6e7b70d73cfe8e7f565465149ddb7d1b4854cba9f3281d370e54c12b1449272d' - '87ebe3451291a3152eb21bd588ae1ebb06538b62b5f3c5fabec2600accb8adea' - '59eb59fd362e4daa0b17bb87a2fbb1019dfb86be1546f398055f491c6303476b' - '09db32c2d958e357b3a959a6860240f3e1eb40f7ffa1815f31661f7f117dd980' - 'c7c40966c6cecb719f43487476a52e84f86f680fc34d3be7ae535e03be212b4f') +source_i686=("${source_x86_64[@]/-x86_64/}") +sha256sums_i686=('70ae1934385b0b7c25e5a76bfcd6d092bfd8d19ce451c3d909afa3cf2448452e' + 'c33337a1740a84aabec3bd256f4256c8693ab0d1f755c120614bd28ae354f326' + '6e7b70d73cfe8e7f565465149ddb7d1b4854cba9f3281d370e54c12b1449272d' + '87ebe3451291a3152eb21bd588ae1ebb06538b62b5f3c5fabec2600accb8adea' + '59eb59fd362e4daa0b17bb87a2fbb1019dfb86be1546f398055f491c6303476b' + '09db32c2d958e357b3a959a6860240f3e1eb40f7ffa1815f31661f7f117dd980' + 'c7c40966c6cecb719f43487476a52e84f86f680fc34d3be7ae535e03be212b4f') -- cgit v1.2.3-70-g09d2 From 4d9c73f4367e89020aa242b377b9c2d77ffc7d52 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 21 Dec 2018 11:46:18 +0100 Subject: community/electron2: add fixes from electron --- community/electron2/PKGBUILD | 16 ++++++++++++++++ community/electron2/allow-i686.patch | 14 ++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 community/electron2/PKGBUILD create mode 100644 community/electron2/allow-i686.patch (limited to 'community') diff --git a/community/electron2/PKGBUILD b/community/electron2/PKGBUILD new file mode 100644 index 00000000..4f1a6f90 --- /dev/null +++ b/community/electron2/PKGBUILD @@ -0,0 +1,16 @@ +source+=('allow-i686.patch') +sha512sums+=('bce6716f88c0ed7acc72f90ef62f7c4a28b88e98d7fc8dcb6abf545eb6ab7de11e06191618490ed83e7b38b08489063357682ebb909dc952e21cb6dd7b6ddb38') + +eval "$( + declare -f prepare | \ + sed ' + 3 a patch -Np1 -i "${srcdir}"/allow-i686.patch + /^}$/ i \ + find "${srcdir}" \\( '"-name '*.a' -o -name '*.o'"' \\) -delete + ' + declare -f build | \ + sed ' + s,/bootstrap.py ,\0--target_arch=ia32 , + s/-t x64/-t ia32/g + ' +)" diff --git a/community/electron2/allow-i686.patch b/community/electron2/allow-i686.patch new file mode 100644 index 00000000..154ab9bc --- /dev/null +++ b/community/electron2/allow-i686.patch @@ -0,0 +1,14 @@ +--- a/script/update.py ++++ b/script/update.py +@@ -15,11 +15,6 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) + + def main(): + os.chdir(SOURCE_ROOT) +- +- if PLATFORM != 'win32' and platform.architecture()[0] != '64bit': +- print 'Electron is required to be built on a 64bit machine' +- return 1 +- + update_external_binaries() + return update_gyp() + -- cgit v1.2.3-70-g09d2 From 16e6d5d899763d00b54c38baaf7b3e9cf12da755 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 21 Dec 2018 20:10:13 +0100 Subject: community/calibre: add CI=true to disable failing Bonjour testing --- community/calibre/PKGBUILD | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 community/calibre/PKGBUILD (limited to 'community') diff --git a/community/calibre/PKGBUILD b/community/calibre/PKGBUILD new file mode 100644 index 00000000..add1c241 --- /dev/null +++ b/community/calibre/PKGBUILD @@ -0,0 +1,7 @@ +# disable Bonjour testing on build slaves +eval "$( + declare -f check | \ + sed ' + s/.*setup.py test/CI=true &/g + ' +)" -- cgit v1.2.3-70-g09d2 From cc419339d78ddc4c1471e92faf6aff91cfe9f7a6 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 27 Dec 2018 15:10:10 +0100 Subject: community/dovecot: added patch for passing tests --- community/dovecot/PKGBUILD | 3 ++ community/dovecot/dovecot-2.3.4-PRIu64.patch | 68 ++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 community/dovecot/PKGBUILD create mode 100644 community/dovecot/dovecot-2.3.4-PRIu64.patch (limited to 'community') diff --git a/community/dovecot/PKGBUILD b/community/dovecot/PKGBUILD new file mode 100644 index 00000000..6a41fea4 --- /dev/null +++ b/community/dovecot/PKGBUILD @@ -0,0 +1,3 @@ +# PRI64 instead of lu in sprintfs in tests, already fixed upstream in git +source+=(dovecot-2.3.4-PRIu64.patch) +sha256sums+=('699ddd451d7f75a89797f05b910ae81e8cfc0098e11a80e83f3b440894633819') diff --git a/community/dovecot/dovecot-2.3.4-PRIu64.patch b/community/dovecot/dovecot-2.3.4-PRIu64.patch new file mode 100644 index 00000000..df85df47 --- /dev/null +++ b/community/dovecot/dovecot-2.3.4-PRIu64.patch @@ -0,0 +1,68 @@ +diff -rauN dovecot-2.3.4/src/lib-master/test-event-stats.c dovecot-2.3.4-PRIu64-patch/src/lib-master/test-event-stats.c +--- dovecot-2.3.4/src/lib-master/test-event-stats.c 2018-11-23 12:06:49.000000000 +0100 ++++ dovecot-2.3.4-PRIu64-patch/src/lib-master/test-event-stats.c 2018-12-27 14:35:51.846548380 +0100 +@@ -360,7 +360,7 @@ + event_unref(&child_ev); + test_assert( + compare_test_stats_to( +- "EVENT %lu 1 0 0" ++ "EVENT %"PRIu64" 1 0 0" + " stest-event-stats.c %d" + " l0 0 ctest2\n", id, l)); + test_end(); +@@ -386,12 +386,12 @@ + event_unref(&child_ev); + test_assert( + compare_test_stats_to( +- "BEGIN %lu 0 1 0 0" ++ "BEGIN %"PRIu64" 0 1 0 0" + " stest-event-stats.c %d ctest1\n" +- "EVENT %lu 1 1 0" ++ "EVENT %"PRIu64" 1 1 0" + " stest-event-stats.c %d" + " l1 0 ctest2\n" +- "END\t%lu\n", idp, lp, idp, l, idp)); ++ "END\t%"PRIu64"\n", idp, lp, idp, l, idp)); + test_end(); + } + +@@ -451,7 +451,7 @@ + event_unref(&merge_ev2); + test_assert( + compare_test_stats_to( +- "EVENT %lu 1 0 0" ++ "EVENT %"PRIu64" 1 0 0" + " stest-event-stats.c %d l0 0" + " ctest3 ctest2 ctest1 Tkey3" + " 10 0 Ikey2 20" +@@ -483,11 +483,11 @@ + event_unref(&child_ev); + test_assert( + compare_test_stats_to( +- "BEGIN %lu 0 1 0 0" ++ "BEGIN %"PRIu64" 0 1 0 0" + " stest-event-stats.c %d ctest1\n" +- "EVENT %lu 1 3 0 " ++ "EVENT %"PRIu64" 1 3 0 " + "stest-event-stats.c %d l3 0" +- " ctest2\nEND\t%lu\n", id, lp, id, l, id)); ++ " ctest2\nEND\t%"PRIu64"\n", id, lp, id, l, id)); + test_end(); + } + +@@ -525,12 +525,12 @@ + event_unref(&child2_ev); + test_assert( + compare_test_stats_to( +- "BEGIN %lu 0 1 0 0" ++ "BEGIN %"PRIu64" 0 1 0 0" + " stest-event-stats.c %d ctest1\n" +- "EVENT %lu 1 3 0 " ++ "EVENT %"PRIu64" 1 3 0 " + "stest-event-stats.c %d l3 0 " + "ctest4 ctest5 Tkey3 10 0 Skey4" +- " str4\nEND\t%lu\n", id, lp, id, l, id)); ++ " str4\nEND\t%"PRIu64"\n", id, lp, id, l, id)); + test_end(); + } + -- cgit v1.2.3-70-g09d2