From 013aa123f33c828e0014f87895c96f9f048cf0f2 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Tue, 8 Mar 2022 04:39:53 +0000 Subject: Tue Mar 8 04:39:53 UTC 2022 patches/packages/boost-1.78.0-x86_64-2_slack15.0.txz: Rebuilt. This update has been patched to fix a regression: Boost.Build silently skips installation of library headers and binaries in some cases. Thanks to Willy Sudiarto Raharjo. --- ChangeLog.rss | 19 +- ChangeLog.txt | 7 + FILELIST.TXT | 80 +++++---- .../packages/boost-1.78.0-x86_64-2_slack15.0.txt | 11 ++ patches/source/boost/0001-b2-fix-install.patch | 80 +++++++++ patches/source/boost/boost.SlackBuild | 199 +++++++++++++++++++++ patches/source/boost/slack-desc | 19 ++ recompress.sh | 1 + 8 files changed, 378 insertions(+), 38 deletions(-) create mode 100644 patches/packages/boost-1.78.0-x86_64-2_slack15.0.txt create mode 100644 patches/source/boost/0001-b2-fix-install.patch create mode 100755 patches/source/boost/boost.SlackBuild create mode 100644 patches/source/boost/slack-desc diff --git a/ChangeLog.rss b/ChangeLog.rss index 51975bdf8..a62a03dd0 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,9 +11,24 @@ Tracking Slackware development in git. en-us urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f - Tue, 8 Mar 2022 00:52:43 GMT - Tue, 8 Mar 2022 12:29:45 GMT + Tue, 8 Mar 2022 04:39:53 GMT + Wed, 9 Mar 2022 12:29:48 GMT maintain_current_git.sh v 1.17 + + Tue, 8 Mar 2022 04:39:53 GMT + Tue, 8 Mar 2022 04:39:53 GMT + https://git.slackware.nl/current/tag/?h=20220308043953 + 20220308043953 + + +patches/packages/boost-1.78.0-x86_64-2_slack15.0.txz: Rebuilt. + This update has been patched to fix a regression: + Boost.Build silently skips installation of library headers and binaries in + some cases. + Thanks to Willy Sudiarto Raharjo. + ]]> + + Tue, 8 Mar 2022 00:52:43 GMT Tue, 8 Mar 2022 00:52:43 GMT diff --git a/ChangeLog.txt b/ChangeLog.txt index cb0630d2b..f1579ab2e 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,10 @@ +Tue Mar 8 04:39:53 UTC 2022 +patches/packages/boost-1.78.0-x86_64-2_slack15.0.txz: Rebuilt. + This update has been patched to fix a regression: + Boost.Build silently skips installation of library headers and binaries in + some cases. + Thanks to Willy Sudiarto Raharjo. ++--------------------------+ Tue Mar 8 00:52:43 UTC 2022 patches/packages/mozilla-firefox-91.7.0esr-x86_64-1_slack15.0.txz: Upgraded. This release contains security fixes and improvements. diff --git a/FILELIST.TXT b/FILELIST.TXT index 1f439f81e..985ddac8f 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Tue Mar 8 00:55:59 UTC 2022 +Tue Mar 8 04:42:15 UTC 2022 Here is the file list for this directory. If you are using a mirror site and find missing or extra files in the disk subdirectories, please have the archive administrator refresh the mirror. -drwxr-xr-x 12 root root 4096 2022-03-08 00:52 . +drwxr-xr-x 12 root root 4096 2022-03-08 04:39 . -rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0 -rw-r--r-- 1 root root 16617 2022-02-02 23:27 ./CHANGES_AND_HINTS.TXT --rw-r--r-- 1 root root 1113699 2022-03-05 20:03 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-03-05 20:03 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1113699 2022-03-08 00:56 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-03-08 00:56 ./CHECKSUMS.md5.asc -rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING -rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3 -rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT -rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT --rw-r--r-- 1 root root 1873463 2022-03-08 00:52 ./ChangeLog.txt +-rw-r--r-- 1 root root 1873764 2022-03-08 04:39 ./ChangeLog.txt drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT -rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi @@ -25,7 +25,7 @@ drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT -rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh -rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg -rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg --rw-r--r-- 1 root root 1453278 2022-03-05 20:03 ./FILELIST.TXT +-rw-r--r-- 1 root root 1453278 2022-03-08 00:55 ./FILELIST.TXT -rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY -rw-r--r-- 1 root root 864745 2022-02-02 08:25 ./PACKAGES.TXT -rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT @@ -737,19 +737,22 @@ drwxr-xr-x 2 root root 4096 2008-05-07 05:21 ./pasture/source/php/pear -rwxr-xr-x 1 root root 9448 2018-05-16 22:38 ./pasture/source/php/php.SlackBuild -rw-r--r-- 1 root root 775 2017-07-07 19:25 ./pasture/source/php/php.ini-development.diff.gz -rw-r--r-- 1 root root 830 2005-12-09 05:18 ./pasture/source/php/slack-desc -drwxr-xr-x 4 root root 4096 2022-03-08 00:55 ./patches --rw-r--r-- 1 root root 14589 2022-03-08 00:55 ./patches/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-03-08 00:55 ./patches/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 19765 2022-03-08 00:55 ./patches/FILE_LIST --rw-r--r-- 1 root root 6852050 2022-03-08 00:55 ./patches/MANIFEST.bz2 --rw-r--r-- 1 root root 7658 2022-03-08 00:55 ./patches/PACKAGES.TXT -drwxr-xr-x 2 root root 4096 2022-03-08 00:55 ./patches/packages +drwxr-xr-x 4 root root 4096 2022-03-08 04:42 ./patches +-rw-r--r-- 1 root root 15109 2022-03-08 04:42 ./patches/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-03-08 04:42 ./patches/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 20470 2022-03-08 04:42 ./patches/FILE_LIST +-rw-r--r-- 1 root root 7519782 2022-03-08 04:42 ./patches/MANIFEST.bz2 +-rw-r--r-- 1 root root 8269 2022-03-08 04:42 ./patches/PACKAGES.TXT +drwxr-xr-x 2 root root 4096 2022-03-08 04:42 ./patches/packages -rw-r--r-- 1 root root 327 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txt -rw-r--r-- 1 root root 10716 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz.asc -rw-r--r-- 1 root root 326 2022-02-07 18:56 ./patches/packages/at-3.2.3-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 43124 2022-02-07 18:56 ./patches/packages/at-3.2.3-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-07 18:56 ./patches/packages/at-3.2.3-x86_64-1_slack15.0.txz.asc +-rw-r--r-- 1 root root 432 2022-03-08 02:17 ./patches/packages/boost-1.78.0-x86_64-2_slack15.0.txt +-rw-r--r-- 1 root root 11235356 2022-03-08 02:17 ./patches/packages/boost-1.78.0-x86_64-2_slack15.0.txz +-rw-r--r-- 1 root root 163 2022-03-08 02:17 ./patches/packages/boost-1.78.0-x86_64-2_slack15.0.txz.asc -rw-r--r-- 1 root root 373 2022-02-24 19:12 ./patches/packages/cyrus-sasl-2.1.28-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 993108 2022-02-24 19:12 ./patches/packages/cyrus-sasl-2.1.28-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-24 19:12 ./patches/packages/cyrus-sasl-2.1.28-x86_64-1_slack15.0.txz.asc @@ -783,7 +786,7 @@ drwxr-xr-x 2 root root 4096 2022-03-08 00:55 ./patches/packages -rw-r--r-- 1 root root 354 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 2805300 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz.asc -drwxr-xr-x 15 root root 4096 2022-03-08 00:51 ./patches/source +drwxr-xr-x 16 root root 4096 2022-03-08 04:37 ./patches/source drwxr-xr-x 2 root root 4096 2022-01-16 05:07 ./patches/source/aaa_base -rw-r--r-- 1 root root 11041 2022-02-15 04:49 ./patches/source/aaa_base/_aaa_base.tar.gz -rwxr-xr-x 1 root root 3894 2022-02-15 05:07 ./patches/source/aaa_base/aaa_base.SlackBuild @@ -799,6 +802,11 @@ drwxr-xr-x 2 root root 4096 2022-02-07 18:45 ./patches/source/at -rw-r--r-- 1 root root 428 2018-06-13 02:51 ./patches/source/at/doinst.sh.gz -rw-r--r-- 1 root root 669 2018-06-14 18:38 ./patches/source/at/rc.atd -rw-r--r-- 1 root root 776 2019-10-17 17:50 ./patches/source/at/slack-desc +drwxr-xr-x 2 root root 4096 2022-03-08 01:58 ./patches/source/boost +-rw-r--r-- 1 root root 1181 2021-12-12 02:01 ./patches/source/boost/0001-b2-fix-install.patch.gz +-rwxr-xr-x 1 root root 5995 2022-03-08 01:59 ./patches/source/boost/boost.SlackBuild +-rw-r--r-- 1 root root 91192426 2021-12-02 07:20 ./patches/source/boost/boost_1_78_0.tar.lz +-rw-r--r-- 1 root root 885 2021-04-17 17:57 ./patches/source/boost/slack-desc drwxr-xr-x 2 root root 4096 2022-02-24 19:09 ./patches/source/cyrus-sasl -rw-r--r-- 1 root root 1577929 2022-02-22 18:04 ./patches/source/cyrus-sasl/cyrus-sasl-2.1.28.tar.lz -rwxr-xr-x 1 root root 4575 2022-02-24 19:11 ./patches/source/cyrus-sasl/cyrus-sasl.SlackBuild @@ -2724,13 +2732,13 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde -rw-r--r-- 1 root root 107320 2022-01-06 22:08 ./slackware64/kde/libkomparediff2-21.12.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-06 22:08 ./slackware64/kde/libkomparediff2-21.12.1-x86_64-1.txz.asc -rw-r--r-- 1 root root 204 2022-01-06 21:57 ./slackware64/kde/libksane-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 195484 2022-01-06 21:57 ./slackware64/kde/libksane-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 21:57 ./slackware64/kde/libksane-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 301 2022-01-04 21:39 ./slackware64/kde/libkscreen-5.23.5-x86_64-1.txt --rw-r--r-- 1 root root 226840 2022-01-04 21:39 ./slackware64/kde/libkscreen-5.23.5-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-04 21:39 ./slackware64/kde/libkscreen-5.23.5-x86_64-1.txz.asc --rw-r--r-- 1 root root 221 2022-01-06 21:42 ./slackware64/kde/libksieve-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 768804 2022-01-06 21:42 ./slackware64/kde/libksieve-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 195484 2022-01-06 21:57 ./slackware64/kde/libksane-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 21:57 ./slackware64/kde/libksane-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 301 2022-01-04 21:39 ./slackware64/kde/libkscreen-5.23.5-x86_64-1.txt +-rw-r--r-- 1 root root 226840 2022-01-04 21:39 ./slackware64/kde/libkscreen-5.23.5-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-04 21:39 ./slackware64/kde/libkscreen-5.23.5-x86_64-1.txz.asc +-rw-r--r-- 1 root root 221 2022-01-06 21:42 ./slackware64/kde/libksieve-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 768804 2022-01-06 21:42 ./slackware64/kde/libksieve-21.12.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-06 21:42 ./slackware64/kde/libksieve-21.12.1-x86_64-1.txz.asc -rw-r--r-- 1 root root 277 2022-01-04 21:36 ./slackware64/kde/libksysguard-5.23.5-x86_64-1.txt -rw-r--r-- 1 root root 953744 2022-01-04 21:36 ./slackware64/kde/libksysguard-5.23.5-x86_64-1.txz @@ -5484,12 +5492,12 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x -rw-r--r-- 1 root root 730776 2021-12-26 22:51 ./slackware64/x/xorg-server-xvfb-1.20.14-x86_64-2.txz -rw-r--r-- 1 root root 163 2021-12-26 22:51 ./slackware64/x/xorg-server-xvfb-1.20.14-x86_64-2.txz.asc -rw-r--r-- 1 root root 816 2021-12-15 03:54 ./slackware64/x/xorg-server-xwayland-21.1.4-x86_64-1.txt --rw-r--r-- 1 root root 816308 2021-12-15 03:54 ./slackware64/x/xorg-server-xwayland-21.1.4-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-12-15 03:54 ./slackware64/x/xorg-server-xwayland-21.1.4-x86_64-1.txz.asc --rw-r--r-- 1 root root 669 2021-02-13 13:14 ./slackware64/x/xorg-sgml-doctools-1.11-x86_64-5.txt --rw-r--r-- 1 root root 24112 2021-02-13 13:14 ./slackware64/x/xorg-sgml-doctools-1.11-x86_64-5.txz --rw-r--r-- 1 root root 163 2021-02-13 13:14 ./slackware64/x/xorg-sgml-doctools-1.11-x86_64-5.txz.asc --rw-r--r-- 1 root root 332 2021-09-20 18:28 ./slackware64/x/xorgproto-2021.5-x86_64-1.txt +-rw-r--r-- 1 root root 816308 2021-12-15 03:54 ./slackware64/x/xorg-server-xwayland-21.1.4-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-12-15 03:54 ./slackware64/x/xorg-server-xwayland-21.1.4-x86_64-1.txz.asc +-rw-r--r-- 1 root root 669 2021-02-13 13:14 ./slackware64/x/xorg-sgml-doctools-1.11-x86_64-5.txt +-rw-r--r-- 1 root root 24112 2021-02-13 13:14 ./slackware64/x/xorg-sgml-doctools-1.11-x86_64-5.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:14 ./slackware64/x/xorg-sgml-doctools-1.11-x86_64-5.txz.asc +-rw-r--r-- 1 root root 332 2021-09-20 18:28 ./slackware64/x/xorgproto-2021.5-x86_64-1.txt -rw-r--r-- 1 root root 248720 2021-09-20 18:28 ./slackware64/x/xorgproto-2021.5-x86_64-1.txz -rw-r--r-- 1 root root 163 2021-09-20 18:28 ./slackware64/x/xorgproto-2021.5-x86_64-1.txz.asc -rw-r--r-- 1 root root 210 2021-02-13 13:13 ./slackware64/x/xpr-1.0.5-x86_64-4.txt @@ -15178,15 +15186,15 @@ drwxr-xr-x 2 root root 4096 2021-10-01 03:27 ./source/xfce/Greybird drwxr-xr-x 2 root root 4096 2021-03-10 19:24 ./source/xfce/elementary-xfce -rw-r--r-- 1 root root 377 2019-07-12 10:40 ./source/xfce/elementary-xfce/README -rw-r--r-- 1 root root 175 2015-03-01 03:49 ./source/xfce/elementary-xfce/doinst.sh.gz --rw-r--r-- 1 root root 2871870 2021-01-10 22:54 ./source/xfce/elementary-xfce/elementary-xfce-0.15.2.tar.lz --rwxr-xr-x 1 root root 3846 2021-03-10 19:25 ./source/xfce/elementary-xfce/elementary-xfce.SlackBuild --rw-r--r-- 1 root root 1595428 2017-12-27 11:57 ./source/xfce/elementary-xfce/optipng-0.7.7.tar.lz --rw-r--r-- 1 root root 32 2021-03-10 19:24 ./source/xfce/elementary-xfce/optipng.url --rw-r--r-- 1 root root 848 2020-11-25 21:07 ./source/xfce/elementary-xfce/slack-desc -drwxr-xr-x 2 root root 4096 2021-12-08 20:07 ./source/xfce/exo --rw-r--r-- 1 root root 711357 2021-12-07 21:10 ./source/xfce/exo/exo-4.16.3.tar.lz --rwxr-xr-x 1 root root 4778 2021-03-12 20:01 ./source/xfce/exo/exo.SlackBuild --rw-r--r-- 1 root root 62 2021-12-08 20:06 ./source/xfce/exo/exo.url +-rw-r--r-- 1 root root 2871870 2021-01-10 22:54 ./source/xfce/elementary-xfce/elementary-xfce-0.15.2.tar.lz +-rwxr-xr-x 1 root root 3846 2021-03-10 19:25 ./source/xfce/elementary-xfce/elementary-xfce.SlackBuild +-rw-r--r-- 1 root root 1595428 2017-12-27 11:57 ./source/xfce/elementary-xfce/optipng-0.7.7.tar.lz +-rw-r--r-- 1 root root 32 2021-03-10 19:24 ./source/xfce/elementary-xfce/optipng.url +-rw-r--r-- 1 root root 848 2020-11-25 21:07 ./source/xfce/elementary-xfce/slack-desc +drwxr-xr-x 2 root root 4096 2021-12-08 20:07 ./source/xfce/exo +-rw-r--r-- 1 root root 711357 2021-12-07 21:10 ./source/xfce/exo/exo-4.16.3.tar.lz +-rwxr-xr-x 1 root root 4778 2021-03-12 20:01 ./source/xfce/exo/exo.SlackBuild +-rw-r--r-- 1 root root 62 2021-12-08 20:06 ./source/xfce/exo/exo.url -rw-r--r-- 1 root root 826 2020-11-27 20:54 ./source/xfce/exo/slack-desc drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xfce/garcon -rw-r--r-- 1 root root 116948 2021-01-16 04:25 ./source/xfce/garcon/garcon-4.16.1.tar.lz diff --git a/patches/packages/boost-1.78.0-x86_64-2_slack15.0.txt b/patches/packages/boost-1.78.0-x86_64-2_slack15.0.txt new file mode 100644 index 000000000..154d8991c --- /dev/null +++ b/patches/packages/boost-1.78.0-x86_64-2_slack15.0.txt @@ -0,0 +1,11 @@ +boost: boost (Boost C++ Libraries) +boost: +boost: Boost provides free peer-reviewed portable C++ source libraries. +boost: The emphasis is on libraries that work well with the C++ Standard +boost: Library. One goal is to establish "existing practice" and provide +boost: reference implementations so that the Boost libraries are suitable +boost: for eventual standardization. +boost: +boost: Homepage: https://www.boost.org/ +boost: +boost: diff --git a/patches/source/boost/0001-b2-fix-install.patch b/patches/source/boost/0001-b2-fix-install.patch new file mode 100644 index 000000000..c513cc54c --- /dev/null +++ b/patches/source/boost/0001-b2-fix-install.patch @@ -0,0 +1,80 @@ +https://github.com/bfgroup/b2/pull/113 + +From 62e7321669f66a90e2a90c8f31af34f59ebc5d7a Mon Sep 17 00:00:00 2001 +From: Dmitry Arkhipov +Date: Thu, 9 Dec 2021 08:11:57 +0300 +Subject: [PATCH] Don't skip install targets if there's no in ureqs + +--- + src/tools/stage.jam | 4 ++++ + test/install_build_no.py | 26 ++++++++++++++++++++++++++ + test/test_all.py | 1 + + 3 files changed, 31 insertions(+) + create mode 100755 test/install_build_no.py + +Index: boost_1_78_0/tools/build/src/tools/stage.jam +=================================================================== +--- boost_1_78_0.orig/tools/build/src/tools/stage.jam 2021-12-09 16:30:45.956457531 +0300 ++++ boost_1_78_0/tools/build/src/tools/stage.jam 2021-12-09 16:30:45.952457519 +0300 +@@ -476,10 +476,14 @@ class install-target-class : basic-targe + } + DELETE_MODULE $(result) ; + return [ sequence.unique $(result2) ] ; + } + ++ rule skip-from-usage-requirements ( ) ++ { ++ } ++ + # Returns true iff 'type' is subtype of some element of 'types-to-include'. + # + local rule include-type ( type : types-to-include * ) + { + local found ; +Index: boost_1_78_0/tools/build/test/install_build_no.py +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ boost_1_78_0/tools/build/test/install_build_no.py 2021-12-09 16:30:45.953457522 +0300 +@@ -0,0 +1,26 @@ ++#!/usr/bin/python ++ ++# Copyright 2021 Dmitry Arkhipov (grisumbras@gmail.com) ++# Distributed under the Boost Software License, Version 1.0. ++# (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt) ++ ++# Check that no in usage-requirements of dependencies does not affect ++# install rule, i.e. a skipped installed target does not affect insallation of ++# other targets. ++ ++import BoostBuild ++ ++t = BoostBuild.Tester() ++ ++t.write("a.cpp", "int main() {}\n") ++ ++t.write("jamroot.jam", """ ++make x : : maker : no ; ++exe a : a.cpp ; ++install install : x a ; ++""") ++ ++t.run_build_system() ++t.expect_addition("install/a.exe") ++ ++t.cleanup() +Index: boost_1_78_0/tools/build/test/test_all.py +=================================================================== +--- boost_1_78_0.orig/tools/build/test/test_all.py 2021-12-09 16:30:45.956457531 +0300 ++++ boost_1_78_0/tools/build/test/test_all.py 2021-12-09 16:30:45.953457522 +0300 +@@ -248,10 +248,11 @@ tests = ["abs_workdir", + "implicit_dependency", + "indirect_conditional", + "inherit_toolset", + "inherited_dependency", + "inline", ++ "install_build_no", + "libjpeg", + "liblzma", + "libpng", + "libtiff", + "libzstd", diff --git a/patches/source/boost/boost.SlackBuild b/patches/source/boost/boost.SlackBuild new file mode 100755 index 000000000..23822567f --- /dev/null +++ b/patches/source/boost/boost.SlackBuild @@ -0,0 +1,199 @@ +#!/bin/bash + +# Copyright 2007, 2008, 2012 Eric Hameleers, Eindhoven, NL +# Copyright 2007-2008, 2013, 2014, 2017 Heinz Wiesinger, Amsterdam, NL +# Copyright 2008, 2009, 2010, 2013, 2014, 2015, 2017, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# bjam-build system mostly taken from SlackBuild by Eric Hameleers +# Script modified by Robby Workman - no copyright claims or added terms +# Modified 2012 by Eric Hameleers for ARM port. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=boost +VERSION=${VERSION:-$(echo $PKGNAM_*.tar.?z | rev | cut -f 3- -d . | rev | cut -f 2- -d _)} +BUILD=${BUILD:-2_slack15.0} + +PKG_VERSION=$(echo $VERSION | tr _ .) # Leave this alone +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +# Automatically determine the architecture we're building on: +MARCH=$( uname -m ) +if [ -z "$ARCH" ]; then + case "$MARCH" in + i?86) export ARCH=i586 ;; + armv7hl) export ARCH=$MARCH ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$MARCH ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$PKG_VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +PYTHON_VERSION=$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))') +PYTHON3_VERSION=$(python3 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))') + +TMP=${TMP:-/tmp} +PKG=$TMP/package-boost + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf boost_$VERSION +tar xvf $CWD/boost_$VERSION.tar.?z || exit 1 +cd boost_$VERSION || exit 1 + +zcat $CWD/0001-b2-fix-install.patch.gz | patch -p1 --verbose || exit 1 + +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +# First build bjam, the boost build system: +./bootstrap.sh \ + --with-toolset=gcc \ + --with-icu \ + --with-python=/usr/bin/python2 || exit 1 + +# # Next, we build boost using bjam +./b2 \ + $NUMJOBS \ + --layout=system \ + --build-dir=build-python2 \ + --prefix=/usr \ + --libdir=/usr/lib$LIBDIRSUFFIX \ + --build-type=minimal \ + toolset=gcc \ + variant=release \ + debug-symbols=off \ + link=shared \ + threading=multi \ + runtime-link=shared \ + python=$PYTHON_VERSION \ + cflags="$SLKCFLAGS" \ + cxxflags="$SLKCFLAGS $EXTRA_CXXFLAGS" \ + stage || exit 1 + +# # And then install boost.. +./b2 \ + $NUMJOBS \ + --layout=system \ + --build-dir=build-python2 \ + --prefix=$PKG/usr \ + --libdir=$PKG/usr/lib$LIBDIRSUFFIX \ + --build-type=minimal \ + toolset=gcc \ + variant=release \ + debug-symbols=off \ + link=shared \ + threading=multi \ + runtime-link=shared \ + python=$PYTHON_VERSION \ + cflags="$SLKCFLAGS" \ + cxxflags="$SLKCFLAGS $EXTRA_CXXFLAGS" \ + install || exit 1 + +# one more run to build libboost_python3.. +sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}} ;@' \ + -i bootstrap.sh + +./bootstrap.sh \ + --with-toolset=gcc \ + --with-icu \ + --with-python=/usr/bin/python3 \ + --with-libraries=python || exit 1 + +./b2 \ + $NUMJOBS \ + --layout=system \ + --build-dir=build-python3 \ + --prefix=/usr \ + --libdir=/usr/lib$LIBDIRSUFFIX \ + --build-type=minimal \ + toolset=gcc \ + variant=release \ + debug-symbols=off \ + link=shared \ + threading=multi \ + runtime-link=shared \ + python=$PYTHON3_VERSION \ + cflags="$SLKCFLAGS" \ + cxxflags="$SLKCFLAGS $EXTRA_CXXFLAGS" \ + stage || exit 1 + +./b2 \ + $NUMJOBS \ + --layout=system \ + --build-dir=build-python3 \ + --prefix=$PKG/usr \ + --libdir=$PKG/usr/lib$LIBDIRSUFFIX \ + --build-type=minimal \ + toolset=gcc \ + variant=release \ + debug-symbols=off \ + link=shared \ + threading=multi \ + runtime-link=shared \ + python=$PYTHON3_VERSION \ + cflags="$SLKCFLAGS" \ + cxxflags="$SLKCFLAGS $EXTRA_CXXFLAGS" \ + install || exit 1 + +find $PKG | xargs file | grep -e "executable" -e "shared object" \ + | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +mkdir -p $PKG/usr/doc/boost-$PKG_VERSION +# Do not copy 44MB of developer 'doc/html' into our package... +cp -a LICENSE* index.html $PKG/usr/doc/boost-$PKG_VERSION +find $PKG/usr/doc -type f -exec chmod 0644 {} \+ + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n /tmp/boost-$PKG_VERSION-$ARCH-$BUILD.txz diff --git a/patches/source/boost/slack-desc b/patches/source/boost/slack-desc new file mode 100644 index 000000000..50f9fea38 --- /dev/null +++ b/patches/source/boost/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +boost: boost (Boost C++ Libraries) +boost: +boost: Boost provides free peer-reviewed portable C++ source libraries. +boost: The emphasis is on libraries that work well with the C++ Standard +boost: Library. One goal is to establish "existing practice" and provide +boost: reference implementations so that the Boost libraries are suitable +boost: for eventual standardization. +boost: +boost: Homepage: https://www.boost.org/ +boost: +boost: diff --git a/recompress.sh b/recompress.sh index 6012b6eab..18bd7d0a5 100755 --- a/recompress.sh +++ b/recompress.sh @@ -1167,6 +1167,7 @@ gzip ./patches/source/mozilla-thunderbird/tb.ui.scrollToClick.diff gzip ./patches/source/mozilla-thunderbird/gkrust.a.no.networking.check.diff gzip ./patches/source/mariadb/rc.mysqld gzip ./patches/source/mariadb/doinst.sh +gzip ./patches/source/boost/0001-b2-fix-install.patch gzip ./patches/source/libxml2/libxml2.python3-unicode-errors.patch gzip ./patches/source/libxml2/libxml2.do-not-check-crc.diff gzip ./patches/source/seamonkey/autoconf/autoconf-2.13-consolidated_fixes-1.patch -- cgit v1.2.3