Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 23 Oct 2017, 00:33
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Pet building system
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 5 [75 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 6495
Location: Valåmoen, Norway

PostPosted: Wed 15 Oct 2014, 08:25    Post subject:  

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...
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Iguleder


Joined: 11 Aug 2009
Posts: 2031
Location: Israel, somewhere in the beautiful desert

PostPosted: Wed 15 Oct 2014, 10:48    Post subject:  

I think we should define some milestone.

Personally, I think the right thing to do is to create build scripts for all PETs in TahrPup (I mean, from both "common" and other repositories). I think we already have most of them.

Later, we'll be able to build all these packages under Slacko64 or Fatdog, to produce an ugly but working TahrPup64. The next step would be rebuilding everything from within TahrPup64, to produce a "clean" one.

The concept of build scripts could push Puppy forward Smile

_________________
My homepage
My GitHub profile
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 8656
Location: qld

PostPosted: Fri 17 Oct 2014, 04:56    Post subject:  

01micko wrote:
Just some stats...

    petbuilds : 32
    commits : 14
    contributors : 1 Exclamation
    forks : 0 Exclamation


Traffic
    views : 151 Question
    unique visitors : 26
    clones : 1 Idea


    petbuilds : 46
    commits : 35
    contributors : 2 Exclamation Thanks @Iguleder!
    forks : 1 Exclamation ditto^^


Traffic
    views : 481 Question
    unique visitors : 46
    clones : 3 Idea

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 2083
Location: अनुमोदना

PostPosted: Fri 17 Oct 2014, 07:19    Post subject:  

Hi Mick Smile
_________________
My apps
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 8656
Location: qld

PostPosted: Fri 17 Oct 2014, 09:08    Post subject:  

Laughing

You back or passing by?

Good to see you around Smile

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 8656
Location: qld

PostPosted: Fri 17 Oct 2014, 09:12    Post subject:  

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...


Not sure yet how scripts will fit in. Mostly is C or C++ sources (perhaps others). I'll think about that Smile .

BTW.. did you notice a motorbike whizzing by? Or is it stopping to fuel up? Smile

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Fri 17 Oct 2014, 15:55    Post subject:  

I notice that @Trio throws a "hint" Wink in his signature.
_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6495
Location: Valåmoen, Norway

PostPosted: Fri 17 Oct 2014, 16:44    Post subject:  

01micko wrote:
Not sure yet how scripts will fit in. Mostly is C or C++ sources (perhaps others). I'll think about that Smile .

BTW.. did you notice a motorbike whizzing by? Or is it stopping to fuel up? Smile
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.

The moto-dude is noticed and contacted. Hope he stays around Smile ... what a team...


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Fri 17 Oct 2014, 17:04    Post subject:  

Speaking of dudes who comeback and contribute, everyone knows about this resurrection by now.
_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 8656
Location: qld

PostPosted: Sat 18 Oct 2014, 09:30    Post subject:  

NEW

initrd programs

These are compiled statically (by necessity) so that the system can boot. This unique initrd build system automatically downloads and builds all necessary programs for the initrd.gz in Puppy Linux.

This has been a dark art for centuries. (We all know 2 internet years is a century!). There is little to no documentation on this and searching reveals precious little as well. This is intended for new developers to get their teeth into the "engine room" and really find out what goes on underneath that agile skin.

See main post!

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 8656
Location: qld

PostPosted: Sun 19 Oct 2014, 04:23    Post subject:  

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.


I have had a think about this and such a script really belongs in woof as an option.

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.

Shocked

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Sun 19 Oct 2014, 06:00    Post subject:  

01micko wrote:
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.


I have had a think about this and such a script really belongs in woof as an option.

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.

Shocked


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.
I was wondering if a woof-CE/users/<user> repo where <user> will have exclusive rights to manage, may facilitate migrating the code there where could be easily picked by the woof-CE builder. The pets could still put their usual place if the developers want.
Alternatively, they could just have their own woof-independent repo where the latest version of the pet could be picked up. May be a bit more hunting but at least easier than hunting forum posts...

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6495
Location: Valåmoen, Norway

PostPosted: Sun 19 Oct 2014, 14:53    Post subject:  

I have no idea where this should be placed, but this script will download the most recent apps in the pSeries of zigbert.

Code:
#!/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

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6495
Location: Valåmoen, Norway

PostPosted: Sun 19 Oct 2014, 15:02    Post subject:  

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.
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...


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Sun 19 Oct 2014, 15:22    Post subject:  

zigbert wrote:
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.
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...

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.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 5 [75 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1219s ][ Queries: 14 (0.0272s) ][ GZIP on ]