diff --git a/AppRun b/AppRun index 33b78df..b6c6037 100755 --- a/AppRun +++ b/AppRun @@ -1,4 +1,5 @@ #!/bin/sh HERE=$(dirname "$(readlink -f "${0}")") -export LD_LIBRARY_PATH="${HERE}":"$LD_LIBRARY_PATH" +#export PATH="${HERE}":"${HERE}"/bin:"$PATH" +#export LD_LIBRARY_PATH="${HERE}"/lib64:"${HERE}"/lib:"$LD_LIBRARY_PATH" "${HERE}"/"$APPDWARF_CMD" "$@" diff --git a/apps/.gitignore b/apps/.gitignore new file mode 100644 index 0000000..ec39cf9 --- /dev/null +++ b/apps/.gitignore @@ -0,0 +1,3 @@ +*.AppImage +*.aria2 +*.sh diff --git a/apps/mkchrome b/apps/mkchrome index d6240a8..bf2d94f 100755 --- a/apps/mkchrome +++ b/apps/mkchrome @@ -1,6 +1,6 @@ #!/bin/bash PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH -DIR=/tmp/dwarf-portable-executable +DIR=/tmp/appdwarf mkdir -p $DIR LINK=https://download-chromium.appspot.com/dl/Linux_x64 curl -L "$LINK" | bsdtar xf - -C$DIR diff --git a/apps/mkgo b/apps/mkgo index a7c4734..64bd770 100755 --- a/apps/mkgo +++ b/apps/mkgo @@ -1,6 +1,6 @@ #!/bin/bash PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH -DIR=/tmp/dwarf-portable-executable +DIR=/tmp/appdwarf mkdir -p $DIR LINK=$(curl -sL https://golang.org/dl | grep -om1 dl/go.\*linux-amd64.tar.gz) curl -L https://golang.org/"$LINK" | tar xz -C$DIR diff --git a/apps/mkjava b/apps/mkjava index 7c1ae81..d3a3d6b 100755 --- a/apps/mkjava +++ b/apps/mkjava @@ -1,6 +1,6 @@ #!/bin/bash PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH -DIR=/tmp/dwarf-portable-executable/java +DIR=/tmp/appdwarf/java JRE=$DIR/jre VER=$1 mkdir -p $DIR diff --git a/apps/mknode b/apps/mknode index 34dd7eb..0f3b472 100755 --- a/apps/mknode +++ b/apps/mknode @@ -1,6 +1,6 @@ #!/bin/bash PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH -DIR=/tmp/dwarf-portable-executable +DIR=/tmp/appdwarf mkdir -p $DIR BASE=https://nodejs.org/dist/latest LINK="$BASE/$(curl -L $BASE | grep linux-x64.tar.xz | cut -d'"' -f2)" diff --git a/apps/mkproton b/apps/mkproton index 628eeed..bcc2bca 100755 --- a/apps/mkproton +++ b/apps/mkproton @@ -1,6 +1,6 @@ #!/bin/bash PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH -DIR=/tmp/dwarf-portable-executable/proton +DIR=/tmp/appdwarf/proton mkdir -p $DIR LINK="$(curl https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases | grep -om1 http.\*tar.gz)" diff --git a/apps/mkpypy b/apps/mkpypy index ca6a4ef..b5ce3d5 100755 --- a/apps/mkpypy +++ b/apps/mkpypy @@ -1,6 +1,6 @@ #!/bin/bash PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH -DIR=/tmp/dwarf-portable-executable +DIR=/tmp/appdwarf mkdir -p $DIR LINK="https://buildbot.pypy.org/nightly/py3.9/pypy-c-jit-latest-linux64.tar.bz2" curl -L "$LINK" | tar xfj - -C$DIR diff --git a/apps/mkrust b/apps/mkrust index ce62e17..6baabb9 100755 --- a/apps/mkrust +++ b/apps/mkrust @@ -1,6 +1,6 @@ #!/bin/bash PATH=$(dirname $(readlink -f "${0}"))/..:$PATH -DIR=/tmp/dwarf-portable-executable +DIR=/tmp/appdwarf mkdir -p $DIR LINK=https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz curl -L $LINK | tar xz -C$DIR diff --git a/apps/mktex b/apps/mktex new file mode 100755 index 0000000..d6c51b0 --- /dev/null +++ b/apps/mktex @@ -0,0 +1,56 @@ +#!/bin/bash +PATH="$(dirname "$(readlink -f "${0}")")/..":"$PATH" +DIR=/tmp/appdwarf +mkdir -p $DIR +LINK=https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz +curl -L $LINK | tar xz -C$DIR +mv $DIR/install-tl-* $DIR/tl + +cat > $DIR/tl/prof << 'EOF' +selected_scheme scheme-custom +TEXDIR /tmp/appdwarf/tex +TEXMFCONFIG $TEXMFSYSCONFIG +TEXMFHOME $TEXMFLOCAL +TEXMFLOCAL /tmp/appdwarf/tex/texmf-local +TEXMFSYSCONFIG /tmp/appdwarf/tex/texmf-config +TEXMFSYSVAR /tmp/appdwarf/tex/texmf-var +TEXMFVAR $TEXMFSYSVAR +binary_x86_64-linux 1 +collection-basic 1 +collection-binextra 1 +collection-latex 1 +collection-latexrecommended 1 +instopt_adjustpath 1 +instopt_adjustrepo 1 +instopt_letter 0 +instopt_portable 1 +instopt_write18_restricted 1 +tlpdbopt_autobackup 0 +tlpdbopt_backupdir tlpkg/backups +tlpdbopt_create_formats 1 +tlpdbopt_desktop_integration 1 +tlpdbopt_file_assocs 1 +tlpdbopt_generate_updmap 0 +tlpdbopt_install_docfiles 0 +tlpdbopt_install_srcfiles 0 +tlpdbopt_post_code 1 +tlpdbopt_sys_bin /usr/local/bin +tlpdbopt_sys_info /usr/local/share/info +tlpdbopt_sys_man /usr/local/share/man +tlpdbopt_w32_multi_user 1 +EOF + +$DIR/tl/install-tl -profile $DIR/tl/prof + +cat > $DIR/tex/AppRun << 'EOF' +#!/bin/sh +HERE=$(dirname "$(readlink -f "${0}")") +export PATH="${HERE}"/bin/x86_64-linux:"$PATH" +"${HERE}"/bin/x86_64-linux/"$APPDWARF_CMD" "$@" +EOF + +chmod +x $DIR/tex/AppRun + +appdwarf $DIR/tex +mv $DIR/tex.sh tex +rm -rf $DIR/tex $DIR/tl diff --git a/apps/mkwine b/apps/mkwine index 004d9ae..6255744 100755 --- a/apps/mkwine +++ b/apps/mkwine @@ -1,6 +1,6 @@ #!/bin/bash PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH -DIR=/tmp/dwarf-portable-executable/wine +DIR=/tmp/appdwarf/wine mkdir -p $DIR LINK="$(curl https://api.github.com/repos/Kron4ek/Wine-Builds/releases | grep -om1 http.\*-staging-tkg-amd64.tar.xz)" diff --git a/apps/rustsolus b/apps/rustsolus index 850352c..8971a6d 100755 --- a/apps/rustsolus +++ b/apps/rustsolus @@ -1,6 +1,6 @@ #!/bin/bash PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH -DIR=/tmp/dwarf-portable-executable/rust +DIR=/tmp/appdwarf/rust mkdir -p $DIR eopkg fc -o $DIR cargo rust diff --git a/apps/ungoogled b/apps/ungoogled index cf1f462..3033fc3 100755 --- a/apps/ungoogled +++ b/apps/ungoogled @@ -1,3 +1,3 @@ #!/bin/sh ID="$(curl -L https://ungoogled-software.github.io/ungoogled-chromium-binaries | grep -m7 href | tail -n 1 | awk -F'[<>]' '{print $5}')" -appdwarf -s -u "https://github.com/clickot/ungoogled-chromium-binaries/releases/download/99.0.4844.51-1.1/ungoogled-chromium_$ID.AppImage" +appdwarf -s -u "https://github.com/clickot/ungoogled-chromium-binaries/releases/download/$ID/ungoogled-chromium_$ID.AppImage"