Tue Jun 6 20:26:59 UTC 2023

a/kernel-firmware-20230531_fc90c59-noarch-1.txz:  Upgraded.
a/kernel-generic-6.1.32-x86_64-1.txz:  Upgraded.
a/kernel-huge-6.1.32-x86_64-1.txz:  Upgraded.
a/kernel-modules-6.1.32-x86_64-1.txz:  Upgraded.
d/gcc-13.1.0-x86_64-2.txz:  Rebuilt.
d/gcc-g++-13.1.0-x86_64-2.txz:  Rebuilt.
d/gcc-gdc-13.1.0-x86_64-2.txz:  Rebuilt.
d/gcc-gfortran-13.1.0-x86_64-2.txz:  Rebuilt.
d/gcc-gm2-13.1.0-x86_64-2.txz:  Added.
d/gcc-gnat-13.1.0-x86_64-2.txz:  Rebuilt.
d/gcc-go-13.1.0-x86_64-2.txz:  Rebuilt.
d/gcc-objc-13.1.0-x86_64-2.txz:  Rebuilt.
d/kernel-headers-6.1.32-x86-1.txz:  Upgraded.
d/libtool-2.4.7-x86_64-5.txz:  Rebuilt.
  Recompiled to update embedded GCC version number.
k/kernel-source-6.1.32-noarch-1.txz:  Upgraded.
kde/calligra-3.2.1-x86_64-30.txz:  Rebuilt.
  Recompiled against poppler-23.06.0.
kde/cantor-23.04.1-x86_64-2.txz:  Rebuilt.
  Recompiled against poppler-23.06.0.
kde/kfilemetadata-5.106.0-x86_64-2.txz:  Rebuilt.
  Recompiled against poppler-23.06.0.
kde/kile-2.9.93-x86_64-25.txz:  Rebuilt.
  Recompiled against poppler-23.06.0.
kde/kitinerary-23.04.1-x86_64-2.txz:  Rebuilt.
  Recompiled against poppler-23.06.0.
kde/krita-5.1.5-x86_64-10.txz:  Rebuilt.
  Recompiled against poppler-23.06.0.
kde/okteta-0.26.11-x86_64-1.txz:  Upgraded.
kde/okular-23.04.1-x86_64-2.txz:  Rebuilt.
  Recompiled against poppler-23.06.0.
l/enchant-2.5.0-x86_64-1.txz:  Upgraded.
l/gtk4-4.10.4-x86_64-1.txz:  Upgraded.
l/mozilla-nss-3.90-x86_64-1.txz:  Upgraded.
l/openexr-3.1.8-x86_64-1.txz:  Upgraded.
l/poppler-23.06.0-x86_64-1.txz:  Upgraded.
  Shared library .so-version bump.
l/qtkeychain-0.14.1-x86_64-1.txz:  Upgraded.
n/krb5-1.21-x86_64-1.txz:  Upgraded.
n/ntp-4.2.8p17-x86_64-1.txz:  Upgraded.
  This is a bugfix release.
n/postfix-3.8.1-x86_64-1.txz:  Upgraded.
x/xorg-server-xwayland-23.1.2-x86_64-1.txz:  Upgraded.
x/xorgproto-2023.1-x86_64-1.txz:  Upgraded.
xap/mozilla-firefox-114.0-x86_64-1.txz:  Upgraded.
  This update contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/114.0/releasenotes/
    https://www.mozilla.org/security/advisories/mfsa2023-20/
    https://www.cve.org/CVERecord?id=CVE-2023-34414
    https://www.cve.org/CVERecord?id=CVE-2023-34415
    https://www.cve.org/CVERecord?id=CVE-2023-34416
    https://www.cve.org/CVERecord?id=CVE-2023-34417
  (* Security fix *)
xfce/xfce4-panel-profiles-1.0.14-x86_64-1.txz:  Upgraded.
extra/sendmail/sendmail-8.17.2-x86_64-2.txz:  Rebuilt.
  Recompiled without -DUSE_EAI or ICU libraries as this experimental option
  is still leading to regressions.
extra/sendmail/sendmail-cf-8.17.2-noarch-2.txz:  Rebuilt.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
This commit is contained in:
Patrick J Volkerding 2023-06-06 20:26:59 +00:00 committed by Eric Hameleers
parent cf35a7e0c8
commit e4cf5f582a
52 changed files with 531 additions and 1218 deletions

View file

@ -11,9 +11,81 @@
<description>Tracking Slackware development in git.</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id>
<pubDate>Sun, 4 Jun 2023 19:16:13 GMT</pubDate>
<lastBuildDate>Sun, 4 Jun 2023 20:33:47 GMT</lastBuildDate>
<pubDate>Tue, 6 Jun 2023 20:26:59 GMT</pubDate>
<lastBuildDate>Tue, 6 Jun 2023 22:59:23 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator>
<item>
<title>Tue, 6 Jun 2023 20:26:59 GMT</title>
<pubDate>Tue, 6 Jun 2023 20:26:59 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20230606202659</link>
<guid isPermaLink="false">20230606202659</guid>
<description>
<![CDATA[<pre>
a/kernel-firmware-20230531_fc90c59-noarch-1.txz: Upgraded.
a/kernel-generic-6.1.32-x86_64-1.txz: Upgraded.
a/kernel-huge-6.1.32-x86_64-1.txz: Upgraded.
a/kernel-modules-6.1.32-x86_64-1.txz: Upgraded.
d/gcc-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-g++-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gdc-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gfortran-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gm2-13.1.0-x86_64-2.txz: Added.
d/gcc-gnat-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-go-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-objc-13.1.0-x86_64-2.txz: Rebuilt.
d/kernel-headers-6.1.32-x86-1.txz: Upgraded.
d/libtool-2.4.7-x86_64-5.txz: Rebuilt.
Recompiled to update embedded GCC version number.
k/kernel-source-6.1.32-noarch-1.txz: Upgraded.
kde/calligra-3.2.1-x86_64-30.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/cantor-23.04.1-x86_64-2.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/kfilemetadata-5.106.0-x86_64-2.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/kile-2.9.93-x86_64-25.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/kitinerary-23.04.1-x86_64-2.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/krita-5.1.5-x86_64-10.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/okteta-0.26.11-x86_64-1.txz: Upgraded.
kde/okular-23.04.1-x86_64-2.txz: Rebuilt.
Recompiled against poppler-23.06.0.
l/enchant-2.5.0-x86_64-1.txz: Upgraded.
l/gtk4-4.10.4-x86_64-1.txz: Upgraded.
l/mozilla-nss-3.90-x86_64-1.txz: Upgraded.
l/openexr-3.1.8-x86_64-1.txz: Upgraded.
l/poppler-23.06.0-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
l/qtkeychain-0.14.1-x86_64-1.txz: Upgraded.
n/krb5-1.21-x86_64-1.txz: Upgraded.
n/ntp-4.2.8p17-x86_64-1.txz: Upgraded.
This is a bugfix release.
n/postfix-3.8.1-x86_64-1.txz: Upgraded.
x/xorg-server-xwayland-23.1.2-x86_64-1.txz: Upgraded.
x/xorgproto-2023.1-x86_64-1.txz: Upgraded.
xap/mozilla-firefox-114.0-x86_64-1.txz: Upgraded.
This update contains security fixes and improvements.
For more information, see:
https://www.mozilla.org/en-US/firefox/114.0/releasenotes/
https://www.mozilla.org/security/advisories/mfsa2023-20/
https://www.cve.org/CVERecord?id=CVE-2023-34414
https://www.cve.org/CVERecord?id=CVE-2023-34415
https://www.cve.org/CVERecord?id=CVE-2023-34416
https://www.cve.org/CVERecord?id=CVE-2023-34417
(* Security fix *)
xfce/xfce4-panel-profiles-1.0.14-x86_64-1.txz: Upgraded.
extra/sendmail/sendmail-8.17.2-x86_64-2.txz: Rebuilt.
Recompiled without -DUSE_EAI or ICU libraries as this experimental option
is still leading to regressions.
extra/sendmail/sendmail-cf-8.17.2-noarch-2.txz: Rebuilt.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
</pre>]]>
</description>
</item>
<item>
<title>Sun, 4 Jun 2023 19:16:13 GMT</title>
<pubDate>Sun, 4 Jun 2023 19:16:13 GMT</pubDate>

