Posted: Wed 15 Oct 2014, 12:25
Is it a good idea for me to make 'buildscripts' for the pSeries. They would only download pets, but if it could simplify the package building process...
READ-ONLY Archive
https://oldforum.puppylinux.com/
01micko wrote:Just some stats...
Traffic
- petbuilds : 32
commits : 14
contributors : 1
forks : 0
- views : 151
unique visitors : 26
clones : 1
Not sure yet how scripts will fit in. Mostly is C or C++ sources (perhaps others). I'll think about that .zigbert wrote:Is it a good idea for me to make 'buildscripts' for the pSeries. They would only download pets, but if it could simplify the package building process...
Please give me a hint if you want me to add some buildscripts , and how you want them. It should be possible to make a script that always grabs the latest version of ie. pBurn at meownplanet.net or at the mirror 01micko.com.01micko wrote:Not sure yet how scripts will fit in. Mostly is C or C++ sources (perhaps others). I'll think about that .
BTW.. did you notice a motorbike whizzing by? Or is it stopping to fuel up?
I have had a think about this and such a script really belongs in woof as an option.zigbert wrote:Please give me a hint if you want me to add some buildscripts , and how you want them. It should be possible to make a script that always grabs the latest version of ie. pBurn at meownplanet.net or at the mirror 01micko.com.
woof-CE has woof-code/rootfs-packages/ that could accommodate all these 'no arch' pets but I can see how access issues may be a broblem.01micko wrote:I have had a think about this and such a script really belongs in woof as an option.zigbert wrote:Please give me a hint if you want me to add some buildscripts , and how you want them. It should be possible to make a script that always grabs the latest version of ie. pBurn at meownplanet.net or at the mirror 01micko.com.
It would be nice if rcrsn51, shinobar, radky and others could set up something similar.
It is a pain in the a**s to maintain all these scripts and takes a fair bit of time to track them all down.
Code: Select all
#!/bin/bash
export LANG=C
#check server
echo "Connecting to server..."
wget --spider --tries 1 -T 3 -F --max-redirect 0 www.meownplanet.net 2> /tmp/download_zigbert
if [ "`grep connected /tmp/download_zigbert`" ]; then
URL=www.meownplanet.net/zigbert
else
wget --spider --tries 1 -T 3 -F --max-redirect 0 www.01micko.com 2> /tmp/download_zigbert
if [ "`grep connected /tmp/download_zigbert`" ]; then
URL=www.01micko.com/zigbert
else
echo "Can't connect to server"
exit
fi
fi
#get list of pets
LIST1="`wget -q "$URL" -O- | grep -F '.pet' | cut -d'"' -f2`"
LIST="$LIST1
`wget -q "$URL/pmusic" -O- | grep -F '.pet' | cut -d'"' -f2`"
#check each app
for APP in pbackup- pburn- pclock- pfilesearch- pfind- pmirror- pmusic- pprocess- pschedule- ptiming- pwidgets-; do
#find most recent version
APPLIST="`grep "$APP" <<< "$LIST"`"
VER1="`cut -d'-' -f2- <<< "$APPLIST" | cut -d. -f1 | sort -un | tail -n 1`"
APPLIST="`grep "${APP}${VER1}" <<< "$LIST"`"
VER2="`cut -d'-' -f2- <<< "$APPLIST" | cut -d. -f2 | sort -un | tail -n 1`"
APPLIST="`grep "${APP}${VER1}.${VER2}" <<< "$LIST"`"
VER3="`cut -d'-' -f2- <<< "$APPLIST" | cut -d. -f3 | sort -un | tail -n 1`"
[ "$VER3" ] && APPLIST="`grep "${APP}${VER1}.${VER2}.${VER3}" <<< "$LIST"`"
echo "$APPLIST"
#download
if [ "`grep -F pmusic <<< $APPLIST`" ]; then
wget --tries=1 -T 3 --user puppy --password linux --output-document=$HOME/${APPLIST} ${URL}/pmusic/${APPLIST}
else
wget --tries=1 -T 3 --user puppy --password linux --output-document=$HOME/${APPLIST} ${URL}/${APPLIST}
fi
#set permission
chmod 755 $HOME/${APPLIST}
done
rootfs-packages is just fine. We are a community, so permissions should not be an issue. For me, github itself is the issue. I have not overcome the feeling of spending my time on github instead of the actual coding...mavrothal wrote:woof-CE has woof-code/rootfs-packages/ that could accommodate all these 'no arch' pets but I can see how access issues may be a broblem.
Maybe you want to clone the repos and do all the coding locally on your machine. I actually use github only to track issues or pull requests but never for coding.zigbert wrote:rootfs-packages is just fine. We are a community, so permissions should not be an issue. For me, github itself is the issue. I have not overcome the feeling of spending my time on github instead of the actual coding...mavrothal wrote:woof-CE has woof-code/rootfs-packages/ that could accommodate all these 'no arch' pets but I can see how access issues may be a broblem.
If it is so simple, I am not smart enough - yetmavrothal wrote:Maybe you want to clone the repos and do all the coding locally on your machine.
There is a git plugin for Geany ... might make things a little easier..?zigbert wrote:If it is so simple, I am not smart enough - yetmavrothal wrote:Maybe you want to clone the repos and do all the coding locally on your machine.
I have been cloning-coding-pulling-merging, but since 'we' don't want heavy /complex pulls it becomes more coding-pulling-merging again and again. YES, there are many benefits! - but I am still struggling.
Do you have a pet/compiled just this plugin? Because the geany-plugins package from the repo needs 70MB in dependencies and adding only geanyvc.so does not worksc0ttman wrote:There is a git plugin for Geany ... might make things a little easier..?
http://plugins.geany.org/geanyvc.html
https://github.com/puppylinux-woof-CE/p ... ny-pluginsmavrothal wrote:Do you have a pet/compiled just this plugin? Because the geany-plugins package from the repo needs 70MB in dependencies and adding only geanyvc.so does not worksc0ttman wrote:There is a git plugin for Geany ... might make things a little easier..?
http://plugins.geany.org/geanyvc.html