Creating Yad 14.1 portable - 425+ remote location files.

69 views
Skip to first unread message

Robert Cooper

unread,
Feb 17, 2025, 7:45:29 PMFeb 17
to yad-common
I am developing a linking system for MOST (but not all files) needed for yad gui to run as a portable (not a true portable - hard linked files). It was very easy to create a portable for  yad 0.40.0 and yad 14.1 without --html --sourceview but, the number of files explode to when I add the  --html and --sourceview options. 

What I am doing is using bash if statements to test for each file and if not present, I symlink to a remote file. 

I am experimenting with using AppImage and my own custom BinImage (uses Makeself utility) so I can provide a single file self-extracting self-executing solution. 

Next week I will post code on my github page and make a few videos.

Robert Cooper

unread,
Feb 19, 2025, 9:22:55 AMFeb 19
to yad-common
Here is video of Yad 14.1 Portable - AppImage. 

Robert Cooper

unread,
Feb 19, 2025, 10:35:39 AMFeb 19
to yad-common
All Code include below (Exept that Only 1 source code file example is include here)
    (will update this post with link to all files and source for Debian bookworm 12 - SOON)
    Issued under GNU Public License 3.0  - https://www.gnu.org/licenses/gpl-3.0.en.html
    Use of this code is proof of your release of Liability from author / Copyright Holder
    Copyright Holder: Robert J. Cooper, Coffeyville, KS, USA 2024-2025 - https:/BinImage.com 

# /////////////////////////////////////////////////////////////////////////////////////////////////////
1. AppImage Files
   a. /AppDir/AppRun 
   b. /AppDir/yad14-portable.desktop
   c. /AppDir/yad-app.png
   d. /AppDir/AppImageBuilder.yml 
   e. /AppDir/usr/bin/yad-portable.sh

    compiled with appimagetool terminal-$:> ARCH=x86_64 ./appimagetool ./AppDir ===> name-of-desktop-icon-x86_64.AppImage

2a. Child Shell Process - yad script -->  /tmp/yad/yad-binimage-vfiles.sh
################  /tmp/yad/yad-binimage-vfiles.sh  ###########################
# These below are the libary / helper files that I have resolved currently for --html widget out of the 357 files.
# As more functions are tested, ie --sourceview, more of the 357 files will be sourced.
#####################################################################

2b. Example dependicy symlink shell code: yad-binimage-vfiles.sh <--. /tmp/yad/source/yad-binary.source

# /////////////////////////////////////////////////////////////////////////////////////////////////////

# 1. ===== START  AppImage Files ==============
# -------------------- AppDir/AppRun ------------------------------

#!/bin/bash
HERE="$(dirname "$(readlink -f "${0}")")"
export PATH="${HERE}/usr/bin"
exec "${HERE}/usr/bin/yad-portable.sh" "$@"

# ----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------

# --------------- /AppDir/yad14-portable.desktop -------------

#!/usr/bin/env xdg-open
[Desktop Entry]
Name[en_GB]=Yad-Porable-14.1-AppImage
Name=Yad-Porable-14.1-AppImage
Name[en_US]=Yad-Porable-14.1-AppImage
GenericName[en_GB]=Yad-Porable-14.1-AppImage
GenericName=Yad-Porable-14.1-AppImage
GenericName[en_US]=Yad-Porable-14.1-AppImage
Exec=/tmp/yad/yad-portable.sh
Icon=yad-app
Path=/usr/bin
Terminal=false
Type=Application
Categories=Utility;
Comment="yad 14 Portable"
StartupNotify=false

# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------

# ------------------ AppDir/yad-app.png -------------------------------

# This will be your icon image for above /AppDir/yad14-portable.desktop

# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------

# ------------------ AppDir/AppImageBuilder.yml -----------------

app: yad
binpatch: true

ingredients:
  dist: bookworm
  sources:
    - deb http://deb.debian.org/debian bookworm main non-free-firmware
- deb-src http://deb.debian.org/debian bookworm main non-free-firmware

# ------------------------------------------------------------------------------------

# ----------------- AppDir/usr/bin/yad-portable.sh ---------------

#!/bin/bash

key=$RANDOM

/usr/bin/mkdir /tmp/yad

clear

/usr/bin/echo ""
/usr/bin/echo ""

/usr/bin/echo "░▒▓█▓▒░░▒▓█▓▒░  ░▒▓██████▓▒░  ░▒▓███████▓▒░    ░▒▓███████▓▒░   ░▒▓██████▓▒░  ░▒▓███████▓▒░  ░▒▓████████▓▒░  ░▒▓██████▓▒░  ░▒▓███████▓▒░  ░▒▓█▓▒░        ░▒▓████████▓▒░"
/usr/bin/echo "░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░        ░▒▓█▓▒░"
/usr/bin/echo "░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░        ░▒▓█▓▒░"      
/usr/bin/echo " ░▒▓██████▓▒░  ░▒▓████████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓███████▓▒░  ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░     ░▒▓█▓▒░     ░▒▓████████▓▒░ ░▒▓███████▓▒░  ░▒▓█▓▒░        ░▒▓██████▓▒░"  
/usr/bin/echo "   ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓█▓▒░        ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░        ░▒▓█▓▒░"  
/usr/bin/echo "   ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓█▓▒░        ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░        ░▒▓█▓▒░"      
/usr/bin/echo "   ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░    ░▒▓█▓▒░         ░▒▓██████▓▒░  ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░  ░▒▓████████▓▒░ ░▒▓████████▓▒░"

/usr/bin/echo ""
/usr/bin/echo ""



export yadDir="/tmp/yad/usr/bin"

PATH="/usr/bin:/usr/local/bin:/bin:/usr/lib/x86_64-linux-gnu/gnome-terminal:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0:/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0:/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/injected-bundle/"

apt_update () {
gnome-terminal --window -- bash -c  "echo '"'This window is a child process with full root sudo authority.'"' && echo '""' && sudo apt-get update && read -s -p 'Press Enter to Close' && exit;$SHELL"
}
export -f apt_update

fdisk_l () {
gnome-terminal --window --title="sudo fidsk -l" -- bash -c  "echo '"'This window is a child process with full root sudo authority.'"' && echo '""' && echo '"'Non-destructive fdisk -l drive partition information.'"' && echo '""' && sudo fdisk -l && echo '""' && read -s -p 'Press Enter to Close' && exit;$SHELL"
}
export -f fdisk_l

appimage_tool () {
yad --center --on-top --title="appimagetool github" --width=300 --height=125 --text-info --text="Opening appimagetool Github page" --timeout=3 --no-buttons &

xdg-open 'https://github.com/AppImage/appimagetool/blob/main/README.md'
exit
}
export -f appimage_tool

yad_bash () {

yad --width=1200 --height=700 --title="yadbash.com" --center --html --browser --uri="https://yadbash.com"

exit

}
export -f yad_bash


sleep 1
/usr/bin/cp /media/$USER/BINIMAGE/yad/yad-poratble-BinImage.zip /tmp/yad
cd /tmp/yad
/usr/bin/unzip ./yad-poratble-BinImage.zip
/usr/bin/chmod +x ./yad-binimage-vfiles.sh

echo ""
echo "Enter sudo password to setup yad 14.1 portable on your system."
echo ""

cp /tmp/yad/yad14-portable.desktop /home/$USER/Desktop/yad14-portable.desktop
chmod +x /home/$USER/Desktop/yad14-portable.desktop

cp /tmp/yad/appimagetoo /usr/bin/appimagetool
chmod +x /usr/bin/appimagetool

sudo ./yad-binimage-vfiles.sh

yad --plug=$key --tabnum=1 --html --uri="https://github.com/AppImage" &

yad --plug=$key --tabnum=2 --html --browser --uri="https://appimageshell.com/files/html/appimage.html" &

yad --plug=$key --tabnum=3 --html --browser --uri="https://github.com/orgs/AppImageCommunity/repositories" &

yad --plug=$key --tabnum=4 --html --uri="https://github.com/orgs/AppImage/discussions" &

yad --plug=$key --tabnum=5 --html --browser --uri="https://docs.appimage.org/" &

yad --key=$key --notebook --tab-pos=left  --width=1200 --height=700 --title="AppImage Yad Bash Child Process Example" --center --tab="AppImage Github" --tab="Videos html page" --tab="Community" --tab="Discussion"  --tab="Documentation" --button="Appimagetool":"bash -c 'appimage_tool'" --button="update apt":"bash -c 'apt_update'" --button="fdisk -l":"bash -c 'fdisk_l'" --button="yad GUI Info":"bash -c 'yad_bash'" --button="Exit:1"

# ------------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------
# ========== END AppImage Files

# ===== START 2. Child Shell Process - yad script ====
# ------------- /tmp/yad/yad-binimage-vfiles.sh -----------------

#!/bin/bash

