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 Sat 20 Sep 2014, 16:16
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Slaxer_Pup 4.12 solid and stable non woof build
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 29 of 32 [470 Posts]   Goto page: Previous 1, 2, 3, ..., 27, 28, 29, 30, 31, 32 Next
Author Message
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Wed 03 Feb 2010, 20:48    Post subject:  

Aw shucks, Joe
I just had my first fail to load.....
My new toy, an Edubook, [1Ghz 586 compatible/512Mb ram] won't load Slaxer_Pup
Gets so far, then can't find the Pupfiles on the external usb DVDR
I think it's because the usb drivers don't load early enough
ttuuxxx's 214X is the same, though TurboPup, Pupeee4.2, and 4.3 with 2.6.30.5 kernel all load successfully, though the video driver seems twitchy at 1280x600@60hz, - D1010 VGA and the network isn't recognised - RDC PCI5.sys in windoze
It does have an RT73 wifi card in, but my wireless is blocked, as I have broadband

Any thoughts?

Aitch Smile
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Tue 16 Feb 2010, 05:58    Post subject:  

Aitch wrote:
Aw shucks, Joe
I just had my first fail to load.....
My new toy, an Edubook, [1Ghz 586 compatible/512Mb ram] won't load Slaxer_Pup
Gets so far, then can't find the Pupfiles on the external usb DVDR
I think it's because the usb drivers don't load early enough

