Lupu-515 Beta New Version DEC 18

A home for all kinds of Puppy related projects
Message
Author
User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#1411 Post by dejan555 »

ttuuxxx wrote: ok I have made hundreds and hundreds of packages for puppy, And I do not want to change or complicate my time with another system that doesn't work the same.
ttuuxxx
Um, ok, but it's not really too much different "system" those are just few separated bash scripts that can do exactly the same, for example, DESTDIR=/path copies all files to empty dir,
stripdir strips it and splitpkg splits it into packages and you have the same result, I even took code from new2dir for striping, then I make one script to run them all and I end up with much simpler script then new2dir that's even easier to work with.

Here, stripdir is just few lines of code copied from original new2dir

Code: Select all

#!/bin/sh
for ONEFILE in `find ./`;do
 #strip the file...
 if [ ! -h "$ONEFILE" ];then #make sure it isn't a symlink
  [ ! "`file "$ONEFILE" | grep 'ELF' | grep 'shared object'`" = "" ] && strip --strip-debug "$ONEFILE"
  [ ! "`file "$ONEFILE" | grep 'ELF' | grep 'executable'`" = "" ] && strip --strip-unneeded "$ONEFILE"
 fi
 done
 
Iguleder's splitpkg:

Code: Select all

#!/bin/busybox ash

# splitpkg: filters DEV, DOC and NLS from packages

if [ ! -d "$1" ]; then

  echo "Usage: splitpkg [DIRECTORY]"
  echo "Process the package in the directory DIRECTORY to separate DEV, DOC and NLS from it"
  echo ""
  echo "Options:"
  echo "        --help      Display this message and quit"
  
  case $? in
  
    --help)
    
      exit 0
      ;;
      
    *)
    
      exit 1
      ;;
      
  esac
   
else

  fullPath=`realpath $1` # the full path to the package
  packageName=`basename $fullPath` # the package name
  packageDir=`dirname $fullPath` # the parent directory of the package

  cd $fullPath
  
  for i in `find | grep /`; do
  
    if [ -e $i ]; then
    
      fileName="`basename $i`"
    
      case "$fileName" in 
  
        *.la|*.a|*.prl|pkgconfig|include)
        
          suffix=DEV
          ;;
          
        doc|*-doc|help|readme.txt|README.TXT|about.txt|ABOUT.TXT|readme|README)
    
          suffix=DOC
          ;;
     
        man|info) # if it's a directory named "man" or "info", move to DOC
    
          [ -d $i ] && suffix=DOC
          ;;
                  
        locale) # if it's a directory named "locale", move to NLS
    
          [ -d $i ] && suffix=NLS
          ;;
    
        i18n)
    
          suffix=NLS
          ;;
           
      esac
  
    fi
  
    case "$suffix" in
  
      NLS|DOC|DEV)

        # detect the directory
        subDir=${i%/$fileName}
        subDir=${subDir:2}
       
        case $packageName in
        
          *-*)
          
            # add the suffix to the package name
            subPackageName=${packageName/-/_$suffix-}
            ;;
            
          *)
          
            subPackageName=${packageName}_$suffix
            ;;
            
        esac
        
        # create the directory under the sub-package directory
        mkdir -p $packageDir/$subPackageName/$subDir
        
        # move to the sub-package
        mv $i $packageDir/$subPackageName/$subDir
             
        # get rid of empty directories in the main package
        rmdir $packageDir/$packageName/$subDir > /dev/null 2>&1
        
        unset suffix
        ;;
       
    esac
              
  done

  exit 0

fi
then I just make "mkpkg" that I run after "make" to do it all for me

Code: Select all

#!/bin/sh
DIR=`basename $(pwd)`
mkdir ../$DIR-i486-lupu
DIR=`pwd`
make install DESTDIR=$DIR-i486-lupu
cd $DIR-i486-lupu
stripdir
NAME=`basename $(pwd)`
cd ..
splitpkg $NAME
for package in *-i486-lupu;do
dir2pet $package
done
Yeah you can wait Barry to fix new2dir but these scripts are really simple and do the job just fine you're not gonna bork anything with it they can only help you.
Last edited by dejan555 on Wed 24 Nov 2010, 16:40, edited 1 time in total.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: HP all-in-one and xsane problems

