summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-17 06:39:24 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-17 06:45:55 +0700
commit3fa34c484968a8c9f9d646747a6b502c7b44b9f6 (patch)
treef069ac58e6af425543fd8c3d0fd1d621ca9a94d7
parentd7aa3a4c7a9e2a76be961fec49b224319c2af531 (diff)
downloadslackbuilds-3fa34c484968a8c9f9d646747a6b502c7b44b9f6.tar.gz
slackbuilds-3fa34c484968a8c9f9d646747a6b502c7b44b9f6.tar.xz
academic/celestia: Updated for version 1.6.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/celestia/2173.patch30
-rw-r--r--academic/celestia/celestia.SlackBuild9
-rw-r--r--academic/celestia/celestia.info8
-rw-r--r--academic/celestia/slack-desc2
4 files changed, 39 insertions, 10 deletions
diff --git a/academic/celestia/2173.patch b/academic/celestia/2173.patch
new file mode 100644
index 0000000000..4dea3c173b
--- /dev/null
+++ b/academic/celestia/2173.patch
@@ -0,0 +1,30 @@
+From e1022216d9477309fc3ec51637ff1f59eb298530 Mon Sep 17 00:00:00 2001
+From: Adam Fontenot <adam.m.fontenot@gmail.com>
+Date: Fri, 12 Apr 2024 01:16:06 -0400
+Subject: [PATCH] Fix build issues arising from syntax error in acinclude.m4
+
+The acinclude.m4 file places the closing `fi` in the wrong location,
+resulting in builds on some systems failing, e.g. Arch Linux:
+https://aur.archlinux.org/packages/celestia
+
+The `fi` belongs where it is placed by this commit because there is
+no `if` inside the `AC_CACHE_VAL`. Rather, the statement is intended
+to close the conditional `if test -n "$LIBJPEG"`.
+---
+ acinclude.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/acinclude.m4 b/acinclude.m4
+index 49a086f893..1fe80ef680 100644
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -2630,8 +2630,8 @@ AC_TRY_LINK(
+ LIBS="$ac_save_LIBS"
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ AC_LANG_RESTORE
+-fi
+ ])
++fi
+
+ if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
+ AC_MSG_RESULT(yes)
diff --git a/academic/celestia/celestia.SlackBuild b/academic/celestia/celestia.SlackBuild
index 8697c7ce48..cb011a7901 100644
--- a/academic/celestia/celestia.SlackBuild
+++ b/academic/celestia/celestia.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=celestia
SRCNAM=Celestia
-VERSION=${VERSION:-1.6.2.2}
+VERSION=${VERSION:-1.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -83,6 +80,8 @@ find -L . \
# Note that the kde frontend will only build with kde3
FRONTEND=${FRONTEND:-gtk}
+patch -p1 < $CWD/2173.patch
+
autoreconf -vif
CFLAGS="$SLKCFLAGS" \
@@ -104,7 +103,7 @@ sed -i "s|celestia-gtk|celestia|" \
$PKG/usr/share/applications/celestia.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README TRANSLATORS \
+cp -a ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README TRANSLATORS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/academic/celestia/celestia.info b/academic/celestia/celestia.info
index b8c4371e03..da12533526 100644
--- a/academic/celestia/celestia.info
+++ b/academic/celestia/celestia.info
@@ -1,8 +1,8 @@
PRGNAM="celestia"
-VERSION="1.6.2.2"
-HOMEPAGE="https://celestia.space/"
-DOWNLOAD="https://github.com/CelestiaProject/Celestia/archive/1.6.2.2/Celestia-1.6.2.2.tar.gz"
-MD5SUM="0f4871b44f05e0eb9e3714bb13fed2b7"
+VERSION="1.6.4"
+HOMEPAGE="https://celestiaproject.space/"
+DOWNLOAD="https://github.com/CelestiaProject/Celestia/archive/1.6.4/Celestia-1.6.4.tar.gz"
+MD5SUM="d4770ffe08cb8761a78bebabcb9067ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtkglext lua53"
diff --git a/academic/celestia/slack-desc b/academic/celestia/slack-desc
index 60881f44da..0c20328568 100644
--- a/academic/celestia/slack-desc
+++ b/academic/celestia/slack-desc
@@ -11,7 +11,7 @@ celestia:
celestia: A real-time space simulation that lets you experience our universe
celestia: in three dimensions.
celestia:
-celestia: Homepage: https://celestia.space/
+celestia: Homepage: https://celestiaproject.space/
celestia:
celestia:
celestia: