Install local deb packages in woofQ2
Forum member IOwt3ch posted about a deb package that works in Easy Excalibur:
https://forum.puppylinux.com/viewtopic.php?p=158146#p158146
IOwt3ch is interested in remastering, to produce a custom EasyOS drive-image file; however, Easy no longer has remastering tools. Instead, I recommend to use woofQ2, which gives very precise control of building your own EasyOS -- you could even give it a different name.
I have added the capability to build with local debs. The woofQ2 tarball now has woofq2/builtin/deb-local, with these inside:

...what you do is place your deb in 'noarch' or 'x86_64' folder, then enter the name into file 'deb-noarch-list' or 'deb-x86_64-list'. In IOwt3ch's case, the name is "switcher". The 'fixes' folder is for any custom fixes after installation -- look in builtin/deb/fixes to see examples.
The script rootfs/1create-rootfs now has this code:
###local debs###
#20251021 same as above, for local debs...
DEB_LOCAL_ARCH_LIST="$(cat ${L1}/builtin/deb-local/deb-${xARCH}-list | grep -v '^#' | tr '\n' ' ')"
DEB_LOCAL_NOARCH_LIST="$(cat ${L1}/builtin/deb-local/deb-noarch-list | grep -v '^#' | tr '\n' ' ')"
for aNAME in ${xARCH} ${DEB_LOCAL_ARCH_LIST} noarch ${DEB_LOCAL_NOARCH_LIST}
do
case "$aNAME" in
${xARCH}) aARCH="${xARCH}"; continue; ;;
noarch) aARCH='noarch'; continue; ;;
esac
aPATH="$(find ${L1}/builtin/deb-local/${aARCH} -mindepth 1 -maxdepth 1 -type f -name "${aNAME}*deb" | head -n 1)"
if [ -z "$aPATH" ];then continue; fi
aPKG="${aPATH##*/}"
echo "Installing local deb package ${aPKG}"
cp -f ${aPATH} ${SB}/rootfs/
chroot ${SB}/rootfs apt install ./${aPKG}
#is there a post-install fix?...
if [ -d ${L1}/builtin/deb-local/fixes/${aNAME} ];then
echo " ...found builtin/deb-local/fixes/${aNAME}"
if [ -f ${L1}/builtin/deb-local/fixes/${aNAME}/pinstall.sh ];then
cat ${L1}/builtin/deb-local/fixes/${aNAME}/pinstall.sh >> ${SB}/pinstall-1.sh
fi
if [ -f ${L1}/builtin/deb-local/fixes/${aNAME}/FIXUPHACK ];then
cd ${SB}/rootfs
bash ${L1}/builtin/deb-local/fixes/${aNAME}/FIXUPHACK
cd ${L1}/rootfs
fi
if [ -d ${L1}/builtin/deb-local/fixes/${aNAME}/REPLACEMENTS ];then
cp -a -f --remove-destination ${L1}/builtin/deb-local/fixes/${aNAME}/REPLACEMENTS/* ${SB}/rootfs/
fi
fi
sync
rm -f ${SB}/rootfs/${aPKG}
done
When 'apt' installs the package, it will also install any dependencies required by the package. These are specified in the 'control' file inside the package; you can open up the .deb and look at that file, or do this:
# apt info ./switcher-0.91.deb
Package: switcher
Version: 0.91
Maintainer: l0wt3ch <your.email@example.com>
Installed-Size: 54.1 MB
Depends: blt, compiz, compiz-core, compiz-dev, compiz-gnome, compiz-plugins, compiz-plugins-experimental, \
compiz-plugins-extra, compiz-plugins-main, compizconfig-settings-manager, emerald, emerald-themes, fusion-icon, \
gir1.2-ayatanaappindicator3-0.1, icu-devtools, libayatana-appindicator3-1, libayatana-ido3-0.4-0, \
libayatana-indicator3-7, libcompizconfig0, libdbusmenu-gtk3-4, libdecoration0, libegl-dev, libemeraldengine0, \
libgl-dev, libgl1-mesa-dev, libgles-dev, libglew2.2, libglvnd-core-dev, libglvnd-dev, libglx-dev, libgtop-2.0-11, \
libgtop2-common, libice-dev, libicu-dev, libjpeg62-turbo-dev, libmarco-private2, libnotify4, libopengl-dev, \
libpkgconf3, libpng-dev, libprotobuf32, libpthread-stubs0-dev, libsm-dev, libstartup-notification0-dev, libtcl8.6, \
libtk8.6, libwnck-3-0, libwnck-3-common, libx11-dev, libxau-dev, libxcb1-dev, libxcomposite-dev, libxcursor-dev, \
libxdamage-dev, libxdmcp-dev, libxext-dev, libxfixes-dev, libxi-dev, libxinerama-dev, libxml2-dev, libxrandr-dev, \
libxrender-dev, libxres1, libxsettings-client0, libxslt1-dev, pkg-config, pkgconf, pkgconf-bin, python3-compizconfig, \
python3-dbus, python3-psutil, python3-tk, tk8.6-blt2.5, x11proto-dev, xtrans-dev
Recommends:
Download-Size: 50.8 MB
APT-Sources: /mnt/sda1/downloads/downloads3/input687/0-switcher-deb/switcher-0.91.deb
Description: Switches desktop animations
A simple tool for switching desktop animations in a Compiz-enabled environment.
It provides a way to enable/disable various animations in order to add hawtness to the desktop.
I haven't uploaded the latest woofQ2 tarball, but when I do, it can be found here:
https://distro.ibiblio.org/quirky/woofq2/woofq2-project/
...see also, the 'readme.txt' file has instructions how to use
woofQ2.
Tags: easy