#1412 Post by rcrsn51 »

eeepuppy wrote:Launching xsane in console i have returned following error:"xsane: symbol lookup error: /usr/lib/libgobject-2.so.0: undefined symbol:
g_array_ref"
I cannot duplicate this error. I did a fresh install of Luci-238 with hplip-3.9.12-scan and it worked fine in both Xsane and Peasyscan.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#1413 Post by ttuuxxx »

Same as 3 post above, but I added a menu link to run it and its smaller

Ps night all :)
ttuuxxx
Attachments
moc-2.4.4-i386.pet
(147.52 KiB) Downloaded 358 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1414 Post by zigbert »

test result

- geany can't execute a bash script.
Solution: Edit the file /root/.config/geany.conf

Code: Select all

[tools] 
make_cmd= 
term_cmd=/usr/bin/xterm -e bash -c 
- There is still some locals in the iso.

Code: Select all

# du -khc /usr/share/locale | grep total
696K	total
- I have to define UTF-8 to get Viewnior show my files containing norwegian chars.

Code: Select all

# export LANG=nb_NO.UTF-8; viewnior /root/nær.jpg
As the commandline shows urxvt also troubles without UTF-8

- Pburn is old

- Retrovol is not in the menu (only alsamixer)


Sigmund

User avatar
DM was on fire!
Posts: 159
Joined: Sat 12 Sep 2009, 15:47
Location: N.E. Georgia Mountains, USA

#1415 Post by DM was on fire! »

My status report for Puppy is that everything runs flawlessly! Unlike the previous version, I am having no issues with my aMSN, Amarok informing me xine-engine does not work or my Flash being choppy. The Flash was my fault though since I installed it as opposed to it coming with it.
It runs better than 4.31 does for me. There's even some issues with my tags on 4.31 that are fixed on the latest version of Lupu.

My only issue is right now it's taking forever to turn off. About two minutes so far, as opposed to the minute max 4.31 takes. I might've scrambled it's brains a little by taking my storage drive out and transferring it here...lol

ETA - Should've said it was having issues turning off sooner. It's off now! lol

ETA II - Should've said it waS flawless. :c I don't seem to have an audio. I'll have to test it on my offline computer to see if it's an issue with the speakers in this one. I know everything was working great on my offline computer; I was chugging along listening to Blues Traveler, but I have no sound on here.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1416 Post by zigbert »

id3lib is missing, so Pmusic doesn't support metatags.

Jades
Posts: 466
Joined: Sat 07 Aug 2010, 22:07
Location: Somewhere in Blighty.
Contact:

Problem with Luci 238 on AMD K6 2 500

#1417 Post by Jades »

I've done a Live CD install of Luci 238 on both Merlin (Pentium D 3.4) and Zhaan (K6 2 500) and while I haven't noticed any problems on the former machine, I can't say the same of the latter.

The problem on Zhaan is that some of the included apps don't load - whether I try to launch them from the pinboard, the Start Menu (or whatever the correct name is) or by trying to run a file that they can read. Nothing happens. Applications I've noticed this with include:-

Abiword
Geany
GNUmeric

Which happen to be the apps I use the most on that machine! This problem happens both with a pfix=ram boot and a normal one from the lucisave (ext3) which is located on the FAT32 hard drive along with the luci_238.sfs file. Main OS for the machine is Win98.

I appreciate that "it doesn't work" isn't the most helpful bug report, but I'm still new to Linux and am unsure where any log files containing errors may be - if indeed any errors are being generated. Nothing comes up on screen, anyway.

One thing that does seem a little odd is that on bootup the word 'pausing' appears in red on the line about searching for Puppy files before 'done' comes up in green and the machine continues to boot. It doesn't do this on Merlin at all, or on Zhaan when I'm running Lupu 511.

In addition, when I installed the pet for Geany 0.19.1 on Zhaan running Lupu 511 it didn't work on that either, but seemed perfectly fine on Merlin. Machine-specific problem maybe?

A HardInfo report for Zhaan running Luci 238 can be found at http://www.jades.org/comps/hir_zhn_luci238.html and the one for the same machine running Lupu 511 is at http://www.jades.org/comps/hardinfo_zhaan.html - quick system spec in my sig.