View file

@ -1,3 +1,67 @@
Tue Jun 6 20:26:59 UTC 2023
a/kernel-firmware-20230531_fc90c59-noarch-1.txz: Upgraded.
a/kernel-generic-6.1.32-x86_64-1.txz: Upgraded.
a/kernel-huge-6.1.32-x86_64-1.txz: Upgraded.
a/kernel-modules-6.1.32-x86_64-1.txz: Upgraded.
d/gcc-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-g++-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gdc-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gfortran-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gm2-13.1.0-x86_64-2.txz: Added.
d/gcc-gnat-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-go-13.1.0-x86_64-2.txz: Rebuilt.
d/gcc-objc-13.1.0-x86_64-2.txz: Rebuilt.
d/kernel-headers-6.1.32-x86-1.txz: Upgraded.
d/libtool-2.4.7-x86_64-5.txz: Rebuilt.
Recompiled to update embedded GCC version number.
k/kernel-source-6.1.32-noarch-1.txz: Upgraded.
kde/calligra-3.2.1-x86_64-30.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/cantor-23.04.1-x86_64-2.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/kfilemetadata-5.106.0-x86_64-2.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/kile-2.9.93-x86_64-25.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/kitinerary-23.04.1-x86_64-2.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/krita-5.1.5-x86_64-10.txz: Rebuilt.
Recompiled against poppler-23.06.0.
kde/okteta-0.26.11-x86_64-1.txz: Upgraded.
kde/okular-23.04.1-x86_64-2.txz: Rebuilt.
Recompiled against poppler-23.06.0.
l/enchant-2.5.0-x86_64-1.txz: Upgraded.
l/gtk4-4.10.4-x86_64-1.txz: Upgraded.
l/mozilla-nss-3.90-x86_64-1.txz: Upgraded.
l/openexr-3.1.8-x86_64-1.txz: Upgraded.
l/poppler-23.06.0-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
l/qtkeychain-0.14.1-x86_64-1.txz: Upgraded.
n/krb5-1.21-x86_64-1.txz: Upgraded.
n/ntp-4.2.8p17-x86_64-1.txz: Upgraded.
This is a bugfix release.
n/postfix-3.8.1-x86_64-1.txz: Upgraded.
x/xorg-server-xwayland-23.1.2-x86_64-1.txz: Upgraded.
x/xorgproto-2023.1-x86_64-1.txz: Upgraded.
xap/mozilla-firefox-114.0-x86_64-1.txz: Upgraded.
This update contains security fixes and improvements.
For more information, see:
https://www.mozilla.org/en-US/firefox/114.0/releasenotes/
https://www.mozilla.org/security/advisories/mfsa2023-20/
https://www.cve.org/CVERecord?id=CVE-2023-34414
https://www.cve.org/CVERecord?id=CVE-2023-34415
https://www.cve.org/CVERecord?id=CVE-2023-34416
https://www.cve.org/CVERecord?id=CVE-2023-34417
(* Security fix *)
xfce/xfce4-panel-profiles-1.0.14-x86_64-1.txz: Upgraded.
extra/sendmail/sendmail-8.17.2-x86_64-2.txz: Rebuilt.
Recompiled without -DUSE_EAI or ICU libraries as this experimental option
is still leading to regressions.
extra/sendmail/sendmail-cf-8.17.2-noarch-2.txz: Rebuilt.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
+--------------------------+
Sun Jun 4 19:16:13 UTC 2023
l/ocl-icd-2.3.2-x86_64-1.txz: Upgraded.
n/libmilter-8.17.2-x86_64-1.txz: Upgraded.

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
Slackware initrd mini HOWTO
by Patrick Volkerding, volkerdi@slackware.com
Wed May 31 01:17:42 UTC 2023
Tue Jun 6 20:11:41 UTC 2023
This document describes how to create and install an initrd, which may be
required to use the 4.x kernel. Also see "man mkinitrd".
@ -33,15 +33,15 @@ flexible to ship a generic kernel and a set of kernel modules for it.
The easiest way to make the initrd is to use the mkinitrd script included
in Slackware's mkinitrd package. We'll walk through the process of
upgrading to the generic 6.1.31 Linux kernel using the packages
upgrading to the generic 6.1.32 Linux kernel using the packages
found in Slackware's slackware/a/ directory.
First, make sure the kernel, kernel modules, and mkinitrd package are
installed (the current version numbers might be a little different, so
this is just an example):
installpkg kernel-generic-6.1.31-x86_64-1.txz
installpkg kernel-modules-6.1.31-x86_64-1.txz
installpkg kernel-generic-6.1.32-x86_64-1.txz
installpkg kernel-modules-6.1.32-x86_64-1.txz
installpkg mkinitrd-1.4.11-x86_64-32.txz
Change into the /boot directory:
@ -52,7 +52,7 @@ Now you'll want to run "mkinitrd". I'm using ext4 for my root filesystem,
and since the disk controller requires no special support the ext4 module
will be the only one I need to load:
mkinitrd -c -k 6.1.31 -m ext4
mkinitrd -c -k 6.1.32 -m ext4
This should do two things. First, it will create a directory
/boot/initrd-tree containing the initrd's filesystem. Then it will
@ -61,10 +61,10 @@ you could make some additional changes in /boot/initrd-tree/ and
then run mkinitrd again without options to rebuild the image. That's
optional, though, and only advanced users will need to think about that.
Here's another example: Build an initrd image using Linux 6.1.31
Here's another example: Build an initrd image using Linux 6.1.32
kernel modules for a system with an ext4 root partition on /dev/sdb3:
mkinitrd -c -k 6.1.31 -m ext4 -f ext4 -r /dev/sdb3
mkinitrd -c -k 6.1.32 -m ext4 -f ext4 -r /dev/sdb3
4. Now that I've built an initrd, how do I use it?

View file

@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
VERSION=8.17.2
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then

View file

@ -22,7 +22,7 @@
VERSION=8.17.2
ARCH=noarch
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
CWD=$(pwd)
TMP=${TMP:-/tmp}

View file