# clear
  export yadDir="/usr/local/bin"
  export yadTmpBinDir="/tmp/yad/usr/bin"
  export libDir="/usr/lib/x86_64-linux-gnu"
  export yadTmpDir="/tmp/yad"
  export yadTmpLibDir="/tmp/yad/usr/lib"
  export yadTmpWebkitProcDir="/tmp/usr/lib/webkit2gtk-4.0"
  export yadTmpWebkitInjectDir="/tmp/usr/lib/webkit2gtk-4.0/injected-bundle"
  export yadTmpEtcDir="/tmp/yad/etc"

clear

echo "░▒▓█▓▒░░▒▓█▓▒░  ░▒▓██████▓▒░  ░▒▓███████▓▒░    ░▒▓███████▓▒░   ░▒▓██████▓▒░  ░▒▓███████▓▒░  ░▒▓████████▓▒░  ░▒▓██████▓▒░  ░▒▓███████▓▒░  ░▒▓█▓▒░        ░▒▓████████▓▒░"
echo "░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░        ░▒▓█▓▒░"
echo "░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░        ░▒▓█▓▒░"      
echo " ░▒▓██████▓▒░  ░▒▓████████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓███████▓▒░  ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░     ░▒▓█▓▒░     ░▒▓████████▓▒░ ░▒▓███████▓▒░  ░▒▓█▓▒░        ░▒▓██████▓▒░"  
echo "   ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓█▓▒░        ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░        ░▒▓█▓▒░"  
echo "   ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░   ░▒▓█▓▒░        ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░        ░▒▓█▓▒░"      
echo "   ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░    ░▒▓█▓▒░         ░▒▓██████▓▒░  ░▒▓█▓▒░░▒▓█▓▒░    ░▒▓█▓▒░     ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░  ░▒▓████████▓▒░ ░▒▓████████▓▒░"

echo ""
echo ""
echo "This program will create directories and files under your /tmp/ directory"
echo "symlinks will link the temp files to your host system".
echo "Make sure to click "Clean Links" button when you are done using Yad Portable"
echo ""
echo ""
read -s -p "Press Any Key to build YAD PORTABLE"
 
clear

  if [ -d "$yadTmpWebkitInjectDir" ]; then
echo "All BinImage /tmp/yad/* Directories exist"
sleep 3
echo ""
  else
echo "Creating all BinImage/yad /tmp directories..."
sleep 3
mkdir -p /tmp/yad/usr/lib/webkit2gtk-4.0/injected-bundle
sleep 3
echo ""
echo "make yad temp directory - DONE"
echo "/tmp/yad/usr/lib/webkit2gtk-4.0/injected-bundle"
sleep 3
  fi
       
  if [ -f "/tmp/yad/remove_yad-libfile-symlinks.sh" ]; then
echo ""
echo "yad symlink log file exist, making backup...."
sleep 3
cp /tmp/yad/remove_yad-libfile-symlinks.sh /tmp/yad/remove_yad-libfile-symlinksBKUP.sh

sleep 2
echo ""
echo "# clearing yad symlink log file"
sleep 2
echo ""

rm /tmp/yad/remove_yad-libfile-symlinks.sh
touch /tmp/yad/remove_yad-libfile-symlinks.sh
echo "#!/bin/bash" >> /tmp/yad/remove_yad-libfile-symlinks.sh
echo ""
echo 'echo ""' >> /tmp/yad/remove_yad-libfile-symlinks.sh
echo ""

else
echo ""
echo "# clearing yad symlink log file"
sleep 2
echo ""
touch /tmp/yad/remove_yad-libfile-symlinks.sh
echo "#!/bin/bash" >> /tmp/yad/remove_yad-libfile-symlinks.sh
echo ""
echo 'echo ""' >> /tmp/yad/remove_yad-libfile-symlinks.sh
echo ""
echo "/tmp/yad/remove_yad-libfile-symlinks.sh - Created"
sleep 3
  fi

# clear

cd /tmp/yad

