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 Wed 22 Oct 2014, 04:27
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Next Puppy Development » 5.x
slackware puplet, back to the drawing board
Moderators: BarryK, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
Iguleder


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

PostPosted: Sun 25 Oct 2009, 16:50    Post_subject:  

I tried to make a stock spup too, but the download took > 4 hours so I had to cancel it, gotta go to sleep after a day of hard Puppy work Smile

I'll be back to the spup building business tommorow morning, and I'll also see what can be done ...
- A wrapper for pupget and installpkg that detects the extension and runs the right application?
- A Zenwalk repo in PPM?
- Netpkg in Puppy?
- Puppy built from Zenwalk?
- A Zenwalk/Slackware packages to PET converter?
- Back to my C GTK+ studies, I started studying GTK+ with C for Puppy, tried to make several applications already and abandoned it, maybe it will be useful for spup.
- An idea I had, a console GUI library built in FreePascal, similar to ncurses, just a .so file, with full documentation and guidelines how to code for it in FreePascal (very easy language, so it's good to encourage people to code). That can be extremely useful for configuration dialogs like xorgwizard.

And of course, I'll try to make extensive use of spup to track down bugs, as many as possible.

Go go go go go spup! Gotta bring spup to some usable state before dpup reaches RC Twisted Evil
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
Iguleder


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

PostPosted: Mon 26 Oct 2009, 04:37    Post_subject:  

I found out why the download took so long yesterday ... I used the upup Woof, it downloads a package and erases it, and does this once for each mirror, that's insane. Eventually you see an empty directory.

Use the Puppy 4.3.1 Woof Idea

EDIT: I think it happens there too, Slackware 13.0 packages.

EDIT 2: made some silly fix that causes Woof to download each package 8 times ... Wink

EDIT 3: fixed the ./1download script, disabled the checking for corrupt packages. I just changed the "slackware|arch) thingy to SUCCESS='yes', because Slack has its own package format, and Puppy cannot check for package corruption. Now it's downloading each packages once as it should.
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
plaguedogs


Joined: 18 Oct 2008
Posts: 60

PostPosted: Mon 26 Oct 2009, 06:12    Post_subject:  

i tried to apply my old patches to my new iso. it started throwing "file to short" errors so im rebuilding my patch kit.
another thing i noticed was the package manager does not work in the latest build. it starts the gui but it will not download anything. there is only about 10 scripts that make up the package manager, they can be found in /usr/local/petget. some of the files are different sizes than in previous builds. so ill look into this later, for now i just replaced the whole directory with the one from one of my early builds, it made it work for today so good enough until i get some more time to investigate the new scripts.

its bedtime here and tomorrow is full of real life. ill be back at it tomorrow, after dinner.
ciao
Back to top
View user's profile Send_private_message 
Iguleder


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

PostPosted: Mon 26 Oct 2009, 06:31    Post_subject:  

I've managed to make it extract .txz packages, still working on it. Slackware 13 support in Woof is coming soon Laughing

This fix is needed because Woof thinks that Slackware uses .tar.gz, because Slack 12.2 and below used .tgz (.tar.gz), but 13.0 uses .txz, which is .tar inside a .xz. The fix I made doesn't check the Slack version, it simple assumes it's a txz archive, because I don't think anyone will actually use Slack 12.2 packages with Woof.

There are 2 fixes:
- It kept downloading Slack packages and because it treated them as .tar.gz, it couldn't verify them (.xz format, duh), it assumed they're corrupt .tar.gz archives and deleted them, so after ./1download you had no Slack packages, they all were "corrupt". I applied a fix that disables the integrity check.
- I replaced .tar.gz extraction with .xz extraction, then .tar extraction, read above.

It needs the Zenwalk xz package, though. The archive includes the ./1download and ./2download, fixed, and the xz directory with xz files inside, copy them to / to make it work. It's just the Zenwalk package extracted.

The files come from the Puppy 4.3.1 Woof, so put them on top of it to use them.

I'm in the ./2createpackages stage, it shows some error once in a while but it seems that it actually extracts the packages.

EDIT 1: it takes ages and kills my dual core CPU, LZMA ... grrrr. And it works so far.

EDIT 2: all extraction worked, but ./3builddistro doesn't work because it cannot chroot, something is missing, I'm doing a dependency check.
slack13wooffix.tar.gz
Description 
gz

 Download 
Filename  slack13wooffix.tar.gz 
Filesize  410.6 KB 
Downloaded  799 Time(s) 
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
plaguedogs


Joined: 18 Oct 2008
Posts: 60

PostPosted: Mon 26 Oct 2009, 18:39    Post_subject:  

how far does ./3builddistro go before it fails? is it after the "cut down selection of modules" part? then it tries to test chroot, or is it failing right away? just curious.

-edit
dont forget to have your devx loaded, it has the strip command.
Back to top
View user's profile Send_private_message 
Iguleder


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

PostPosted: Tue 27 Oct 2009, 01:48    Post_subject:  

It fails after the modules, yes, the chroot thing, but the devx is needed only for the strip command so it cannot be this. However, the "find" package is not copied for some reason, I'll try to copy all packages to the build before the chroot stage to see if it works.

I'm very very very busy, so this might take some time.
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
plaguedogs


Joined: 18 Oct 2008
Posts: 60

PostPosted: Tue 27 Oct 2009, 02:02    Post_subject:  

im stuck at ./2create packages. i have tried everything i can think of. when it runs i get "Preprocessing slackware 13.0 pkgs database" then a new terminal line. it looks like i make it to line 45. my scripting skills dont go much farther than "hello world" so i dont know what to make of line 46. most of the time i run a puppy i built with woof, based on 4.30, k 2.6.29.6 (so i can have sound) but for this slack 13 business i started with a fresh 4.3.1. i tried the latest woof and the older one, 20091024B & 20091016. i dont know......i got really excited when i saw my txz folder filling up. im going to try again.

anyways, the pkgtools pet in the earlier post doesn't install anything for me. its an empty pet. i rebuilt it. it also contains tar 1.22.
in retrospect, i probably shouldn't have included tar
pkgtools-13.0-noarch-625_zenwalk.pet
Description 
pet

 Download 
Filename  pkgtools-13.0-noarch-625_zenwalk.pet 
Filesize  941.84 KB 
Downloaded  833 Time(s) 
Back to top
View user's profile Send_private_message 
plaguedogs


Joined: 18 Oct 2008
Posts: 60

PostPosted: Tue 27 Oct 2009, 03:33    Post_subject:  

http://www.filefactory.com/file/a069h5f/n/spdp-432_iso
here is my fixed spup. i changed the pup to pdp so there is no confusion between the real spups and my edited version. pdp=plague dogs puplet

here is some info....this puplet was based on my stock spup, its running kernel 2.6.30.5smp, all the problems i could find in the initial build have been fixed to the best of my ability. abiword has been upgraded to 2.6.6, geany has been downgraded to .17. other fixes include leafpad, xine, gparted and the puppy package manager. nico edit is broke. the iso weighs in at 124 megs with a zdrv. if you follow this thread you will see that the other half of our 2 man development team is working on .txz support, but this build is based on 12.2. if you desire a devx or kernel headers for your compiling needs, check the first post.

woof woof

almost forgot the md5: 127c82b933181bcffeea015142312499
Back to top
View user's profile Send_private_message 
Iguleder


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

PostPosted: Tue 27 Oct 2009, 14:21    Post_subject:  

My router is half dead, it works for 5 mins and restarts for some reason. I am posting this post in that 5 minutes gap I have.

I'll try to fix the ./3builddistro script, I think I found the fix, findutils isn't copied. I hope it's going to work. Wink
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
James C


Joined: 26 Mar 2009
Posts: 5857
Location: Kentucky

PostPosted: Tue 27 Oct 2009, 23:28    Post_subject:  

I downloaded and did a quick test of SPDP 432 running live and I was impressed by being able to install Slackware packages so easily. Installed Firefox 3.0.4, no menu entry but launched and ran fine from the terminal. Fixed a menu entry and had a working FF from the menu....

I built my own Spup earlier in Woof development and package management was my headache....looks like you're well on the way to solving that situation.

Great job so far.... Smile
Back to top
View user's profile Send_private_message 
plaguedogs


Joined: 18 Oct 2008
Posts: 60

PostPosted: Wed 28 Oct 2009, 02:09    Post_subject:  

now im installing stuff via netpkg from viking.zenwalk.org, tgz, txz, tlz. its working great.
Back to top
View user's profile Send_private_message 
Iguleder


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

PostPosted: Wed 28 Oct 2009, 07:30    Post_subject:  

Today I'm very very busy with my studies, but I'll try to fix the ./3builddistro script, my router is finally back.

I think the problem is that the findutils package (the "find" command) isn't copied, and ./3builddistro cannot use it.

If this works, I'll build a spup from Slack 13, I'll call it spup-460, then I'll start messing around with it till 470-480. When it's ready, the plan is to add control panels, wizards, tweaks, replace applications, etc'.

We should make a pack of netpkg and pkgtools built-in, that can be used in all spup builds. The Zenwalk packages are i486, just like Slack and Puppy, so we can use them directly.

I think we should work on spup based on Slack 12.2 until we get Woof working with 13 as it should ... the same fixes can be later applied on the 13 spup. What we did so far is indeed a great job, your spup build is awesome, and Slackware 13 support is on the way, I hope I'll eventually get it to work.

Another thing I must note is that we need some versioning system. I think we should reserve some build numbers for Slack 12.2-based builds, later numbers for 13 alphas, later ones for beta and RC builds, and make 500 the final destination.

Oh, and we also need to determine the goals of spup and choose what to include in it that makes it different from dpup, because Debian and Slackware are very similar. I think our best bet is trimming it to be <=120 MB and keep it backwards compatible (i486), so it appeals more to Puppy fans and better fits the Puppy agenda.

EDIT: two first goals: Seamonkey 2 and Netpkg+XNetpkg.

EDIT 2: fixed it, the gzip package was compressed in .tar.gz and not in .txz like the others, added it, now it seems to work. My router died again, I'll try to build an spup-13 and if it works I'll upload screenies unless my router won't let me.

EDIT 3: libparted.so isn't extracted for some reason.
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
Iguleder


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

PostPosted: Wed 28 Oct 2009, 13:23    Post_subject:  

Made spup-460 using Woof, now it's time to test it. It's quite big. 114 MB ISO.
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
raffy

Joined: 25 May 2005
Posts: 4776
Location: Manila

PostPosted: Wed 28 Oct 2009, 18:42    Post_subject: share  

You can share it at ftp.servage.net
_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send_private_message 
plaguedogs


Joined: 18 Oct 2008
Posts: 60

PostPosted: Wed 28 Oct 2009, 21:12    Post_subject:  

if you can get your router working, upload 460 and the new scripts. im so happy you got your iso built. im still stuck at ./2createpkgs.

i agree with you all the way, i486, 120megs.

i would also like to see netpkg/pkgtools built in. one problem with netpkg is that it doesnt know whats allready in the system. it tries to install dependencies that have already been met. maybe its just a matter of typing up a list to put into /var/log/packages for netpkg to reference while trying to resolve new dependencies. on the other hand, adding repos to puppys package manager looks pretty easy
seamonkey 2 is essential. its introduction to puppy is long overdue. but many puppy apps depend on the old seamonkey, i hope seamonkey2 can satisfy these other apps. ill see how it behaves tonight.
for the core iso i would like to try and stick with puppys standard apps as much as possible. i do like how lighthouse and muppy had special sfs's to add groups of extra apps. as far as version numbering goes, 460-469 sounds good to me. good luck with 460.

im going to look into linking /root/.packages to /var/log/packages, or figure something out to make the package managers play nice.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects » Next Puppy Development » 5.x
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0899s ][ Queries: 12 (0.0067s) ][ GZIP on ]