diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-08-16 05:28:16 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-08-16 17:59:55 +0200 |
commit | c6af8d2fd5b54097522f6682b05fd212dcf4bbff (patch) | |
tree | 406bd370540d9e86ebe20531836cac0d0b80c890 /source/l | |
parent | 667b86aaab3e72c3c6a80e2b7dcbe2da39c89d71 (diff) | |
download | current-c6af8d2fd5b54097522f6682b05fd212dcf4bbff.tar.gz current-c6af8d2fd5b54097522f6682b05fd212dcf4bbff.tar.xz |
Mon Aug 16 05:28:16 UTC 202120210816052816
Hey everyone, long time no see! No, I wasn't out fishing. Sadly, I haven't had
a fishing rod in my hand (or even a fishing license in my wallet) for this
entire season, but there may yet be a chance for that this year. Along with the
usual suspects, I've been trying to clear out the list of things that needed
to get done in order to reach the standard of excellence demanded from a
Slackware release, and I think we've gotten it pretty close. GCC was bumped to
version 11.2.0 (because we just can't send this out 2 versions behind), and
everything was verified to build properly or fixed up so that it did. I don't
see any benefit to another public mass rebuild, so we're not going to do one.
Anyway, without further ado, here is Slackware 15.0 release candidate one.
Consider most things frozen and the focus now to be any remaining blocker bugs.
We'll more than likely take that next Plasma bugfix release, but it's soon
time to get off this treadmill. Enjoy! :-)
a/aaa_libraries-15.0-x86_64-8.txz: Rebuilt.
Upgraded: libcap.so.2.52, libpcre.so.1.2.13, libboost_atomic.so.1.76.0,
libboost_chrono.so.1.76.0, libboost_container.so.1.76.0,
libboost_context.so.1.76.0, libboost_contract.so.1.76.0,
libboost_coroutine.so.1.76.0, libboost_date_time.so.1.76.0,
libboost_fiber.so.1.76.0, libboost_filesystem.so.1.76.0,
libboost_graph.so.1.76.0, libboost_iostreams.so.1.76.0,
libboost_json.so.1.76.0, libboost_locale.so.1.76.0, libboost_log.so.1.76.0,
libboost_log_setup.so.1.76.0, libboost_math_c99.so.1.76.0,
libboost_math_c99f.so.1.76.0, libboost_math_c99l.so.1.76.0,
libboost_math_tr1.so.1.76.0, libboost_math_tr1f.so.1.76.0,
libboost_math_tr1l.so.1.76.0, libboost_nowide.so.1.76.0,
libboost_prg_exec_monitor.so.1.76.0, libboost_program_options.so.1.76.0,
libboost_python27.so.1.76.0, libboost_python39.so.1.76.0,
libboost_random.so.1.76.0, libboost_regex.so.1.76.0,
libboost_serialization.so.1.76.0, libboost_stacktrace_addr2line.so.1.76.0,
libboost_stacktrace_basic.so.1.76.0, libboost_stacktrace_noop.so.1.76.0,
libboost_system.so.1.76.0, libboost_thread.so.1.76.0,
libboost_timer.so.1.76.0, libboost_type_erasure.so.1.76.0,
libboost_unit_test_framework.so.1.76.0, libboost_wave.so.1.76.0,
libboost_wserialization.so.1.76.0, libcares.so.2.4.3,
libglib-2.0.so.0.6800.3, libgmodule-2.0.so.0.6800.3,
libgobject-2.0.so.0.6800.3, libgthread-2.0.so.0.6800.3,
libidn.so.12.6.3, liblber-2.4.so.2.11.7, libldap-2.4.so.2.11.7,
libstdc++.so.6.0.29, libtdb.so.1.4.5.
a/grep-3.7-x86_64-1.txz: Upgraded.
a/kernel-firmware-20210812_24c4a85-noarch-1.txz: Upgraded.
a/kernel-generic-5.13.11-x86_64-1.txz: Upgraded.
a/kernel-huge-5.13.11-x86_64-1.txz: Upgraded.
a/kernel-modules-5.13.11-x86_64-1.txz: Upgraded.
a/libgudev-237-x86_64-1.txz: Upgraded.
a/lvm2-2.03.13-x86_64-1.txz: Upgraded.
ap/linuxdoc-tools-0.9.82-x86_64-1.txz: Upgraded.
Thanks to Stuart Winter.
ap/mariadb-10.5.12-x86_64-1.txz: Upgraded.
Looks like we're still hitting a few regressions in the 10.6 branch. The
most obvious one where the version reported by MariaDB is the library
version rather than the server version (as previously reported) could be
reverted, but this could lead to future problems as fixes for this
change land in other projects. It seems that the safest approach at this
time is to switch back to the most recent release from the 10.5 branch
and keep an eye on the situation.
Thanks to richarson and Heinz Wiesinger.
ap/mc-4.8.27-x86_64-1.txz: Upgraded.
ap/pamixer-1.4-x86_64-11.txz: Rebuilt.
Recompiled against boost-1.77.0.
ap/slackpkg-15.0.7-noarch-1.txz: Upgraded.
Remove ftp://spout.ussg.indiana.edu from mirrorlist.
Allow "slackpkg help" to work after slackpkg is upgraded (JK Wood).
Thanks to Robby Workman.
ap/squashfs-tools-4.5-x86_64-1.txz: Upgraded.
ap/vim-8.2.3352-x86_64-1.txz: Upgraded.
d/gcc-11.2.0-x86_64-1.txz: Upgraded.
d/gcc-brig-11.2.0-x86_64-1.txz: Upgraded.
d/gcc-g++-11.2.0-x86_64-1.txz: Upgraded.
d/gcc-gdc-11.2.0-x86_64-1.txz: Upgraded.
d/gcc-gfortran-11.2.0-x86_64-1.txz: Upgraded.
d/gcc-gnat-11.2.0-x86_64-1.txz: Upgraded.
d/gcc-go-11.2.0-x86_64-1.txz: Upgraded.
d/gcc-objc-11.2.0-x86_64-1.txz: Upgraded.
d/help2man-1.48.4-x86_64-1.txz: Upgraded.
d/kernel-headers-5.13.11-x86-1.txz: Upgraded.
d/libtool-2.4.6-x86_64-18.txz: Rebuilt.
Recompiled to update embedded GCC version number.
d/meson-0.58.2-x86_64-1.txz: Upgraded.
d/parallel-20210722-noarch-1.txz: Upgraded.
d/python-pip-21.2.4-x86_64-1.txz: Upgraded.
d/slacktrack-2.21-x86_64-1.txz: Upgraded.
Thanks to Stuart Winter.
k/kernel-source-5.13.11-noarch-1.txz: Upgraded.
CC_VERSION_TEXT "gcc (GCC) 10.3.0" -> "gcc (GCC) 11.2.0"
GCC_VERSION 100300 -> 110200
+CC_HAS_ASM_GOTO_OUTPUT y
+HAVE_KCSAN_COMPILER y
+KCSAN n
+SND_SOC_INTEL_HDA_DSP_COMMON m
+SND_SOC_INTEL_SOF_MAXIM_COMMON m
kde/akonadi-21.08.0-x86_64-1.txz: Upgraded.
kde/akonadi-calendar-21.08.0-x86_64-1.txz: Upgraded.
kde/akonadi-calendar-tools-21.08.0-x86_64-1.txz: Upgraded.
kde/akonadi-contacts-21.08.0-x86_64-1.txz: Upgraded.
kde/akonadi-import-wizard-21.08.0-x86_64-1.txz: Upgraded.
kde/akonadi-mime-21.08.0-x86_64-1.txz: Upgraded.
kde/akonadi-notes-21.08.0-x86_64-1.txz: Upgraded.
kde/akonadi-search-21.08.0-x86_64-1.txz: Upgraded.
kde/akonadiconsole-21.08.0-x86_64-1.txz: Upgraded.
kde/akregator-21.08.0-x86_64-1.txz: Upgraded.
kde/analitza-21.08.0-x86_64-1.txz: Upgraded.
kde/ark-21.08.0-x86_64-1.txz: Upgraded.
kde/artikulate-21.08.0-x86_64-1.txz: Upgraded.
kde/attica-5.85.0-x86_64-1.txz: Upgraded.
kde/audiocd-kio-21.08.0-x86_64-1.txz: Upgraded.
kde/baloo-5.85.0-x86_64-1.txz: Upgraded.
kde/baloo-widgets-21.08.0-x86_64-1.txz: Upgraded.
kde/blinken-21.08.0-x86_64-1.txz: Upgraded.
kde/bluez-qt-5.85.0-x86_64-1.txz: Upgraded.
kde/bomber-21.08.0-x86_64-1.txz: Upgraded.
kde/bovo-21.08.0-x86_64-1.txz: Upgraded.
kde/breeze-icons-5.85.0-noarch-1.txz: Upgraded.
kde/calendarsupport-21.08.0-x86_64-1.txz: Upgraded.
kde/cantor-21.08.0-x86_64-1.txz: Upgraded.
kde/cervisia-21.08.0-x86_64-1.txz: Upgraded.
kde/dolphin-21.08.0-x86_64-1.txz: Upgraded.
kde/dolphin-plugins-21.08.0-x86_64-1.txz: Upgraded.
kde/dragon-21.08.0-x86_64-1.txz: Upgraded.
kde/elisa-21.08.0-x86_64-1.txz: Upgraded.
kde/eventviews-21.08.0-x86_64-1.txz: Upgraded.
kde/extra-cmake-modules-5.85.0-x86_64-1.txz: Upgraded.
kde/ffmpegthumbs-21.08.0-x86_64-1.txz: Upgraded.
kde/filelight-21.08.0-x86_64-1.txz: Upgraded.
kde/frameworkintegration-5.85.0-x86_64-1.txz: Upgraded.
kde/granatier-21.08.0-x86_64-1.txz: Upgraded.
kde/grantlee-editor-21.08.0-x86_64-1.txz: Upgraded.
kde/grantleetheme-21.08.0-x86_64-1.txz: Upgraded.
kde/gwenview-21.08.0-x86_64-1.txz: Upgraded.
kde/incidenceeditor-21.08.0-x86_64-1.txz: Upgraded.
kde/itinerary-21.08.0-x86_64-1.txz: Upgraded.
kde/juk-21.08.0-x86_64-1.txz: Upgraded.
kde/k3b-21.08.0-x86_64-1.txz: Upgraded.
kde/kactivities-5.85.0-x86_64-1.txz: Upgraded.
kde/kactivities-stats-5.85.0-x86_64-1.txz: Upgraded.
kde/kaddressbook-21.08.0-x86_64-1.txz: Upgraded.
kde/kalarm-21.08.0-x86_64-1.txz: Upgraded.
kde/kalarmcal-21.08.0-x86_64-1.txz: Upgraded.
kde/kalgebra-21.08.0-x86_64-1.txz: Upgraded.
kde/kalzium-21.08.0-x86_64-1.txz: Upgraded.
kde/kamera-21.08.0-x86_64-1.txz: Upgraded.
kde/kamoso-21.08.0-x86_64-1.txz: Upgraded.
kde/kanagram-21.08.0-x86_64-1.txz: Upgraded.
kde/kapidox-5.85.0-x86_64-1.txz: Upgraded.
kde/kapman-21.08.0-x86_64-1.txz: Upgraded.
kde/kapptemplate-21.08.0-x86_64-1.txz: Upgraded.
kde/karchive-5.85.0-x86_64-1.txz: Upgraded.
kde/kate-21.08.0-x86_64-1.txz: Upgraded.
kde/katomic-21.08.0-x86_64-1.txz: Upgraded.
kde/kauth-5.85.0-x86_64-1.txz: Upgraded.
kde/kbackup-21.08.0-x86_64-1.txz: Upgraded.
kde/kblackbox-21.08.0-x86_64-1.txz: Upgraded.
kde/kblocks-21.08.0-x86_64-1.txz: Upgraded.
kde/kbookmarks-5.85.0-x86_64-1.txz: Upgraded.
kde/kbounce-21.08.0-x86_64-1.txz: Upgraded.
kde/kbreakout-21.08.0-x86_64-1.txz: Upgraded.
kde/kbruch-21.08.0-x86_64-1.txz: Upgraded.
kde/kcachegrind-21.08.0-x86_64-1.txz: Upgraded.
kde/kcalc-21.08.0-x86_64-1.txz: Upgraded.
kde/kcalendarcore-5.85.0-x86_64-1.txz: Upgraded.
kde/kcalutils-21.08.0-x86_64-1.txz: Upgraded.
kde/kcharselect-21.08.0-x86_64-1.txz: Upgraded.
kde/kcmutils-5.85.0-x86_64-1.txz: Upgraded.
kde/kcodecs-5.85.0-x86_64-1.txz: Upgraded.
kde/kcolorchooser-21.08.0-x86_64-1.txz: Upgraded.
kde/kcompletion-5.85.0-x86_64-1.txz: Upgraded.
kde/kconfig-5.85.0-x86_64-1.txz: Upgraded.
kde/kconfigwidgets-5.85.0-x86_64-1.txz: Upgraded.
kde/kcontacts-5.85.0-x86_64-1.txz: Upgraded.
kde/kcoreaddons-5.85.0-x86_64-1.txz: Upgraded.
kde/kcrash-5.85.0-x86_64-1.txz: Upgraded.
kde/kcron-21.08.0-x86_64-1.txz: Upgraded.
kde/kdav-5.85.0-x86_64-1.txz: Upgraded.
kde/kdbusaddons-5.85.0-x86_64-1.txz: Upgraded.
kde/kde-dev-scripts-21.08.0-x86_64-1.txz: Upgraded.
kde/kde-dev-utils-21.08.0-x86_64-1.txz: Upgraded.
kde/kdebugsettings-21.08.0-x86_64-1.txz: Upgraded.
kde/kdeclarative-5.85.0-x86_64-1.txz: Upgraded.
kde/kdeconnect-kde-21.08.0-x86_64-1.txz: Upgraded.
kde/kded-5.85.0-x86_64-1.txz: Upgraded.
kde/kdeedu-data-21.08.0-x86_64-1.txz: Upgraded.
kde/kdegraphics-mobipocket-21.08.0-x86_64-1.txz: Upgraded.
kde/kdegraphics-thumbnailers-21.08.0-x86_64-1.txz: Upgraded.
kde/kdelibs4support-5.85.0-x86_64-1.txz: Upgraded.
kde/kdenetwork-filesharing-21.08.0-x86_64-1.txz: Upgraded.
kde/kdenlive-21.08.0-x86_64-1.txz: Upgraded.
kde/kdepim-addons-21.08.0-x86_64-1.txz: Upgraded.
kde/kdepim-runtime-21.08.0-x86_64-1.txz: Upgraded.
kde/kdesdk-kioslaves-21.08.0-x86_64-1.txz: Upgraded.
kde/kdesdk-thumbnailers-21.08.0-x86_64-1.txz: Upgraded.
kde/kdesignerplugin-5.85.0-x86_64-1.txz: Upgraded.
kde/kdesu-5.85.0-x86_64-1.txz: Upgraded.
kde/kdewebkit-5.85.0-x86_64-1.txz: Upgraded.
kde/kdf-21.08.0-x86_64-1.txz: Upgraded.
kde/kdialog-21.08.0-x86_64-1.txz: Upgraded.
kde/kdiamond-21.08.0-x86_64-1.txz: Upgraded.
kde/kdnssd-5.85.0-x86_64-1.txz: Upgraded.
kde/kdoctools-5.85.0-x86_64-1.txz: Upgraded.
kde/keditbookmarks-21.08.0-x86_64-1.txz: Upgraded.
kde/kemoticons-5.85.0-x86_64-1.txz: Upgraded.
kde/kfilemetadata-5.85.0-x86_64-1.txz: Upgraded.
kde/kfind-21.08.0-x86_64-1.txz: Upgraded.
kde/kfloppy-21.08.0-x86_64-1.txz: Upgraded.
kde/kfourinline-21.08.0-x86_64-1.txz: Upgraded.
kde/kgeography-21.08.0-x86_64-1.txz: Upgraded.
kde/kget-21.08.0-x86_64-1.txz: Upgraded.
kde/kglobalaccel-5.85.0-x86_64-1.txz: Upgraded.
kde/kgoldrunner-21.08.0-x86_64-1.txz: Upgraded.
kde/kgpg-21.08.0-x86_64-1.txz: Upgraded.
kde/kguiaddons-5.85.0-x86_64-1.txz: Upgraded.
kde/khangman-21.08.0-x86_64-1.txz: Upgraded.
kde/khelpcenter-21.08.0-x86_64-1.txz: Upgraded.
kde/kholidays-5.85.0-x86_64-1.txz: Upgraded.
kde/khtml-5.85.0-x86_64-1.txz: Upgraded.
kde/ki18n-5.85.0-x86_64-1.txz: Upgraded.
kde/kiconthemes-5.85.0-x86_64-1.txz: Upgraded.
kde/kidentitymanagement-21.08.0-x86_64-1.txz: Upgraded.
kde/kidletime-5.85.0-x86_64-1.txz: Upgraded.
kde/kig-21.08.0-x86_64-1.txz: Upgraded.
kde/kigo-21.08.0-x86_64-1.txz: Upgraded.
kde/killbots-21.08.0-x86_64-1.txz: Upgraded.
kde/kimageformats-5.85.0-x86_64-1.txz: Upgraded.
kde/kimagemapeditor-21.08.0-x86_64-1.txz: Upgraded.
kde/kimap-21.08.0-x86_64-1.txz: Upgraded.
kde/kinit-5.85.0-x86_64-1.txz: Upgraded.
kde/kio-5.85.0-x86_64-1.txz: Upgraded.
kde/kio-extras-21.08.0-x86_64-1.txz: Upgraded.
kde/kio-gdrive-21.08.0-x86_64-1.txz: Upgraded.
kde/kipi-plugins-21.08.0-x86_64-1.txz: Upgraded.
kde/kirigami-gallery-21.08.0-x86_64-1.txz: Upgraded.
kde/kirigami2-5.85.0-x86_64-1.txz: Upgraded.
kde/kiriki-21.08.0-x86_64-1.txz: Upgraded.
kde/kitemmodels-5.85.0-x86_64-1.txz: Upgraded.
kde/kitemviews-5.85.0-x86_64-1.txz: Upgraded.
kde/kiten-21.08.0-x86_64-1.txz: Upgraded.
kde/kitinerary-21.08.0-x86_64-1.txz: Upgraded.
kde/kjobwidgets-5.85.0-x86_64-1.txz: Upgraded.
kde/kjs-5.85.0-x86_64-1.txz: Upgraded.
kde/kjsembed-5.85.0-x86_64-1.txz: Upgraded.
kde/kjumpingcube-21.08.0-x86_64-1.txz: Upgraded.
kde/kldap-21.08.0-x86_64-1.txz: Upgraded.
kde/kleopatra-21.08.0-x86_64-1.txz: Upgraded.
kde/klickety-21.08.0-x86_64-1.txz: Upgraded.
kde/klines-21.08.0-x86_64-1.txz: Upgraded.
kde/kmag-21.08.0-x86_64-1.txz: Upgraded.
kde/kmahjongg-21.08.0-x86_64-1.txz: Upgraded.
kde/kmail-21.08.0-x86_64-1.txz: Upgraded.
kde/kmail-account-wizard-21.08.0-x86_64-1.txz: Upgraded.
kde/kmailtransport-21.08.0-x86_64-1.txz: Upgraded.
kde/kmbox-21.08.0-x86_64-1.txz: Upgraded.
kde/kmediaplayer-5.85.0-x86_64-1.txz: Upgraded.
kde/kmime-21.08.0-x86_64-1.txz: Upgraded.
kde/kmines-21.08.0-x86_64-1.txz: Upgraded.
kde/kmix-21.08.0-x86_64-1.txz: Upgraded.
kde/kmousetool-21.08.0-x86_64-1.txz: Upgraded.
kde/kmouth-21.08.0-x86_64-1.txz: Upgraded.
kde/kmplot-21.08.0-x86_64-1.txz: Upgraded.
kde/knavalbattle-21.08.0-x86_64-1.txz: Upgraded.
kde/knetwalk-21.08.0-x86_64-1.txz: Upgraded.
kde/knewstuff-5.85.0-x86_64-1.txz: Upgraded.
kde/knights-21.08.0-x86_64-1.txz: Upgraded.
kde/knotes-21.08.0-x86_64-1.txz: Upgraded.
kde/knotifications-5.85.0-x86_64-1.txz: Upgraded.
kde/knotifyconfig-5.85.0-x86_64-1.txz: Upgraded.
kde/kolf-21.08.0-x86_64-1.txz: Upgraded.
kde/kollision-21.08.0-x86_64-1.txz: Upgraded.
kde/kolourpaint-21.08.0-x86_64-1.txz: Upgraded.
kde/kompare-21.08.0-x86_64-1.txz: Upgraded.
kde/konqueror-21.08.0-x86_64-1.txz: Upgraded.
kde/konquest-21.08.0-x86_64-1.txz: Upgraded.
kde/konsole-21.08.0-x86_64-1.txz: Upgraded.
kde/kontact-21.08.0-x86_64-1.txz: Upgraded.
kde/kontactinterface-21.08.0-x86_64-1.txz: Upgraded.
kde/kontrast-21.08.0-x86_64-1.txz: Upgraded.
kde/konversation-21.08.0-x86_64-1.txz: Upgraded.
kde/kopeninghours-21.08.0-x86_64-1.txz: Upgraded.
kde/kopete-21.08.0-x86_64-1.txz: Upgraded.
kde/korganizer-21.08.0-x86_64-1.txz: Upgraded.
kde/kosmindoormap-21.08.0-x86_64-1.txz: Upgraded.
kde/kpackage-5.85.0-x86_64-1.txz: Upgraded.
kde/kparts-5.85.0-x86_64-1.txz: Upgraded.
kde/kpat-21.08.0-x86_64-1.txz: Upgraded.
kde/kpeople-5.85.0-x86_64-1.txz: Upgraded.
kde/kpimtextedit-21.08.0-x86_64-1.txz: Upgraded.
kde/kpkpass-21.08.0-x86_64-1.txz: Upgraded.
kde/kplotting-5.85.0-x86_64-1.txz: Upgraded.
kde/kpmcore-21.08.0-x86_64-1.txz: Upgraded.
kde/kpty-5.85.0-x86_64-1.txz: Upgraded.
kde/kpublictransport-21.08.0-x86_64-1.txz: Upgraded.
kde/kqtquickcharts-21.08.0-x86_64-1.txz: Upgraded.
kde/kquickcharts-5.85.0-x86_64-1.txz: Upgraded.
kde/krdc-21.08.0-x86_64-1.txz: Upgraded.
kde/kreversi-21.08.0-x86_64-1.txz: Upgraded.
kde/krfb-21.08.0-x86_64-1.txz: Upgraded.
kde/krita-4.4.7-x86_64-2.txz: Rebuilt.
Recompiled against boost-1.77.0.
kde/kross-5.85.0-x86_64-1.txz: Upgraded.
kde/kross-interpreters-21.08.0-x86_64-1.txz: Upgraded.
kde/kruler-21.08.0-x86_64-1.txz: Upgraded.
kde/krunner-5.85.0-x86_64-1.txz: Upgraded.
kde/kservice-5.85.0-x86_64-1.txz: Upgraded.
kde/kshisen-21.08.0-x86_64-1.txz: Upgraded.
kde/ksirk-21.08.0-x86_64-1.txz: Upgraded.
kde/ksmtp-21.08.0-x86_64-1.txz: Upgraded.
kde/ksnakeduel-21.08.0-x86_64-1.txz: Upgraded.
kde/kspaceduel-21.08.0-x86_64-1.txz: Upgraded.
kde/ksquares-21.08.0-x86_64-1.txz: Upgraded.
kde/ksudoku-21.08.0-x86_64-1.txz: Upgraded.
kde/ksystemlog-21.08.0-x86_64-1.txz: Upgraded.
kde/kteatime-21.08.0-x86_64-1.txz: Upgraded.
kde/ktexteditor-5.85.0-x86_64-1.txz: Upgraded.
kde/ktextwidgets-5.85.0-x86_64-1.txz: Upgraded.
kde/ktimer-21.08.0-x86_64-1.txz: Upgraded.
kde/ktnef-21.08.0-x86_64-1.txz: Upgraded.
kde/ktorrent-21.08.0-x86_64-1.txz: Upgraded.
kde/ktouch-21.08.0-x86_64-1.txz: Upgraded.
kde/kturtle-21.08.0-x86_64-1.txz: Upgraded.
kde/kubrick-21.08.0-x86_64-1.txz: Upgraded.
kde/kunitconversion-5.85.0-x86_64-1.txz: Upgraded.
kde/kwallet-5.85.0-x86_64-1.txz: Upgraded.
kde/kwalletmanager-21.08.0-x86_64-1.txz: Upgraded.
kde/kwave-21.08.0-x86_64-1.txz: Upgraded.
kde/kwayland-5.85.0-x86_64-1.txz: Upgraded.
kde/kwidgetsaddons-5.85.0-x86_64-1.txz: Upgraded.
kde/kwindowsystem-5.85.0-x86_64-1.txz: Upgraded.
kde/kwordquiz-21.08.0-x86_64-1.txz: Upgraded.
kde/kxmlgui-5.85.0-x86_64-1.txz: Upgraded.
kde/kxmlrpcclient-5.85.0-x86_64-1.txz: Upgraded.
kde/latte-dock-0.10.0-x86_64-1.txz: Upgraded.
kde/libgravatar-21.08.0-x86_64-1.txz: Upgraded.
kde/libkcddb-21.08.0-x86_64-1.txz: Upgraded.
kde/libkcompactdisc-21.08.0-x86_64-1.txz: Upgraded.
kde/libkdcraw-21.08.0-x86_64-1.txz: Upgraded.
kde/libkdegames-21.08.0-x86_64-1.txz: Upgraded.
kde/libkdepim-21.08.0-x86_64-1.txz: Upgraded.
kde/libkeduvocdocument-21.08.0-x86_64-1.txz: Upgraded.
kde/libkexiv2-21.08.0-x86_64-1.txz: Upgraded.
kde/libkgapi-21.08.0-x86_64-1.txz: Upgraded.
kde/libkipi-21.08.0-x86_64-1.txz: Upgraded.
kde/libkleo-21.08.0-x86_64-1.txz: Upgraded.
kde/libkmahjongg-21.08.0-x86_64-1.txz: Upgraded.
kde/libkomparediff2-21.08.0-x86_64-1.txz: Upgraded.
kde/libksane-21.08.0-x86_64-1.txz: Upgraded.
kde/libksieve-21.08.0-x86_64-1.txz: Upgraded.
kde/libktorrent-21.08.0-x86_64-1.txz: Upgraded.
kde/lokalize-21.08.0-x86_64-1.txz: Upgraded.
kde/lskat-21.08.0-x86_64-1.txz: Upgraded.
kde/mailcommon-21.08.0-x86_64-1.txz: Upgraded.
kde/mailimporter-21.08.0-x86_64-1.txz: Upgraded.
kde/marble-21.08.0-x86_64-1.txz: Upgraded.
kde/markdownpart-21.08.0-x86_64-1.txz: Upgraded.
kde/mbox-importer-21.08.0-x86_64-1.txz: Upgraded.
kde/messagelib-21.08.0-x86_64-1.txz: Upgraded.
kde/minuet-21.08.0-x86_64-1.txz: Upgraded.
kde/modemmanager-qt-5.85.0-x86_64-1.txz: Upgraded.
kde/networkmanager-qt-5.85.0-x86_64-1.txz: Upgraded.
kde/okular-21.08.0-x86_64-1.txz: Upgraded.
kde/oxygen-icons5-5.85.0-noarch-1.txz: Upgraded.
kde/palapeli-21.08.0-x86_64-1.txz: Upgraded.
kde/parley-21.08.0-x86_64-1.txz: Upgraded.
kde/partitionmanager-21.08.0-x86_64-1.txz: Upgraded.
kde/picmi-21.08.0-x86_64-1.txz: Upgraded.
kde/pim-data-exporter-21.08.0-x86_64-1.txz: Upgraded.
kde/pim-sieve-editor-21.08.0-x86_64-1.txz: Upgraded.
kde/pimcommon-21.08.0-x86_64-1.txz: Upgraded.
kde/plasma-framework-5.85.0-x86_64-1.txz: Upgraded.
kde/plasma-workspace-5.22.4-x86_64-2.txz: Rebuilt.
Recompiled against libqalculate-3.20.1.
kde/poxml-21.08.0-x86_64-1.txz: Upgraded.
kde/print-manager-21.08.0-x86_64-1.txz: Upgraded.
kde/prison-5.85.0-x86_64-1.txz: Upgraded.
kde/purpose-5.85.0-x86_64-1.txz: Upgraded.
kde/qqc2-desktop-style-5.85.0-x86_64-1.txz: Upgraded.
kde/rocs-21.08.0-x86_64-1.txz: Upgraded.
kde/skanlite-21.08.0-x86_64-3.txz: Rebuilt.
kde/solid-5.85.0-x86_64-1.txz: Upgraded.
kde/sonnet-5.85.0-x86_64-1.txz: Upgraded.
kde/spectacle-21.08.0-x86_64-1.txz: Upgraded.
kde/step-21.08.0-x86_64-1.txz: Upgraded.
kde/svgpart-21.08.0-x86_64-1.txz: Upgraded.
kde/sweeper-21.08.0-x86_64-1.txz: Upgraded.
kde/syndication-5.85.0-x86_64-1.txz: Upgraded.
kde/syntax-highlighting-5.85.0-x86_64-1.txz: Upgraded.
kde/threadweaver-5.85.0-x86_64-1.txz: Upgraded.
kde/umbrello-21.08.0-x86_64-1.txz: Upgraded.
kde/yakuake-21.08.0-x86_64-1.txz: Upgraded.
kde/zeroconf-ioslave-21.08.0-x86_64-1.txz: Upgraded.
l/SDL2-2.0.16-x86_64-1.txz: Upgraded.
l/atkmm-2.28.2-x86_64-1.txz: Upgraded.
l/boost-1.77.0-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
l/cryfs-0.10.3-x86_64-3.txz: Rebuilt.
Patched for gcc11 and recompiled against boost-1.77.0.
l/enchant-2.3.1-x86_64-1.txz: Upgraded.
l/gjs-1.68.3-x86_64-1.txz: Upgraded.
l/gtk4-4.2.1-x86_64-1.txz: Added.
l/gtkmm3-3.24.5-x86_64-1.txz: Upgraded.
l/libjpeg-turbo-2.1.1-x86_64-1.txz: Upgraded.
l/libqalculate-3.20.1-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
l/libwebp-1.2.1-x86_64-1.txz: Upgraded.
l/mlt-7.0.1-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
l/mozilla-nss-3.69-x86_64-1.txz: Upgraded.
l/mozjs78-78.13.0esr-x86_64-1.txz: Upgraded.
l/netpbm-10.95.01-x86_64-1.txz: Upgraded.
l/ocl-icd-2.3.0-x86_64-2.txz: Rebuilt.
Patched to support the latest Khronos headers.
l/openexr-2.5.7-x86_64-2.txz: Rebuilt.
Recompiled against boost-1.77.0.
l/pango-1.48.8-x86_64-1.txz: Upgraded.
l/pulseaudio-15.0-x86_64-2.txz: Rebuilt.
Ensure that start-pulseaudio-x11 is generated properly when pulseaudio is
built using meson. Thanks to davjohn.
l/python-pygments-2.10.0-x86_64-1.txz: Upgraded.
l/qt5-5.15.2-x86_64-11.txz: Rebuilt.
Patched to compile with gcc11 (such as adding #include <limits> to some of
the header files shipped in the package).
l/tidy-html5-5.8.0-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
n/ModemManager-1.16.8-x86_64-1.txz: Upgraded.
n/NetworkManager-1.32.6-x86_64-1.txz: Upgraded.
n/c-ares-1.17.2-x86_64-1.txz: Upgraded.
This update fixes a security issue:
Missing input validation on hostnames returned by DNS servers.
For more information, see:
https://c-ares.haxx.se/adv_20210810.html
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3672
(* Security fix *)
n/dhcpcd-9.4.0-x86_64-1.txz: Upgraded.
n/fetchmail-6.4.21-x86_64-1.txz: Upgraded.
n/nmap-7.92-x86_64-1.txz: Upgraded.
n/openresolv-3.12.0-noarch-1.txz: Added.
This is needed for wg-quick in the wireguard-tools package.
Thanks to synbq Bucharest, Jeremy Hansen, and Daniel Wilkins.
n/php-7.4.22-x86_64-2.txz: Rebuilt.
Recompiled against tidy-html5-5.8.0.
x/ibus-m17n-1.4.7-x86_64-1.txz: Upgraded.
x/libepoxy-1.5.9-x86_64-1.txz: Upgraded.
x/mesa-21.1.7-x86_64-1.txz: Upgraded.
x/vulkan-sdk-1.2.176.1-x86_64-2.txz: Rebuilt.
x/xrdb-1.2.1-x86_64-1.txz: Upgraded.
xap/mozilla-firefox-91.0-x86_64-1.txz: Upgraded.
New ESR release :-)
This release contains security fixes and improvements.
For more information, see:
https://www.mozilla.org/en-US/firefox/91.0/releasenotes/
https://www.mozilla.org/security/advisories/mfsa2021-33/
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29986
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29981
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29988
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29983
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29984
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29980
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29987
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29985
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29982
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29989
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29990
(* Security fix *)
xap/mozilla-thunderbird-91.0-x86_64-1.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/91.0/releasenotes/
https://www.mozilla.org/en-US/security/advisories/mfsa2021-36/
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29986
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29981
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29988
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29984
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29980
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29987
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29985
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29982
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29989
(* Security fix *)
xap/network-manager-applet-1.22.0-x86_64-1.txz: Upgraded.
xap/vim-gvim-8.2.3352-x86_64-1.txz: Upgraded.
extra/php8/php8-8.0.9-x86_64-2.txz: Rebuilt.
Recompiled against tidy-html5-5.8.0.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l')
33 files changed, 1248 insertions, 71 deletions
diff --git a/source/l/SDL2/SDL2.SlackBuild b/source/l/SDL2/SDL2.SlackBuild index 99b87eb01..984c58803 100755 --- a/source/l/SDL2/SDL2.SlackBuild +++ b/source/l/SDL2/SDL2.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=SDL2 VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/l/atkmm/atkmm.SlackBuild b/source/l/atkmm/atkmm.SlackBuild index db7365d6e..fb955461f 100755 --- a/source/l/atkmm/atkmm.SlackBuild +++ b/source/l/atkmm/atkmm.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=atkmm VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/source/l/cryfs/041b5baea5a4efceff33df2f316646b47a1cd7c0.patch b/source/l/cryfs/041b5baea5a4efceff33df2f316646b47a1cd7c0.patch new file mode 100644 index 000000000..22d8b3447 --- /dev/null +++ b/source/l/cryfs/041b5baea5a4efceff33df2f316646b47a1cd7c0.patch @@ -0,0 +1,27 @@ +From 041b5baea5a4efceff33df2f316646b47a1cd7c0 Mon Sep 17 00:00:00 2001 +From: Sam James <11667869+thesamesam@users.noreply.github.com> +Date: Sat, 14 Aug 2021 17:29:24 +0100 +Subject: [PATCH] src/fspp/fuse/Fuse.h: add <memory.h> include for + std::shared_ptr (#395) + +Needed to fix build with Boost 1.77 (some indirect inclusion +got lost). + +Signed-off-by: Sam James <sam@gentoo.org> +--- + src/fspp/fuse/Fuse.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/fspp/fuse/Fuse.h b/src/fspp/fuse/Fuse.h +index 2dd3c2d4d..3841e38a4 100644 +--- a/src/fspp/fuse/Fuse.h ++++ b/src/fspp/fuse/Fuse.h +@@ -11,6 +11,7 @@ + #include <boost/optional.hpp> + #include <cpp-utils/macros.h> + #include <atomic> ++#include <memory> + #include "stat_compatibility.h" + #include <fspp/fs_interface/Context.h> + + diff --git a/source/l/cryfs/27587ea1acec5f939a31217f1c43953378f18821.patch b/source/l/cryfs/27587ea1acec5f939a31217f1c43953378f18821.patch new file mode 100644 index 000000000..0d739b077 --- /dev/null +++ b/source/l/cryfs/27587ea1acec5f939a31217f1c43953378f18821.patch @@ -0,0 +1,297 @@ +From 27587ea1acec5f939a31217f1c43953378f18821 Mon Sep 17 00:00:00 2001 +From: Sebastian Messmer <messmer@cryfs.org> +Date: Sat, 8 May 2021 14:44:27 -0700 +Subject: [PATCH] Fixed an issue when compiling with GCC 11, see + https://github.com/cryfs/cryfs/issues/389 + +--- + ChangeLog.txt | 5 ++ + .../onblocks/datanodestore/DataNodeView.h | 8 +-- + .../filesystem/fsblobstore/utils/DirEntry.cpp | 66 +++++++++---------- + src/cryfs/localstate/LocalStateMetadata.cpp | 24 +++---- + src/cryfs/localstate/LocalStateMetadata.h | 10 +-- + 5 files changed, 59 insertions(+), 54 deletions(-) + +diff --git a/ChangeLog.txt b/ChangeLog.txt +index f9776eb93..9d7a6708c 100644 +--- a/ChangeLog.txt ++++ b/ChangeLog.txt +@@ -1,3 +1,8 @@ ++Version 0.10.4 (unreleased) ++-------------- ++Fixed bugs: ++* Fixed an issue when compiling with GCC 11, see https://github.com/cryfs/cryfs/issues/389 ++ + Version 0.10.3 + --------------- + Fixed bugs: +diff --git a/src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h b/src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h +index 256c28495..3799612e3 100644 +--- a/src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h ++++ b/src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h +@@ -67,7 +67,7 @@ class DataNodeView final { + + static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { + ASSERT(data.size() <= layout.datasizeBytes(), "Data is too large for node"); +- cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); ++ cpputils::Data serialized = serialize_(layout, formatVersion, depth, size, std::move(data)); + ASSERT(serialized.size() == layout.blocksizeBytes(), "Wrong block size"); + auto block = blockStore->create(serialized); + return DataNodeView(std::move(block)); +@@ -75,7 +75,7 @@ class DataNodeView final { + + static DataNodeView initialize(cpputils::unique_ref<blockstore::Block> block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { + ASSERT(data.size() <= DataNodeLayout(block->size()).datasizeBytes(), "Data is too large for node"); +- cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); ++ cpputils::Data serialized = serialize_(layout, formatVersion, depth, size, std::move(data)); + ASSERT(serialized.size() == block->size(), "Block has wrong size"); + block->write(serialized.data(), 0, serialized.size()); + return DataNodeView(std::move(block)); +@@ -83,7 +83,7 @@ class DataNodeView final { + + static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { + ASSERT(data.size() <= layout.datasizeBytes(), "Data is too large for node"); +- cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); ++ cpputils::Data serialized = serialize_(layout, formatVersion, depth, size, std::move(data)); + auto block = blockStore->overwrite(blockId, std::move(serialized)); + return DataNodeView(std::move(block)); + } +@@ -143,7 +143,7 @@ class DataNodeView final { + } + + private: +- static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { ++ static cpputils::Data serialize_(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { + cpputils::Data result(layout.blocksizeBytes()); + cpputils::serialize<uint16_t>(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); + cpputils::serialize<uint8_t>(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); +diff --git a/src/cryfs/filesystem/fsblobstore/utils/DirEntry.cpp b/src/cryfs/filesystem/fsblobstore/utils/DirEntry.cpp +index 941148db9..70dd5a560 100644 +--- a/src/cryfs/filesystem/fsblobstore/utils/DirEntry.cpp ++++ b/src/cryfs/filesystem/fsblobstore/utils/DirEntry.cpp +@@ -11,55 +11,55 @@ namespace cryfs { + + namespace { + template<typename DataType> +- size_t _serialize(void* dst, const DataType& obj) { ++ size_t serialize_(void* dst, const DataType& obj) { + cpputils::serialize<DataType>(dst, obj); + return sizeof(DataType); + } + + template<typename DataType> +- DataType _deserialize(const char** src) { ++ DataType deserialize_(const char** src) { + DataType result = cpputils::deserialize<DataType>(*src); + *src += sizeof(DataType); + return result; + } + +- constexpr size_t _serializedTimeValueSize() { ++ constexpr size_t serializedTimeValueSize_() { + return sizeof(uint64_t) + sizeof(uint32_t); + } + +- unsigned int _serializeTimeValue(uint8_t *dest, timespec value) { ++ unsigned int serializeTimeValue_(uint8_t *dest, timespec value) { + unsigned int offset = 0; +- offset += _serialize<uint64_t>(dest + offset, value.tv_sec); +- offset += _serialize<uint32_t>(dest + offset, value.tv_nsec); +- ASSERT(offset == _serializedTimeValueSize(), "serialized to wrong size"); ++ offset += serialize_<uint64_t>(dest + offset, value.tv_sec); ++ offset += serialize_<uint32_t>(dest + offset, value.tv_nsec); ++ ASSERT(offset == serializedTimeValueSize_(), "serialized to wrong size"); + return offset; + } + +- timespec _deserializeTimeValue(const char **pos) { ++ timespec deserializeTimeValue_(const char **pos) { + timespec value{}; +- value.tv_sec = _deserialize<uint64_t>(pos); +- value.tv_nsec = _deserialize<uint32_t>(pos); ++ value.tv_sec = deserialize_<uint64_t>(pos); ++ value.tv_nsec = deserialize_<uint32_t>(pos); + return value; + } + +- unsigned int _serializeString(uint8_t *dest, const string &value) { ++ unsigned int serializeString_(uint8_t *dest, const string &value) { + std::memcpy(dest, value.c_str(), value.size()+1); + return value.size() + 1; + } + +- string _deserializeString(const char **pos) { ++ string deserializeString_(const char **pos) { + size_t length = strlen(*pos); + string value(*pos, length); + *pos += length + 1; + return value; + } + +- unsigned int _serializeBlockId(uint8_t *dest, const BlockId &blockId) { ++ unsigned int serializeBlockId_(uint8_t *dest, const BlockId &blockId) { + blockId.ToBinary(dest); + return blockId.BINARY_LENGTH; + } + +- BlockId _deserializeBlockId(const char **pos) { ++ BlockId deserializeBlockId_(const char **pos) { + BlockId blockId = BlockId::FromBinary(*pos); + *pos += BlockId::BINARY_LENGTH; + return blockId; +@@ -75,35 +75,35 @@ namespace cryfs { + _mode.hasDirFlag()) + ", " + std::to_string(_mode.hasSymlinkFlag()) + ", " + std::to_string(static_cast<uint8_t>(_type)) + ); + unsigned int offset = 0; +- offset += _serialize<uint8_t>(dest + offset, static_cast<uint8_t>(_type)); +- offset += _serialize<uint32_t>(dest + offset, _mode.value()); +- offset += _serialize<uint32_t>(dest + offset, _uid.value()); +- offset += _serialize<uint32_t>(dest + offset, _gid.value()); +- offset += _serializeTimeValue(dest + offset, _lastAccessTime); +- offset += _serializeTimeValue(dest + offset, _lastModificationTime); +- offset += _serializeTimeValue(dest + offset, _lastMetadataChangeTime); +- offset += _serializeString(dest + offset, _name); +- offset += _serializeBlockId(dest + offset, _blockId); ++ offset += serialize_<uint8_t>(dest + offset, static_cast<uint8_t>(_type)); ++ offset += serialize_<uint32_t>(dest + offset, _mode.value()); ++ offset += serialize_<uint32_t>(dest + offset, _uid.value()); ++ offset += serialize_<uint32_t>(dest + offset, _gid.value()); ++ offset += serializeTimeValue_(dest + offset, _lastAccessTime); ++ offset += serializeTimeValue_(dest + offset, _lastModificationTime); ++ offset += serializeTimeValue_(dest + offset, _lastMetadataChangeTime); ++ offset += serializeString_(dest + offset, _name); ++ offset += serializeBlockId_(dest + offset, _blockId); + ASSERT(offset == serializedSize(), "Didn't write correct number of elements"); + } + + const char *DirEntry::deserializeAndAddToVector(const char *pos, vector<DirEntry> *result) { +- fspp::Dir::EntryType type = static_cast<fspp::Dir::EntryType>(_deserialize<uint8_t>(&pos)); +- fspp::mode_t mode = fspp::mode_t(_deserialize<uint32_t>(&pos)); +- fspp::uid_t uid = fspp::uid_t(_deserialize<uint32_t>(&pos)); +- fspp::gid_t gid = fspp::gid_t(_deserialize<uint32_t>(&pos)); +- timespec lastAccessTime = _deserializeTimeValue(&pos); +- timespec lastModificationTime = _deserializeTimeValue(&pos); +- timespec lastMetadataChangeTime = _deserializeTimeValue(&pos); +- string name = _deserializeString(&pos); +- BlockId blockId = _deserializeBlockId(&pos); ++ fspp::Dir::EntryType type = static_cast<fspp::Dir::EntryType>(deserialize_<uint8_t>(&pos)); ++ fspp::mode_t mode = fspp::mode_t(deserialize_<uint32_t>(&pos)); ++ fspp::uid_t uid = fspp::uid_t(deserialize_<uint32_t>(&pos)); ++ fspp::gid_t gid = fspp::gid_t(deserialize_<uint32_t>(&pos)); ++ timespec lastAccessTime = deserializeTimeValue_(&pos); ++ timespec lastModificationTime = deserializeTimeValue_(&pos); ++ timespec lastMetadataChangeTime = deserializeTimeValue_(&pos); ++ string name = deserializeString_(&pos); ++ BlockId blockId = deserializeBlockId_(&pos); + + result->emplace_back(type, name, blockId, mode, uid, gid, lastAccessTime, lastModificationTime, lastMetadataChangeTime); + return pos; + } + + size_t DirEntry::serializedSize() const { +- return 1 + sizeof(uint32_t) + sizeof(uint32_t) + sizeof(uint32_t) + 3*_serializedTimeValueSize() + ( ++ return 1 + sizeof(uint32_t) + sizeof(uint32_t) + sizeof(uint32_t) + 3*serializedTimeValueSize_() + ( + _name.size() + 1) + _blockId.BINARY_LENGTH; + } + } +diff --git a/src/cryfs/localstate/LocalStateMetadata.cpp b/src/cryfs/localstate/LocalStateMetadata.cpp +index 529a26129..dfa952a1a 100644 +--- a/src/cryfs/localstate/LocalStateMetadata.cpp ++++ b/src/cryfs/localstate/LocalStateMetadata.cpp +@@ -30,10 +30,10 @@ LocalStateMetadata::LocalStateMetadata(uint32_t myClientId, Hash encryptionKeyHa + + LocalStateMetadata LocalStateMetadata::loadOrGenerate(const bf::path &statePath, const Data& encryptionKey, bool allowReplacedFilesystem) { + auto metadataFile = statePath / "metadata"; +- auto loaded = _load(metadataFile); ++ auto loaded = load_(metadataFile); + if (loaded == none) { + // If it couldn't be loaded, generate a new client id. +- return _generate(metadataFile, encryptionKey); ++ return generate_(metadataFile, encryptionKey); + } + + if (!allowReplacedFilesystem && loaded->_encryptionKeyHash.digest != cpputils::hash::hash(encryptionKey, loaded->_encryptionKeyHash.salt).digest) { +@@ -42,22 +42,22 @@ LocalStateMetadata LocalStateMetadata::loadOrGenerate(const bf::path &statePath, + return *loaded; + } + +-optional<LocalStateMetadata> LocalStateMetadata::_load(const bf::path &metadataFilePath) { ++optional<LocalStateMetadata> LocalStateMetadata::load_(const bf::path &metadataFilePath) { + ifstream file(metadataFilePath.string()); + if (!file.good()) { + // State file doesn't exist + return none; + } +- return _deserialize(file); ++ return deserialize_(file); + } + +-void LocalStateMetadata::_save(const bf::path &metadataFilePath) const { ++void LocalStateMetadata::save_(const bf::path &metadataFilePath) const { + ofstream file(metadataFilePath.string(), std::ios::trunc); +- _serialize(file); ++ serialize_(file); + } + + namespace { +-uint32_t _generateClientId() { ++uint32_t generateClientId_() { + uint32_t result; + do { + result = cpputils::deserialize<uint32_t>(Random::PseudoRandom().getFixedSize<sizeof(uint32_t)>().data()); +@@ -82,8 +82,8 @@ optional<uint32_t> _tryLoadClientIdFromLegacyFile(const bf::path &metadataFilePa + #endif + } + +-LocalStateMetadata LocalStateMetadata::_generate(const bf::path &metadataFilePath, const Data& encryptionKey) { +- uint32_t myClientId = _generateClientId(); ++LocalStateMetadata LocalStateMetadata::generate_(const bf::path &metadataFilePath, const Data& encryptionKey) { ++ uint32_t myClientId = generateClientId_(); + #ifndef CRYFS_NO_COMPATIBILITY + // In the old format, this was stored in a "myClientId" file. If that file exists, load it from there. + optional<uint32_t> legacy = _tryLoadClientIdFromLegacyFile(metadataFilePath); +@@ -93,11 +93,11 @@ LocalStateMetadata LocalStateMetadata::_generate(const bf::path &metadataFilePat + #endif + + LocalStateMetadata result(myClientId, cpputils::hash::hash(encryptionKey, cpputils::hash::generateSalt())); +- result._save(metadataFilePath); ++ result.save_(metadataFilePath); + return result; + } + +-void LocalStateMetadata::_serialize(ostream& stream) const { ++void LocalStateMetadata::serialize_(ostream& stream) const { + ptree pt; + pt.put<uint32_t>("myClientId", myClientId()); + pt.put<string>("encryptionKey.salt", _encryptionKeyHash.salt.ToString()); +@@ -106,7 +106,7 @@ void LocalStateMetadata::_serialize(ostream& stream) const { + write_json(stream, pt); + } + +-LocalStateMetadata LocalStateMetadata::_deserialize(istream& stream) { ++LocalStateMetadata LocalStateMetadata::deserialize_(istream& stream) { + try { + ptree pt; + read_json(stream, pt); +diff --git a/src/cryfs/localstate/LocalStateMetadata.h b/src/cryfs/localstate/LocalStateMetadata.h +index 8b0ffc662..c06b0f05b 100644 +--- a/src/cryfs/localstate/LocalStateMetadata.h ++++ b/src/cryfs/localstate/LocalStateMetadata.h +@@ -20,11 +20,11 @@ class LocalStateMetadata final { + const uint32_t _myClientId; + const cpputils::hash::Hash _encryptionKeyHash; + +- static boost::optional<LocalStateMetadata> _load(const boost::filesystem::path &metadataFilePath); +- static LocalStateMetadata _deserialize(std::istream& stream); +- static LocalStateMetadata _generate(const boost::filesystem::path &metadataFilePath, const cpputils::Data& encryptionKey); +- void _save(const boost::filesystem::path &metadataFilePath) const; +- void _serialize(std::ostream& stream) const; ++ static boost::optional<LocalStateMetadata> load_(const boost::filesystem::path &metadataFilePath); ++ static LocalStateMetadata deserialize_(std::istream& stream); ++ static LocalStateMetadata generate_(const boost::filesystem::path &metadataFilePath, const cpputils::Data& encryptionKey); ++ void save_(const boost::filesystem::path &metadataFilePath) const; ++ void serialize_(std::ostream& stream) const; + + LocalStateMetadata(uint32_t myClientId, cpputils::hash::Hash encryptionKey); + }; + diff --git a/source/l/cryfs/cryfs.SlackBuild b/source/l/cryfs/cryfs.SlackBuild index 007bd1f72..e37b529b2 100755 --- a/source/l/cryfs/cryfs.SlackBuild +++ b/source/l/cryfs/cryfs.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=cryfs VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -89,6 +89,12 @@ find . \ # Oddly, cryfs expects a static boost, so we'll need to hit it with the LART: export LDFLAGS="$SLKLDFLAGS -lboost_thread -lboost_program_options -lboost_filesystem -lboost_chrono -lcryptopp -lfuse" +# gcc11 fixes: +zcat $CWD/27587ea1acec5f939a31217f1c43953378f18821.patch.gz | patch -p1 --verbose || exit 1 + +# Boost 1.77.0 fix: +zcat $CWD/041b5baea5a4efceff33df2f316646b47a1cd7c0.patch.gz | patch -p1 --verbose || exit 1 + # Configure, build, and install: mkdir cmake-build cd cmake-build diff --git a/source/l/glib2/glib2.SlackBuild b/source/l/glib2/glib2.SlackBuild index ca7b1431b..dc4bbfde8 100755 --- a/source/l/glib2/glib2.SlackBuild +++ b/source/l/glib2/glib2.SlackBuild @@ -100,7 +100,7 @@ meson setup \ -Dselinux=disabled \ -Dfam=false \ -Dman=true \ - -Dgtk_doc=true \ + -Dgtk_doc=false \ -Dinstalled_tests=false \ .. || exit 1 "${NINJA:=ninja}" $NUMJOBS || exit 1 diff --git a/source/l/gst-plugins-base/gst-plugins-base.SlackBuild b/source/l/gst-plugins-base/gst-plugins-base.SlackBuild index 22de14190..2221f7b70 100755 --- a/source/l/gst-plugins-base/gst-plugins-base.SlackBuild +++ b/source/l/gst-plugins-base/gst-plugins-base.SlackBuild @@ -101,7 +101,7 @@ meson setup \ --buildtype=release \ -Dexamples=disabled \ .. || exit 1 - "${NINJA:=ninja}" $NUMJOBS || exit 1 + "${NINJA:=ninja}" $NUMJOBS || cp -a gst-libs/gst/gl/xdg-shell-client-protocol.h .. && "${NINJA:=ninja}" $NUMJOBS || exit 1 DESTDIR=$PKG $NINJA install || exit 1 cd .. diff --git a/source/l/gst-plugins-good/gst-plugins-good.SlackBuild b/source/l/gst-plugins-good/gst-plugins-good.SlackBuild index 1a7b8b6f0..fd87f2d5e 100755 --- a/source/l/gst-plugins-good/gst-plugins-good.SlackBuild +++ b/source/l/gst-plugins-good/gst-plugins-good.SlackBuild @@ -88,6 +88,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +zcat $CWD/gst-plugins-good.gcc11.patch.gz | patch -p1 --verbose || exit 1 + # Configure, build, and install: export CFLAGS="$SLKCFLAGS" export CXXFLAGS="$SLKCFLAGS" diff --git a/source/l/gst-plugins-good/gst-plugins-good.gcc11.patch b/source/l/gst-plugins-good/gst-plugins-good.gcc11.patch new file mode 100644 index 000000000..f44e3a720 --- /dev/null +++ b/source/l/gst-plugins-good/gst-plugins-good.gcc11.patch @@ -0,0 +1,316 @@ +From a1bf3d8d540a25268d612a489e1e836d6ea737b0 Mon Sep 17 00:00:00 2001 +From: Matthew Waters <matthew@centricular.com> +Date: Thu, 18 Mar 2021 19:52:53 +1100 +Subject: [PATCH] gst: don't use volatile to mean atomic + +volatile is not sufficient to provide atomic guarantees and real atomics +should be used instead. GCC 11 has started warning about using volatile +with atomic operations. + +https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719 + +Discovered in https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/868 + +Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/941> +--- + ext/jack/gstjack.c | 6 +++--- + ext/jack/gstjackaudiosink.c | 2 +- + ext/jack/gstjackaudiosrc.c | 2 +- + ext/pulse/pulsesink.h | 2 +- + ext/qt/gstqsgtexture.cc | 2 +- + ext/qt/gstqtglutility.cc | 2 +- + ext/qt/qtglrenderer.cc | 6 +++--- + ext/qt/qtitem.cc | 2 +- + ext/qt/qtwindow.cc | 4 ++-- + ext/vpx/gstvpxdec.c | 2 +- + ext/vpx/gstvpxenc.c | 14 +++++++------- + gst/audioparsers/gstac3parse.h | 2 +- + sys/rpicamsrc/gstrpicamsrc.c | 2 +- + sys/ximage/ximageutil.c | 2 +- + 14 files changed, 25 insertions(+), 25 deletions(-) + +diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c +index ca98dc405..fdd507d87 100644 +--- a/ext/jack/gstjack.c ++++ b/ext/jack/gstjack.c +@@ -28,7 +28,7 @@ + GType + gst_jack_connect_get_type (void) + { +- static volatile gsize jack_connect_type = 0; ++ static gsize jack_connect_type = 0; + + if (g_once_init_enter (&jack_connect_type)) { + static const GEnumValue jack_connect_enums[] = { +@@ -50,7 +50,7 @@ gst_jack_connect_get_type (void) + GType + gst_jack_transport_get_type (void) + { +- static volatile gsize type = 0; ++ static gsize type = 0; + + if (g_once_init_enter (&type)) { + static const GFlagsValue flag_values[] = { +@@ -84,7 +84,7 @@ gst_jack_client_free (gpointer jclient) + GType + gst_jack_client_get_type (void) + { +- static volatile gsize jack_client_type = 0; ++ static gsize jack_client_type = 0; + + if (g_once_init_enter (&jack_client_type)) { + /* hackish, but makes it show up nicely in gst-inspect */ +diff --git a/ext/jack/gstjackaudiosink.c b/ext/jack/gstjackaudiosink.c +index ee7cea8c0..6e8d04ae5 100644 +--- a/ext/jack/gstjackaudiosink.c ++++ b/ext/jack/gstjackaudiosink.c +@@ -131,7 +131,7 @@ gst_jack_audio_sink_free_channels (GstJackAudioSink * sink) + static GType + gst_jack_ring_buffer_get_type (void) + { +- static volatile gsize ringbuffer_type = 0; ++ static gsize ringbuffer_type = 0; + + if (g_once_init_enter (&ringbuffer_type)) { + static const GTypeInfo ringbuffer_info = { +diff --git a/ext/jack/gstjackaudiosrc.c b/ext/jack/gstjackaudiosrc.c +index 1d2cf82ee..d43a447a7 100644 +--- a/ext/jack/gstjackaudiosrc.c ++++ b/ext/jack/gstjackaudiosrc.c +@@ -151,7 +151,7 @@ gst_jack_audio_src_free_channels (GstJackAudioSrc * src) + static GType + gst_jack_ring_buffer_get_type (void) + { +- static volatile gsize ringbuffer_type = 0; ++ static gsize ringbuffer_type = 0; + + if (g_once_init_enter (&ringbuffer_type)) { + static const GTypeInfo ringbuffer_info = { sizeof (GstJackRingBufferClass), +diff --git a/ext/pulse/pulsesink.h b/ext/pulse/pulsesink.h +index 86f3dcdbb..51ec86a25 100644 +--- a/ext/pulse/pulsesink.h ++++ b/ext/pulse/pulsesink.h +@@ -72,7 +72,7 @@ struct _GstPulseSink + GstStructure *properties; + pa_proplist *proplist; + +- volatile gint format_lost; ++ gint format_lost; + GstClockTime format_lost_time; + }; + +diff --git a/ext/qt/gstqsgtexture.cc b/ext/qt/gstqsgtexture.cc +index a05d26edd..bfa79cda0 100644 +--- a/ext/qt/gstqsgtexture.cc ++++ b/ext/qt/gstqsgtexture.cc +@@ -35,7 +35,7 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); + + GstQSGTexture::GstQSGTexture () + { +- static volatile gsize _debug; ++ static gsize _debug; + + initializeOpenGLFunctions(); + +diff --git a/ext/qt/gstqtglutility.cc b/ext/qt/gstqtglutility.cc +index acb89b6e1..d2c092202 100644 +--- a/ext/qt/gstqtglutility.cc ++++ b/ext/qt/gstqtglutility.cc +@@ -66,7 +66,7 @@ gst_qt_get_gl_display () + { + GstGLDisplay *display = NULL; + QGuiApplication *app = static_cast<QGuiApplication *> (QCoreApplication::instance ()); +- static volatile gsize _debug; ++ static gsize _debug; + + g_assert (app != NULL); + +diff --git a/ext/qt/qtglrenderer.cc b/ext/qt/qtglrenderer.cc +index 2ad5601fc..52965fd0b 100644 +--- a/ext/qt/qtglrenderer.cc ++++ b/ext/qt/qtglrenderer.cc +@@ -22,7 +22,7 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); + static void + init_debug (void) + { +- static volatile gsize _debug; ++ static gsize _debug; + + if (g_once_init_enter (&_debug)) { + GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtglrenderer", 0, +@@ -115,7 +115,7 @@ typedef enum + + struct SharedRenderData + { +- volatile int refcount; ++ int refcount; + SharedRenderDataState state; + GMutex lock; + GCond cond; +@@ -130,7 +130,7 @@ shared_render_data_new (void) + { + struct SharedRenderData *ret = g_new0 (struct SharedRenderData, 1); + +- ret->refcount = 1; ++ g_atomic_int_set (&ret->refcount, 1); + g_mutex_init (&ret->lock); + + return ret; +diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc +index 7659800b6..bc99639b4 100644 +--- a/ext/qt/qtitem.cc ++++ b/ext/qt/qtitem.cc +@@ -104,7 +104,7 @@ void InitializeSceneGraph::run() + + QtGLVideoItem::QtGLVideoItem() + { +- static volatile gsize _debug; ++ static gsize _debug; + + if (g_once_init_enter (&_debug)) { + GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtglwidget", 0, "Qt GL Widget"); +diff --git a/ext/qt/qtwindow.cc b/ext/qt/qtwindow.cc +index 9360c3337..7c44ac54e 100644 +--- a/ext/qt/qtwindow.cc ++++ b/ext/qt/qtwindow.cc +@@ -103,7 +103,7 @@ QtGLWindow::QtGLWindow ( QWindow * parent, QQuickWindow *src ) : + QQuickWindow( parent ), source (src) + { + QGuiApplication *app = static_cast<QGuiApplication *> (QCoreApplication::instance ()); +- static volatile gsize _debug; ++ static gsize _debug; + + g_assert (app != NULL); + +@@ -152,7 +152,7 @@ QtGLWindow::beforeRendering() + + g_mutex_lock (&this->priv->lock); + +- static volatile gsize once = 0; ++ static gsize once = 0; + if (g_once_init_enter(&once)) { + this->priv->start = QDateTime::currentDateTime().toMSecsSinceEpoch(); + g_once_init_leave(&once,1); +diff --git a/ext/vpx/gstvpxdec.c b/ext/vpx/gstvpxdec.c +index e92aa85c7..74cc3c970 100644 +--- a/ext/vpx/gstvpxdec.c ++++ b/ext/vpx/gstvpxdec.c +@@ -79,7 +79,7 @@ gst_vpx_dec_post_processing_flags_get_type (void) + {C_FLAGS (VP8_MFQE), "Multi-frame quality enhancement", "mfqe"}, + {0, NULL, NULL} + }; +- static volatile GType id = 0; ++ static GType id = 0; + + if (g_once_init_enter ((gsize *) & id)) { + GType _id; +diff --git a/ext/vpx/gstvpxenc.c b/ext/vpx/gstvpxenc.c +index cd5b30d14..4b3b4f770 100644 +--- a/ext/vpx/gstvpxenc.c ++++ b/ext/vpx/gstvpxenc.c +@@ -165,7 +165,7 @@ gst_vpx_enc_end_usage_get_type (void) + {VPX_CQ, "Constant Quality Mode (CQ) mode", "cq"}, + {0, NULL, NULL} + }; +- static volatile GType id = 0; ++ static GType id = 0; + + if (g_once_init_enter ((gsize *) & id)) { + GType _id; +@@ -188,7 +188,7 @@ gst_vpx_enc_multipass_mode_get_type (void) + {VPX_RC_LAST_PASS, "Last pass of multipass encoding", "last-pass"}, + {0, NULL, NULL} + }; +- static volatile GType id = 0; ++ static GType id = 0; + + if (g_once_init_enter ((gsize *) & id)) { + GType _id; +@@ -210,7 +210,7 @@ gst_vpx_enc_kf_mode_get_type (void) + {VPX_KF_DISABLED, "Don't automatically place keyframes", "disabled"}, + {0, NULL, NULL} + }; +- static volatile GType id = 0; ++ static GType id = 0; + + if (g_once_init_enter ((gsize *) & id)) { + GType _id; +@@ -232,7 +232,7 @@ gst_vpx_enc_tuning_get_type (void) + {VP8_TUNE_SSIM, "Tune for SSIM", "ssim"}, + {0, NULL, NULL} + }; +- static volatile GType id = 0; ++ static GType id = 0; + + if (g_once_init_enter ((gsize *) & id)) { + GType _id; +@@ -256,7 +256,7 @@ gst_vpx_enc_scaling_mode_get_type (void) + {VP8E_ONETWO, "1:2", "1:2"}, + {0, NULL, NULL} + }; +- static volatile GType id = 0; ++ static GType id = 0; + + if (g_once_init_enter ((gsize *) & id)) { + GType _id; +@@ -280,7 +280,7 @@ gst_vpx_enc_token_partitions_get_type (void) + {VP8_EIGHT_TOKENPARTITION, "Eight token partitions", "8"}, + {0, NULL, NULL} + }; +- static volatile GType id = 0; ++ static GType id = 0; + + if (g_once_init_enter ((gsize *) & id)) { + GType _id; +@@ -303,7 +303,7 @@ gst_vpx_enc_er_flags_get_type (void) + "Allow partitions to be decoded independently", "partitions"}, + {0, NULL, NULL} + }; +- static volatile GType id = 0; ++ static GType id = 0; + + if (g_once_init_enter ((gsize *) & id)) { + GType _id; +diff --git a/gst/audioparsers/gstac3parse.h b/gst/audioparsers/gstac3parse.h +index 0e7af5acd..81e2104d5 100644 +--- a/gst/audioparsers/gstac3parse.h ++++ b/gst/audioparsers/gstac3parse.h +@@ -62,7 +62,7 @@ struct _GstAc3Parse { + gint blocks; + gboolean eac; + gboolean sent_codec_tag; +- volatile gint align; ++ gint align; + GstPadChainFunction baseparse_chainfunc; + }; + +diff --git a/sys/rpicamsrc/gstrpicamsrc.c b/sys/rpicamsrc/gstrpicamsrc.c +index a148d4106..f719acb4c 100644 +--- a/sys/rpicamsrc/gstrpicamsrc.c ++++ b/sys/rpicamsrc/gstrpicamsrc.c +@@ -292,7 +292,7 @@ gst_rpi_cam_src_sensor_mode_get_type (void) + "640x480 4:3 60.1-90fps", "640x480-fast"}, + {0, NULL, NULL} + }; +- static volatile GType id = 0; ++ static GType id = 0; + if (g_once_init_enter ((gsize *) & id)) { + GType _id; + _id = g_enum_register_static ("GstRpiCamSrcSensorMode", values); +diff --git a/sys/ximage/ximageutil.c b/sys/ximage/ximageutil.c +index 57c9392c7..018b60515 100644 +--- a/sys/ximage/ximageutil.c ++++ b/sys/ximage/ximageutil.c +@@ -26,7 +26,7 @@ + GType + gst_meta_ximage_api_get_type (void) + { +- static volatile GType type; ++ static GType type; + static const gchar *tags[] = { "memory", NULL }; + + if (g_once_init_enter (&type)) { +-- +GitLab + + diff --git a/source/l/gtk+3/gtk+3.SlackBuild b/source/l/gtk+3/gtk+3.SlackBuild index 377b619a9..740909808 100755 --- a/source/l/gtk+3/gtk+3.SlackBuild +++ b/source/l/gtk+3/gtk+3.SlackBuild @@ -82,6 +82,9 @@ find . \ # the configure process doesn't try to call it: zcat $CWD/gtk.fix.missing.version-check.py.diff.gz | patch -p1 --verbose || exit 1 +# Loosen this up for gcc11: +zcat $CWD/gtk.array-bounds.gcc11.diff.gz | patch -p1 --verbose || exit 1 + # Configure, build, and install: export CFLAGS="$SLKCFLAGS -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS" export CXXFLAGS="$SLKCFLAGS -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS" diff --git a/source/l/gtk+3/gtk.array-bounds.gcc11.diff b/source/l/gtk+3/gtk.array-bounds.gcc11.diff new file mode 100644 index 000000000..99392a31f --- /dev/null +++ b/source/l/gtk+3/gtk.array-bounds.gcc11.diff @@ -0,0 +1,10 @@ +--- ./meson.build.orig 2021-08-05 23:49:52.169416580 -0500 ++++ ./meson.build 2021-08-05 23:50:01.955416038 -0500 +@@ -309,7 +309,6 @@ + '-Werror=sequence-point', + '-Werror=return-type', + '-Werror=trigraphs', +- '-Werror=array-bounds', + '-Werror=write-strings', + '-Werror=address', + '-Werror=int-to-pointer-cast', diff --git a/source/l/gtk4/doinst.sh b/source/l/gtk4/doinst.sh new file mode 100644 index 000000000..74cd752a0 --- /dev/null +++ b/source/l/gtk4/doinst.sh @@ -0,0 +1,21 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +# Obsolete in gtk4? +#config etc/gtk-4.0/gtkrc.new +#config etc/gtk-4.0/im-multipress.conf.new +#rm -f etc/gtk-4.0/gtkrc.new + +chroot . rm -f /usr/share/icons/*/icon-theme.cache 1> /dev/null 2> /dev/null +chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null +chroot . /usr/bin/gio-querymodules /usr/lib64/gtk-4.0/4.0.0/media 1> /dev/null 2> /dev/null +chroot . /usr/bin/gio-querymodules /usr/lib64/gtk-4.0/4.0.0/printbackends 1> /dev/null 2> /dev/null diff --git a/source/l/gtk4/gtk4.SlackBuild b/source/l/gtk4/gtk4.SlackBuild new file mode 100755 index 000000000..6f6101b1d --- /dev/null +++ b/source/l/gtk4/gtk4.SlackBuild @@ -0,0 +1,161 @@ +#!/bin/bash + +# Copyright 2008, 2009, 2010, 2011, 2013, 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 BY THE AUTHOR ``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. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=gtk4 +VERSION=${VERSION:-$(echo gtk-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + 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-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-gtk4 + +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" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG/usr +cd $TMP +rm -rf gtk-$VERSION +tar xvf $CWD/gtk-$VERSION.tar.?z || exit 1 +cd gtk-$VERSION || 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 {} \+ + +# Configure, build, and install: +export CFLAGS="$SLKCFLAGS -DG_ENABLE_DEBUG" +export CXXFLAGS="$SLKCFLAGS -DG_ENABLE_DEBUG" +mkdir meson-build +cd meson-build +meson setup \ + --prefix=/usr \ + --libdir=lib${LIBDIRSUFFIX} \ + --libexecdir=/usr/libexec \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --includedir=/usr/include \ + --datadir=/usr/share \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --buildtype=release \ + -Dman-pages=true \ + -Ddemos=true \ + -Dgtk_doc=false \ + -Dbroadway_backend=true \ + -Dexamples=false \ + -Dtests=false \ + -Dinstalled_tests=false \ + -Dwayland_backend=true \ + .. || exit 1 + "${NINJA:=ninja}" $NUMJOBS || exit 1 + DESTDIR=$PKG $NINJA install || exit 1 +cd .. + +# The following four things don't seem to be used by gtk4. But if something +# similar ends up being required, let me know. + +# Don't clobber im-multipress.conf +#mv $PKG/etc/gtk-4.0/im-multipress.conf $PKG/etc/gtk-4.0/im-multipress.conf.new + +# Install a "starter" gtkrc +#echo 'gtk-theme-name="Adwaita"' > $PKG/etc/gtk-4.0/gtkrc.new + +# We need to have separate 32-bit and 64-bit binaries for places where we have +# two copies of the GTK package installed (we might have x86_64 and i586 +# packages on the same system, for example.) +#if [ "$LIBDIRSUFFIX" = "64" ]; then +# mv $PKG/usr/bin/gtk-query-immodules-4.0{,-64} +# ( cd $PKG/usr/bin +# ln -sf gtk-query-immodules-4.0-64 gtk-query-immodules-4.0 +# ) +#else +# mv $PKG/usr/bin/gtk-query-immodules-4.0{,-32} +# ( cd $PKG/usr/bin +# ln -sf gtk-query-immodules-4.0-32 gtk-query-immodules-4.0 +# ) +#fi + +# Install wrappers for the binaries: +#cp $CWD/update-gtk-immodules-4.0 $PKG/usr/bin/update-gtk-immodules-4.0 +#chmod 0755 $PKG/usr/bin/update-* + +# Strip binaries: +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +# Compress manual pages: +find $PKG/usr/man -type f -exec gzip -9 {} \+ +for i in $( find $PKG/usr/man -type l ) ; do + ln -s $( readlink $i ).gz $i.gz + rm $i +done + +# Copy extra documentation into package. +mkdir -p $PKG/usr/doc/gtk4-$VERSION +cp -a \ + AUTHORS COPYING NEWS README \ + $PKG/usr/doc/gtk4-$VERSION +find $PKG/usr/doc/gtk4-$VERSION/ -type f -exec chmod 644 {} \+ +chown -R root:root $PKG/usr/doc/gtk4-$VERSION + +mkdir -p $PKG/install +zcat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -p -l y -c n $TMP/gtk4-${VERSION}-$ARCH-${BUILD}.txz diff --git a/source/l/gtk4/slack-desc b/source/l/gtk4/slack-desc new file mode 100644 index 000000000..7187360b8 --- /dev/null +++ b/source/l/gtk4/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------------------------------------------------------| +gtk4: gtk4 (multi-platform GUI toolkit v4) +gtk4: +gtk4: This is GTK, a multi-platform toolkit for creating graphical user +gtk4: interfaces. Offering a complete set of widgets, GTK+ is suitable for +gtk4: projects ranging from small one-off projects to complete application +gtk4: suites. +gtk4: +gtk4: +gtk4: +gtk4: +gtk4: diff --git a/source/l/gtkmm3/gtkmm3.SlackBuild b/source/l/gtkmm3/gtkmm3.SlackBuild index 1c944f616..cb5d066ab 100755 --- a/source/l/gtkmm3/gtkmm3.SlackBuild +++ b/source/l/gtkmm3/gtkmm3.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) SRCNAM=gtkmm PKGNAM=gtkmm3 VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} SRCNAM=gtkmm diff --git a/source/l/libwebp/libwebp.SlackBuild b/source/l/libwebp/libwebp.SlackBuild index 4474c8d22..3417a96e0 100755 --- a/source/l/libwebp/libwebp.SlackBuild +++ b/source/l/libwebp/libwebp.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libwebp VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/l/libwpd/libwpd.SlackBuild b/source/l/libwpd/libwpd.SlackBuild index 86a6eeffa..bd3656536 100755 --- a/source/l/libwpd/libwpd.SlackBuild +++ b/source/l/libwpd/libwpd.SlackBuild @@ -81,6 +81,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +zcat $CWD/libwpd.gcc11.diff.gz | patch -p1 --verbose || exit 1 + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/source/l/libwpd/libwpd.gcc11.diff b/source/l/libwpd/libwpd.gcc11.diff new file mode 100644 index 000000000..83855a04e --- /dev/null +++ b/source/l/libwpd/libwpd.gcc11.diff @@ -0,0 +1,21 @@ +--- ./src/lib/WPXContentListener.cpp.orig 2018-12-25 10:19:19.000000000 -0600 ++++ ./src/lib/WPXContentListener.cpp 2021-08-06 00:05:53.939363381 -0500 +@@ -23,6 +23,7 @@ + * Corel Corporation or Corel Corporation Limited." + */ + ++#include <cstddef> + #include "WPXContentListener.h" + #include "WPXPageSpan.h" + #include "libwpd_internal.h" +--- ./src/lib/WPXTable.cpp.orig 2018-12-25 10:19:19.000000000 -0600 ++++ ./src/lib/WPXTable.cpp 2021-08-06 00:05:19.424365290 -0500 +@@ -25,6 +25,8 @@ + * Corel Corporation or Corel Corporation Limited." + */ + ++#include <cstddef> ++ + #include "WPXTable.h" + + #include "libwpd_internal.h" diff --git a/source/l/mlt/mlt.SlackBuild b/source/l/mlt/mlt.SlackBuild index 59182265f..870e1b7d8 100755 --- a/source/l/mlt/mlt.SlackBuild +++ b/source/l/mlt/mlt.SlackBuild @@ -1,7 +1,6 @@ #!/bin/bash -# Copyright 2017, 2018, 2019, 2020 Eric Hameleers, Eindhoven, NL -# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -86,66 +85,37 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -PYTHONSITEPKG=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") - # Configure, build, and install: -if [ ! -r configure ]; then - if [ -x ./autogen.sh ]; then - NOCONFIGURE=1 ./autogen.sh - else - autoreconf -vif - fi -fi -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir=/usr/doc/$PKGNAM-$VERSION \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --disable-static \ - --avformat-swscale \ - --disable-debug \ - --enable-gpl \ - --enable-gpl3 \ - --enable-motion-est \ - --enable-opencv \ - --enable-qt \ - --qt-libdir=$(pkg-config Qt5Core --variable=libdir) \ - --qt-includedir=$(pkg-config Qt5Core --variable=includedir) \ - --swig-languages="python" \ - --build=$ARCH-slackware-linux || exit 1 -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 - -# Install the extensions we enabled: -install -D -m0755 src/swig/python/_mlt.so $PKG/$PYTHONSITEPKG/_mlt.so -install -D -m0755 src/swig/python/mlt_wrap.o $PKG/$PYTHONSITEPKG/mlt_wrap.o -install -D -m0755 src/swig/python/mlt.py $PKG/$PYTHONSITEPKG/mlt.py - -# Don't ship .la files: -rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +mkdir cmake-build +cd cmake-build + cmake \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX="$LIBDIRSUFFIX" \ + -DDOC_INSTALL_DIR="doc" \ + -DMAN_INSTALL_DIR=/usr/man \ + .. || exit 1 + make $NUMJOBS || make || exit 1 + make install DESTDIR=$PKG || exit 1 +cd .. # Strip binaries: find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# Compress manual pages: +find $PKG/usr/man -type f -exec gzip -9 {} \+ +for i in $( find $PKG/usr/man -type l ) ; do + ln -s $( readlink $i ).gz $i.gz + rm $i +done + # Add a documentation directory: mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION cp -a \ - AUTHORS* ChangeLog COPYING* GPL* NEWS* README* docs/*.txt \ + AUTHORS* ChangeLog CHANGES COPYING* LICENSE* NEWS* README* THANKS* TODO* \ $PKG/usr/doc/${PKGNAM}-$VERSION -# If there's a ChangeLog, installing at least part of the recent history -# is useful, but don't let it get totally out of control: -if [ -r ChangeLog ]; then - DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) - cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog - touch -r ChangeLog $DOCSDIR/ChangeLog -fi - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/source/l/mozilla-nss/mozilla-nss.SlackBuild b/source/l/mozilla-nss/mozilla-nss.SlackBuild index 4bef0f095..073f8b9c3 100755 --- a/source/l/mozilla-nss/mozilla-nss.SlackBuild +++ b/source/l/mozilla-nss/mozilla-nss.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mozilla-nss SRCNAM=nss -VERSION=${VERSION:-3.67} -NSPR=${NSPR:-4.31} +VERSION=${VERSION:-3.69} +NSPR=${NSPR:-4.32} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: diff --git a/source/l/ocl-icd/ocl-icd.SlackBuild b/source/l/ocl-icd/ocl-icd.SlackBuild index c133142da..a190ca152 100755 --- a/source/l/ocl-icd/ocl-icd.SlackBuild +++ b/source/l/ocl-icd/ocl-icd.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ocl-icd VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} diff --git a/source/l/openexr/openexr.SlackBuild b/source/l/openexr/openexr.SlackBuild index 6305eae95..286b4fc0f 100755 --- a/source/l/openexr/openexr.SlackBuild +++ b/source/l/openexr/openexr.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=openexr VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/l/pulseaudio/pulseaudio-autostart-meson.build.patch b/source/l/pulseaudio/pulseaudio-autostart-meson.build.patch new file mode 100644 index 000000000..a7fadb996 --- /dev/null +++ b/source/l/pulseaudio/pulseaudio-autostart-meson.build.patch @@ -0,0 +1,10 @@ +--- ./src/daemon/meson.build.orig 2021-07-27 15:02:27.738868200 -0500 ++++ ./src/daemon/meson.build 2021-08-09 13:15:24.344941127 -0500 +@@ -38,6 +38,7 @@ + if x11_dep.found() + conf = configuration_data() + conf.set('PACTL_BINARY', join_paths(bindir, 'pactl')) ++ conf.set('PA_BINARY', join_paths(bindir, 'pulseaudio')) + + configure_file( + input : 'start-pulseaudio-x11.in', diff --git a/source/l/pulseaudio/pulseaudio.SlackBuild b/source/l/pulseaudio/pulseaudio.SlackBuild index 39d4b77b3..bf389d8fc 100755 --- a/source/l/pulseaudio/pulseaudio.SlackBuild +++ b/source/l/pulseaudio/pulseaudio.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=pulseaudio VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -91,6 +91,8 @@ echo "X-MATE-Autostart-Phase=Initialization" >> src/daemon/pulseaudio.desktop.in # If autospawn isn't working, start-pulseaudio-x11 should start it manually: zcat $CWD/pulseaudio-autostart.patch.gz | patch -p1 --verbose || exit 1 +# When built by meson, this patch also required to fix the above issue: +zcat $CWD/pulseaudio-autostart-meson.build.patch.gz | patch -p1 --verbose || exit 1 # Configure, build, and install: export CFLAGS="$SLKCFLAGS" diff --git a/source/l/qt5/patches/0006-Fix-build-with-GCC-11-include-limits.patch b/source/l/qt5/patches/0006-Fix-build-with-GCC-11-include-limits.patch new file mode 100644 index 000000000..f014a160d --- /dev/null +++ b/source/l/qt5/patches/0006-Fix-build-with-GCC-11-include-limits.patch @@ -0,0 +1,53 @@ +From 9c56d4da2ff631a8c1c30475bd792f6c86bda53c Mon Sep 17 00:00:00 2001 +From: Thiago Macieira <thiago.macieira@intel.com> +Date: Mon, 18 Jan 2021 07:40:54 -0800 +Subject: [PATCH] Fix build with GCC 11: include <limits> + +Fixes: QTBUG-90395 +Pick-to: 6.0 +Change-Id: Iecc74d2000eb40dfbe7bfffd165b5dd3708b7a40 +Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> + +[Retrieved (and backported) from: +https://github.com/qt/qtbase/commit/9c56d4da2ff631a8c1c30475bd792f6c86bda53c] +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> +--- + src/corelib/global/qendian.h | 6 ++++-- + src/corelib/global/qfloat16.h | 1 + + 2 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h +index 99b529f17cd..c874c5e47ab 100644 +--- a/src/corelib/global/qendian.h ++++ b/src/corelib/global/qendian.h +@@ -1,7 +1,7 @@ + /**************************************************************************** + ** +-** Copyright (C) 2016 The Qt Company Ltd. +-** Copyright (C) 2016 Intel Corporation. ++** Copyright (C) 2021 The Qt Company Ltd. ++** Copyright (C) 2021 Intel Corporation. + ** Contact: https://www.qt.io/licensing/ + ** + ** This file is part of the QtCore module of the Qt Toolkit. +@@ -44,6 +44,8 @@ + #include <QtCore/qfloat16.h> + #include <QtCore/qglobal.h> + ++#include <limits> ++ + // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems + #include <stdlib.h> + #include <string.h> +diff --git a/src/corelib/global/qfloat16.h b/src/corelib/global/qfloat16.h +index e9477d2ecec..a25fac28862 100644 +--- a/src/corelib/global/qfloat16.h ++++ b/src/corelib/global/qfloat16.h +@@ -44,6 +44,7 @@ + + #include <QtCore/qglobal.h> + #include <QtCore/qmetatype.h> ++#include <limits> + #include <string.h> + + #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) diff --git a/source/l/qt5/patches/qt5-qtbase-gcc11.patch b/source/l/qt5/patches/qt5-qtbase-gcc11.patch new file mode 100644 index 000000000..c9567128a --- /dev/null +++ b/source/l/qt5/patches/qt5-qtbase-gcc11.patch @@ -0,0 +1,171 @@ +diff --git a/src/corelib/codecs/qtextcodec.cpp b/src/corelib/codecs/qtextcodec.cpp +index 06fd88da..dbff3239 100644 +--- a/src/corelib/codecs/qtextcodec.cpp ++++ b/src/corelib/codecs/qtextcodec.cpp +@@ -38,6 +38,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include "qplatformdefs.h" + + #include "qtextcodec.h" +diff --git a/src/corelib/codecs/qutfcodec.cpp b/src/corelib/codecs/qutfcodec.cpp +index 8561f908..8128d3cf 100644 +--- a/src/corelib/codecs/qutfcodec.cpp ++++ b/src/corelib/codecs/qutfcodec.cpp +@@ -38,6 +38,8 @@ + ** + ****************************************************************************/ + ++#include <limits> ++ + #include "qutfcodec_p.h" + #include "qlist.h" + #include "qendian.h" +diff --git a/src/corelib/global/qendian.cpp b/src/corelib/global/qendian.cpp +index eb08b2f8..6b41b3dd 100644 +--- a/src/corelib/global/qendian.cpp ++++ b/src/corelib/global/qendian.cpp +@@ -38,6 +38,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include "qendian.h" + + #include "qalgorithms.h" +diff --git a/src/corelib/global/qfloat16.cpp b/src/corelib/global/qfloat16.cpp +index c9733174..c62a1972 100644 +--- a/src/corelib/global/qfloat16.cpp ++++ b/src/corelib/global/qfloat16.cpp +@@ -38,6 +38,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include "qfloat16.h" + #include "private/qsimd_p.h" + #include <cmath> // for fpclassify()'s return values +diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp +index 10672c1f..6d5fd63e 100644 +--- a/src/corelib/global/qrandom.cpp ++++ b/src/corelib/global/qrandom.cpp +@@ -40,6 +40,7 @@ + // for rand_s + #define _CRT_RAND_S + ++#include <limits> + #include "qrandom.h" + #include "qrandom_p.h" + #include <qobjectdefs.h> +diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp +index 13eee353..9e7a7a41 100644 +--- a/src/corelib/plugin/qelfparser_p.cpp ++++ b/src/corelib/plugin/qelfparser_p.cpp +@@ -37,6 +37,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include "qelfparser_p.h" + + #if defined (Q_OF_ELF) && defined(Q_CC_GNU) +diff --git a/src/corelib/plugin/qmachparser.cpp b/src/corelib/plugin/qmachparser.cpp +index 11670caf..39f5596b 100644 +--- a/src/corelib/plugin/qmachparser.cpp ++++ b/src/corelib/plugin/qmachparser.cpp +@@ -37,6 +37,8 @@ + ** + ****************************************************************************/ + ++#include <limits> ++ + #include "qmachparser_p.h" + + #if defined(Q_OF_MACH_O) +diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp +index 83873edf..5aafb4e5 100644 +--- a/src/corelib/plugin/quuid.cpp ++++ b/src/corelib/plugin/quuid.cpp +@@ -38,6 +38,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include "quuid.h" + + #include "qcryptographichash.h" +diff --git a/src/corelib/serialization/qdatastream.cpp b/src/corelib/serialization/qdatastream.cpp +index 5082a8cb..7eecfcca 100644 +--- a/src/corelib/serialization/qdatastream.cpp ++++ b/src/corelib/serialization/qdatastream.cpp +@@ -40,6 +40,8 @@ + #include "qdatastream.h" + #include "qdatastream_p.h" + ++#include <limits> ++ + #if !defined(QT_NO_DATASTREAM) || defined(QT_BOOTSTRAPPED) + #include "qbuffer.h" + #include "qfloat16.h" +diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp +index 9a72df58..6651ee98 100644 +--- a/src/corelib/text/qbytearray.cpp ++++ b/src/corelib/text/qbytearray.cpp +@@ -39,6 +39,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include "qbytearray.h" + #include "qbytearraymatcher.h" + #include "private/qtools_p.h" +diff --git a/src/corelib/text/qbytearraymatcher.cpp b/src/corelib/text/qbytearraymatcher.cpp +index 72e09226..80511cb5 100644 +--- a/src/corelib/text/qbytearraymatcher.cpp ++++ b/src/corelib/text/qbytearraymatcher.cpp +@@ -37,6 +37,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include "qbytearraymatcher.h" + + #include <limits.h> +diff --git a/src/corelib/tools/qbitarray.cpp b/src/corelib/tools/qbitarray.cpp +index ab3054d5..22efb3a0 100644 +--- a/src/corelib/tools/qbitarray.cpp ++++ b/src/corelib/tools/qbitarray.cpp +@@ -38,6 +38,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include "qbitarray.h" + #include <qalgorithms.h> + #include <qdatastream.h> +diff --git a/src/corelib/tools/qcryptographichash.cpp b/src/corelib/tools/qcryptographichash.cpp +index fa8d21e0..cd85956d 100644 +--- a/src/corelib/tools/qcryptographichash.cpp ++++ b/src/corelib/tools/qcryptographichash.cpp +@@ -38,6 +38,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include <qcryptographichash.h> + #include <qiodevice.h> + +diff --git a/src/gui/text/qfontengine_qpf2.cpp b/src/gui/text/qfontengine_qpf2.cpp +index e00f9d05..917ab5f9 100644 +--- a/src/gui/text/qfontengine_qpf2.cpp ++++ b/src/gui/text/qfontengine_qpf2.cpp +@@ -37,6 +37,7 @@ + ** + ****************************************************************************/ + ++#include <limits> + #include "qfontengine_qpf2_p.h" + + #include <QtCore/QFile> diff --git a/source/l/qt5/patches/qt5-qtdeclarative-gcc11.patch b/source/l/qt5/patches/qt5-qtdeclarative-gcc11.patch new file mode 100644 index 000000000..91ea88b9e --- /dev/null +++ b/source/l/qt5/patches/qt5-qtdeclarative-gcc11.patch @@ -0,0 +1,21 @@ +--- ./qtdeclarative/src/qml/jsruntime/qv4regexp_p.h.orig 2020-10-27 03:02:12.000000000 -0500 ++++ ./qtdeclarative/src/qml/jsruntime/qv4regexp_p.h 2021-08-05 13:38:38.366445122 -0500 +@@ -57,7 +57,7 @@ + #include <wtf/FastAllocBase.h> + #include <wtf/BumpPointerAllocator.h> + +-#include <limits.h> ++#include <limits> + + #include <yarr/Yarr.h> + #include <yarr/YarrInterpreter.h> +--- ./qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h.orig 2020-10-27 03:02:12.000000000 -0500 ++++ ./qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h 2021-08-05 13:39:39.671441731 -0500 +@@ -48,6 +48,7 @@ + #include <QtCore/qmetatype.h> + + #include <initializer_list> ++#include <limits> + #include <type_traits> + + // diff --git a/source/l/qt5/patches/qt5-qtwebengine-gcc11.patch b/source/l/qt5/patches/qt5-qtwebengine-gcc11.patch new file mode 100644 index 000000000..3b2606e6e --- /dev/null +++ b/source/l/qt5/patches/qt5-qtwebengine-gcc11.patch @@ -0,0 +1,20 @@ +-- a/src/3rdparty/chromium/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc
++++ b/src/3rdparty/chromium/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc
+@@ -40,6 +40,7 @@
+ #include "absl/base/internal/hide_ptr.h"
+ #include "absl/base/internal/raw_logging.h"
+ #include "absl/base/internal/spinlock.h"
++#include <limits>
+
+ // Do not use STL. This module does not use standard memory allocation.
+
+--- a/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
++++ b/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
+@@ -19,6 +19,7 @@
+
+ #include <stddef.h>
+ #include <stdint.h>
++#include <limits>
+
+ #include <unordered_map>
+ #include <vector>
diff --git a/source/l/qt5/patches/qt5-qtwebsockets-gcc11.patch b/source/l/qt5/patches/qt5-qtwebsockets-gcc11.patch new file mode 100644 index 000000000..5b33d7b30 --- /dev/null +++ b/source/l/qt5/patches/qt5-qtwebsockets-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/src/websockets/qwebsocketprotocol.cpp b/src/websockets/qwebsocketprotocol.cpp +index df87a93..9556d18 100644 +--- a/src/websockets/qwebsocketprotocol.cpp ++++ b/src/websockets/qwebsocketprotocol.cpp +@@ -38,6 +38,7 @@ + ****************************************************************************/ + + #include "qwebsocketprotocol_p.h" ++#include <limits> + #include <QtCore/QString> + #include <QtCore/QSet> + #include <QtCore/QtEndian> diff --git a/source/l/qt5/patches/qtconcurrentthreadengine.h-gcc11.patch b/source/l/qt5/patches/qtconcurrentthreadengine.h-gcc11.patch new file mode 100644 index 000000000..534b594d9 --- /dev/null +++ b/source/l/qt5/patches/qtconcurrentthreadengine.h-gcc11.patch @@ -0,0 +1,14 @@ +--- ./qtbase/src/concurrent/qtconcurrentthreadengine.h.orig 2020-10-27 03:02:11.000000000 -0500 ++++ ./qtbase/src/concurrent/qtconcurrentthreadengine.h 2021-08-05 14:20:37.774305766 -0500 +@@ -247,8 +247,9 @@ + class ThreadEngineStarter<void> : public ThreadEngineStarterBase<void> + { + public: +- ThreadEngineStarter<void>(ThreadEngine<void> *_threadEngine) +- :ThreadEngineStarterBase<void>(_threadEngine) {} ++ ThreadEngineStarter(ThreadEngine<void> *_threadEngine) ++ : ThreadEngineStarterBase<void>(_threadEngine) {} ++ + + void startBlocking() + { diff --git a/source/l/qt5/qt5.SlackBuild b/source/l/qt5/qt5.SlackBuild index a406bd9f5..d6de2438b 100755 --- a/source/l/qt5/qt5.SlackBuild +++ b/source/l/qt5/qt5.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=qt5 VERSION=$(ls qt-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev) -BUILD=${BUILD:-10} +BUILD=${BUILD:-11} PKGSRC=$(echo $VERSION | cut -d - -f 1) PKGVER=$(echo $VERSION | tr - _) @@ -124,6 +124,20 @@ fi # Fix path to mysql header: zcat $CWD/patches/qt5.mysql.h.diff.gz | patch -p1 --verbose || exit 1 +# Fix build with gcc11: +cd qtbase + zcat $CWD/patches/qt5-qtbase-gcc11.patch.gz | patch -p1 --verbose || exit 1 + zcat $CWD/patches/0006-Fix-build-with-GCC-11-include-limits.patch.gz | patch -p1 --verbose || exit 1 +cd - 1>/dev/null +zcat $CWD/patches/qt5-qtdeclarative-gcc11.patch.gz | patch -p1 --verbose || exit 1 +cd qtwebsockets + zcat $CWD/patches/qt5-qtwebsockets-gcc11.patch.gz | patch -p1 --verbose || exit 1 +cd - 1>/dev/null +zcat $CWD/patches/qtconcurrentthreadengine.h-gcc11.patch.gz | patch -p1 --verbose || exit 1 +cd qtwebengine + zcat $CWD/patches/qt5-qtwebengine-gcc11.patch.gz | patch -p1 --verbose || exit 1 +cd - 1>/dev/null + # CMake generates wrong -isystem /usr/include compilations flags with Qt5::Gui # and for it breaks KWin compilation with: # /usr/include/c++/9.1.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory @@ -217,7 +231,9 @@ export QT_PLUGIN_PATH="${QTDIR}/qtbase/plugins" # Sometimes a failure happens when parallelizing make. Try again if make fails, # but make a failure the second time around (single threaded) a fatal error: -make $NUMJOBS || make || exit 1 +#### DEBUG +make $NUMJOBS || exit 1 +#make $NUMJOBS || make || exit 1 make install INSTALL_ROOT=$PKG || exit 1 # Strip binaries: diff --git a/source/l/tidy-html5/tidy-html5.SlackBuild b/source/l/tidy-html5/tidy-html5.SlackBuild index 5b42defa5..70402eaad 100755 --- a/source/l/tidy-html5/tidy-html5.SlackBuild +++ b/source/l/tidy-html5/tidy-html5.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=tidy-html5 VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -102,7 +102,7 @@ cd cmake-build cd .. # Don't package static library: -rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libtidys.a +rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libtidy.a # Strip binaries: find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null diff --git a/source/l/v4l-utils/v4l-utils.SlackBuild b/source/l/v4l-utils/v4l-utils.SlackBuild index e2ac7aa32..f83a08996 100755 --- a/source/l/v4l-utils/v4l-utils.SlackBuild +++ b/source/l/v4l-utils/v4l-utils.SlackBuild @@ -79,9 +79,12 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +# Using -std=gnu++14 to fix compile with gcc11 - revisit later to see if it's +# still needed. + # Configure: CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=gnu++14" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ |