From 1a66fca315d6eb6557d3b3c53af6ab0cecddca14 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 6 Feb 2022 13:02:14 +1300 Subject: network/basilisk: Removed (upstream development suspended). Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- network/basilisk/README | 19 -- .../autoconf-2.13-consolidated_fixes-1.patch.gz | Bin 5869 -> 0 bytes network/basilisk/basilisk.SlackBuild | 261 --------------------- network/basilisk/basilisk.desktop | 13 - network/basilisk/basilisk.info | 12 - network/basilisk/doinst.sh | 9 - network/basilisk/glibc-2.30+.patch | 43 ---- network/basilisk/slack-desc | 19 -- 8 files changed, 376 deletions(-) delete mode 100644 network/basilisk/README delete mode 100644 network/basilisk/autoconf-2.13-consolidated_fixes-1.patch.gz delete mode 100644 network/basilisk/basilisk.SlackBuild delete mode 100644 network/basilisk/basilisk.desktop delete mode 100644 network/basilisk/basilisk.info delete mode 100644 network/basilisk/doinst.sh delete mode 100644 network/basilisk/glibc-2.30+.patch delete mode 100644 network/basilisk/slack-desc (limited to 'network/basilisk') diff --git a/network/basilisk/README b/network/basilisk/README deleted file mode 100644 index 6093a0b8ef4a..000000000000 --- a/network/basilisk/README +++ /dev/null @@ -1,19 +0,0 @@ -Basilisk (Web browser -- BUILD FROM SOURCE) - -Note: this builds Basilisk from source and conflicts with the binary -repackage also found on SBo. - -Basilisk is a demonstration program for the Unified XUL Platform (XUP). -It is a hard fork from the Mozilla code repository (mozilla-central) -with an ESR-52 fork point. - -Some build time options: - - GTK=gtk2 ./basilisk.SlackBuild - -will override the default and build with gtk2 instead of gtk3. - -jack is an optional dependency and, if detected, automatically built. If -this is undesirable you can blacklist jack, by passing the variable: - - BLACKLIST_JACK=yes ./basilisk.SlackBuild diff --git a/network/basilisk/autoconf-2.13-consolidated_fixes-1.patch.gz b/network/basilisk/autoconf-2.13-consolidated_fixes-1.patch.gz deleted file mode 100644 index 1be2c680e078..000000000000 Binary files a/network/basilisk/autoconf-2.13-consolidated_fixes-1.patch.gz and /dev/null differ diff --git a/network/basilisk/basilisk.SlackBuild b/network/basilisk/basilisk.SlackBuild deleted file mode 100644 index 42467ab9c822..000000000000 --- a/network/basilisk/basilisk.SlackBuild +++ /dev/null @@ -1,261 +0,0 @@ -#!/bin/bash - -# Slackware build script for basilisk - -# Copyright 2018 Vasily Sora 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 by SlackBuilds.org - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=basilisk -SRCNAM=${SRCNAM:-UXP} -VERSION=${VERSION:-2019.09.03} -RELEASEVER=${RELEASEVER:-52.9.$VERSION} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -OBJ=${OBJ:-obj-$PRGNAM} -GTK=${GTK:-gtk3} -EME=${EME:---enable-eme=widevine} - -# You can try changing the optimization level to simply "-O2" if your processor -# doesn't support sse2 instructions. -# "-Os" might help if you experience segfaults. -OPTIMIZE=${OPTIMIZE:-"-O2 -msse2 -mfpmath=sse"} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -# The default is to build with official branding. This SlackBuild is used to -# produce officially approved third party "contributed builds" of Basilisk. -# This SlackBuild can also be used to produce unapproved packages -- which -# requires the use of the "unofficial" branding. -BRANDING=${BRANDING:---enable-official-branding} -if [ "$BRANDING" = "unofficial" ]; then - BRANDING="--disable-official-branding --with-branding=browser/branding/unofficial" -fi - -rm -rf $PKG $TMP/gold $TMP/$OBJ -mkdir -p $TMP $PKG $OUTPUT $TMP/gold $TMP/$OBJ - -DEBUG=" --enable-strip --disable-debug --disable-debug-symbols --enable-release" -if [ "${ENABLE_DEBUG:-no}" = "yes" ]; then - DEBUG=" --disable-strip --disable-install-strip --enable-debug --enable-debug-symbols " - # On IA32, use gold since GNU ld runs out of memory linking libxul.so - # when debug is turned on - if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then - echo "#!/bin/bash" >> $TMP/gold/gold - echo "/usr/bin/ld.gold \"\$@\"" >> $TMP/gold/gold - cp $TMP/gold/gold $TMP/gold/ld - chmod +x $TMP/gold/* - PATH="$TMP/gold:$PATH" - export CC="$CC -B$TMP/gold" - export CXX="$CXX -B$TMP/gold" - fi -fi - -set -e - -# We need to use the incredibly ancient autoconf-2.13 for this :/ -# (Taken from Slackware's Firefox build Script) -cd $TMP -rm -rf autoconf-2.13 -tar xvf $CWD/autoconf-2.13.tar.xz -cd autoconf-2.13 -zcat $CWD/autoconf-2.13-consolidated_fixes-1.patch.gz | patch -p1 --verbose -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Build a temporary copy of autoconf-2.13 only to be used to compile -# Basilisk, since it somewhat inexplicably requires this ancient version: -rm -rf $TMP/autoconf-tmp -mkdir -p $TMP/autoconf-tmp -# This will be at the beginning of the $PATH, so protect against nonsense -# happening in $TMP: -chmod 700 $TMP/autoconf-tmp -rm -rf $TMP/autoconf-tmp/* -mkdir -p $TMP/autoconf-tmp/usr - -./configure \ - --prefix=$TMP/autoconf-tmp/usr \ - --program-suffix=-2.13 \ - --infodir=$TMP/autoconf-tmp/usr/info \ - --mandir=$TMP/autoconf-tmp/usr/man \ - --build=$ARCH-slackware-linux - -make || make -j1 -make install -PATH=$TMP/autoconf-tmp/usr/bin:$PATH - -# Build basilisk -cd $TMP -rm -rf $SRCNAM-$VERSION -tar -xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION - -# Set the proper version number, but do not rely on "$BASILISK_VERSION" since doing so will -# set the version number to whenever a build takes place, rather then when a release was made. -echo "$RELEASEVER" > application/basilisk/config/version.txt -echo "$VERSION" > application/basilisk/config/version_display.txt - -# Selectively APPLY patch for glibc 2.30+ -if [ "${PATCH_GLIBC:-no}" = "yes" ]; then - patch -p0 < $CWD/glibc-2.30+.patch -fi - -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Without LANG=C, building the Python environment may fail with: -# "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: ordinal not in range(128)" -export LANG=C - -export MOZCONFIG="$TMP/$SRCNAM-$VERSION/.mozconfig" -export MOZILLA_OFFICIAL=1 -export MOZ_MAKE_FLAGS=$MAKEFLAGS -export CFLAGS="$SLKCFLAGS" -export CXXFLAGS="$SLKCFLAGS" -export BUILDING_RELEASE=1 -export MOZ_ADDON_SIGNING= -export MOZ_REQUIRE_SIGNING= -export MOZ_TELEMETRY_REPORTING= -export PYTHON=/usr/bin/python2 - -# Our building options, in a configure-like display ;) -OPTIONS="\ - ${BRANDING} \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --with-default-mozilla-five-home=/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER \ - --x-libraries=/usr/lib${LIBDIRSUFFIX} \ - --enable-default-toolkit=cairo-$GTK \ - $DEBUG \ - $DEVTOOLS \ - $EME \ - --enable-application=browser \ - --disable-crashreporter \ - --disable-updater \ - --disable-tests \ - --enable-jemalloc \ - --with-pthreads" - -echo "mk_add_options MOZ_OBJDIR=$TMP/$OBJ" > .mozconfig - -# Write in the .mozconfig the options above -for option in $OPTIONS; do echo "ac_add_options $option" >> .mozconfig; done -echo "ac_add_options --enable-optimize=\"$OPTIMIZE\"" >> .mozconfig - -if ! pkg-config --exists libpulse; then -echo "ac_add_options --disable-pulseaudio" >> .mozconfig; fi - -if pkg-config --exists jack && [ "${BLACKLIST_JACK:-no}" != "yes" ]; then -echo "ac_add_options --enable-jack" >> .mozconfig; fi - -python2 mach build - -## Clean up; and package Basilisk. -mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins -cd $TMP/$OBJ -make install DESTDIR=$PKG - -cd $PKG - -# We don't need these (just symlinks anyway): -rm -rf usr/lib${LIBDIRSUFFIX}/$PRGNAM-devel-$RELEASEVER - -# Avoid duplicate binaries; details: https://bugzilla.mozilla.org/show_bug.cgi?id=658850 -# Basilisk package scripts appear to attempt this, on other 'distros'; those scripts, -# however, appear to fail on Slackware. -rm -f usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/$PRGNAM-bin - -# Use system provided Hunspell, if desired. -if [ "${USE_SYSTEM_HUNSPELL}" = "yes" ]; then - rm -rfv usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/dictionaries - cp -vsr /usr/share/hunspell usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/dictionaries -fi - -# Install icons: -for PX in 16 32 48 ; do - mkdir -p $PKG/usr/share/icons/hicolor/${PX}x${PX}/apps - ln -s /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/browser/chrome/icons/default/default${PX}.png \ - $PKG/usr/share/icons/hicolor/${PX}x${PX}/apps/$PRGNAM-$VERSION.png -done -# ... and the 128px icon file too: -mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps -ln -s /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/browser/icons/mozicon128.png \ - $PKG/usr/share/icons/hicolor/128x128/apps/$PRGNAM-$VERSION.png - -# Install .desktop file -mkdir -p $PKG/usr/share/applications -sed "s|@VERSION@|$VERSION|" $CWD/$PRGNAM.desktop \ - > $PKG/usr/share/applications/$PRGNAM.desktop - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - $TMP/$SRCNAM-$VERSION/LEGAL $TMP/$SRCNAM-$VERSION/LICENSE $TMP/$SRCNAM-$VERSION/README.md \ - $PKG/usr/doc/$PRGNAM-$VERSION/ -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/basilisk/basilisk.desktop b/network/basilisk/basilisk.desktop deleted file mode 100644 index 8a99bb38e0fa..000000000000 --- a/network/basilisk/basilisk.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=basilisk Web Browser -Comment=Browse the World Wide Web -Keywords=Internet;WWW;Browser;Web;Explorer -Exec=basilisk %u -Terminal=false -X-MultipleArgs=false -Type=Application -Icon=basilisk-@VERSION@ -Categories=Network;WebBrowser -MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall; -StartupNotify=true diff --git a/network/basilisk/basilisk.info b/network/basilisk/basilisk.info deleted file mode 100644 index a34304e0b96a..000000000000 --- a/network/basilisk/basilisk.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="basilisk" -VERSION="2019.09.03" -HOMEPAGE="https://github.com/MoonchildProductions/UXP" -DOWNLOAD="https://github.com/MoonchildProductions/UXP/archive/v2019.09.03/UXP-2019.09.03.tar.gz \ - http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz" -MD5SUM="afa2ceea4761d3d8d0df88ffe5e42894 \ - f2994d302cf736e7e71974edfa51da3c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="khronosschoty" -EMAIL="khronosschoty@posteo.org" diff --git a/network/basilisk/doinst.sh b/network/basilisk/doinst.sh deleted file mode 100644 index afea6d71dcdd..000000000000 --- a/network/basilisk/doinst.sh +++ /dev/null @@ -1,9 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi diff --git a/network/basilisk/glibc-2.30+.patch b/network/basilisk/glibc-2.30+.patch deleted file mode 100644 index b67945d12a62..000000000000 --- a/network/basilisk/glibc-2.30+.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- tools/profiler/tasktracer/GeckoTaskTracer.cpp 2019-08-23 01:47:27.000000000 +0200 -+++ tools/profiler/tasktracer/GeckoTaskTracer.cpp 2019-08-29 18:02:44.541959971 +0200 -@@ -25,20 +25,14 @@ - #if defined(__GLIBC__) - #include - #include --static inline pid_t gettid() --{ -- return (pid_t) syscall(SYS_gettid); --} -+#define gettid() static_cast(syscall(SYS_gettid)) - #elif defined(XP_MACOSX) - #include - #include --static inline pid_t gettid() --{ -- return (pid_t) syscall(SYS_thread_selfid); --} -+#define gettid() static_cast(syscall(SYS_thread_selfid)) - #elif defined(LINUX) - #include --pid_t gettid(); -+#pid_t gettid(); - #endif - - // NS_ENSURE_TRUE_VOID() without the warning on the debug build. - - ---- js/src/jsnativestack.cpp 2019-08-29 17:45:10.000000000 +0200 -+++ js/src/jsnativestack.cpp 2019-08-29 17:53:58.382003265 +0200 -@@ -26,11 +26,7 @@ - # include - # include - # include --static pid_t --gettid() --{ -- return syscall(__NR_gettid); --} -+# define gettid() static_cast(syscall(__NR_gettid)) - # endif - - #else diff --git a/network/basilisk/slack-desc b/network/basilisk/slack-desc deleted file mode 100644 index 25926a7da432..000000000000 --- a/network/basilisk/slack-desc +++ /dev/null @@ -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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -basilisk: basilisk (Web browser -- BUILD FROM SOURCE) -basilisk: -basilisk: Basilisk is a demonstration program for the Unified XUL Platform -basilisk: (XUP). It is a hard fork from the Mozilla code repository -basilisk: (mozilla-central) with an ESR-52 fork point. -basilisk: -basilisk: -basilisk: -basilisk: https://github.com/MoonchildProductions/UXP -basilisk: -basilisk: -- cgit v1.2.3