diff --git a/base/caja/caja.SlackBuild b/base/caja/caja.SlackBuild index 9c388dc..82c8467 100644 --- a/base/caja/caja.SlackBuild +++ b/base/caja/caja.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/engrampa/engrampa.SlackBuild b/base/engrampa/engrampa.SlackBuild index 04c5f67..d6d72c6 100644 --- a/base/engrampa/engrampa.SlackBuild +++ b/base/engrampa/engrampa.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/eom/eom.SlackBuild b/base/eom/eom.SlackBuild index 6e4cbdb..2826a3c 100644 --- a/base/eom/eom.SlackBuild +++ b/base/eom/eom.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/gtk-layer-shell/gtk-layer-shell.SlackBuild b/base/gtk-layer-shell/gtk-layer-shell.SlackBuild index d68c481..6f61912 100644 --- a/base/gtk-layer-shell/gtk-layer-shell.SlackBuild +++ b/base/gtk-layer-shell/gtk-layer-shell.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/libmatekbd/libmatekbd.SlackBuild b/base/libmatekbd/libmatekbd.SlackBuild index eb2e2b2..8501575 100644 --- a/base/libmatekbd/libmatekbd.SlackBuild +++ b/base/libmatekbd/libmatekbd.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/libmatemixer/libmatemixer.SlackBuild b/base/libmatemixer/libmatemixer.SlackBuild index 5430d04..f546c15 100644 --- a/base/libmatemixer/libmatemixer.SlackBuild +++ b/base/libmatemixer/libmatemixer.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/libmateweather/libmateweather.SlackBuild b/base/libmateweather/libmateweather.SlackBuild index 9a6aaa5..d0c7fd9 100644 --- a/base/libmateweather/libmateweather.SlackBuild +++ b/base/libmateweather/libmateweather.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/marco/marco.SlackBuild b/base/marco/marco.SlackBuild index 39d5e41..0d2947b 100644 --- a/base/marco/marco.SlackBuild +++ b/base/marco/marco.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-backgrounds/mate-backgrounds.SlackBuild b/base/mate-backgrounds/mate-backgrounds.SlackBuild index da1c835..185a3e3 100644 --- a/base/mate-backgrounds/mate-backgrounds.SlackBuild +++ b/base/mate-backgrounds/mate-backgrounds.SlackBuild @@ -43,6 +43,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-common/mate-common.SlackBuild b/base/mate-common/mate-common.SlackBuild index 0687bfd..6ea5a4a 100644 --- a/base/mate-common/mate-common.SlackBuild +++ b/base/mate-common/mate-common.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-control-center/mate-control-center.SlackBuild b/base/mate-control-center/mate-control-center.SlackBuild index e519f43..6834a4b 100644 --- a/base/mate-control-center/mate-control-center.SlackBuild +++ b/base/mate-control-center/mate-control-center.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-desktop/mate-desktop.SlackBuild b/base/mate-desktop/mate-desktop.SlackBuild index 4d07f36..8e6a8cb 100644 --- a/base/mate-desktop/mate-desktop.SlackBuild +++ b/base/mate-desktop/mate-desktop.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-media/mate-media.SlackBuild b/base/mate-media/mate-media.SlackBuild index 173b2e8..d5b4c54 100644 --- a/base/mate-media/mate-media.SlackBuild +++ b/base/mate-media/mate-media.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-menus/mate-menus.SlackBuild b/base/mate-menus/mate-menus.SlackBuild index fa723db..389cbd5 100644 --- a/base/mate-menus/mate-menus.SlackBuild +++ b/base/mate-menus/mate-menus.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-notification-daemon/mate-notification-daemon.SlackBuild b/base/mate-notification-daemon/mate-notification-daemon.SlackBuild index 37aa0d7..9002ce2 100644 --- a/base/mate-notification-daemon/mate-notification-daemon.SlackBuild +++ b/base/mate-notification-daemon/mate-notification-daemon.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-panel/mate-panel.SlackBuild b/base/mate-panel/mate-panel.SlackBuild index 0313833..4c1c863 100644 --- a/base/mate-panel/mate-panel.SlackBuild +++ b/base/mate-panel/mate-panel.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-polkit/mate-polkit.SlackBuild b/base/mate-polkit/mate-polkit.SlackBuild index 3d6952c..cbef264 100644 --- a/base/mate-polkit/mate-polkit.SlackBuild +++ b/base/mate-polkit/mate-polkit.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-power-manager/mate-power-manager.SlackBuild b/base/mate-power-manager/mate-power-manager.SlackBuild index d19bcdb..87cfd6c 100644 --- a/base/mate-power-manager/mate-power-manager.SlackBuild +++ b/base/mate-power-manager/mate-power-manager.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-screensaver/mate-screensaver.SlackBuild b/base/mate-screensaver/mate-screensaver.SlackBuild index 8972acc..05b1df3 100644 --- a/base/mate-screensaver/mate-screensaver.SlackBuild +++ b/base/mate-screensaver/mate-screensaver.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-session-manager/mate-session-manager.SlackBuild b/base/mate-session-manager/mate-session-manager.SlackBuild index 0c9025e..527b2a2 100644 --- a/base/mate-session-manager/mate-session-manager.SlackBuild +++ b/base/mate-session-manager/mate-session-manager.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-settings-daemon/mate-settings-daemon.SlackBuild b/base/mate-settings-daemon/mate-settings-daemon.SlackBuild index 9cadd40..486cfe8 100644 --- a/base/mate-settings-daemon/mate-settings-daemon.SlackBuild +++ b/base/mate-settings-daemon/mate-settings-daemon.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-system-monitor/mate-system-monitor.SlackBuild b/base/mate-system-monitor/mate-system-monitor.SlackBuild index 4f5735a..74cb7a3 100644 --- a/base/mate-system-monitor/mate-system-monitor.SlackBuild +++ b/base/mate-system-monitor/mate-system-monitor.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-terminal/mate-terminal.SlackBuild b/base/mate-terminal/mate-terminal.SlackBuild index 3134d9a..49db969 100644 --- a/base/mate-terminal/mate-terminal.SlackBuild +++ b/base/mate-terminal/mate-terminal.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/base/mate-themes/mate-themes.SlackBuild b/base/mate-themes/mate-themes.SlackBuild index f40295c..8de6f3b 100644 --- a/base/mate-themes/mate-themes.SlackBuild +++ b/base/mate-themes/mate-themes.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/autoconf-archive/autoconf-archive.SlackBuild b/deps/autoconf-archive/autoconf-archive.SlackBuild index baf7adf..a54e250 100644 --- a/deps/autoconf-archive/autoconf-archive.SlackBuild +++ b/deps/autoconf-archive/autoconf-archive.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/gksu/config.guess-add-aarch64-support.patch b/deps/gksu/config.guess-add-aarch64-support.patch new file mode 100644 index 0000000..b8b38e7 --- /dev/null +++ b/deps/gksu/config.guess-add-aarch64-support.patch @@ -0,0 +1,22 @@ +--- a/config.guess 2020-05-16 21:36:37.396768007 +0000 ++++ b/config.guess 2020-05-16 21:47:41.648176596 +0000 +@@ -162,6 +162,9 @@ + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac ++ case "${UNAME_MACHINE_ARCH}" in ++ aarch64) machine=${UNAME_MACHINE_ARCH}-unknown ;; ++ esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in +@@ -831,6 +834,9 @@ + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; ++ aarch64:Linux:*:*) ++ echo ${UNAME_MACHINE}-unknown-linux-gnu ++ exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; diff --git a/deps/gksu/config.sub-add-aarch64-support.patch b/deps/gksu/config.sub-add-aarch64-support.patch new file mode 100644 index 0000000..5329673 --- /dev/null +++ b/deps/gksu/config.sub-add-aarch64-support.patch @@ -0,0 +1,33 @@ +From 975ee34200109d3026310c69d6e465e0fecf1ab8 Mon Sep 17 00:00:00 2001 +From: Wladislav Wiebe +Date: Thu, 9 Jun 2016 09:19:29 +0200 +Subject: [PATCH] config.sub: add aarch64 support + +Signed-off-by: Wladislav Wiebe +--- + config.sub | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/config.sub b/config.sub +index 320e303..548666c 100755 +--- a/config.sub ++++ b/config.sub +@@ -247,6 +247,7 @@ case $basic_machine in + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ ++ | aarch64 \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ +@@ -339,6 +340,7 @@ case $basic_machine in + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ ++ | aarch64-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ +-- +1.7.1 + diff --git a/deps/gksu/gksu.SlackBuild b/deps/gksu/gksu.SlackBuild index d0aafdc..1bb061f 100644 --- a/deps/gksu/gksu.SlackBuild +++ b/deps/gksu/gksu.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" @@ -74,6 +77,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +if [ "$ARCH" = "aarch64" ]; then + patch -p1 < $CWD/config.guess-add-aarch64-support.patch + patch -p1 < $CWD/config.sub-add-aarch64-support.patch +fi + sed -i -e 's|/usr/bin/x-terminal-emulator|-l mate-terminal|g' gksu.desktop CFLAGS="$SLKCFLAGS" \ diff --git a/deps/glade/glade.SlackBuild b/deps/glade/glade.SlackBuild index f00ffb4..e4664b0 100644 --- a/deps/glade/glade.SlackBuild +++ b/deps/glade/glade.SlackBuild @@ -50,6 +50,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/gssdp/gssdp.SlackBuild b/deps/gssdp/gssdp.SlackBuild index 2db6215..8d84c9c 100644 --- a/deps/gssdp/gssdp.SlackBuild +++ b/deps/gssdp/gssdp.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/gtk-engines/gtk-engines.SlackBuild b/deps/gtk-engines/gtk-engines.SlackBuild index 6d80742..c5a37ed 100644 --- a/deps/gtk-engines/gtk-engines.SlackBuild +++ b/deps/gtk-engines/gtk-engines.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/gtksourceview3/gtksourceview3.SlackBuild b/deps/gtksourceview3/gtksourceview3.SlackBuild index 6c7ae91..ce72e02 100644 --- a/deps/gtksourceview3/gtksourceview3.SlackBuild +++ b/deps/gtksourceview3/gtksourceview3.SlackBuild @@ -51,6 +51,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/gupnp/gupnp.SlackBuild b/deps/gupnp/gupnp.SlackBuild index c5809f7..ea24e61 100644 --- a/deps/gupnp/gupnp.SlackBuild +++ b/deps/gupnp/gupnp.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/libgksu/config.guess-add-aarch64-support.patch b/deps/libgksu/config.guess-add-aarch64-support.patch new file mode 100644 index 0000000..b8b38e7 --- /dev/null +++ b/deps/libgksu/config.guess-add-aarch64-support.patch @@ -0,0 +1,22 @@ +--- a/config.guess 2020-05-16 21:36:37.396768007 +0000 ++++ b/config.guess 2020-05-16 21:47:41.648176596 +0000 +@@ -162,6 +162,9 @@ + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac ++ case "${UNAME_MACHINE_ARCH}" in ++ aarch64) machine=${UNAME_MACHINE_ARCH}-unknown ;; ++ esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in +@@ -831,6 +834,9 @@ + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; ++ aarch64:Linux:*:*) ++ echo ${UNAME_MACHINE}-unknown-linux-gnu ++ exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; diff --git a/deps/libgksu/config.sub-add-aarch64-support.patch b/deps/libgksu/config.sub-add-aarch64-support.patch new file mode 100644 index 0000000..5329673 --- /dev/null +++ b/deps/libgksu/config.sub-add-aarch64-support.patch @@ -0,0 +1,33 @@ +From 975ee34200109d3026310c69d6e465e0fecf1ab8 Mon Sep 17 00:00:00 2001 +From: Wladislav Wiebe +Date: Thu, 9 Jun 2016 09:19:29 +0200 +Subject: [PATCH] config.sub: add aarch64 support + +Signed-off-by: Wladislav Wiebe +--- + config.sub | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/config.sub b/config.sub +index 320e303..548666c 100755 +--- a/config.sub ++++ b/config.sub +@@ -247,6 +247,7 @@ case $basic_machine in + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ ++ | aarch64 \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ +@@ -339,6 +340,7 @@ case $basic_machine in + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ ++ | aarch64-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ +-- +1.7.1 + diff --git a/deps/libgksu/libgksu.SlackBuild b/deps/libgksu/libgksu.SlackBuild index 45a5346..8522f55 100644 --- a/deps/libgksu/libgksu.SlackBuild +++ b/deps/libgksu/libgksu.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" @@ -86,6 +89,9 @@ patch -p1 < $CWD/libgksu-format.patch # patch from mancha if [ "$ARCH" = "x86_64" ]; then patch -p1 < $CWD/libgksu-2.0.12-x86_64-path.diff +elif [ "$ARCH" = "aarch64" ]; then + patch -p1 < $CWD/config.guess-add-aarch64-support.patch + patch -p1 < $CWD/config.sub-add-aarch64-support.patch fi LDFLAGS="-lgtk -lX11" \ diff --git a/deps/libgtop/libgtop.SlackBuild b/deps/libgtop/libgtop.SlackBuild index e3663ef..d4b1cca 100644 --- a/deps/libgtop/libgtop.SlackBuild +++ b/deps/libgtop/libgtop.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/libgxps/libgxps.SlackBuild b/deps/libgxps/libgxps.SlackBuild index 6dfe317..29e65bc 100644 --- a/deps/libgxps/libgxps.SlackBuild +++ b/deps/libgxps/libgxps.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/libpeas/libpeas.SlackBuild b/deps/libpeas/libpeas.SlackBuild index cb20329..107aab0 100644 --- a/deps/libpeas/libpeas.SlackBuild +++ b/deps/libpeas/libpeas.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/libunique/config.guess-add-aarch64-support.patch b/deps/libunique/config.guess-add-aarch64-support.patch new file mode 100644 index 0000000..b8b38e7 --- /dev/null +++ b/deps/libunique/config.guess-add-aarch64-support.patch @@ -0,0 +1,22 @@ +--- a/config.guess 2020-05-16 21:36:37.396768007 +0000 ++++ b/config.guess 2020-05-16 21:47:41.648176596 +0000 +@@ -162,6 +162,9 @@ + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac ++ case "${UNAME_MACHINE_ARCH}" in ++ aarch64) machine=${UNAME_MACHINE_ARCH}-unknown ;; ++ esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in +@@ -831,6 +834,9 @@ + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; ++ aarch64:Linux:*:*) ++ echo ${UNAME_MACHINE}-unknown-linux-gnu ++ exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; diff --git a/deps/libunique/config.sub-add-aarch64-support.patch b/deps/libunique/config.sub-add-aarch64-support.patch new file mode 100644 index 0000000..5329673 --- /dev/null +++ b/deps/libunique/config.sub-add-aarch64-support.patch @@ -0,0 +1,33 @@ +From 975ee34200109d3026310c69d6e465e0fecf1ab8 Mon Sep 17 00:00:00 2001 +From: Wladislav Wiebe +Date: Thu, 9 Jun 2016 09:19:29 +0200 +Subject: [PATCH] config.sub: add aarch64 support + +Signed-off-by: Wladislav Wiebe +--- + config.sub | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/config.sub b/config.sub +index 320e303..548666c 100755 +--- a/config.sub ++++ b/config.sub +@@ -247,6 +247,7 @@ case $basic_machine in + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ ++ | aarch64 \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ +@@ -339,6 +340,7 @@ case $basic_machine in + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ ++ | aarch64-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ +-- +1.7.1 + diff --git a/deps/libunique/libunique.SlackBuild b/deps/libunique/libunique.SlackBuild index bfc1f90..3c4d4f4 100644 --- a/deps/libunique/libunique.SlackBuild +++ b/deps/libunique/libunique.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" @@ -75,6 +78,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +if [ "$ARCH" = "aarch64" ]; then + patch -p1 < $CWD/config.guess-add-aarch64-support.patch + patch -p1 < $CWD/config.sub-add-aarch64-support.patch +fi + patch -p1 < $CWD/libunique-1.1.6-G_CONST_RETURN.patch autoreconf -fi diff --git a/deps/libunique3/config.guess-add-aarch64-support.patch b/deps/libunique3/config.guess-add-aarch64-support.patch new file mode 100644 index 0000000..b8b38e7 --- /dev/null +++ b/deps/libunique3/config.guess-add-aarch64-support.patch @@ -0,0 +1,22 @@ +--- a/config.guess 2020-05-16 21:36:37.396768007 +0000 ++++ b/config.guess 2020-05-16 21:47:41.648176596 +0000 +@@ -162,6 +162,9 @@ + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac ++ case "${UNAME_MACHINE_ARCH}" in ++ aarch64) machine=${UNAME_MACHINE_ARCH}-unknown ;; ++ esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in +@@ -831,6 +834,9 @@ + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; ++ aarch64:Linux:*:*) ++ echo ${UNAME_MACHINE}-unknown-linux-gnu ++ exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; diff --git a/deps/libunique3/config.sub-add-aarch64-support.patch b/deps/libunique3/config.sub-add-aarch64-support.patch new file mode 100644 index 0000000..5329673 --- /dev/null +++ b/deps/libunique3/config.sub-add-aarch64-support.patch @@ -0,0 +1,33 @@ +From 975ee34200109d3026310c69d6e465e0fecf1ab8 Mon Sep 17 00:00:00 2001 +From: Wladislav Wiebe +Date: Thu, 9 Jun 2016 09:19:29 +0200 +Subject: [PATCH] config.sub: add aarch64 support + +Signed-off-by: Wladislav Wiebe +--- + config.sub | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/config.sub b/config.sub +index 320e303..548666c 100755 +--- a/config.sub ++++ b/config.sub +@@ -247,6 +247,7 @@ case $basic_machine in + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ ++ | aarch64 \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ +@@ -339,6 +340,7 @@ case $basic_machine in + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ ++ | aarch64-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ +-- +1.7.1 + diff --git a/deps/libunique3/libunique3.SlackBuild b/deps/libunique3/libunique3.SlackBuild index 34d7bfd..ef223b8 100644 --- a/deps/libunique3/libunique3.SlackBuild +++ b/deps/libunique3/libunique3.SlackBuild @@ -53,6 +53,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" @@ -79,6 +82,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +if [ "$ARCH" = "aarch64" ]; then + patch -p1 < $CWD/config.guess-add-aarch64-support.patch + patch -p1 < $CWD/config.sub-add-aarch64-support.patch +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/deps/libwnck3/libwnck3.SlackBuild b/deps/libwnck3/libwnck3.SlackBuild index 68703f7..3f0f218 100644 --- a/deps/libwnck3/libwnck3.SlackBuild +++ b/deps/libwnck3/libwnck3.SlackBuild @@ -51,6 +51,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/murrine/config.guess-add-aarch64-support.patch b/deps/murrine/config.guess-add-aarch64-support.patch new file mode 100644 index 0000000..b8b38e7 --- /dev/null +++ b/deps/murrine/config.guess-add-aarch64-support.patch @@ -0,0 +1,22 @@ +--- a/config.guess 2020-05-16 21:36:37.396768007 +0000 ++++ b/config.guess 2020-05-16 21:47:41.648176596 +0000 +@@ -162,6 +162,9 @@ + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac ++ case "${UNAME_MACHINE_ARCH}" in ++ aarch64) machine=${UNAME_MACHINE_ARCH}-unknown ;; ++ esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in +@@ -831,6 +834,9 @@ + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; ++ aarch64:Linux:*:*) ++ echo ${UNAME_MACHINE}-unknown-linux-gnu ++ exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; diff --git a/deps/murrine/config.sub-add-aarch64-support.patch b/deps/murrine/config.sub-add-aarch64-support.patch new file mode 100644 index 0000000..5329673 --- /dev/null +++ b/deps/murrine/config.sub-add-aarch64-support.patch @@ -0,0 +1,33 @@ +From 975ee34200109d3026310c69d6e465e0fecf1ab8 Mon Sep 17 00:00:00 2001 +From: Wladislav Wiebe +Date: Thu, 9 Jun 2016 09:19:29 +0200 +Subject: [PATCH] config.sub: add aarch64 support + +Signed-off-by: Wladislav Wiebe +--- + config.sub | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/config.sub b/config.sub +index 320e303..548666c 100755 +--- a/config.sub ++++ b/config.sub +@@ -247,6 +247,7 @@ case $basic_machine in + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ ++ | aarch64 \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ +@@ -339,6 +340,7 @@ case $basic_machine in + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ ++ | aarch64-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ +-- +1.7.1 + diff --git a/deps/murrine/murrine.SlackBuild b/deps/murrine/murrine.SlackBuild index 6c48623..f034b8c 100644 --- a/deps/murrine/murrine.SlackBuild +++ b/deps/murrine/murrine.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" @@ -75,6 +78,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +if [ "$ARCH" = "aarch64" ]; then + patch -p1 < $CWD/config.guess-add-aarch64-support.patch + patch -p1 < $CWD/config.sub-add-aarch64-support.patch +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/deps/pangox-compat/pangox-compat.SlackBuild b/deps/pangox-compat/pangox-compat.SlackBuild index 46e84ba..872da91 100755 --- a/deps/pangox-compat/pangox-compat.SlackBuild +++ b/deps/pangox-compat/pangox-compat.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/rarian/config.guess-add-aarch64-support.patch b/deps/rarian/config.guess-add-aarch64-support.patch new file mode 100644 index 0000000..b8b38e7 --- /dev/null +++ b/deps/rarian/config.guess-add-aarch64-support.patch @@ -0,0 +1,22 @@ +--- a/config.guess 2020-05-16 21:36:37.396768007 +0000 ++++ b/config.guess 2020-05-16 21:47:41.648176596 +0000 +@@ -162,6 +162,9 @@ + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac ++ case "${UNAME_MACHINE_ARCH}" in ++ aarch64) machine=${UNAME_MACHINE_ARCH}-unknown ;; ++ esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in +@@ -831,6 +834,9 @@ + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; ++ aarch64:Linux:*:*) ++ echo ${UNAME_MACHINE}-unknown-linux-gnu ++ exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; diff --git a/deps/rarian/config.sub-add-aarch64-support.patch b/deps/rarian/config.sub-add-aarch64-support.patch new file mode 100644 index 0000000..5329673 --- /dev/null +++ b/deps/rarian/config.sub-add-aarch64-support.patch @@ -0,0 +1,33 @@ +From 975ee34200109d3026310c69d6e465e0fecf1ab8 Mon Sep 17 00:00:00 2001 +From: Wladislav Wiebe +Date: Thu, 9 Jun 2016 09:19:29 +0200 +Subject: [PATCH] config.sub: add aarch64 support + +Signed-off-by: Wladislav Wiebe +--- + config.sub | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/config.sub b/config.sub +index 320e303..548666c 100755 +--- a/config.sub ++++ b/config.sub +@@ -247,6 +247,7 @@ case $basic_machine in + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ ++ | aarch64 \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ +@@ -339,6 +340,7 @@ case $basic_machine in + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ ++ | aarch64-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ +-- +1.7.1 + diff --git a/deps/rarian/rarian.SlackBuild b/deps/rarian/rarian.SlackBuild index 73f8dc5..46ff612 100644 --- a/deps/rarian/rarian.SlackBuild +++ b/deps/rarian/rarian.SlackBuild @@ -50,6 +50,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" @@ -76,6 +79,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +if [ "$ARCH" = "aarch64" ]; then + patch -p1 < $CWD/config.guess-add-aarch64-support.patch + patch -p1 < $CWD/config.sub-add-aarch64-support.patch +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/deps/yelp-tools/yelp-tools.SlackBuild b/deps/yelp-tools/yelp-tools.SlackBuild index f8105ed..17999be 100644 --- a/deps/yelp-tools/yelp-tools.SlackBuild +++ b/deps/yelp-tools/yelp-tools.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/yelp-xsl/yelp-xsl.SlackBuild b/deps/yelp-xsl/yelp-xsl.SlackBuild index df1591d..8ab8e77 100644 --- a/deps/yelp-xsl/yelp-xsl.SlackBuild +++ b/deps/yelp-xsl/yelp-xsl.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/deps/zenity/zenity.SlackBuild b/deps/zenity/zenity.SlackBuild index 95c9317..013663b 100644 --- a/deps/zenity/zenity.SlackBuild +++ b/deps/zenity/zenity.SlackBuild @@ -30,6 +30,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/atril/atril.SlackBuild b/extra/atril/atril.SlackBuild index 012b640..fdb4cd7 100644 --- a/extra/atril/atril.SlackBuild +++ b/extra/atril/atril.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/caja-actions/caja-actions.SlackBuild b/extra/caja-actions/caja-actions.SlackBuild index e56ae27..de762a4 100644 --- a/extra/caja-actions/caja-actions.SlackBuild +++ b/extra/caja-actions/caja-actions.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/caja-dropbox/caja-dropbox.SlackBuild b/extra/caja-dropbox/caja-dropbox.SlackBuild index 1518c64..6083671 100644 --- a/extra/caja-dropbox/caja-dropbox.SlackBuild +++ b/extra/caja-dropbox/caja-dropbox.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/caja-extensions/caja-extensions.SlackBuild b/extra/caja-extensions/caja-extensions.SlackBuild index caa3065..65deb2a 100644 --- a/extra/caja-extensions/caja-extensions.SlackBuild +++ b/extra/caja-extensions/caja-extensions.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/mate-applets/mate-applets.SlackBuild b/extra/mate-applets/mate-applets.SlackBuild index 310c07c..ad64340 100644 --- a/extra/mate-applets/mate-applets.SlackBuild +++ b/extra/mate-applets/mate-applets.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/mate-calc/mate-calc.SlackBuild b/extra/mate-calc/mate-calc.SlackBuild index 4931b50..39e06a7 100644 --- a/extra/mate-calc/mate-calc.SlackBuild +++ b/extra/mate-calc/mate-calc.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/mate-sensors-applet/mate-sensors-applet.SlackBuild b/extra/mate-sensors-applet/mate-sensors-applet.SlackBuild index c0a4884..d53124c 100644 --- a/extra/mate-sensors-applet/mate-sensors-applet.SlackBuild +++ b/extra/mate-sensors-applet/mate-sensors-applet.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/mate-utils/mate-utils.SlackBuild b/extra/mate-utils/mate-utils.SlackBuild index f055568..5006d2b 100644 --- a/extra/mate-utils/mate-utils.SlackBuild +++ b/extra/mate-utils/mate-utils.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/mozo/mozo.SlackBuild b/extra/mozo/mozo.SlackBuild index a0bca7a..daa1d27 100644 --- a/extra/mozo/mozo.SlackBuild +++ b/extra/mozo/mozo.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/extra/pluma/pluma.SlackBuild b/extra/pluma/pluma.SlackBuild index 0e4236c..a2dd23a 100644 --- a/extra/pluma/pluma.SlackBuild +++ b/extra/pluma/pluma.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/brisk-menu/brisk-menu.SlackBuild b/testing/brisk-menu/brisk-menu.SlackBuild index 6ba1ce3..6598916 100644 --- a/testing/brisk-menu/brisk-menu.SlackBuild +++ b/testing/brisk-menu/brisk-menu.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/ido/ido.SlackBuild b/testing/ido/ido.SlackBuild index e65c801..74fac3b 100644 --- a/testing/ido/ido.SlackBuild +++ b/testing/ido/ido.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/libindicator/libindicator.SlackBuild b/testing/libindicator/libindicator.SlackBuild index dcfc6ea..899ba55 100644 --- a/testing/libindicator/libindicator.SlackBuild +++ b/testing/libindicator/libindicator.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/mate-indicator-applet/mate-indicator-applet.SlackBuild b/testing/mate-indicator-applet/mate-indicator-applet.SlackBuild index 7cbdcfa..99acb52 100644 --- a/testing/mate-indicator-applet/mate-indicator-applet.SlackBuild +++ b/testing/mate-indicator-applet/mate-indicator-applet.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/mate-menu/mate-menu.SlackBuild b/testing/mate-menu/mate-menu.SlackBuild index 4f5ca5c..ffe6908 100644 --- a/testing/mate-menu/mate-menu.SlackBuild +++ b/testing/mate-menu/mate-menu.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/mate-tweak/mate-tweak.SlackBuild b/testing/mate-tweak/mate-tweak.SlackBuild index 4b812c1..ec74936 100644 --- a/testing/mate-tweak/mate-tweak.SlackBuild +++ b/testing/mate-tweak/mate-tweak.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/mate-user-guide/mate-user-guide.SlackBuild b/testing/mate-user-guide/mate-user-guide.SlackBuild index 89b81a1..f0b2571 100644 --- a/testing/mate-user-guide/mate-user-guide.SlackBuild +++ b/testing/mate-user-guide/mate-user-guide.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/mate-user-share/mate-user-share.SlackBuild b/testing/mate-user-share/mate-user-share.SlackBuild index 4be127a..17c0d3f 100644 --- a/testing/mate-user-share/mate-user-share.SlackBuild +++ b/testing/mate-user-share/mate-user-share.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild b/testing/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild index f413512..f063f04 100644 --- a/testing/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild +++ b/testing/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild @@ -45,6 +45,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/numix-icon-theme/numix-icon-theme.SlackBuild b/testing/numix-icon-theme/numix-icon-theme.SlackBuild index 9e57647..96a2f4c 100644 --- a/testing/numix-icon-theme/numix-icon-theme.SlackBuild +++ b/testing/numix-icon-theme/numix-icon-theme.SlackBuild @@ -45,6 +45,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/setproctitle/setproctitle.SlackBuild b/testing/setproctitle/setproctitle.SlackBuild index bb15515..7bd4e68 100644 --- a/testing/setproctitle/setproctitle.SlackBuild +++ b/testing/setproctitle/setproctitle.SlackBuild @@ -50,6 +50,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/testing/yelp/yelp.SlackBuild b/testing/yelp/yelp.SlackBuild index 4da451a..abe2fca 100644 --- a/testing/yelp/yelp.SlackBuild +++ b/testing/yelp/yelp.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64"