From 5a30d8d7f8c75e8165ef1d91efb7d8d7f1191ae0 Mon Sep 17 00:00:00 2001 From: PB Date: Mon, 9 Dec 2024 09:56:20 +0000 Subject: [PATCH] BWP64-10.0.9 --- .../x86_64/debian/dpupbw64/_00build.conf | 236 ++++++++++++++++++ 1 file changed, 236 insertions(+) create mode 100644 woof-distro/x86_64/debian/dpupbw64/_00build.conf diff --git a/woof-distro/x86_64/debian/dpupbw64/_00build.conf b/woof-distro/x86_64/debian/dpupbw64/_00build.conf new file mode 100644 index 00000000000..a355c961b7c --- /dev/null +++ b/woof-distro/x86_64/debian/dpupbw64/_00build.conf @@ -0,0 +1,236 @@ +# +# persistent configuration options +# +# see also DISTRO_SPECS DISTRO_PET_REPOS DISTRO_COMPAT_REPOS-* +# +# **NOTE**: check the original file every once in a while +# settings might be added or removed... +# + +# 2createpackages +STRIP_BINARIES=no + +## Kernel tarballs repo URL for choosing/downloading kernel +KIT_KERNEL_REPO_URL=http://distro.ibiblio.org/puppylinux/huge_kernels + +### Kernel tarball URL - avoid being asked questions about downloading/choosing a kernel +#KERNEL_TARBALL_URL=http://distro.ibiblio.org/puppylinux/huge_kernels/huge-5.10-kernel-kit.tar.bz2 + +## an array of generically named programs to send to the ADRIVE, FDRIVE, YDRIVE +## ADRV_INC="abiword gnumeric goffice" +ADRV_INC="" +[ "$DISTRO_VARIANT" != "retro" ] && ADRV_INC="firefox-portable64" +## YDRV_INC="" +YDRV_INC="" +## FDRV_INC="" #this one is very experimental and it's recommended to be left unset +FDRV_INC="non-free-firmware-pc" + +## Include kernel-kit generated FDRIVE +## set to yes or no or leave commented to be asked the question at build time +#KFDRIVE=no + +## build devx? yes/no - any other value = ask +BUILD_DEVX=yes + +## include devx SFS in ISO? +DEVX_IN_ISO=no + +## build docx? yes/no +BUILD_DOCX=no + +## include docx SFS in ISO? +DOCX_IN_ISO=no +[ "$DISTRO_VARIANT" = "retro" ] && DOCX_IN_ISO=no + +## build nlsx? yes/no +BUILD_NLSX=no + +## include nlsx SFS in ISO? +NLSX_IN_ISO=no +[ "$DISTRO_VARIANT" = "retro" ] && NLSX_IN_ISO=no + +## include kbuild SFS in ISO? +KBUILD_IN_ISO=yes +[ "$DISTRO_VARIANT" = "retro" ] && KBUILD_IN_ISO=no + +## symlink /bin, /sbin and /lib to their /usr counterparts, like Debian? +USR_SYMLINKS=yes + +## build bdrv? yes/no +BUILD_BDRV=yes +[ "$DISTRO_VARIANT" = "retro" ] && BUILD_BDRV=no + +## packages to build from source are defined in DISTRO_PKGS_SPECS-* +## GTK+ version to use when building packages that support GTK+ 2 +PETBUILD_GTK=3 + +## Include the windows puppy installer LICK by Luke Lorimer aka +LICK_IN_ISO=yes + +## compression method to be used (SFS files) +#SFSCOMP='-comp xz -Xbcj x86 -b 512K' +#SFSCOMP='-comp xz -Xbcj arm,armthumb -b 512K' +#SFSCOMP='-comp gzip' +#SFSCOMP='-noI -noD -noF -noX' +#SFSCOMP='-comp xz -Xbcj x86 -b 256K -no-exports -no-xattrs' +SFSCOMP='-comp zstd -Xcompression-level 19 -b 256K -no-exports -no-xattrs' +[ "$DISTRO_VARIANT" = "retro" ] && SFSCOMP='-comp xz -Xbcj x86 -b 512K -no-exports -no-xattrs' + +## if "$WOOF_HOSTARCH" = "$WOOF_TARGETARCH" +## This is usually not needed +EXTRA_STRIPPING=no + +## You can choose a theme here if you wish +## otherwise 3builddistro will ask you to choose one +THEME_WALLPAPER="Emerald.svg" +[ "$DISTRO_VARIANT" = "retro" ] && THEME_WALLPAPER="SolidDarkGray.svg" +THEME_GTK2="Flat-grey-rounded" +THEME_JWM="Flat-grey" +THEME_JWM_BUTTONS="Buntu" +THEME_GTK_ICONS="Puppy Standard" +THEME_DESK_ICONS="StandardSvg" +THEME_MOUSE="Breeze_Snow" +[ "$DISTRO_VARIANT" = "retro" ] && THEME_MOUSE="ORIGINAL THEME" + +## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log +## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager' +## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release +#XERRS_FLG=yes + +## XSPOT_FLG if set to 'yes' X runs as spot +## if unset or or any value other than 'yes' X runs as root. +XSPOT_FLG=no + +## include Pkg in build (y/n). If commented then asked in 3builddistro +INCLUDE_PKG=n + +## choice to build 64 bit support only for UEFI booting +## or 64 bit and 32 bit UEFI support +## if not set then only 64 bit support is builtin to the iso image +## which is the default +#UEFI_32=y + +## -- Default Apps -- +## Not all are implemented in the puppy scripts, +## but you can specify a default app if you wish... +## If you specify a value it will override anything that previously +## set that value in the corresponding script... +## These are the current default*apps (scripts) in /usr/local/bin +DEFAULTAPPS=" +defaultarchiver=xarchiver +defaultaudioeditor=mhwaveedit +defaultaudiomixer=pavucontrol +defaultaudioplayer=deadbeef +defaultbrowser=firefox_esr +defaultcalendar=osmo --calendar +defaultcdplayer=deadbeef /dev/sr0/all.cda +defaultcdrecorder=pburn +defaultchat=weechat-shell +defaultchmviewer= +defaultconnect=connman-gtk +defaultcontact=osmo +defaultdraw=mtpaint +defaultemail=claws-mail +defaultfilemanager=roxfiler +defaulthandler= +defaulthtmleditor=geany +defaulthtmlviewer=firefox_esr +defaultimageeditor=mtpaint +defaultimageviewer=viewnior +defaultmediaplayer=mpv --player-operation-mode=pseudo-gui +defaultpaint=mtpaint +defaultpdfviewer=qpdfview +defaultprocessmanager=lxtask +defaultrun=prun +defaultscreenshot=tas +defaultspreadsheet=gnumeric +defaultterminal=lxterminal +defaulttexteditor=geany +defaulttextviewer=l3afpad +defaulttorrent=transmission-gtk +defaultwordprocessor=abiword +" + +## PROMPT - change the CLI prompt to whatever you like. Default is unset +#PROMPT='PS1="\w\$ "' + +## -- EXTRA FLAG -- +## This allows some customisation for the iso name +## eg: slacko64-6.9.9.1-uefi-k3.16.iso +## where XTRA_FLG='-k3.16' (the dash is a requirement) +#XTRA_FLG='' + +## - extra commands -- +## Here add custom commands to be executed inside sandbox3/rootfs-complete +EXTRA_COMMANDS=" +[ \"\$DISTRO_VARIANT\" != \"retro\" ] && chroot . /usr/sbin/firewall_ng enable +chroot . /usr/sbin/setup-spot claws-mail=true +chroot . /usr/sbin/setup-spot transmission-gtk=true +chroot . /usr/sbin/setup-spot weechat=true +chroot . /usr/sbin/setup-spot uget-gtk=true +chroot . /usr/sbin/setup-spot putty=true +mv -f root/.spot-status root/.spot-status.orig +chroot . /usr/sbin/setup-spot powerapplet_tray=true +mv -f root/.spot-status.orig root/.spot-status +[ \"\$DISTRO_VARIANT\" != \"retro\" ] && ./usr/sbin/pup-advert-blocker start ./etc/hosts +rm -f usr/share/applications/conky.desktop usr/share/applications/connman-gtk.desktop usr/share/applications/gcolor2.desktop usr/share/applications/pupX-X-settings.desktop usr/share/applications/Mouse-keyboard-Wizard.desktop usr/share/applications/Xorg-Video-Wizard.desktop usr/share/applications/BootManager-configure-bootup.desktop usr/share/applications/wallpaper.desktop usr/share/applications/FontManager.desktop usr/share/applications/Set-date-and-time.desktop usr/share/applications/Set-timezone.desktop usr/share/applications/ptheme.desktop usr/share/applications/Psync.desktop usr/share/applications/Puppy-package-manager-check-deps.desktop usr/share/applications/Remaster-Puppy-live-CD.desktop +rm -f usr/share/backgrounds/Black.svg usr/share/backgrounds/Blue.svg usr/share/backgrounds/DarkGray.svg usr/share/backgrounds/LightGray.svg usr/share/backgrounds/SolidDarkGray.svg usr/share/backgrounds/Pink.svg usr/share/backgrounds/Purple.svg +rm -f etc/fonts/conf.d/10-hinting-slight.conf etc/fonts/conf.d/10-autohint.conf +ln -s /usr/share/fontconfig/conf.avail/10-hinting-none.conf etc/fonts/conf.d/ +rm -f var/packages/Packages-debian-* +truncate -s 0 var/packages/Packages-* +chroot . run-as-spot weechat-headless -r \"/server add libera irc.libera.chat/6697 -autoconnect -ssl;/set irc.server.libera.autojoin #puppylinux;/quit\" +rm -f usr/bin/weechat-headless +rm -f etc/localtime +ln -s /usr/share/zoneinfo/Etc/GMT-0 etc/localtime +[ \"\$DISTRO_VARIANT\" != \"retro\" ] && sed -i \"s/exec ppm/exec synaptic/\" usr/local/bin/missingdefaultapp +[ \"\$DISTRO_VARIANT\" != \"retro\" ] && echo \"kernel.yama.ptrace_scope = 1\" > etc/sysctl.d/10-ptrace.conf +[ \"\$DISTRO_VARIANT\" = \"retro\" ] && unsquashfs -d /tmp/zdrv ../build/zdrv*.sfs && mksquashfs /tmp/zdrv /tmp/zdrv.sfs $SFSCOMP && mv -f /tmp/zdrv.sfs ../build/zdrv*.sfs +#[ \"\$DISTRO_VARIANT\" = \"retro\" ] && cat root/.jwm/jwmrc-tray3 > root/.jwm/jwmrc-tray2 #for jwmconfig/ptheme environment +[ \"\$DISTRO_VARIANT\" = \"xwayland\" ] && rm -f etc/xdg/autostart/xinput-apply.desktop etc/xdg/autostart/xkb-apply.desktop etc/xdg/autostart/xorg-mousekeys.desktop +sed -i -e 's/^LIBINPUT_DEFAULT_ACCELERATION=.*/LIBINPUT_DEFAULT_ACCELERATION=0.5/' -e 's/^LIBINPUT_DEFAULT_ACCELERATION_PROFILE=.*/LIBINPUT_DEFAULT_ACCELERATION_PROFILE=2/' root/.libinputrc +## Custom BW64 extras +sed -i 's/\"Desktop\"/\"ALL\"/g' usr/local/petget/pkg_chooser.sh +sed -i 's/^Categories=.*$/Categories=AudioVideo;/' usr/share/applications/io.github.celluloid_player.Celluloid.desktop +sed -i 's/^Categories=.*$/Categories=AudioVideo;/' usr/share/applications/mpv.desktop +sed -i 's/^Categories=.*$/Categories=AudioVideo;/' usr/share/applications/qwinff.desktop +sed -i 's/^Categories=.*$/Categories=AudioVideo;/' usr/share/applications/simplescreenrecorder.desktop +sed -i 's/^Categories=.*$/Categories=X-Document;/' usr/share/applications/abiword.desktop +#sed -i -e 's/^Categories=.*$/Categories=X-Document;/' -e 's/^Comment=.*$/Comment=Sticky notes/' usr/share/applications/xpad.desktop +sed -i -e 's/^Categories=.*$/Categories=X-Document-viewer;/' -e 's/^Comment=.*$/Comment=Tabbed document viewer/' usr/share/applications/qpdfview.desktop +sed -i 's/^Categories=.*$/Categories=X-Network-firewall;/' usr/share/applications/firewall-setup.desktop +sed -i 's/^Exec.*$/Exec=Exec=gdmap -f \//' usr/share/applications/gdmap.desktop +sed -i 's/^Exec.*$/Exec=gparted_shell/' usr/share/applications/gparted.desktop +sed -i -e 's/successfuly/successfully/' -e 's/'XkbConfigmanager!/'XkbConfig/' usr/sbin/xkbconfigmanager +sed -i -e 's/ICON_PLACE_SPACING=.*$/ICON_PLACE_SPACING=96/' etc/eventmanager +sed -i -e 's/comboboxtext/combobox/' -e 's/gtkdialog -p/gtk2dialog -p/g' usr/sbin/quicksetup +sed -i 's/gtkdialog -/gtk2dialog -/g' usr/bin/xsaneshell +sed -i 's/gtkdialog4/gtk2dialog/g' usr/bin/pmwget +sed -i 's/gtkdialog3/gtk2dialog/' usr/local/bin/peasyport +sed -i 's/gtkdialog3/gtk2dialog/' usr/local/bin/peasyscale +sed -i 's/gtkdialog3/gtk2dialog/' usr/sbin/peasydiff +sed -i 's/gtkdialog3/gtk2dialog/' usr/sbin/peasyprint +sed -i 's/gtkdialog3/gtk2dialog/' usr/local/peasyglue/peasyglue +sed -i 's/gtkdialog --center/gtk2dialog --center/' usr/sbin/dotpup +sed -i 's/(gtkdialog/(gtk2dialog/' usr/sbin/fontmanager +sed -i -e 's/\$GTKDIALOG -p/gtk2dialog -p/' usr/local/UrxvtControl/urxvtcontrol +sed -i 's/gtkdialog --space/gtk2dialog --space/' usr/bin/pfontview +sed -i 's/gtkdialog --program/gtk2dialog --program/g' usr/sbin/loginmanager +sed -i 's/aplay/play/' usr/local/apps/Trash/template/temp-AppRun +sed -i 's/aplay/play/' usr/local/apps/Trash/AppRun +sed -i 's/button-press-event/button-release-event/' usr/local/pfind/pfind +sed -i -e '0,/defaultfilemanager/ s/defaultfilemanager/rox/' usr/local/pfind/pfindrc +sed -i -e '0,/defaultfilemanager/ s/defaultfilemanager/rox/' root/.pfind/pfindrc +sed -i -e 's/SVG_BAR_HEIGHT=24/SVG_BAR_HEIGHT=34/' -e 's/#bbbbbb/#E5E5E5/' usr/lib/gtkdialog/svg_bar +sed -i -e 's/#DISABLE_LOCK/DISABLE_LOCK/' etc/acpi/acpi.conf +sed -i -e '/WEBSITE/ s/diffuse/diffuse-old/' usr/share/diffuse/diffuse/constants.py +sed -i -e 's/#05475D/#CECECE/' -e 's/stroke:none/stroke:#222222/' -e 's/1440/1000/' usr/share/backgrounds/Emerald.svg +rm -f root/.config/rox.sourceforge.net/OpenWith/ffinfo #pmediainfo replaces ffinfo +rm -f etc/xdg/autostart/connman-ui-gtk.desktop #connman-ui-gtk.desktop resides in /etc/xdg/autostart/netmons (rerwin's implementation of networking tools) +echo \"CURRENT_EXEC=connman-gtk\" > root/.connectwizardrc +echo \"plocate:x:114:\" >> etc/group +if [ -f ../../packages-dpupbw64/zz_bw64/var/dpupfix ]; then #custom BW64 extras via external script + var/dpupfix + rm -f var/dpupfix +fi +"