echo "Now verifying yad library dependicy availabilty...."
sleep 3
echo "Linking and copying files as necessary."
#####################################################################
# These below are the libary / helper files that I have resolved currently for --html widget out of the 357 files.
# As more functions are tested, ie --sourceview, more of the 357 files will be sourced.
#####################################################################
. /tmp/yad/source/lib/libaom.so.3.source
. /tmp/yad/source/lib/libatomic.so.1.source
. /tmp/yad/source/lib/libavif.so.15.source
. /tmp/yad/source/lib/libdav1d.so.6.source
. /tmp/yad/source/lib/libenchant-2.so.2.source
. /tmp/yad/source/lib/libfluidsynth.so.3.source
. /tmp/yad/source/lib/libgssdp-1.6.so.0.source
. /tmp/yad/source/lib/libgstadaptivedemux-1.0.so.0.source
. /tmp/yad/source/lib/libgstallocators-1.0.so.0.source
. /tmp/yad/source/lib/libgstapp-1.0.so.0.source
. /tmp/yad/source/lib/libgstaudio-1.0.so.0.source
. /tmp/yad/source/lib/libgstbadaudio-1.0.so.0.source
. /tmp/yad/source/lib/libgstbase-1.0.so.0.source
. /tmp/yad/source/lib/libgstbasecamerabinsrc-1.0.so.0.source
. /tmp/yad/source/lib/libgstcheck-1.0.so.0.source
. /tmp/yad/source/lib/libgstcodecparsers-1.0.so.0.source
. /tmp/yad/source/lib/libgstcodecs-1.0.so.0.source
. /tmp/yad/source/lib/libgstcontroller-1.0.so.0.source
. /tmp/yad/source/lib/libgstcuda-1.0.so.0.source
# . /tmp/yad/source/lib/libgstdsd.so.source # Can nof located this file in Deb Repos
. /tmp/yad/source/lib/libgstfft-1.0.so.0.source
. /tmp/yad/source/lib/libgstgl-1.0.so.0.source
. /tmp/yad/source/lib/libgstinsertbin-1.0.so.0.source
. /tmp/yad/source/lib/libgstisoff-1.0.so.0.source
. /tmp/yad/source/lib/gstreamer-1.0/libgstlibav.so.source
. /tmp/yad/source/lib/libgstmpegts-1.0.so.0.source
. /tmp/yad/source/lib/libgstnet-1.0.so.0.source
. /tmp/yad/source/lib/libgstpbutils-1.0.so.0.source
. /tmp/yad/source/lib/libgstphotography-1.0.so.0.source
. /tmp/yad/source/lib/libgstplay-1.0.so.0.source
. /tmp/yad/source/lib/libgstplayer-1.0.so.0.source
. /tmp/yad/source/lib/libgstreamer-1.0.so.0.source
. /tmp/yad/source/lib/libgstriff-1.0.so.0.source
. /tmp/yad/source/lib/libgstrtp-1.0.so.0.source
. /tmp/yad/source/lib/libgstrtsp-1.0.so.0.source
. /tmp/yad/source/lib/libgstsctp-1.0.so.0.source
. /tmp/yad/source/lib/libgstsdp-1.0.so.0.source
. /tmp/yad/source/lib/libgsttag-1.0.so.0.source
. /tmp/yad/source/lib/libgsttranscoder-1.0.so.0.source
. /tmp/yad/source/lib/libgsturidownloader-1.0.so.0.source
. /tmp/yad/source/lib/libgstva-1.0.so.0.source
. /tmp/yad/source/lib/libgstvideo-1.0.so.0.source
. /tmp/yad/source/lib/libgstvulkan-1.0.so.0.source
. /tmp/yad/source/lib/libgstwayland-1.0.so.0.source
. /tmp/yad/source/lib/libgstwebrtc-1.0.so.0.source
. /tmp/yad/source/lib/libgstwebrtcnice-1.0.so.0.source
. /tmp/yad/source/lib/libgtksourceview-3.0.so.1.source
. /tmp/yad/source/lib/libgupnp-1.6.so.0.source
. /tmp/yad/source/lib/libgupnp-igd-1.0.so.4.source
. /tmp/yad/source/lib/libharfbuzz-icu.so.0.source
. /tmp/yad/source/lib/libharfbuzz-icu.so.0.source
. /tmp/yad/source/lib/libicudata.so.72.source
. /tmp/yad/source/lib/libicui18n.so.72.source
. /tmp/yad/source/lib/libicuio.so.72.source
. /tmp/yad/source/lib/libicuuc.so.72.source
. /tmp/yad/source/lib/libinstpatch-1.0.so.2.source
. /tmp/yad/source/lib/libjack.so.0.source
. /tmp/yad/source/lib/libjacknet.so.0.source
. /tmp/yad/source/lib/libjackserver.so.0.source
. /tmp/yad/source/lib/libjavascriptcoregtk-4.0-4.0.18.so.source
. /tmp/yad/source/lib/libjpeg.so.source
. /tmp/yad/source/lib/liblrdf.so.0.source
. /tmp/yad/source/lib/libltc.so.11.source
. /tmp/yad/source/lib/libmanette-0.2.so.0.source
. /tmp/yad/source/lib/libmfx.so.1.source
. /tmp/yad/source/lib/libmfxhw64.so.1.source
. /tmp/yad/source/lib/libmfx-tracer.so.1.source
. /tmp/yad/source/lib/libmjpegutils-2.1.so.0.source
. /tmp/yad/source/lib/libmodplug.so.1.source
. /tmp/yad/source/lib/libmplex2-2.1.so.0.source
. /tmp/yad/source/lib/libneon.so.27.source
. /tmp/yad/source/lib/libnice.so.10.source
. /tmp/yad/source/lib/libopenal.so.1.source
. /tmp/yad/source/lib/libopenh264.so.7.source
. /tmp/yad/source/lib/libOpenNI2.so.0.source
. /tmp/yad/source/lib/libSDL2-2.0.so.0.source
. /tmp/yad/source/lib/libsndio.so.7.0.source
. /tmp/yad/source/lib/libsndio.so.7.source
. /tmp/yad/source/lib/libSoundTouch.so.1.source
. /tmp/yad/source/lib/libSoundTouchDll.so.1.source
. /tmp/yad/source/lib/libsoup-2.4.so.1.source
. /tmp/yad/source/lib/libspandsp.so.2.source
. /tmp/yad/source/lib/libsrtp2.so.1.source
. /tmp/yad/source/lib/libvo-aacenc.so.0.source
. /tmp/yad/source/lib/libvo-amrwbenc.so.0.source
. /tmp/yad/source/lib/libvpx.so.7-so.7.1.source
. /tmp/yad/source/lib/libwebkit2gtk-4.0.so.37.source
. /tmp/yad/source/lib/libWildMidi.so.2.source
. /tmp/yad/source/lib/libwoff2common.so.1.0.2.source
. /tmp/yad/source/lib/libwoff2dec.so.1.0.2.source
. /tmp/yad/source/lib/libzbar.so.0.source
. /tmp/yad/source/lib/webkit2gtk-4.0/MiniBrowser.source
. /tmp/yad/source/lib/webkit2gtk-4.0/WebKitNetworkProcess.source
. /tmp/yad/source/lib/webkit2gtk-4.0/WebKitWebProcess.source
. /tmp/yad/source/lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so.source
. /tmp/yad/source/bin/yad-binary.source
. /tmp/yad/source/bin/yad-binary2.source
. /tmp/yad/source/etc/openal/alsoft.conf.source
. /tmp/yad/source/etc/openal/alsoft.conf.source
. /tmp/yad/source/etc/openni2/OpenNI.ini.source
. /tmp/yad/source/etc/timidity/timgm6mb.cfg.source
. /tmp/yad/source/share/gstreamer-1.0/encoding-profiles/gstrmr-profiles.source
. /tmp/yad/source/share/gstreamer-1.0/presets/gstrmr-presets.source
. /tmp/yad/source/lib/gstreamer-1.0/lib-gstrmr-1.0.source
. /tmp/yad/source/lib/udev/rules.d/60-libopenni2-0.rules.source


# ------------- /tmp/yad/yad-binimage-vfiles.sh -----------------


# ----------- 2b. example symlink source file /tmp/yad/source/yad-binary.source -----------

##################################################################
# all symlink code using "souced in to the parent shell script  /tmp/yad/yad-binimage-vfiles.sh using =  dot --> space --> /path/source-filename
# example ---->   . /yad/tmp/yad-binary.source
##################################################################

# ------- START  /tmp/yad/source/yad-binary.source ------------------------
    yadFile="yad"


    if [ -f "$yadDir/$yadFile" ]; then
ls -l $yadDir/$yadFile
sleep .25

    else
ln -s $yadTmpBinDir/$yadFile $yadDir/$yadFile
echo "unlink /usr/bin/yad" >> /tmp/yad/remove_yad-libfile-symlinks.sh
ls -l $yadDir/$yadFile
sleep .25
    fi

# -------- END  /tmp/yad/source/yad-binary.source -------------------------

# ============= END OF ORIGINAL POST ====================
On Monday, February 17, 2025 at 6:45:29 PM UTC-6 Robert Cooper wrote:
Reply all
Reply to author
Forward
Message has been deleted
0 new messages