Page 4 of 5

Posted: Wed 13 Dec 2017, 23:17
by ally
welcome KuLuSz

:)

Posted: Thu 14 Dec 2017, 00:24
by nilsonmorales
KuLuSz:
did a test your script to remove packages, puppy tahr with xfce, show me this.
Image

Posted: Thu 14 Dec 2017, 16:14
by KuLuSz
hello ally thank you the greetings ;) :) and thank you very much the hungarian puppies uploads to archives.org :!: :P :)

hola nilson
hm , may some programming fail ... i will check this out . thanku the reply . :)
124 & 192 looks like i was do wrong exit for yafsplash , its not big problem ... :D
131 the link deleting method i dont truly know what is the problem . I was make it for more libs what uses same main file for keeping it , if have other links with same name ...
Anyway i dont get this errors in my system ... I use LX7 puppy (hungarian) , based on retro precise 11.12 or retro precise 5421 .

shell check showing this :

Code: Select all

Line 131:
     if [ ! $(cat /tmp/installed_pkg_dep_list | grep '$x' | grep -c -m 2 -v '$x[.-_]') -gt "1" ];then
            ^-- SC2046: Quote this to prevent word splitting.
                  ^-- SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
                                                     ^-- SC2016: Expressions don't expand in single quotes, use double quotes for that.
                                                                            ^-- SC2016: Expressions don't expand in single quotes, use double quotes for that.
may need put this "$(cat /tmp/installed_pkg_dep_list | grep '$x' | grep -c -m 2 -v '$x[.-_]')" with double quote in the 131 line .

Posted: Thu 14 Dec 2017, 16:33
by ally

Posted: Thu 14 Dec 2017, 16:36
by KuLuSz
yes-yes i saw it , and thank you for sharing/uploading !

Posted: Thu 15 Mar 2018, 00:22
by sc0ttman
The development of Pkg has moved here: http://murga-linux.com/puppy/viewtopic.php?t=112927

Still happy to take suggestions, wild ideas etc for Pkg and other CLI tools here.

Idea for alternative Woof(ish) GUI

Posted: Mon 02 Apr 2018, 17:03
by sc0ttman
Example of an alternative Woof UI:

Image

Based on buildroot ...

Code:

Code: Select all

#!/bin/ash

set -a

# speed up
USER_LANG=$LANG
USER_LC_ALL=$LC_ALL
export LANG=C
export LC_ALL=C

export SELF=$(basename $0)
export TMPFILE=/tmp/mkdistro_$(whoami)_tmpfile
export CURDIR="`pwd`" 
export WORKDIR=/tmp/mkdistro_$(whoami)
mkdir -p "$WORKDIR" 2>/dev/null # probably already exists

# set app name, title, version
APPNAME="mkpup"
APPVER="0.1"
APPTITLE="$APPNAME $APPVER"
#BACKTITLE="Build Puppy Linux from scratch"

# set dialog settings, set default as dialog, allow override
[ -z "$DIALOG" ] && DIALOG=dialog
[ "`basename $0`" = "Xmkdistro" ] && DIALOG=Xdialog
[ "$DIALOG" = "Xdialog" ] && BACKTITLE="--title \"$APPTITLE\"" && APPNAME="Xpkgdialog"


$DIALOG --title "$APPTITLE" --no-shadow --no-collapse --ok-label "Next" --cancel-label "Quit" --menu "
Build Puppy Linux from scratch: choose an option below" 28 76 28 \
"Help                " "Read the help documentation" \
"Settings            " "Show/edit the settings" \
"" "" \
"Load Config       =>" "Load build settings from file" \
"" "" \
"1. Architecture   =>" "Select x86, x86_64, ARM, etc" \
"2. Boot options   =>" "Select bootloader and settings" \
"3. Kernel         =>" "Select a pre-made kernel, or build your own" \
"4. Base distro    =>" "Select from Debian, Ubuntu or Slackware" \
"5. Packages       =>" "Add/remove programs and libs" \
"6. Window Manager =>" "Xfce, OpenBox, MATE, JWM, etc" \
"7. Themes         =>" "Choose WM, GTK, Icon and desktop themes" \
"8. Advanced Edit  =>" "Edit system, devx and other settings" \
"9. Build options  =>" "Build ISO or SFS only, etc" \
"" "" \
"Save Config       =>" "Save current build settings" \
"" "" \
"10. BUILD NOW       " "Build your Puppy!" 2>$TMPFILE

export LANG=$USER_LANG
export LC_ALL=$USER_LC_ALL

exit 0

Posted: Thu 24 Oct 2019, 17:06
by sc0ttman
Note to self:

at some point in the woof process, the user should be asked to enable/disable the startup services/scripts in /etc/init.d/ (etc), so they can very easily decide what services to run by default ..


https://github.com/puppylinux-woof-CE/w ... ssues/1522