Looking forward to your suggestions on where to find more data from the machine. If it's just the case that K6 2 CPUs aren't going to be supported anymore I'm happy enough with Lupu 511.

Edit: Added url tags.
Last edited by Jades on Thu 25 Nov 2010, 13:25, edited 1 time in total.
Zhaan - AMD K6 2 500, 512MB RAM, ATI Rage 128 VR. Full install Wary 5.5 [url=http://tinyurl.com/dy66kh8]HardInfo Report[/url]
Merlin - Core i5-4590, 8GB RAM, Radeon R9 270X. Slacko 5.7.0

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#1418 Post by noryb009 »

Jades: Can you please click console on your desktop, and type each of the following lines, and see what each one says/does:

Code: Select all

Abiword 
Geany 
GNUmeric

gcmartin

Many questioning "Which WM is running?"

#1419 Post by gcmartin »

In the several years of PUP use, I have seen many questions of which Window Manager (WM) is running in Puppy Linux's desktop. I wonder is this is a question where there is a "standard" answer available in "X" such that all WM register at start time in Linux. If so, is there a standard answer on how to determine this? Can it be something that shows either in the Menu or something that show in a PUPPY's desktop background? Or is there some status tool that would run showing CPU utilization and such with the WM title showing there?

I had approached Shinobar with what I though would be a likely place, but after thinking about it, his FirstRUN tool may NOT be an appropriate place to display the running WM. So I'm back here asking who (meaning "which tool/setting/environment variable") should show what WM is curriently running on the X desktop?
Following is Shinobar's response to the WM question:
shinobar wrote:
gcmartin wrote:One item that seems to be a constant question is "what WM is running?".
Good point, gcmartin.

Your request is reasonable on Puppy's having multiple window managers.
It is the matter of the developers who provide multiple window managers in their distribution.
As for Luci, it offers the 'WM Switcher' by mick, i am not sure it is enough or not.
There are many configuration tools found in the menu, but some works and some doesn't because they are not for the current window manager.

I hope more discussions in each distributions on that issue.
P.S. I don't really need an answer: As, this is a low priority item merely for thought.
Last edited by gcmartin on Wed 24 Nov 2010, 23:02, edited 4 times in total.

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#1420 Post by playdayz »

- geany can't execute a bash script.
Solution: Edit the file /root/.config/geany.conf
Code:
[tools]
make_cmd=
term_cmd=/usr/bin/xterm -e bash -c
Thanks. Done.
- There is still some locals in the iso.
Code:
# du -khc /usr/share/locale | grep total
696K total
Thanks. From asunder and mhwavedit updates. Done.
- I have to define UTF-8 to get Viewnior show my files containing norwegian chars.
Code:
# export LANG=nb_NO.UTF-8; viewnior /root/nær.jpg
As the commandline shows urxvt also troubles without UTF-8
01micko!!!

- Pburn is old
I have the new pburn running in luci-239. We have been waiting for the new Woof to pick it up.

Also, we will be using the latest pprocess from now on. Thanks.
libid3
I show libid3.so in /usr/lib. Is there a different one?
retrovol
It is in the tray. Do you want it in the menu?
Last edited by playdayz on Wed 24 Nov 2010, 23:41, edited 2 times in total.

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#1421 Post by playdayz »

Bye Bye XineDVD.

It crashed on me a couple of times, right out of X. We will just stay with our strengths. ;-)

Iron 7

Has there been any more trouble? Use this pet and start it from the menu or the browse icon--the cache should be limited. If there is a problem please tell me what you were watching. Thanks.

http://distro.ibiblio.org/pub/linux/dis ... -Lucid.pet

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#1422 Post by playdayz »

Zhaan (K6 2 500) and while I haven't noticed any problems on the former machine, I can't say the same of the latter.
How much ram in the K6? We discovered a problem with Luci-238 loading on machines with 256MB ram or less. It doesn't load correctly and one indication is that there is no background or icons on the screen. I have one myself. This has been fixed in luci-239pre which will be available in a few days. Thanks.
If it's just the case that K6 2 CPUs aren't going to be supported anymore I'm happy enough with Lupu 511
.
We don't intend any difference from 5.1.1--if it ran we intend that 5.2 should run. But you know there is Wary for older machines as another option..

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

