EVE Installing

After some updates on my scripts yesterday i have tested these again on a new installation of openSUSE Tumbleweed which i have done last year (described here). Things which have changed in the meantime:

  • openSUSE Tumbleweed 20190921

  • KDE Plasma 5.16.5

  • Wine

  • dxvk version 1.4.1 installed with evewinetricks

In addition to this you must install following packages: libQt5WebSockets5, libopenssl1_0_0 to get evelauncher working. Optional you can install libnotify-tools to get desktop messages from evesetup scripts.

For the last version from my scripts i have created a new tumbleweed patch:

gharim@amd4k3:~/Downloads> cat tumbleweed.patch

diff --git a/build_installer.sh b/build_installer.sh
index 9663c14..9529e63 100755
--- a/build_installer.sh
+++ b/build_installer.sh
@@ -59,13 +59,13 @@ echo "done."
 
 printf "\nCopy needed files from AUR source..."
 for eia in ../eve-icons*.tar.gz ;do tar xf $eia -C evesetup/ ;done
-for eta in ../eve-transl5.11-??.tar.gz ;do cp $eta evesetup/ ;done
 for cmd in evelauncher.sh everegedit evewine evewinecfg evewinetricks evebackup ;do
     if [ -f ../$cmd ] ;then cp ../$cmd evesetup/ ;fi
     if [ ! "$cmd" = "evewine" ] ;then cp ../${cmd%.*}.desktop evesetup/ ;fi
 done
 cp ../evesetup.shlib evesetup/evesetup.shlib
-cp ../evelauncher.sh.in evesetup/evelauncher.sh
+cp ../evelauncher.sh evesetup/
+cp ../evelauncher.sh.real evesetup/
 sed -i s,ELVER=\"\",ELVER=\"$version\", evesetup/evelauncher.sh
 cp ../setup.sh.in evesetup/setup.sh
 sed -i s,elver=\"\",elver=\"$version\", evesetup/setup.sh
@@ -84,9 +84,9 @@ if [ -f "../evelauncher-$version.tar.gz" ] ;then
     fi
 fi
 
-printf "\nBuild self-extractable archive evesetup-$version-$release-$arch.run\n\n"
-./makeself.sh --tar-quietly evesetup/ ../evesetup-$version-$release-$arch.run \
-    "EVE Online Launcher Setup $version-$release" ./setup.sh
+printf "\nBuild self-extractable archive evesetup-${version}s-$release-$arch.run\n\n"
+./makeself.sh --tar-quietly evesetup/ ../evesetup-${version}s-$release-$arch.run \
+    "EVE Online Launcher Setup ${version}s-$release" ./setup.sh
 cd ..
 printf "\nClean up build environment..."
 rm -rf src/
diff --git a/setup.sh.in b/setup.sh.in
index d16b6b7..6672e4e 100644
--- a/setup.sh.in
+++ b/setup.sh.in
@@ -8,12 +8,8 @@ bootstrap_install() {
     install -dv "$libdir"
     install -d "$prefix/bin/"
     install -d "$prefix/share/applications/"
-    for eta in ./eve-transl${qtver}-??.tar.gz ;do
-       install -m 0644 "$eta" "$libdir"
-    done
     install -m 0644 "./evesetup.shlib" "$libdir"
     install -m 0644 "./evelauncher-${elver}.tar.gz" "$libdir"
-    sed -i s,./eve-transl,$libdir/eve-transl, ./evelauncher.sh
     sed -i s,SETUPDIR=\"\",SETUPDIR=\"$destdir\", ./evelauncher.sh
     for cmd in evelauncher.sh evewine evewinetricks everegedit evewinecfg evebackup ;do
        if [ -f "./$cmd" ] ;then
@@ -77,27 +73,29 @@ build_lib() {
     echo "done."
     printf "\nClean up evelauncher directory..."
     cd evelauncher/
-    rm -f ./*.a ./*.la ./*.prl
+    rm -rf ./resources/ ./plugins/
+    rm -f ./*.a ./*.la ./*.prl ./*[Qq]t* ./libcrypto* ./libicu* ./libpng* ./libssl* ./libxcb*
+    cp -f ../evelauncher.sh.real ./evelauncher.sh
     chmod 0755 ./*
-    chmod 0644 ./*.qm ./*.conf ./errorpage/*
+    chmod 0644 ./*.qm ./errorpage/*
     echo "done."
     printf "\nReplace identical files with symbolic links..."
     ln -sf evelauncher.sh LogLite.sh
-    libb=/dev/zero
-    for lib in $(find ./ -maxdepth 1 -type f -name 'lib*' -printf '%s-%f\n'|sort -r)
-    do
-       liba=${lib#*-}
-       if [ "$(cmp -s $liba $libb; echo $?)" = "0" ] ;then
-           ln -sf $libb $liba
-       else
-           libb=$liba
-       fi
-    done
+    ln -sf libgpr.so.6.0.0 libgpr.so
+    ln -sf libgpr.so.6.0.0 libgpr.so.6
+    ln -sf libgrpc++.so.1.12.0 libgrpc++.so
+    ln -sf libgrpc++.so.1.12.0 libgrpc++.so.1
+    ln -sf libgrpc++.so.1.12.0 libgrpc++.so.6
+    ln -sf libgrpc.so.6.0.0 libgrpc.so
+    ln -sf libgrpc.so.6.0.0 libgrpc.so.6
+    ln -sf libprotobuf.so.16.0.0 libprotobuf.so
+    ln -sf libprotobuf.so.16.0.0 libprotobuf.so.16
     echo "done."
     printf "\nRemove unneeded symbols from files..."
     find ./ -maxdepth 1 -type f -exec strip -s {} 2>/dev/null \;
     echo "done."
     printf "\nRepack evelauncher-$elver.tar.gz..."
+    touch ./*
     cd ../
     rm evelauncher-$elver.tar.gz
     tar czf evelauncher-$elver.tar.gz evelauncher/
@@ -128,7 +126,6 @@ prefix="/usr"
 destdir="/opt/evesetup"
 bindir="$destdir/bin"
 libdir="$destdir/lib"
-qtver="5.11"
 elver=""
 elcsum=""
 rcsum=""

which must be applied on the AUR sources with

patch -p1 -l -i ../tumbleweed.patch

in the source directory.

For evelauncher i use on KDE following kwin rules to suppres the windows decoration from KDE and center the evelauncher window on desktop with a size of 1280x720:

gharim@amd4k3:~/Downloads> cat evelauncher.kwinrule

[Rules for EVE Launcher]
Description=Rules for EVE Launcher
clientmachine=localhost
clientmachinematch=0
ignoregeometry=true
ignoregeometryrule=3
noborder=true
noborderrule=3
placement=Centered
placementrule=2
size=1280,720
sizerule=3
title=EVE Launcher - version
titlematch=2
types=1
wmclass=evelauncher eve
wmclasscomplete=true
wmclassmatch=1

– fly safe o7