Aitch, I succeeded getting SlaxerPup to boot on my Edubook using a USB stick, but video wasn't right and wireless didn't work (didn't try LAN).

I tried this some time ago, but iirc, I think the vesa driver loaded automatically giving me some kind of display.

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Tue 16 Feb 2010, 06:05    Post subject: Edubook drivers for SlaxerPup  

That brings me to a request.

I wonder if Joe could take up the challenge to compile the video and wireless drivers for the Edubook. These are the only drivers I've found:

http://www.deviceonchip.com/index.php?option=com_rokdownloads&view=folder&Itemid=27&id=13:vga
http://www.deviceonchip.com/index.php?option=com_rokdownloads&view=folder&Itemid=27&id=14:wireless

I can't remember how to get sound or the LAN working. I think sound was some kind of patch and LAN was supported in the newer kernels.

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Thu 18 Feb 2010, 13:41    Post subject:  

Hey Paul (pakt)

I will be able to take a look at that in a few days

thanks for posting links for the sources

hope all is well with you

-----------------------------------------------------
I am finished with a Xdialog version of the slackware package tools
but testing still

I had to do a complete re write of some sections more then I originally planned to do
because of differences in dialog and xdialog
this was tricky to allow both
a xdialog and the original console package
tools to work together without conflicts

so best of both worlds in or out of X

I also added in some bonus things its looking good
trying to make the change over to using package tools
better in the X environment

heres a sneak peek at it
Joe
xdialog package tools.png
 Description   
 Filesize   22.24 KB
 Viewed   956 Time(s)

xdialog package tools.png

x view.png
 Description   
 Filesize   30.92 KB
 Viewed   955 Time(s)

x view.png


_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Thu 18 Feb 2010, 15:45    Post subject:  

Hi Paul, thanks

Joe

I just got sent a link to the manufacturer's site, which gives much more detail, by Jonathan, who I bought the Edubook from, and includes this quote,
Quote:
I believe somebody has made an Edubook friendly Puppy distro too. There is a Debian/Ubuntu Install PDF on the DM&P site which outlines how to get most things going. Give it a whirl it helped me.


http://www.dmp.com.tw/tech/vortex86dx/#os

I found this, but so far, it doesn't work - see Barry's posts

http://www.murga-linux.com/puppy/viewtopic.php?p=390875

HTH

Aitch Smile
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Fri 19 Feb 2010, 07:31    Post subject:  

big_bass wrote:
I will be able to take a look at that in a few days

thanks for posting links for the sources

Hi Joe,

No hurry with compilng the sources.

Adding a user interface (GUI) is IMO one of the hardest things to program so I understand the work you're doing.

Thanks for the sneak peek of the GUI Cool

I hope you don't mind a couple of comments on the wording though.

I find these two lines somewhat ambiguous:

Quote:
Install packages from the current directory

If there is more than one package in the directory, will *all* be installed or will a choice be given?
Quote:
Remove packages that are currently installed

Sounds like *all* packages will be either removed or uninstalled


May I suggest instead (depending on what you mean):
Quote:
Add: Install all packages from the current directory
or
Add: Install one or more packages from the current directory


Quote:
Remove: Remove all packages that are currently installed
or
Remove: Remove one or more packages that are currently installed


Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2247

PostPosted: Fri 19 Feb 2010, 11:11    Post subject:  

That's the wording from the original pkgtool. Both simply lead to another window which lists all the packages in the CWD or all those installed and lety you choose which packages to operate on.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Fri 19 Feb 2010, 11:23    Post subject:  

Hi amigo,

Does the menu have to follow the original wording? There's no way that the user can tell there are one or more windows that follow.

Might be a good opportunity here to correct the ambiguities Wink

Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Fri 19 Feb 2010, 11:30    Post subject:  

Hey Paul (pakt)

Thanks for the suggestions

those are /were the official messages of pgktools
but I agree if they could be made clearer lets do it Very Happy

I had to edit installpkg also to display xdialog
that shows more info of what is happening
I attached a screen shot


and I added in the menu your edited messages
heres a screen shot

if you poke inside of pkgtools you will see that it is
a complex multi function script a lot of checks are made to the packages

xdialog by default design is for static menus
but I figured out a work around to generate dynamic menus Very Happy

for the remove packages and the view packages
the dialog version uses the up and down arrows and the spacebar
to control the selections

using Xdialog you have the mouse and slide bar instead
to control your selections which is more user friendly
when your not in the console


Joe
x menu.png
 Description   
 Filesize   21.56 KB
 Viewed   915 Time(s)

x menu.png

install box.png
 Description   
 Filesize   32.39 KB
 Viewed   890 Time(s)

install box.png


_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Fri 19 Feb 2010, 14:21    Post subject:  

pkgtoolsx
UPDATED 2-20-2010

moved to current page


ok here it is

Xdialog version of packagetools (pkgtools)

so now its an X environment tool !

you should have the my pkgtools-13.0-patched-10-i486-slxr.pet
already installed its safe to have both since no files get over written

one for console one for X

Tip:if you have your packages in another directory copy the
pkgtoolx script into that folder and run it from there the
default is root

fixed slack-desc typo
added in a bug fix update from the official package
changed $TMP and ADM_DIR back to the defaults
I hard linked them while writing the script
to track down problems with echoing vars

Joe

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though

Last edited by big_bass on Tue 23 Feb 2010, 13:00; edited 6 times in total
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2247

PostPosted: Fri 19 Feb 2010, 15:29    Post subject:  

Joe, are they both against the slackware-13.0 version of pkgtools?
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Fri 19 Feb 2010, 16:29    Post subject:  

Hey Gilbert (amigo)

yeah so if you diff them out you'll see the changes

only a small edit on the bottom of the script comment out
the fixmenus and the jwm restart you could remove
before testing on a "slackware" base besides that it should be fine

for the official tools pkgtools and installpkg were changed
the other scripts weren't modified
some new scripts get auto built in /var/log/setup/tmp

/var/log/setup/tmp/xremove_package_viewer
/var/log/setup/tmp/view_all_tgz
/var/log/setup/tmp/viewsrc2
/var/log/setup/tmp/xpackage_viewer
/var/log/setup/tmp/new_installer_list
/var/log/setup/tmp/list_of_installed_packages2
/var/log/setup/tmp/reply2




also I will only use tgz or txz
Joe

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Fri 19 Feb 2010, 23:32    Post subject:  

Nice, Joe, thanks Very Happy

Aitch Smile
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2247

PostPosted: Sat 20 Feb 2010, 02:41    Post subject:  

I looked at those last night for a while. I noticed a couple of things you might want/need to change. This:
Code:

diff -pruN pkgtools/sbin/installpkg joes-pkgtools/sbin/installpkg
--- pkgtools/sbin/installpkg   2009-08-16 23:22:10.000000000 +0200
+++ joes-pkgtools/sbin/installpkg   2009-07-19 03:09:35.000000000 +0200
@@ -283,7 +283,7 @@ if [ "$MODE" = "warn" ]; then
     fi
     echo "The following files will be overwritten when installing this package."
     echo "Be sure they aren't important before you install this package:"
-    ( $packagecompression -dc | $TAR tvvf - ) < $1 | grep -v 'drwx'
+    ( $TAR tzvvf - ) < $1 | grep -v 'drwx'
     echo
     shift 1
   done

breaks the use of 'txz' packages (the 'z' means use gzip) You could probably use 'a' for autodetection, but that would assume the user has a certain verion of tar.
Also, I notice that in both packages you have 'slack.desc' files. They should be named 'slack-desc' to be properly used by installpkg. It will succeed in removing them when the package has installed since it uses:
rm -f install/slack*
but for the descriptive text to be included in the database entry under /var/log/packages, it needs to be named 'slack-desc'.

I'm still reviewing pkgtoolx -lots of changes there to what is already messy code. I wonder, why did you change all the $TMP references to hard-coded paths? If you ever plan on having a slack-type installer CD, you'll need all those relative paths working, because the tools will be working on a mounted partition, so that ADM_DIR becomes:
/var/log/setup/tmp/var/log/packages or some such dir. That's why the code has those vars. It also makes it possible to use the tools from a running system to work on a system which you have mounted.
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sat 20 Feb 2010, 12:11    Post subject:  

Hey Gilbert (amigo)

fixed slack-desc typo
added in a bug fix update from the official package
changed $TMP and ADM_DIR back to the defaults
I hard linked them while writing the script
to track down problems with echoing vars


because of the mishap with $TMP
is usually /tmp
and not /var/log/setup/tmp
as package tools uses

this will be a lot easier to read
but not clean just yet Smile

thanks for the xz update
I must of had an earlier version without the bug fix
I didn't change that line of code

I know its a bit messy because of the parts I had to generate
the dynamic menus with xdialog using an echo which makes it
messy to read maybe after you'll find a better solution to doing that part keep me posted open to suggestions

this is still very alpha but it is working as expected
thanks for pointing out some of the errors

I updated the package again
pkgtoolsx-13.0-noarch-5.tgz
Joe

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though

Last edited by big_bass on Sat 20 Feb 2010, 20:40; edited 2 times in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 29 of 32 [470 Posts]   Goto page: Previous 1, 2, 3, ..., 27, 28, 29, 30, 31, 32 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.1171s ][ Queries: 12 (0.0260s) ][ GZIP on ]