aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/dooble/README1
-rw-r--r--network/dooble/doinst.sh13
-rw-r--r--network/dooble/dooble.SlackBuild101
-rw-r--r--network/dooble/dooble.info12
-rw-r--r--network/dooble/slack-desc19
-rw-r--r--network/dooble/slack-dooble.sh8
6 files changed, 154 insertions, 0 deletions
diff --git a/network/dooble/README b/network/dooble/README
new file mode 100644
index 0000000000..8ffc029ef3
--- /dev/null
+++ b/network/dooble/README
@@ -0,0 +1 @@
+Dooble is a minimal, scientific, and stable Web browser.
diff --git a/network/dooble/doinst.sh b/network/dooble/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/network/dooble/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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/dooble/dooble.SlackBuild b/network/dooble/dooble.SlackBuild
new file mode 100644
index 0000000000..3e5f67555a
--- /dev/null
+++ b/network/dooble/dooble.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for dooble
+
+# 2025 Ioannis Anagnostakis GR
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=dooble
+VERSION=${VERSION:-2025.03.27}
+DIC_VERSION="dooble-dictionaries-0f1e715b85a47f930deb004fc44fa9e234941604"
+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 [ ! -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}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+tar xvf $CWD/$DIC_VERSION.tar.gz
+
+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 {} \;
+
+export DOOBLE_DICTIONARIES_DIRECTORY="$DIC_VERSION"/Dictionaries
+
+# For current it should build by qmake6 but it fails because of missing dict_base af_ZA/af_ZA on qt6...
+# I have exaclty same issue with other builds too, really dont know if its mine local issue or not.
+qmake dooble.pro
+make
+
+ mkdir -p "$PKG/usr/bin"
+ mkdir -p "$PKG/usr/share/applications"
+ mkdir -p "$PKG/usr/share/pixmaps"
+ mkdir -p "$PKG/opt/$PRGNAM"
+
+cat $CWD/slack-dooble.sh > "$PKG"/usr/bin/"$PRGNAM"
+mv Distributions/$PRGNAM.desktop "$PKG"/usr/share/applications/
+mv Icons/Logo/$PRGNAM.png "$PKG"/usr/share/pixmaps/
+cp -R * "$PKG/opt/$PRGNAM"/
+
+chmod +x "$PKG"/usr/bin/"$PRGNAM"
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README* \
+ $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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dooble/dooble.info b/network/dooble/dooble.info
new file mode 100644
index 0000000000..1b6be605ea
--- /dev/null
+++ b/network/dooble/dooble.info
@@ -0,0 +1,12 @@
+PRGNAM="dooble"
+VERSION="2025.03.27"
+HOMEPAGE="https://dooble.sourceforge.io"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/textbrowser/dooble/archive/2025.03.27/dooble-2025.03.27.tar.gz \
+ https://github.com/textbrowser/dooble-dictionaries/archive/0f1e715b85a47f930deb004fc44fa9e234941604/dooble-dictionaries-0f1e715b85a47f930deb004fc44fa9e234941604.tar.gz"
+MD5SUM_x86_64="73fc6b1f72b673aa96d6dbc6507a7f0e \
+ 6467bc2bb6d2665cd4e14cee0e6438f5"
+REQUIRES=""
+MAINTAINER="Ioannis Anagnostakis"
+EMAIL="rizitis@gmail.com"
diff --git a/network/dooble/slack-desc b/network/dooble/slack-desc
new file mode 100644
index 0000000000..4760230df7
--- /dev/null
+++ b/network/dooble/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+dooble: dooble (scientific web browser)
+dooble:
+dooble: Dooble is a scientific browser. Minimal, cute, unusually stable,
+dooble: and available almost everyware.
+dooble:
+dooble: HomePage: https://dooble.sourceforge.io/
+dooble: ProjectPage: https://github.com/textbrowser/dooble
+dooble:
+dooble:
+dooble:
+dooble:
diff --git a/network/dooble/slack-dooble.sh b/network/dooble/slack-dooble.sh
new file mode 100644
index 0000000000..b25b5b00c9
--- /dev/null
+++ b/network/dooble/slack-dooble.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/bash
+
+cd /opt/dooble || exit
+
+export DOOBLE_TRANSLATIONS_PATH=./Translations
+export QTWEBENGINE_DICTIONARIES_PATH=./qtwebengine_dictionaries
+
+exec ./Dooble "$@"