wacom driver by tempestuous

#1423 Post by don570 »

Does anyone know how to make a wacom tablet driver
persistent i.e. stay loaded even after a reboot

wacom driver by tempestuous

http://www.murga-linux.com/puppy/viewto ... h&id=34481

called xf86-input-wacom-0.10.8.pet works well
except for this flaw.

________________________________________

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#1424 Post by playdayz »

Picasa 3 beta is available and works from the deb install file at
http://picasa.google.com/linux/download.html#picasa30
Except no menu item, so picasa in terminal.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#1425 Post by Jim1911 »

playdayz wrote:Bye Bye XineDVD.

It crashed on me a couple of times, right out of X. We will just stay with our strengths. ;-)
I trust that it will still be available through Quickpet or PPM. It works great on my hardware and has given no problems. It just works, others such as the Gnome media player just don't work at all in Luci.

Jim

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: wacom driver by tempestuous

#1426 Post by shinobar »

don570 wrote:Does anyone know how to make a wacom tablet driver
persistent i.e. stay loaded even after a reboot
How about the boot manager?
You need to rmmod the module before starting the boot manager.
It registers the module name at /etc/rc.d/MODULESCONFIG.
Like:
ADDLIST=' wacom'
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

utf8 issue

#1427 Post by shinobar »

zigbert wrote:- I have to define UTF-8 to get Viewnior show my files containing norwegian chars.

Code: Select all

# export LANG=nb_NO.UTF-8; viewnior /root/nær.jpg
As the commandline shows urxvt also troubles without UTF-8
The utf8 issue is long persistent issue on Puppy/Woof.
See the posts on Wary:
http://murga-linux.com/puppy/viewtopic. ... 0&start=95
http://murga-linux.com/puppy/viewtopic. ... &start=104
http://murga-linux.com/puppy/viewtopic. ... &start=120
They are not different format or encoding, but the issue of the name of locale.
Most of Puppy and woof use '.utf8' as the UTF-8 encoding, whereas most of Linux distributions use '.UTF-8'.
(Need to modify rc.country)
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

gabe
Posts: 85
Joined: Fri 03 Apr 2009, 06:06
Location: Minnesota, USA

#1428 Post by gabe »

you could add Xorg_High to get max performance.
Aha! ...what does that mean? Edit an xorg.conf and put in...what?

I'm interested in installing this on my mom's old 256mb desktop but I only have 2 hours to do it, so I want to learn as much as I can first!

Needless to say, 5.2... even in a development stage... might still be the best choice. :)

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#1429 Post by James C »

rjbrewer wrote:On the other hand.........

Fluppy is 161mb, will not eject cd with 256ram, but that doesn't
effect my decision to use it or not..
At the moment I'm running Fluppy 008 in ram on a box with 512 mb ram and a 1 gb swap partition and can't eject the cd either.


-Computer-
Processor : Intel(R) Pentium(R) 4 CPU 2.80GHz
Memory : 513MB (154MB used)
Operating System : Puppy Linux 0.43
User Name : root (root)
Date/Time : Wed 24 Nov 2010 07:16:28 PM CST
-Display-
Resolution : 1024x768 pixels
OpenGL Renderer : Mesa DRI Intel(R) 865G GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
X11 Vendor : The X.Org Foundation

gabe
Posts: 85
Joined: Fri 03 Apr 2009, 06:06
Location: Minnesota, USA

Won't boot from USB??!?!!!

#1430 Post by gabe »

I found a critical (?) bug: won't boot from USB (or SD card). Sorry to interrupt all these technical discussions about UTF and whatever, and about size vs efficiency philosophy discussions, but really... netbooks have no CD drives. Puppy 4.x seemed to work.

I used the latest UNetBootin to place the Luci-238 ISO on my sd card. I went to my computer, stuck it in, and the Puppy image came up, it said "loading drivers to access disk drives" and all... then it searched folders for puppy files. Then subfolders. Then sub-subfolders. Then failed.

It's all right there on the SD Card! luci_238.sfs, right on the main sd card (not in a folder).
Last edited by gabe on Thu 25 Nov 2010, 02:24, edited 2 times in total.

Post Reply