@ -1,6 +1,6 @@
APPENDDEF(`confMAPDEF', `-DNEWDB')
APPENDDEF(`confLIBS', `-lnsl -lssl -lcrypto -lsasl2 -lwrap -lm -ldb -lresolv -licui18n -licuuc -licudata')
APPENDDEF(`confLIBS', `-lnsl -lssl -lcrypto -lsasl2 -lwrap -lm -ldb -lresolv')
APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER')
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`confENVDEF', `-DNETINET6 -DHAS_GETHOSTBYNAME2=1 -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS -DMAP_REGEX -DSOCKETMAP -DTLS_EC -DUSE_EAI')dnl
APPENDDEF(`confENVDEF', `-DNETINET6 -DHAS_GETHOSTBYNAME2=1 -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS -DMAP_REGEX -DSOCKETMAP -DTLS_EC')dnl

View file

@ -1,5 +1,5 @@
Welcome to 09Slackware6407 version 15.1 (Linux kernel 6.1.31)!
Welcome to 09Slackware6407 version 15.1 (Linux kernel 6.1.32)!
If you need to pass extra parameters to the kernel, enter them at the prompt
below after the name of the kernel to boot (e.g., huge.s).

View file

@ -1,3 +1,3 @@
These kernels are version 6.1.31.
These kernels are version 6.1.32.

View file

@ -1148,4 +1148,3 @@ gzip ./source/x/ibus/emoji-test.txt
gzip ./source/x/xcm/xcm.udev.rules.diff
gzip ./source/x/libva/doinst.sh
gzip ./testing/source/rust/link_libffi.diff
gzip ./testing/source/gcc/patches/gcc-no_fixincludes.diff

View file

@ -66,9 +66,9 @@ system. :^) Press ENTER when you are done." 21 76 10 \
"jfsutils" "Utilities for IBM's Journaled Filesystem" "on" \
"kbd" "Change keyboard and console mappings" "on" \
"kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \
"kernel-generic" "Generic 6.1.31 kernel (needs an initrd)" "on" \
"kernel-huge" "Loaded 6.1.31 Linux kernel" "on" \
"kernel-modules" "Linux 6.1.31 kernel modules -- REQUIRED" "on" \
"kernel-generic" "Generic 6.1.32 kernel (needs an initrd)" "on" \
"kernel-huge" "Loaded 6.1.32 Linux kernel" "on" \
"kernel-modules" "Linux 6.1.32 kernel modules -- REQUIRED" "on" \
"kmod" "Kernel module utilities -- REQUIRED" "on" \
"lbzip2" "Parallel bzip2 compressor" "on" \
"less" "A text pager utility - REQUIRED" "on" \

View file

@ -66,9 +66,9 @@ system. :^) Press ENTER when you are done." 21 76 10 \
"jfsutils" "Utilities for IBM's Journaled Filesystem" "on" \
"kbd" "Change keyboard and console mappings" "on" \
"kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \
"kernel-generic" "Generic 6.1.31 kernel (needs an initrd)" "on" \
"kernel-huge" "Loaded 6.1.31 Linux kernel" "on" \
"kernel-modules" "Linux 6.1.31 kernel modules -- REQUIRED" "on" \
"kernel-generic" "Generic 6.1.32 kernel (needs an initrd)" "on" \
"kernel-huge" "Loaded 6.1.32 Linux kernel" "on" \
"kernel-modules" "Linux 6.1.32 kernel modules -- REQUIRED" "on" \
"kmod" "Kernel module utilities -- REQUIRED" "on" \
"lbzip2" "Parallel bzip2 compressor" "on" \
"less" "A text pager utility - REQUIRED" "on" \

View file

@ -33,6 +33,7 @@ done." 22 72 12 \
"gcc-g++" "GNU C++ compiler for gcc" "on" \
"gcc-gdc" "GNU D compiler for gcc" "on" \
"gcc-gfortran" "GNU Fortran 95/2003/2008 compiler for gcc" "on" \
"gcc-gm2" "GNU Modula-2 compiler for gcc" "on" \
"gcc-gnat" "GNU Ada83/95/2005/2012 compiler for gcc" "on" \
"gcc-go" "GNU Go compiler for gcc" "on" \
"gcc-objc" "GNU Objective-C/C++ compiler for gcc" "on" \
@ -89,7 +90,7 @@ if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
> $TMP/SeTnewtag
for pkg in \
Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer cbindgen ccache check clisp cmake cscope cvs dev86 distcc doxygen flex gcc gcc-g++ gcc-gdc gcc-gfortran gcc-gnat gcc-go gcc-objc gdb gettext-tools git gnucobol gperf guile gyp help2man icecream indent intltool kernel-headers libtool llvm m4 make mercurial meson nasm ninja opencl-headers oprofile p2c pahole parallel patchelf perl pkg-config pmake poke python-pip python-setuptools python2 python3 rcs re2c rinutils ruby rust rust-bindgen sassc scons slacktrack strace subversion swig vala yasm \
Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer cbindgen ccache check clisp cmake cscope cvs dev86 distcc doxygen flex gcc gcc-g++ gcc-gdc gcc-gfortran gcc-gm2 gcc-gnat gcc-go gcc-objc gdb gettext-tools git gnucobol gperf guile gyp help2man icecream indent intltool kernel-headers libtool llvm m4 make mercurial meson nasm ninja opencl-headers oprofile p2c pahole parallel patchelf perl pkg-config pmake poke python-pip python-setuptools python2 python3 rcs re2c rinutils ruby rust rust-bindgen sassc scons slacktrack strace subversion swig vala yasm \
; do
echo "$pkg: SKP" >> $TMP/SeTnewtag
done
@ -97,7 +98,7 @@ Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer c
fi
cat /dev/null > $TMP/SeTnewtag
for PACKAGE in \
Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer cbindgen ccache check clisp cmake cscope cvs dev86 distcc doxygen flex gcc gcc-g++ gcc-gdc gcc-gfortran gcc-gnat gcc-go gcc-objc gdb gettext-tools git gnucobol gperf guile gyp help2man icecream indent intltool kernel-headers libtool llvm m4 make mercurial meson nasm ninja opencl-headers oprofile p2c pahole parallel patchelf perl pkg-config pmake poke python-pip python-setuptools python2 python3 rcs re2c rinutils ruby rust rust-bindgen sassc scons slacktrack strace subversion swig vala yasm \
Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer cbindgen ccache check clisp cmake cscope cvs dev86 distcc doxygen flex gcc gcc-g++ gcc-gdc gcc-gfortran gcc-gm2 gcc-gnat gcc-go gcc-objc gdb gettext-tools git gnucobol gperf guile gyp help2man icecream indent intltool kernel-headers libtool llvm m4 make mercurial meson nasm ninja opencl-headers oprofile p2c pahole parallel patchelf perl pkg-config pmake poke python-pip python-setuptools python2 python3 rcs re2c rinutils ruby rust rust-bindgen sassc scons slacktrack strace subversion swig vala yasm \
; do
if grep "\(^\| \)$PACKAGE\( \|$\)" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
echo "$PACKAGE: ADD" >> $TMP/SeTnewtag

View file

@ -33,6 +33,7 @@ done." 22 72 12 \
"gcc-g++" "GNU C++ compiler for gcc" "on" \
"gcc-gdc" "GNU D compiler for gcc" "on" \
"gcc-gfortran" "GNU Fortran 95/2003/2008 compiler for gcc" "on" \
"gcc-gm2" "GNU Modula-2 compiler for gcc" "on" \
"gcc-gnat" "GNU Ada83/95/2005/2012 compiler for gcc" "on" \
"gcc-go" "GNU Go compiler for gcc" "on" \
"gcc-objc" "GNU Objective-C/C++ compiler for gcc" "on" \
@ -89,7 +90,7 @@ if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
> $TMP/SeTnewtag
for pkg in \
Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer cbindgen ccache check clisp cmake cscope cvs dev86 distcc doxygen flex gcc gcc-g++ gcc-gdc gcc-gfortran gcc-gnat gcc-go gcc-objc gdb gettext-tools git gnucobol gperf guile gyp help2man icecream indent intltool kernel-headers libtool llvm m4 make mercurial meson nasm ninja opencl-headers oprofile p2c pahole parallel patchelf perl pkg-config pmake poke python-pip python-setuptools python2 python3 rcs re2c rinutils ruby rust rust-bindgen sassc scons slacktrack strace subversion swig vala yasm \
Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer cbindgen ccache check clisp cmake cscope cvs dev86 distcc doxygen flex gcc gcc-g++ gcc-gdc gcc-gfortran gcc-gm2 gcc-gnat gcc-go gcc-objc gdb gettext-tools git gnucobol gperf guile gyp help2man icecream indent intltool kernel-headers libtool llvm m4 make mercurial meson nasm ninja opencl-headers oprofile p2c pahole parallel patchelf perl pkg-config pmake poke python-pip python-setuptools python2 python3 rcs re2c rinutils ruby rust rust-bindgen sassc scons slacktrack strace subversion swig vala yasm \
; do
echo "$pkg: SKP" >> $TMP/SeTnewtag
done
@ -97,7 +98,7 @@ Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer c
fi
cat /dev/null > $TMP/SeTnewtag
for PACKAGE in \
Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer cbindgen ccache check clisp cmake cscope cvs dev86 distcc doxygen flex gcc gcc-g++ gcc-gdc gcc-gfortran gcc-gnat gcc-go gcc-objc gdb gettext-tools git gnucobol gperf guile gyp help2man icecream indent intltool kernel-headers libtool llvm m4 make mercurial meson nasm ninja opencl-headers oprofile p2c pahole parallel patchelf perl pkg-config pmake poke python-pip python-setuptools python2 python3 rcs re2c rinutils ruby rust rust-bindgen sassc scons slacktrack strace subversion swig vala yasm \
Cython autoconf autoconf-archive automake binutils bison cargo-vendor-filterer cbindgen ccache check clisp cmake cscope cvs dev86 distcc doxygen flex gcc gcc-g++ gcc-gdc gcc-gfortran gcc-gm2 gcc-gnat gcc-go gcc-objc gdb gettext-tools git gnucobol gperf guile gyp help2man icecream indent intltool kernel-headers libtool llvm m4 make mercurial meson nasm ninja opencl-headers oprofile p2c pahole parallel patchelf perl pkg-config pmake poke python-pip python-setuptools python2 python3 rcs re2c rinutils ruby rust rust-bindgen sassc scons slacktrack strace subversion swig vala yasm \
; do
if grep "\(^\| \)$PACKAGE\( \|$\)" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
echo "$PACKAGE: ADD" >> $TMP/SeTnewtag

View file

@ -20,6 +20,7 @@ gcc:ADD
gcc-g++:REC
gcc-gdc:OPT
gcc-gfortran:OPT
gcc-gm2:OPT
gcc-gnat:OPT
gcc-go:OPT
gcc-objc:OPT

View file

@ -21,7 +21,7 @@ from series K. Use the UP/DOWN keys to scroll through the list, and \
the SPACE key to deselect any items you don't want to install. \
Press ENTER when you are \
done." 11 70 1 \
"kernel-source" "Linux 6.1.31 kernel source" "on" \
"kernel-source" "Linux 6.1.32 kernel source" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs

View file

@ -21,7 +21,7 @@ from series K. Use the UP/DOWN keys to scroll through the list, and \
the SPACE key to deselect any items you don't want to install. \
Press ENTER when you are \
done." 11 70 1 \
"kernel-source" "Linux 6.1.31 kernel source" "on" \
"kernel-source" "Linux 6.1.32 kernel source" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs

View file

@ -2,7 +2,7 @@
# GCC package build script (written by volkerdi@slackware.com)
#
# Copyright 2003, 2004 Slackware Linux, Inc., Concord, California, USA
# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2021, 2022 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2021, 2022, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -57,7 +57,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gcc
SRCVER=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
VERSION=$(echo $SRCVER | cut -f 1 -d _)
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
# How many jobs to run in parallel:
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@ -84,6 +84,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "gcc-objc-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-go-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-gdc-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-gm2-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
@ -143,13 +144,14 @@ PKG4=$TMP/package-gcc-gnat
PKG6=$TMP/package-gcc-objc
PKG8=$TMP/package-gcc-go
PKG10=$TMP/package-gcc-gdc
PKG11=$TMP/package-gcc-gm2
# Clear the build locations:
rm -rf $PKG{1,2,3,4,6,8,10}
mkdir -p $PKG{1,2,3,4,6,8,10}/usr/doc/gcc-$VERSION
rm -rf $PKG{1,2,3,4,6,8,10,11}
mkdir -p $PKG{1,2,3,4,6,8,10,11}/usr/doc/gcc-$VERSION
# Insert package descriptions:
mkdir -p $PKG{1,2,3,4,6,8,9,10}/install
mkdir -p $PKG{1,2,3,4,6,8,9,10,11}/install
cat $CWD/slack-desc.gcc > $PKG1/install/slack-desc
cat $CWD/slack-desc.gcc-g++ > $PKG2/install/slack-desc
cat $CWD/slack-desc.gcc-gfortran > $PKG3/install/slack-desc
@ -157,6 +159,7 @@ cat $CWD/slack-desc.gcc-gnat > $PKG4/install/slack-desc
cat $CWD/slack-desc.gcc-objc > $PKG6/install/slack-desc
cat $CWD/slack-desc.gcc-go > $PKG8/install/slack-desc
cat $CWD/slack-desc.gcc-gdc > $PKG10/install/slack-desc
cat $CWD/slack-desc.gcc-gm2 > $PKG11/install/slack-desc
cd gcc-$SRCVER || exit 1
@ -259,6 +262,17 @@ mkdir -p $PKG10/usr/doc/gcc-${VERSION}/gcc/d
fi
)
mkdir -p $PKG11/usr/doc/gcc-${VERSION}/gcc/m2
( cd gcc/m2 || exit 0
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG11/usr/doc/gcc-${VERSION}/gcc/m2/ChangeLog
touch -r ChangeLog $PKG11/usr/doc/gcc-${VERSION}/gcc/m2/ChangeLog
fi
cp -a \
COPYING* NEWS* README* \
$PKG11/usr/doc/gcc-${VERSION}/gcc/m2
)
mkdir -p $PKG3/usr/doc/gcc-${VERSION}/libgfortran
( cd libgfortran || exit 0
if [ -r ChangeLog ]; then
@ -331,7 +345,7 @@ mkdir -p $PKG2/usr/doc/gcc-${VERSION}/libstdc++-v3
--infodir=/usr/info \
--enable-shared \
--enable-bootstrap \
--enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ \
--enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++ \
--enable-threads=posix \
--enable-checking=release \
--enable-objc-gc \
@ -602,6 +616,26 @@ rm -f $PKG1/{,usr/}lib${LIBDIRSUFFIX}/*.la
mv $PKG1/usr/man/man1/gdc.1.gz usr/man/man1
) || exit 1
# gcc-gm2:
( cd $PKG11
mkdir -p usr/bin
mv $PKG1/usr/bin/gm2 $PKG1/usr/bin/*-gm2 usr/bin
mkdir -p usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/plugin
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/m2 usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/plugin/m2* usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/plugin
mv $PKG1/usr/lib${LIBDIRSUFFIX}/libm2* usr/lib${LIBDIRSUFFIX}
# As a rule, we don't package static libraries:
( cd usr/lib${LIBDIRSUFFIX}
for library in libm2*.so ; do
rm -f $(basename $library .so).a
done
)
mkdir -p usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/cc1gm2 usr/libexec/gcc/$TARGET/$VERSION
mkdir -p usr/man/man1
mv $PKG1/usr/man/man1/gm2.1.gz usr/man/man1
) || exit 1
# Generate packages:
( cd $PKG1
makepkg -l y -c n $TMP/gcc-$VERSION-$ARCH-$BUILD.txz )
@ -617,8 +651,9 @@ rm -f $PKG1/{,usr/}lib${LIBDIRSUFFIX}/*.la
makepkg -l y -c n $TMP/gcc-go-$VERSION-$ARCH-$BUILD.txz )
( cd $PKG10
makepkg -l y -c n $TMP/gcc-gdc-$VERSION-$ARCH-$BUILD.txz )
( cd $PKG11
makepkg -l y -c n $TMP/gcc-gm2-$VERSION-$ARCH-$BUILD.txz )
echo
echo "Slackware GCC package build complete!"
echo

View file

@ -1,19 +1,23 @@
--- ./gcc/Makefile.in.orig 2018-03-09 09:24:44.000000000 -0600
+++ ./gcc/Makefile.in 2018-05-02 12:25:43.958002771 -0500
@@ -3004,9 +3004,9 @@
chmod a+r $${fix_dir}/limits.h; \
--- ./gcc/Makefile.in.orig 2023-04-26 12:25:33.525797045 -0500
+++ ./gcc/Makefile.in 2023-04-26 13:40:12.282459243 -0500
@@ -3202,11 +3202,11 @@
cp $(srcdir)/gsyslimits.h $${include_dir}/syslimits.h; \
done
# Install the README
- rm -f include-fixed/README
- cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
- chmod a+r include-fixed/README
+# rm -f include-fixed/README
+# cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
+# chmod a+r include-fixed/README
- if [ x$(STMP_FIXINC) != x ]; then \
- rm -f include-fixed/README; \
- cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README; \
- chmod a+r include-fixed/README; \
- fi;
+# if [ x$(STMP_FIXINC) != x ]; then \
+# rm -f include-fixed/README; \
+# cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README; \
+# chmod a+r include-fixed/README; \
+# fi;
$(STAMP) $@
.PHONY: install-gcc-tooldir
@@ -3087,10 +3087,7 @@
@@ -3287,10 +3287,7 @@
(TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \
SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
gcc_dir=`${PWD_COMMAND}` ; \
@ -22,6 +26,6 @@
- $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
- $(BUILD_SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
+ export TARGET_MACHINE srcdir SHELL MACRO_LIST ); \
rm -f $${fix_dir}/syslimits.h; \
if [ -f $${fix_dir}/limits.h ]; then \
mv $${fix_dir}/limits.h $${fix_dir}/syslimits.h; \
done; \
fi
$(STAMP) stmp-fixinc

View file

@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libtool
VERSION=${VERSION:-$(echo libtool-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-4}
BUILD=${BUILD:-5}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}

View file

@ -1,10 +1,10 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.31 Kernel Configuration
# Linux/x86 6.1.32 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=120200
CONFIG_GCC_VERSION=130100
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24000

View file

@ -1,10 +1,10 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.31 Kernel Configuration
# Linux/x86 6.1.32 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=120200
CONFIG_GCC_VERSION=130100
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24000

View file

@ -1,10 +1,10 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.31 Kernel Configuration
# Linux/x86 6.1.32 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=120200
CONFIG_GCC_VERSION=130100
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24000

View file

@ -1,10 +1,10 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.31 Kernel Configuration
# Linux/x86 6.1.32 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=120200
CONFIG_GCC_VERSION=130100
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24000

View file

@ -1,10 +1,10 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.31 Kernel Configuration
# Linux/x86 6.1.32 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=120200
CONFIG_GCC_VERSION=130100
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24000

View file

@ -1,10 +1,10 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.31 Kernel Configuration
# Linux/x86 6.1.32 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=120200
CONFIG_GCC_VERSION=130100
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24000

View file

@ -1 +1 @@
29
30

View file

@ -1 +1 @@
1
2

View file

@ -1 +1 @@
1
2

View file

@ -1 +1 @@
24
25

View file

@ -1 +1 @@
1
2

View file

@ -1 +1 @@
9
10

View file

@ -1 +1 @@
1
2

View file

@ -0,0 +1 @@
cat $CWD/patch/okular/okular.cxx_standard.17.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }

View file

@ -0,0 +1,11 @@
--- ./CMakeLists.txt.orig 2023-05-06 03:21:55.000000000 -0500
+++ ./CMakeLists.txt 2023-06-06 13:51:17.306612957 -0500
@@ -93,7 +93,7 @@
set(ENV{QT_PLUGIN_PATH} "$ENV{QT_PLUGIN_PATH};${KDE_INSTALL_FULL_QTPLUGINDIR}")
endif()
-set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mozilla-nss
SRCNAM=nss
VERSION=${VERSION:-3.89.1}
VERSION=${VERSION:-3.90}
NSPR=${NSPR:-4.35}
BUILD=${BUILD:-1}

View file

@ -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:-3}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=krb5
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-2}
BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in

View file

@ -1,4 +1,4 @@
if [ "$(uname -m)" = "x86_64" ]; then
if [[ "$(uname -m)" =~ (x86_64|aarch64|riscv64) ]]; then
( cd $PKG/usr/lib/X11/config
zcat $CWD/post-install/xorg-cf-files/x11.tmpl.lib64.kludge.diff.gz | patch -p1 || exit 1
)

View file

@ -15,5 +15,5 @@ xfce4-panel-profiles: With the modular Xfce Panel, a multitude of panel layouts
xfce4-panel-profiles: created. This tool makes it possible to backup, restore, import,
xfce4-panel-profiles: and export these panel layouts.
xfce4-panel-profiles:
xfce4-panel-profiles: Homepage: https://git.xfce.org/apps/xfce4-panel-profiles
xfce4-panel-profiles: Homepage: https://gitlab.xfce.org/apps/xfce4-panel-profiles
xfce4-panel-profiles:

View file

@ -1,10 +0,0 @@
#!/bin/sh
fl="-std=c89"
for opt; do
case "$opt" in
-ansi|-std=c89|-std=iso9899:1990) fl="";;
-std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
exit 1;;
esac
done
exec gcc $fl ${1+"$@"}

View file

@ -1,10 +0,0 @@
#!/bin/sh
fl="-std=c99"
for opt; do
case "$opt" in
-std=c99|-std=iso9899:1999) fl="";;
-std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
exit 1;;
esac
done
exec gcc $fl ${1+"$@"}

View file

@ -1,659 +0,0 @@
#!/bin/bash
# GCC package build script (written by volkerdi@slackware.com)
#
# Copyright 2003, 2004 Slackware Linux, Inc., Concord, California, USA
# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2021, 2022, 2023 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.
#
# Modified 2011 by Eric Hameleers <alien at slackware.com> for OpenJDK.
# Some notes, Fri May 16 12:31:32 PDT 2003:
#
# Why i486 and not i386? Because the shared C++ libraries in gcc-3.2.x will
# require 486 opcodes even when a 386 target is used (so we already weren't
# compatible with the i386 for Slackware 9.0, didn't notice, and nobody
# complained :-). gcc-3.3 fixes this issue and allows you to build a 386
# compiler, but the fix is done in a way that produces binaries that are not
# compatible with gcc-3.2.x compiled binaries. To retain compatibility with
# Slackware 9.0, we'll have to use i486 (or better) as the compiler target
# for gcc-3.3.
#
# It's time to say goodbye to i386 support in Slackware. I've surveyed 386
# usage online, and the most common thing I see people say when someone asks
# about running Linux on a 386 is to "run Slackware", but then they also
# usually go on to say "be sure to get an OLD version, like 4.0, before glibc,
# because it'll be more efficient." Now, if that's the general advice, then
# I see no reason to continue 386 support in the latest Slackware (and indeed
# it's no longer easily possible).
# Some more notes, Mon Aug 3 19:49:51 UTC 2015:
#
# Changing to -march=i586 for 32-bit x86 as several things (Mesa being one of
# them) no longer work if constrained to -march=i486. We're not going to use
# -march=i686 since the only additional opcode is CMOV, which is actually less
# efficient on modern CPUs running in 32-bit mode than the alternate i586
# instructions. No need to throw i586 CPUs under the bus (yet).
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gcc
SRCVER=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
VERSION=$(echo $SRCVER | cut -f 1 -d _)
BUILD=${BUILD:-2}
# How many jobs to run in parallel:
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
i?86) ARCH=i586 ;;
arm*) readelf /usr/bin/file -A | grep -E -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$(uname -m) ;;
esac
export ARCH
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 "gcc-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-g++-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-gfortran-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-gnat-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-objc-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-go-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-gdc-$VERSION-$ARCH-$BUILD.txz"
echo "gcc-gm2-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
if [ "$ARCH" = "i386" ]; then
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
LIBDIRSUFFIX=""
LIB_ARCH=i386
elif [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
LIB_ARCH=i386
elif [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
LIB_ARCH=i386
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686"
LIBDIRSUFFIX=""
LIB_ARCH=i386
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
LIB_ARCH=s390
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
LIB_ARCH=amd64
elif [ "$ARCH" = "armv7hl" ]; then
SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
LIBDIRSUFFIX=""
LIB_ARCH=armv7hl
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
LIB_ARCH=$ARCH
fi
case "$ARCH" in
arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
*) TARGET=$ARCH-slackware-linux ;;
esac
# Temporary build location:
TMP=${TMP:-/tmp}
# Extract the source code:
cd $TMP
rm -rf gcc-$SRCVER
tar xvf $CWD/gcc-$SRCVER.tar.?z || exit 1
# This is the main DESTDIR target:
PKG1=$TMP/package-gcc
# These are the directories to build other packages in:
PKG2=$TMP/package-gcc-g++
PKG3=$TMP/package-gcc-gfortran
PKG4=$TMP/package-gcc-gnat
PKG6=$TMP/package-gcc-objc
PKG8=$TMP/package-gcc-go
PKG10=$TMP/package-gcc-gdc
PKG11=$TMP/package-gcc-gm2
# Clear the build locations:
rm -rf $PKG{1,2,3,4,6,8,10,11}
mkdir -p $PKG{1,2,3,4,6,8,10,11}/usr/doc/gcc-$VERSION
# Insert package descriptions:
mkdir -p $PKG{1,2,3,4,6,8,9,10,11}/install
cat $CWD/slack-desc.gcc > $PKG1/install/slack-desc
cat $CWD/slack-desc.gcc-g++ > $PKG2/install/slack-desc
cat $CWD/slack-desc.gcc-gfortran > $PKG3/install/slack-desc
cat $CWD/slack-desc.gcc-gnat > $PKG4/install/slack-desc
cat $CWD/slack-desc.gcc-objc > $PKG6/install/slack-desc
cat $CWD/slack-desc.gcc-go > $PKG8/install/slack-desc
cat $CWD/slack-desc.gcc-gdc > $PKG10/install/slack-desc
cat $CWD/slack-desc.gcc-gm2 > $PKG11/install/slack-desc
cd gcc-$SRCVER || exit 1
# Smite the fixincludes:
zcat $CWD/patches/gcc-no_fixincludes.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
# Fix perms/owners:
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 754 \) \
-exec chmod 755 {} \+ -o \
\( -perm 664 \) \
-exec chmod 644 {} \+
# Install docs:
mkdir -p $PKG1/usr/doc/gcc-$VERSION
cp -a \
COPYING* ChangeLog* FAQ INSTALL \
LAST_UPDATED MAINTAINERS NEWS \
README* *.html \
$PKG1/usr/doc/gcc-$VERSION
# We will keep part of these, but they are really big...
if [ -r ChangeLog ]; then
DOCSDIR=$(echo $PKG1/usr/doc/gcc-$VERSION)
cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
touch -r ChangeLog $DOCSDIR/ChangeLog
fi
if [ -r NEWS ]; then
DOCSDIR=$(echo $PKG1/usr/doc/gcc-$VERSION)
cat NEWS | head -n 1500 > $DOCSDIR/NEWS
touch -r NEWS $DOCSDIR/NEWS
fi
mkdir -p $PKG1/usr/doc/gcc-${VERSION}/gcc
( cd gcc || exit 0
cp -a \
ABOUT* COPYING* DATESTAMP DEV-PHASE LANG* ONEWS README* SERVICE \
$PKG1/usr/doc/gcc-$VERSION/gcc
)
mkdir -p $PKG3/usr/doc/gcc-${VERSION}/gcc/fortran
( cd gcc/fortran || exit 0
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG3/usr/doc/gcc-$VERSION/gcc/fortran/ChangeLog
touch -r ChangeLog $PKG3/usr/doc/gcc-$VERSION/gcc/fortran/ChangeLog
fi
)
mkdir -p $PKG4/usr/doc/gcc-${VERSION}/gcc/ada
( cd gcc/ada || exit 0
cp -a \
ChangeLog.tree-ssa \
$PKG4/usr/doc/gcc-$VERSION/gcc/ada
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG4/usr/doc/gcc-$VERSION/gcc/ada/ChangeLog
touch -r ChangeLog $PKG4/usr/doc/gcc-$VERSION/gcc/ada/ChangeLog
fi
)
mkdir -p $PKG6/usr/doc/gcc-${VERSION}/gcc/objc
( cd gcc/objc || exit 0
cp -a \
README* \
$PKG6/usr/doc/gcc-${VERSION}/gcc/objc
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG6/usr/doc/gcc-${VERSION}/gcc/objc/ChangeLog
touch -r ChangeLog $PKG6/usr/doc/gcc-${VERSION}/gcc/objc/ChangeLog
fi
)
mkdir -p $PKG6/usr/doc/gcc-${VERSION}/gcc/objcp
( cd gcc/objcp || exit 0
cp -a \
README* \
$PKG6/usr/doc/gcc-${VERSION}/gcc/objcp
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG6/usr/doc/gcc-${VERSION}/gcc/objcp/ChangeLog
touch -r ChangeLog $PKG6/usr/doc/gcc-${VERSION}/gcc/objcp/ChangeLog
fi
)
mkdir -p $PKG8/usr/doc/gcc-${VERSION}/gcc/go
( cd gcc/go || exit 0
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG8/usr/doc/gcc-${VERSION}/gcc/go/ChangeLog
touch -r ChangeLog $PKG8/usr/doc/gcc-${VERSION}/gcc/go/ChangeLog
fi
cp -a \
README* THREADS* \
gofrontend/{LICENSE,PATENTS,README} \
$PKG8/usr/doc/gcc-${VERSION}/gcc/go
)
mkdir -p $PKG10/usr/doc/gcc-${VERSION}/gcc/d
( cd gcc/d || exit 0
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG10/usr/doc/gcc-${VERSION}/gcc/d/ChangeLog
touch -r ChangeLog $PKG10/usr/doc/gcc-${VERSION}/gcc/d/ChangeLog
fi
)
mkdir -p $PKG11/usr/doc/gcc-${VERSION}/gcc/m2
( cd gcc/m2 || exit 0
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG11/usr/doc/gcc-${VERSION}/gcc/m2/ChangeLog
touch -r ChangeLog $PKG11/usr/doc/gcc-${VERSION}/gcc/m2/ChangeLog
fi
cp -a \
COPYING* NEWS* README* \
$PKG11/usr/doc/gcc-${VERSION}/gcc/m2
)
mkdir -p $PKG3/usr/doc/gcc-${VERSION}/libgfortran
( cd libgfortran || exit 0
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG3/usr/doc/gcc-${VERSION}/libgfortran/ChangeLog
touch -r ChangeLog $PKG3/usr/doc/gcc-${VERSION}/libgfortran/ChangeLog
fi
)
mkdir -p $PKG4/usr/doc/gcc-${VERSION}/libada
( cd libada || exit 0
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG4/usr/doc/gcc-${VERSION}/libada/ChangeLog
touch -r ChangeLog $PKG4/usr/doc/gcc-${VERSION}/libada/ChangeLog
fi
)
mkdir -p $PKG1/usr/doc/gcc-${VERSION}/libgomp
( cd libgomp || exit 0
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG1/usr/doc/gcc-${VERSION}/libgomp/ChangeLog
touch -r ChangeLog $PKG1/usr/doc/gcc-${VERSION}/libgomp/ChangeLog
fi
)
mkdir -p $PKG6/usr/doc/gcc-${VERSION}/libobjc
( cd libobjc || exit 0
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG6/usr/doc/gcc-${VERSION}/libobjc/ChangeLog
touch -r ChangeLog $PKG6/usr/doc/gcc-${VERSION}/libobjc/ChangeLog
fi
cp -a \
README* THREADS* \
$PKG6/usr/doc/gcc-${VERSION}/libobjc
)
mkdir -p $PKG2/usr/doc/gcc-${VERSION}/libstdc++-v3
( cd libstdc++-v3 || exit 0
cp -a \
README* \
doc/html/faq.html \
$PKG2/usr/doc/gcc-${VERSION}/libstdc++-v3
if [ -r ChangeLog ]; then
cat ChangeLog | head -n 1000 > $PKG2/usr/doc/gcc-${VERSION}/libstdc++-v3/ChangeLog
touch -r ChangeLog $PKG2/usr/doc/gcc-${VERSION}/libstdc++-v3/ChangeLog
fi
)
# build gcc
( mkdir gcc.build.lnx
cd gcc.build.lnx
# I think it's incorrect to include this option (as it'll end up set
# to i586 on x86 platforms), and we want to tune the binary structure
# for i686, as that's where almost all of the optimization speedups
# are to be found.
# Correct me if my take on this is wrong.
# --with-cpu=$ARCH
if [ "$ARCH" != "x86_64" ]; then
GCC_ARCHOPTS="--with-arch=$ARCH"
else
GCC_ARCHOPTS="--disable-multilib"
fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
../configure --prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--infodir=/usr/info \
--enable-shared \
--enable-bootstrap \
--enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++ \
--enable-threads=posix \
--enable-checking=release \
--enable-objc-gc \
--with-system-zlib \
--enable-libstdcxx-dual-abi \
--with-default-libstdcxx-abi=new \
--disable-libstdcxx-pch \
--disable-libunwind-exceptions \
--enable-__cxa_atexit \
--disable-libssp \
--enable-gnu-unique-object \
--enable-plugin \
--enable-lto \
--disable-install-libiberty \
--disable-werror \
--with-gnu-ld \
--with-isl \
--verbose \
--with-arch-directory=$LIB_ARCH \
--disable-gtktest \
--enable-clocale=gnu \
$GCC_ARCHOPTS \
--target=${TARGET} \
--build=${TARGET} \
--host=${TARGET} || exit 1
# Start the build:
# Include all debugging info (for now):
make $NUMJOBS bootstrap || exit 1
( cd gcc
make $NUMJOBS gnatlib GNATLIBCFLAGS="$SLKCFLAGS" || exit 1
# This wants a shared -ladd2line?
#make gnatlib-shared || exit 1
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make $NUMJOBS gnattools || exit 1
) || exit 1
make info || exit 1
# Set GCCCHECK=something to run the tests
if [ ! -z $GCCCHECK ]; then
make $NUMJOBS check || exit 1
fi
make install DESTDIR=$PKG1 || exit 1
# Move gdb pretty printers to the correct place
mkdir -p $PKG1/usr/share/gdb/auto-load/usr/lib$LIBDIRSUFFIX
mv $PKG1/usr/lib$LIBDIRSUFFIX/*-gdb.py \
$PKG1/usr/share/gdb/auto-load/usr/lib$LIBDIRSUFFIX/
# Be sure the "specs" file is installed.
if [ ! -r $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs ]; then
cat stage1-gcc/specs > $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs
fi
# Make our 64bit gcc look for 32bit gcc binaries in ./32 subdirectory:
if [ "$ARCH" = "x86_64" ]; then
sed -i 's#;.\(:../lib !m64 m32;\)$#;32\1#' \
$PKG1/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs
fi
# make ada.install-common DESTDIR=$PKG1 || exit 1
# make install-gnatlib DESTDIR=$PKG1 || exit 1
make -i install-info DESTDIR=$PKG1 || exit 1
chmod 755 $PKG1/usr/lib${LIBDIRSUFFIX}/libgcc_s.so.1
# Fix stuff up:
( cd $PKG1/usr/info ; rm dir ; gzip -9 * )
( cd $PKG1
# *not* ${LIBDIRSUFFIX}
mkdir -p lib
cd lib
ln -sf /usr/bin/cpp .
)
( cd $PKG1/usr/bin
mv g++ g++-gcc-$VERSION
mv gcc gcc-$VERSION
mv ${TARGET}-gfortran gfortran-gcc-$VERSION
ln -sf g++-gcc-$VERSION g++
ln -sf gcc-$VERSION gcc
ln -sf g++ c++
ln -sf gcc cc
ln -sf gcc-$VERSION ${TARGET}-cc
ln -sf gcc-$VERSION ${TARGET}-gcc
ln -sf gcc-$VERSION ${TARGET}-gcc-$VERSION
ln -sf gcc-ar ${TARGET}-gcc-ar
ln -sf gcc-nm ${TARGET}-gcc-nm
ln -sf gcc-ranlib ${TARGET}-gcc-ranlib
ln -sf g++-gcc-$VERSION ${TARGET}-c++
ln -sf g++-gcc-$VERSION ${TARGET}-g++
ln -sf gfortran-gcc-$VERSION gfortran
ln -sf gfortran-gcc-$VERSION ${TARGET}-gfortran
ln -sf gfortran-gcc-$VERSION ${TARGET}-gfortran-$VERSION
ln -sf gfortran-gcc-$VERSION ${TARGET}-g95
ln -sf gfortran g95
ln -sf gfortran f95
ln -sf gfortran-gcc-$VERSION ${TARGET}-g77
ln -sf gfortran g77
ln -sf gfortran f77
cat $CWD/c89.sh > c89
cat $CWD/c99.sh > c99
chmod 755 c89 c99
)
( cd $PKG1/usr/man
gzip -9 */*
cd man1
ln -sf g++.1.gz c++.1.gz
ln -sf gcc.1.gz cc.1.gz
)
## build an all-in-one txz package:
#(
# cd $PKG1;
# makepkg -l y -c n $TMP/gcc-$VERSION-$ARCH-$BUILD.txz
#)
# keep a log:
) 2>&1 | tee gcc.build.log
# Filter all .la files (thanks much to Mark Post for the sed script):
( cd $PKG1
for file in $(find . -type f -name "*.la") ; do
cat $file | sed -e 's%-L/gcc-[[:graph:]]* % %g' > $TMP/tmp-la-file
cat $TMP/tmp-la-file > $file
done
rm $TMP/tmp-la-file
)
# Don't ship .la files in /{,usr/}lib${LIBDIRSUFFIX}:
rm -f $PKG1/{,usr/}lib${LIBDIRSUFFIX}/*.la
# Strip bloated binaries and libraries:
( cd $PKG1
find . -name "lib*so*" -exec strip --strip-unneeded "{}" \;
find . -name "lib*so*" -exec patchelf --remove-rpath "{}" \;
find . -name "lib*a" -exec strip -g "{}" \;
strip --strip-unneeded usr/bin/* 2> /dev/null
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
# OK, time to split the big package where needed:
# gcc-g++:
( cd $PKG2
mkdir -p usr/bin
mv $PKG1/usr/bin/*++* usr/bin
mkdir -p usr/include
mv $PKG1/usr/include/c++ usr/include
mkdir -p usr/lib${LIBDIRSUFFIX}
mv $PKG1/usr/lib${LIBDIRSUFFIX}/*++* usr/lib${LIBDIRSUFFIX}
mkdir -p usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/cc1plus usr/libexec/gcc/$TARGET/$VERSION/cc1plus
mkdir -p usr/man/man1
mv $PKG1/usr/man/man1/*++* usr/man/man1
mkdir -p usr/share
mv $PKG1/usr/share/gdb usr/share
mkdir -p usr/share/gcc-$VERSION/python
mv $PKG1/usr/share/gcc-$VERSION/python/libstdcxx usr/share/gcc-$VERSION/python
)
# gcc-gfortran:
( cd $PKG3
mkdir -p usr/bin
mv $PKG1/usr/bin/*gfortran* usr/bin
mv $PKG1/usr/bin/*95* usr/bin
mv $PKG1/usr/bin/*77* usr/bin
# Doesn't this seem like a logical idea?
( cd usr/bin ; ln -sf gfortran-gcc-${VERSION} fortran )
mkdir -p usr/info
mv $PKG1/usr/info/gfortran* usr/info
mkdir -p usr/lib${LIBDIRSUFFIX}
mv $PKG1/usr/lib${LIBDIRSUFFIX}/libgfortran* usr/lib${LIBDIRSUFFIX}
mkdir -p usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/finclude usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/libgfortran* usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION
mkdir -p usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/f951 usr/libexec/gcc/$TARGET/$VERSION/f951
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/libgfortran* usr/libexec/gcc/$TARGET/$VERSION
mkdir -p usr/man/man1
mv $PKG1/usr/man/man1/gfortran* usr/man/man1
)
# gcc-gnat:
( cd $PKG4
mkdir -p usr/bin
mv $PKG1/usr/bin/gnat* usr/bin
mv $PKG1/usr/bin/gpr* usr/bin
mkdir -p usr/info
mv $PKG1/usr/info/gnat* usr/info
mkdir -p usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/gnat1 usr/libexec/gcc/$TARGET/$VERSION
mkdir -p usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/adainclude usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/adalib usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION
)
# gcc-objc:
( cd $PKG6
mkdir -p usr/lib${LIBDIRSUFFIX}
mv $PKG1/usr/lib${LIBDIRSUFFIX}/libobjc* usr/lib${LIBDIRSUFFIX}
mkdir -p usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/cc1obj usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/cc1objplus usr/libexec/gcc/$TARGET/$VERSION
mkdir -p usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include/objc usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include/cc1objplus usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include
)
## NOTE: Thought about this, because the precompiled headers are so large.
## Probably easier to keep everything together, though.
## gcc-g++-gch (precompiled c++ headers)
#( cd $PKG7
# mkdir -p usr/include/c++/$VERSION/$TARGET/bits
# mv $PKG2/usr/include/c++/$VERSION/$TARGET/bits/stdc++.h.gch usr/include/c++/$VERSION/$TARGET/bits
#)
# gcc-go:
( cd $PKG8
mkdir -p usr/bin
mv $PKG1/usr/bin/*gccgo* usr/bin
mv $PKG1/usr/bin/go{,fmt} usr/bin
mkdir -p usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/{cgo,go1} usr/libexec/gcc/$TARGET/$VERSION
mkdir -p usr/info
mv $PKG1/usr/info/gccgo.info.gz usr/info
mkdir -p usr/lib${LIBDIRSUFFIX}
mv $PKG1/usr/lib${LIBDIRSUFFIX}/go usr/lib${LIBDIRSUFFIX}
if [ -r $PKG1/usr/lib${LIBDIRSUFFIX}/libgo.la ]; then
mv $PKG1/usr/lib${LIBDIRSUFFIX}/libgo.la usr/lib${LIBDIRSUFFIX}
fi
mv $PKG1/usr/lib${LIBDIRSUFFIX}/{libgo.so*,libgobegin.a,libgolibbegin.a} usr/lib${LIBDIRSUFFIX} || exit 1
# Don't package the (bloated) libgo.a. As a rule, we don't package static libraries.
rm -f $PKG1/usr/lib${LIBDIRSUFFIX}/libgo.a
mkdir -p usr/man/man1
mv $PKG1/usr/man/man1/gccgo.1.gz usr/man/man1
mv $PKG1/usr/man/man1/go.1.gz usr/man/man1
mv $PKG1/usr/man/man1/gofmt.1.gz usr/man/man1
) || exit 1
# gcc-gdc:
( cd $PKG10
mkdir -p usr/bin
mv $PKG1/usr/bin/gdc $PKG1/usr/bin/*-gdc usr/bin
mkdir -p usr/lib${LIBDIRSUFFIX}
mv $PKG1/usr/lib${LIBDIRSUFFIX}/libgdruntime* usr/lib${LIBDIRSUFFIX}
mv $PKG1/usr/lib${LIBDIRSUFFIX}/libgphobos* usr/lib${LIBDIRSUFFIX}
## COMMENTED OUT: defaults to static linking and that default does not
## seem to be easlity changed...
## Don't package the (bloated) libgphobos.a or libgdruntime.a.
## As a rule, we don't package static libraries.
#rm -f usr/lib${LIBDIRSUFFIX}/libgphobos.a
#rm -f usr/lib${LIBDIRSUFFIX}/libgdruntime.a
mkdir -p usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/d21 usr/libexec/gcc/$TARGET/$VERSION
mkdir -p usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include/d usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include
mkdir -p usr/info
mv $PKG1/usr/info/gdc.info.gz usr/info
mkdir -p usr/man/man1
mv $PKG1/usr/man/man1/gdc.1.gz usr/man/man1
) || exit 1
# gcc-gm2:
( cd $PKG11
mkdir -p usr/bin
mv $PKG1/usr/bin/gm2 $PKG1/usr/bin/*-gm2 usr/bin
mkdir -p usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/plugin
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/m2 usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/plugin/m2* usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/plugin
mv $PKG1/usr/lib${LIBDIRSUFFIX}/libm2* usr/lib${LIBDIRSUFFIX}
# As a rule, we don't package static libraries:
( cd usr/lib${LIBDIRSUFFIX}
for library in libm2*.so ; do
rm -f $(basename $library .so).a
done
)
mkdir -p usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/cc1gm2 usr/libexec/gcc/$TARGET/$VERSION
mkdir -p usr/man/man1
mv $PKG1/usr/man/man1/gm2.1.gz usr/man/man1
) || exit 1
# Generate packages:
( cd $PKG1
makepkg -l y -c n $TMP/gcc-$VERSION-$ARCH-$BUILD.txz )
( cd $PKG2
makepkg -l y -c n $TMP/gcc-g++-$VERSION-$ARCH-$BUILD.txz )
( cd $PKG3
makepkg -l y -c n $TMP/gcc-gfortran-$VERSION-$ARCH-$BUILD.txz )
( cd $PKG4
makepkg -l y -c n $TMP/gcc-gnat-$VERSION-$ARCH-$BUILD.txz )
( cd $PKG6
makepkg -l y -c n $TMP/gcc-objc-$VERSION-$ARCH-$BUILD.txz )
( cd $PKG8
makepkg -l y -c n $TMP/gcc-go-$VERSION-$ARCH-$BUILD.txz )
( cd $PKG10
makepkg -l y -c n $TMP/gcc-gdc-$VERSION-$ARCH-$BUILD.txz )
( cd $PKG11
makepkg -l y -c n $TMP/gcc-gm2-$VERSION-$ARCH-$BUILD.txz )
echo
echo "Slackware GCC package build complete!"
echo

View file

@ -1,31 +0,0 @@
--- ./gcc/Makefile.in.orig 2023-04-26 12:25:33.525797045 -0500
+++ ./gcc/Makefile.in 2023-04-26 13:40:12.282459243 -0500
@@ -3202,11 +3202,11 @@
cp $(srcdir)/gsyslimits.h $${include_dir}/syslimits.h; \
done
# Install the README
- if [ x$(STMP_FIXINC) != x ]; then \
- rm -f include-fixed/README; \
- cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README; \
- chmod a+r include-fixed/README; \
- fi;
+# if [ x$(STMP_FIXINC) != x ]; then \
+# rm -f include-fixed/README; \
+# cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README; \
+# chmod a+r include-fixed/README; \
+# fi;
$(STAMP) $@
.PHONY: install-gcc-tooldir
@@ -3287,10 +3287,7 @@
(TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \
SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
gcc_dir=`${PWD_COMMAND}` ; \
- export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
- cd $(build_objdir)/fixincludes && \
- $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
- $(BUILD_SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
+ export TARGET_MACHINE srcdir SHELL MACRO_LIST ); \
done; \
fi
$(STAMP) stmp-fixinc

View file

@ -1,19 +0,0 @@
# 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------------------------------------------------------|
gcc: gcc (Base GCC package with C support)
gcc:
gcc: GCC is the GNU Compiler Collection.
gcc:
gcc: This package contains those parts of the compiler collection needed to
gcc: compile C code. Other packages add Ada, C++, D, Fortran, Go,
gcc: Objective-C, and BRIG support to the compiler core.
gcc:
gcc:
gcc:
gcc:

View file

@ -1,19 +0,0 @@
# 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------------------------------------------------------|
gcc-g++: gcc-g++ (C++ for GCC)
gcc-g++:
gcc-g++: C++ support for the GNU Compiler Collection.
gcc-g++:
gcc-g++: This package contains those parts of the compiler collection needed to
gcc-g++: compile C++ code.
gcc-g++:
gcc-g++:
gcc-g++:
gcc-g++:
gcc-g++:

View file

@ -1,19 +0,0 @@
# 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------------------------------------------------------|
gcc-gdc: gcc-gdc (D support for GCC)
gcc-gdc:
gcc-gdc: D support for the GNU Compiler Collection.
gcc-gdc:
gcc-gdc: D is a general-purpose programming language with static typing,
gcc-gdc: systems-level access, and C-like syntax.
gcc-gdc:
gcc-gdc:
gcc-gdc:
gcc-gdc:
gcc-gdc:

View file

@ -1,19 +0,0 @@
# 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------------------------------------------------------|
gcc-gfortran: gcc-gfortran (Fortran support for GCC)
gcc-gfortran:
gcc-gfortran: The GNU Fortran compiler is fully compliant with the Fortran 95
gcc-gfortran: Standard and includes legacy F77 support. In addition, a significant
gcc-gfortran: number of Fortran 2003 and Fortran 2008 features are implemented.
gcc-gfortran: GNU Fortran also contains many standard and extensions and can be
gcc-gfortran: used to run real-world programs.
gcc-gfortran:
gcc-gfortran: This package contains those parts of the compiler collection
gcc-gfortran: needed to compile Fortran code.
gcc-gfortran:

View file

@ -1,19 +0,0 @@
# 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------------------------------------------------------|
gcc-gnat: gcc-gnat (Ada support for GCC)
gcc-gnat:
gcc-gnat: Ada support for the GNU Compiler Collection.
gcc-gnat:
gcc-gnat: This package contains those parts of the compiler collection needed to
gcc-gnat: compile Ada code. GNAT implements Ada 95, Ada 2005, Ada 2012 and Ada
gcc-gnat: 2022, and it may also be invoked in Ada 83 compatibility mode.
gcc-gnat: By default, GNAT assumes Ada 2012.
gcc-gnat:
gcc-gnat:
gcc-gnat:

View file

@ -1,19 +0,0 @@
# 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------------------------------------------------------|
gcc-go: gcc-go (Go support for GCC)
gcc-go:
gcc-go: Go is a compiled, garbage-collected, concurrent programming language
gcc-go: developed by Google Inc. The initial design of Go was started in
gcc-go: September 2007 by Robert Griesemer, Rob Pike, and Ken Thompson.
gcc-go: Rob Pike has stated that Go is being used "for real stuff" at Google.
gcc-go: Go's "gc" compiler targets the Linux, Mac OS X, FreeBSD, OpenBSD and
gcc-go: Microsoft Windows operating systems, and the i386, amd64, and ARM
gcc-go: processor architectures.
gcc-go:
gcc-go: Homepage: http://golang.org

View file

@ -1,19 +0,0 @@
# 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------------------------------------------------------|
gcc-objc: gcc-objc (Objective-C/C++ support for GCC)
gcc-objc:
gcc-objc: Objective-C/C++ support for the GNU Compiler Collection.
gcc-objc:
gcc-objc: This package contains those parts of the compiler collection needed to
gcc-objc: compile code written in Objective-C and Objective-C++. Objective-C was
gcc-objc: originally developed to add object-oriented extensions to the C
gcc-objc: language, and is best known as the native language of the NeXT
gcc-objc: computer.
gcc-objc:
gcc-objc: