Slaxer_Pup 4.12 solid and stable non woof build

Under development: PCMCIA, wireless, etc.
Message
Author
amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#451 Post by amigo »

installpkg name-of-package.tgz will install it -ovberwriting any existing files of the same name. To upgrade use: upgradepkg name-of-package.*tgz
If you have something already installed with installpkg, trying to use installpkg will not work (with same package name).

gronos04
Posts: 54
Joined: Sun 31 Dec 2006, 00:54
Location: Radfordia QLD

#452 Post by gronos04 »

Beautiful.

Thanks very much Amigo

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#453 Post by big_bass »

I improved the dragNdrop unzipper and it looks better with Xdialog

I also added tazpkg support for slitaz



*I have a lot of good stuff coming I just have to upload it
I wrote a whole new package manager
it took two months of work so I have been busy coding


slaxer pup is what I use everyday and it will be kept up to date
without burning a new CD with add on packages





Joe
Attachments
unzipper_dragNdrop3.tar.gz
(1.15 KiB) Downloaded 672 times

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

xdialog package tools

#454 Post by big_bass »

download the slaxerPup_updater2



small edit 4-20-2010 updated the makepkg in pkgtools to allow building in current directory the official makepkg doesnt allow it *rust rerun the updater the package was fixed on the server



you only need to run it once
unzip it then click on it

packages will be downloaded and installed
only the pet package asks you if you want to install it

all the tgz packages are automatic

this makes slaxer_pup updated to the latest stable version



maybe you'll get why I am using slackwares format
it is a standard that all linux developers are familiar with

throwing everything into a remastered iso
will only lead to confusion and is very anti- friendly
to the open source community
thats why

slaxer pup will be built using packages so work can be shared on other linux systems




slaxer_pkg_tools

now you have a new beautiful (tgz and txz )and fast installer for the x environment




Joe
Attachments
slaxer installer image .png
(23.87 KiB) Downloaded 1377 times
slaxerPup_updater2.tar.gz
(1.25 KiB) Downloaded 651 times
Last edited by big_bass on Fri 23 Apr 2010, 02:12, edited 1 time in total.

User avatar
Nikukyu
Posts: 15
Joined: Mon 12 Oct 2009, 14:40
Location: Zipangu
Contact:

#455 Post by Nikukyu »

Hi big_bass
I'm Puppy Linux Japanese Forum Member
Nikukyu :D

I made a improvement of unpackager-dragNdrop-1-i486-slxr.pet
They were made to correspond to deb,rpm and tbz.
It tries.

Unpackager-DnD++.pet made them correspond to arj, lha, rar, and zip in addition.
However, only a simple decompression corresponds to rar.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#456 Post by big_bass »

Hey Nikukyu
I made a improvement of unpackager-dragNdrop-1-i486-slxr.pet
They were made to correspond to deb,rpm and tbz.
It tries.

Unpackager-DnD++.pet made them correspond to arj, lha, rar, and zip in addition.

thank you for posting

It´s nice to hear from friends in Japan :D

I downloaded a copy


*I didn´t say much about the slaxer updater it adds several hundreds of new mime types so even more formats to use and has the new file command


Joe

fyujj
Posts: 102
Joined: Sat 04 Apr 2009, 17:40

#457 Post by fyujj »

Hi, I'm setting up a frugal install of S.P. and would like an advice on what to do as the first set up to bring it up-to-date.
Should I download and run the updater2 as the first thing? Would it be still needed then to fix the insert crash or update to the latest network wizard as in the first post?
Does the updater include the package build tools from the first post or should I install them separately?
Thank you.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

update slaxercpup

#458 Post by big_bass »

fyujj wrote:Hi, I'm setting up a frugal install of S.P. and would like an advice on what to do as the first set up to bring it up-to-date.
Should I download and run the updater2 as the first thing? Would it be still needed then to fix the insert crash or update to the latest network wizard as in the first post?
Does the updater include the package build tools from the first post or should I install them separately?
Thank you.
Hey fyujj

well ,I know that alot of people want to just down load a cd
which would be easy for me to do... I made many

when I started slaxer_pup there were talks of retirement
so I remained on course with the last version that was "official"
since then many things have come and gone but I remained on course
and worked on a stable branch /fork of puppy
whatever you want to call it



but what I like is to give the minimum fixes
that upgrade the core stuff *the area that most people don't like to work on
then allow the people to build it

this permits stability and removes the need of continually reinstalling
you just run a few scripts and "magic" you are on a stable base

I built many packages all hand built for slaxer_pup on the website


the most interesting feature I have spent alot of time perfecting
is the ability to auto make packages from source then install them with my customized front end for slackware type packages
and soon package dependency checking

note: forum member amigo built and maintains src2pkg
the source to package tool (good thing we are friends so
there is much more to come soon)




all of the packages I made with the .tgz extension were compiled by me so the are 100% compatible

just use the two scripts I posted


in order the first then the second
you could even just copy then paste the first one in the console

when its done do the same for the second or ( better to save them and make the executable )


if you have any questions about anything let me know


there is also a fun factor watching how things are modified
listed nicely with the scripts (an auto updater ) :D

Joe




Code: Select all

#!/bin/sh

#SlaxerPup_updater version 1-7-2010

# code by Joe Arose   {big_bass}
# this is to keep slaxer pup updated 
# in a logical organized way for 
# experts and new users 


#when petget asks to install just say yes  
#the tgz packages are installed without prompting from the list

mkdir -p /root/slaxer_updater
cd /root/slaxer_updater

DIALOG=Xdialog

$DIALOG --backtitle "Slaxer Pup updater version 1-7-2010" \
	--title "Select your packages" \
        --checklist "The packages you should install
are already selected for you preset on the list of choices
which could be turned on or off . \n" 0 0 0 \
        "pkgtools-13.0-patched-10-i486-slxr.pet"  "" ON \
        "netmodules-slaxerpup-412.pet"  "" ON \
        "flashplayer-10-070208-slxr.pet"    "" ON \
        "gtk+-2.12.9-i486-slxr.tgz"   "" ON \
        "network-wizard-apr-1st-i486-slxr.tgz"   "" ON \
        "ndiswrapper-1.54-i486-1.tgz"   "" ON \
        "numlockx-1.1-i486-2-slxr.tgz"   "" ON \
        "gtk+-i486-2-slxr.tgz"   "" ON \
        "gdk-pixbuf-0.22.0-i486-2-slxr.tgz"   "" ON \
        "glib-1.2.10-i486-2-slxr.tgz"  "" ON 2> /root/slaxer_updater/checklist.tmp






retval=$?

choice=`cat /root/slaxer_updater/checklist.tmp`
#rm -f /root/slaxer_updater/checklist.tmp
case $retval in
  0)
    echo "'$choice' chosen."
    ;;
  1)
    echo "Cancel pressed."
    exit
    ;;
  255)
    echo "Box closed."
    exit
    ;;
esac



#----------------start URL downloader----------------------------------

#reformat the file for input of the URL downloader
# I did it this way to be clear and simple to read

#raw original convert slash to space
cat /root/slaxer_updater/checklist.tmp|sed 's/\// /g'>/root/slaxer_updater/checklist.tmp2

#convert space to new line 
cat /root/slaxer_updater/checklist.tmp2 |tr ' ' '\n' >/root/slaxer_updater/checklist.tmp3

#filter pets
grep '.pet$' /root/slaxer_updater/checklist.tmp3>/root/slaxer_updater/checklist.tmp4

#filter tgz packages
grep '.tgz$' /root/slaxer_updater/checklist.tmp3>/root/slaxer_updater/checklist.tmp5


MYURL="http://puppy2.org/slaxer/"


#where the packages are downloaded to 
cd  /root/slaxer_updater
for package in `cat /root/slaxer_updater/checklist.tmp3`
do rxvt -geometry 40x30+150+40 -e  wget -c -N $MYURL$package
echo $package  
done


Xdialog --title "Complete" \
        	--infobox "\nAll Packages downloaded to /root/slaxer_updater finished.\n" 0 0 4000


#----------------start installer pets (tmp4)----------------



#auto installer pets 

#check the file 
 if [ -s /root/slaxer_updater/checklist.tmp4 ]
     then
  
for package in `cat /root/slaxer_updater/checklist.tmp4`; do
echo $package 
petget /root/slaxer_updater/$package
 
done
Xdialog --title "Complete" \
        	--infobox "\nInstalling pets has finished.\n" 0 0 3000

  fi


#----------------start installer tgz (tmp5)----------------

#auto installer tgz

#check the file 
if [ -s /root/slaxer_updater/checklist.tmp5 ]
     then

for package in `cat /root/slaxer_updater/checklist.tmp5`; do
installpkg /root/slaxer_updater/$package
echo $package  
done


Xdialog --title "Complete" \
        	--infobox "\nInstalling *tgz packages with pkgtools has finished.\n" 0 0 4000
  fi

#cleanup
rm /root/slaxer_updater/checklist.tmp
rm /root/slaxer_updater/checklist.tmp2
#rm /root/slaxer_updater/checklist.tmp3
#rm /root/slaxer_updater/checklist.tmp4
#rm /root/slaxer_updater/checklist.tmp5

#get the menus updated 
/usr/sbin/fixmenus #hack for JWM and ICEWM  
jwm -restart       #hack for JWM and ICEWM  Joe Arose aka big_bass 

Code: Select all

#!/bin/sh

#SlaxerPup_updater2 version 4-6-2010

# code by Joe Arose   {big_bass}
# this is to keep slaxer pup updated 
# in a logical organized way for 
# experts and new users 


#when petget asks to install just say yes  
#the tgz packages are installed without prompting from the list

rm /root/slaxer_updater/checklist.tmp*
mkdir -p /root/slaxer_updater
cd /root/slaxer_updater

DIALOG=Xdialog

$DIALOG --backtitle "Slaxer Pup updater version 4-6-2010" \
	--title "Select your packages" \
        --checklist "The packages you should install
are already selected for you preset on the list of choices
which could be turned on or off . \n" 0 0 0 \
        "pkgtools-13.0-patched-10-i486-slxr.pet"  "" ON \
        "file-5.03-i486-1slxr.tgz"    "" ON \
        "mime-fix-5.03-i486-4slxr.tgz"  "" ON \
        "Xdialog-2.3.1-i486-7slxr.tgz"    "" ON \
        "xz-4.999.8beta-i486-2slxr.tgz"  "" ON \
        "tools-472010-i486-1slxr.tgz" "" ON 2> /root/slaxer_updater/checklist.tmp






retval=$?

choice=`cat /root/slaxer_updater/checklist.tmp`
#rm -f /root/slaxer_updater/checklist.tmp
case $retval in
  0)
    echo "'$choice' chosen.";;
  1)
    echo "Cancel pressed."
    exit
    ;;
  255)
    echo "Box closed."
    exit
    ;;
esac



#----------------start URL downloader----------------------------------

#reformat the file for input of the URL downloader
# I did it this way to be clear and simple to read

#raw original convert slash to space
cat /root/slaxer_updater/checklist.tmp|sed 's/\// /g'>/root/slaxer_updater/checklist.tmp2

#convert space to new line 
cat /root/slaxer_updater/checklist.tmp2 |tr ' ' '\n' >/root/slaxer_updater/checklist.tmp3

#filter pets
grep '.pet$' /root/slaxer_updater/checklist.tmp3>/root/slaxer_updater/checklist.tmp4

#filter tgz packages
grep '.tgz$' /root/slaxer_updater/checklist.tmp3>/root/slaxer_updater/checklist.tmp5


MYURL="http://puppy2.org/slaxer/"


#where the packages are downloaded to 
cd  /root/slaxer_updater
for package in `cat /root/slaxer_updater/checklist.tmp3`
do rxvt -geometry 40x30+150+40 -e  wget -c -N $MYURL$package
echo $package  
done


Xdialog --title "Complete" \
        	--infobox "\nAll Packages downloaded to /root/slaxer_updater finished.\n" 0 0 4000


#----------------start installer pets (tmp4)----------------



#auto installer pets 

#check the file 
 if [ -s /root/slaxer_updater/checklist.tmp4 ]
     then
  
for package in `cat /root/slaxer_updater/checklist.tmp4`; do
echo $package 
petget /root/slaxer_updater/$package
 
done
Xdialog --title "Complete" \
        	--infobox "\nInstalling pets has finished.\n" 0 0 3000

  fi


#----------------start installer tgz (tmp5)----------------

#auto installer tgz

#check the file 
if [ -s /root/slaxer_updater/checklist.tmp5 ]
     then

for package in `cat /root/slaxer_updater/checklist.tmp5`; do
installpkg /root/slaxer_updater/$package
echo $package  
done


Xdialog --title "Complete" \
        	--infobox "\nInstalling *tgz packages with pkgtools has finished.\n" 0 0 4000
  fi



#get the menus updated 
/usr/sbin/fixmenus #hack for JWM and ICEWM  
jwm -restart       #hack for JWM and ICEWM  Joe Arose aka big_bass 


Attachments
slaxerPup_updater.tar.gz
(1.33 KiB) Downloaded 605 times
slaxerPup_updater2.tar.gz
(1.25 KiB) Downloaded 641 times

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#459 Post by big_bass »

here is an simple Xdialog mount tool

updated 4-26-2010 to add cd dvd support

called xmounter2

have fun


works on any linux that has Xdialog installed with Rox-Filer

great in an emergency or day to day use
Joe
Attachments
xmounter2.tar.gz
(1.41 KiB) Downloaded 696 times
Last edited by big_bass on Mon 26 Apr 2010, 15:52, edited 1 time in total.

fyujj
Posts: 102
Joined: Sat 04 Apr 2009, 17:40

#460 Post by fyujj »

Thank you very much, big_bass. I'm posting from an updated Slaxer Pup (minus netmodules and ndiswrapper, plus NVIDIA driver).
Now I must check all the extra apps in this thread or in Slaxer's home page.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#461 Post by big_bass »

well ,I said it was coming

now with linux type dependency checking

when missing libs are not present

a warning with the missing libs is added to the end of the file
so you can locate it easily

BTW slaxer_pup has no missing deps :D
but I know you already new that


this even works on official slackware !

this was a lot of coding but it was fun

*there are a few directories I will change
I did this so they can be tracked easily

**I've been talking with amigo he has a few tricks to get dependencies auto resolved so more good stuff in the plans

there is a big difference in making packages for each new version
but a package tool that is linux compatible
and on slaxer_pup sets it apart as unique


Joe
Attachments
light_x_slaxer2.png
(25.47 KiB) Downloaded 1162 times
X_slaxer_pkgtool2.tar.gz
(5.42 KiB) Downloaded 656 times

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#462 Post by big_bass »

Hey Nikukyu

I added your code to the unzipper and made it all xdialog instead of xmessage

it will work with your unpackager-DnD++.pet
package if you replace the /usr/sbin/unpackager-DnD++

with this code I'll paste *I added notes to what was edited

xz and unzip are already installed on slaxer_pup so they could be removed from the package


so this way if you or I add code it will be very easy to diff out the changes 8)

Code: Select all

#!/bin/sh
#code by Joe arose  big_bass  and  Nikukyu
#this is a very fast drag n drop tool
#for decompressing the following formats
#it coupled with rox to get the right click 
#new icon  
#in the menu
#4-26-2010

# *.txz   the new format slackware
# *.tgz 
# *.tar.gz
# *.tar.bz2
# *.pet
# *.pup
# *.gz  (Not initrd.gz though have another for that)
# *tazpkg  a bonus slitaz packages 

# no gui tool is used as a backend so this is fast
#
#first time set up only 
#I made this icon for the dragndrop
#rox -s /usr/share/pixmaps/unzip_package.png
#right click on the unzipper_dragNdrop
#Set icon ...
#then drag /usr/share/pixmaps/unzip_package.png in the box



#  depends on 
#  xz 
#  for *txz packages 
#  I converted all xmessage code to Xdialog for a better presentation 

#-------------------------------------------------------------
# Nikukyu
#-------------------------------------------------------------
# added these formats to the dnd unzipper
# *.tbz
# *.deb
# *.rpm
# *.zip
# *.lzh
# *.rar
# *.arj

#note that they require some bins and scripts for pre conversions 
#dpkg-deb2
#rpm2cpio2
#undeb
#unrpm
#arj
#lha
#lzdiff
#lzgrep
#lzmadec
#lzmore
#unrar
#unzip already installed
#xzdec



cd `dirname "$1"`


#-----------
#tar.bz2
#-----------
if echo `basename "$1"` | grep -q '.tar.bz2$'; then
Xdialog --wrap --title "TAR.BZ2" \
        --yesno "Do you want to decompess  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
	mkdir -p `basename "$1" .tar.bz2`
    cd  `basename "$1" .tar.bz2`
    tar -xjf "$1"
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac
                  
				  
				  
#-----------           
#tar.gz		
#-----------		  
elif echo `basename "$1"` | grep -q '.tar.gz$'; then
Xdialog --wrap --title "TAR.GZ" \
        --yesno "Do you want to decompress  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
	mkdir -p `basename "$1" .tar.gz`
    cd  `basename "$1" .tar.gz`
    tar -zxf "$1" 
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac

				  
		                 
				 
                 
#-----------
#.tgz	
#-----------  
elif echo `basename "$1"` | grep -q '.tgz$'; then
Xdialog --wrap --title "TGZ" \
        --yesno "Do you want to decompress  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
	mkdir -p `basename "$1" .tgz`
    cd  `basename "$1" .tgz`                                
    tar -zxf "$1" 
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac

				  
#-----------
#.txz	 
#----------- 
elif echo `basename "$1"` | grep -q '.txz$'; then
Xdialog --wrap --title "TXZ" \
        --yesno "Do you want to decompress  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
	mkdir -p `basename "$1" .txz`
    cd  `basename "$1" .txz`                                
    xzcat -d "$1" | tar -xv
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac



#-----------
#.pet
#-----------				  
elif echo `basename "$1"` | grep -q '.pet$'; then
Xdialog --wrap --title "PET" \
        --yesno "Do you want to decompress  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
	tar -zxf "$1" 	
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac




#-----------
#.pup  
#-----------                
elif echo `basename "$1"` | grep -q '.pup$'; then
Xdialog --wrap --title "PUP" \
--yesno "Do you want to decompress  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
	mkdir -p `basename "$1" .pup`
    cp `basename "$1" ` `basename "$1" .pup`
    cd `basename "$1" .pup`
    mv `basename "$1" ` `basename "$1" .pup`".zip"                           
    unzip `basename "$1" .pup`".zip" 
    rm `basename "$1" .pup`".zip"  
     ;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac
				 
                        
#-----------                        
#.gz	
#-----------  
elif echo `basename "$1"` | grep -q '.gz$'; then
Xdialog --wrap --title "GZ" \
        --yesno "Do you want to decompress  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
	mkdir -p `basename "$1" .gz`
    cp `basename "$1"` `basename "$1" .gz`
    cd  `basename "$1" .gz`                                
    gunzip `basename "$1"`               
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac                  



#-----------
#tazpkg
#-----------
elif echo `basename "$1"` | grep -q '.tazpkg$'; then
Xdialog --wrap --title "TAZPKGZ" \
--yesno "Do you want to decompress  $1 and make a new folder " 0 0
 
case $? in
  0)
    echo "Yes chosen."	  
    mkdir -p `basename "$1" .tazpkg`
    cp `basename "$1"` `basename "$1" .tazpkg`
    cd  `basename "$1" .tazpkg`
    cpio -id < `basename "$1"` &&rm -f `basename "$1"`
    gzip -d fs.cpio.gz 
    cpio -id < fs.cpio
    rm -f fs.cpio
     ;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac                  
 

#----------------------------------------
# Nikukyu exteneded the following formats 
#----------------------------------------
 
#-----------
#.tbz	
#-----------
elif echo `basename "$1"` | grep -q '.tbz$'; then
Xdialog --wrap --title "TBZ" \
        --yesno "Do you want to decompess  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
	mkdir -p `basename "$1" .tbz`
    cd  `basename "$1" .tbz`                                
    tar -xjf "$1" 
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac
            


#-----------
#.deb	
#-----------
elif echo `basename "$1"` | grep -q '.deb$'; then
Xdialog --wrap --title "DEB" \
        --yesno "Do you want to decompess  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
	mkdir -p `basename "$1" .deb`
    cp `basename "$1"` `basename "$1" .deb`
    cd `basename "$1" .deb`       
    undeb `basename "$1"`
    rm `basename "$1"` .deb
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac
    

                 

#-----------
#.rpm	
#-----------
elif echo `basename "$1"` | grep -q '.rpm$'; then
Xdialog --wrap --title "RPM" \
        --yesno "Do you want to decompess  $1 and make a new folder " 0 0

case $? in
  0)
    echo "Yes chosen."
    mkdir -p `basename "$1" .rpm`
    cp `basename "$1"` `basename "$1" .rpm`
    cd `basename "$1" .rpm`
    unrpm `basename "$1"`
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac
    
   

#-----------
#.zip
#-----------
elif echo `basename "$1"` | grep -q '.zip$'; then
Xdialog --wrap --title "ZIP" \
        --yesno "Do you want to decompess  $1 and make a new folder " 0 0

case $? in
  0)
    mkdir -p `basename "$1" .zip`
    cp `basename "$1"` `basename "$1" .zip`
    cd `basename "$1" .zip`       
    unzip `basename "$1"`
    rm `basename "$1"` .zip
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac
 
 
 
 
#-----------
#.lzh
#-----------
elif echo `basename "$1"` | grep -q '.lzh$'; then
Xdialog --wrap --title "LZH" \
        --yesno "Do you want to decompess  $1 and make a new folder " 0 0

case $? in
  0)
    mkdir -p `basename "$1" .lzh`
    cp `basename "$1"` `basename "$1" .lzh`
    cd `basename "$1" .lzh`       
    lha -x `basename "$1"`
    mv `basename "$1"` .lzh 
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac              
                  


#-----------
#.rar
#-----------
elif echo `basename "$1"` | grep -q '.rar$'; then
Xdialog --wrap --title "RAR" \
        --yesno "Do you want to decompess  $1 and make a new folder " 0 0

case $? in
  0)
    mkdir -p `basename "$1" .rar`
    cp `basename "$1"` `basename "$1" .rar`
    cd `basename "$1" .rar`       
    unrar x `basename "$1"`
    rm `basename "$1"` .rar
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac              

 
 
#-----------
#.arj
#-----------
elif echo `basename "$1"` | grep -q '.arj$'; then
Xdialog --wrap --title "ARJ" \
        --yesno "Do you want to decompess  $1 and make a new folder " 0 0

case $? in
  0)
    mkdir -p `basename "$1" .arj`
    cp `basename "$1"` `basename "$1" .arj`
    cd `basename "$1" .arj`       
    arj x `basename "$1"`
    rm `basename "$1"` .arj
	;;
  1)
    echo "No chosen."
    exit
	;;
  255)
    echo "Box closed."
    exit
	;;

esac 
 
  
 
   else
  

Xdialog --title "ERROR MESSAGE  drag N drop" \
	    --msgbox "ERROR a wrong format was used nothing done " 0 0

case $? in
  0)
    echo "OK"
	exit
	;;
 
 255)
    echo "Box closed."
	exit
	;;
esac
 					  
fi				  
				  





User avatar
Nikukyu
Posts: 15
Joined: Mon 12 Oct 2009, 14:40
Location: Zipangu
Contact:

#463 Post by Nikukyu »

Good job! Big_bass :D

It's a next version "unpackager-dragNdrop" :!:

If it is possible to adjust to ace and 7z, it is more enough. :wink:

I'll make a Japanese version. :oops:

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#464 Post by big_bass »

Nikukyu
It's a next version "unpackager-dragNdrop



unzipper_dragNdrop-5
http://puppy2.org/slaxer/unzipper_dragN ... -2slxr.tgz

a big thanks again for the code you added Nikukyu 8)

I made some small changes I replaced the
dpkg-deb2
rpm2cpio2

to use newer binaries from slitaz they are now called
dpkg-deb
rpm2cpio
and the scripts were edited to reflect the change

the reason why is every time there is progress by adding in support
those packages have to be updated
the other bins are from 2005 which work well for most things but
slitaz has more support compiled in to their rpm2cpio
I was going to compile it but wanted to maintain 100% compatiblity
with slitaz because I also got their package management working
to run with puppy but I use slackware as the standard
but its nice to have more options :D


*I can build slitaz packages on puppy then install them on slitaz
or I can download slitaz packages directly and convert them
I still prefer doing source packages but is nice that it can be done


this is now compatible with slaxer pup

xz support is needed for pkgtools so I dont want to remove that it is installed as a separate package



Joe

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

app dir script

#465 Post by big_bass »

# so that you dont have to drag N drop you can take advantage of ROX right click and app dir
# just above the Customise Menu.. in ROX an icon will appear
# this script as is will auto build an app dir and the folders for rox
# needed for the unzipper to only allow formats that it can unzip
# an icon will be shown in in rox if you right click on a correct file
# that the unzipper can uncompress such as

# pet,pup,arj,bzip2,deb,gzip,lha,rar,rpm,tazpkg,xz,tlz,zip
# and more to come

# so its a custom script to get the right click in rox and build an app dir with the icon unzipper_draNdrop
# using a pre selected list of formats


you just run this auto setup script one time after you already have unzipper_dragNdrop-5 installed

I wrote the script so it can be edited to add other app directories
easily as always hacking welcomed :D

Joe
Attachments
right_click_unzipper_setup.tar.gz
(1.76 KiB) Downloaded 643 times
click.png
(17.79 KiB) Downloaded 943 times

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#466 Post by big_bass »

the latest iso
all new work switched here
http://www.murga-linux.com/puppy/viewtopic.php?t=55772

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#467 Post by edoc »

big_bass wrote:wifi radar needs pygtk and PYTHON to compile that is a big list
note: these were all compiled from source and then packaged as tgz packages
on slaxer-pup also I needed to tweak wifi radar to work in the menu and run

this was a lot of work but if helps you get online its worth it

installs in
Menu >Network>wifi-radar with its GUI

wifi-radar-1.9.9-i486-slxr.tgz
click_here
-->pixman-0.12.0-1-i486-slxr.tgz click_here
-->cairo-1.6.4-i486-slxr.tgz click_here
-->pygobject-2.15.4-i486-slxr.tgz click_here
-->pycairo-1.6.4-i486-slxr.tgz click_here
-->pygtk-2.12.1-i486-slxr.tgz click_here

I don't have wifi but I built this for those who do
this is what slackware uses to set up wifi so its well documented and supported
http://wifi-radar.berlios.de/
http://wifi-radar.berlios.de/v1.x/

Note:I know that python and its add ons
are large packages but many special programs require it
for this reason I don't pre install it in slaxer-pup
but offer it as an add on package

*and since future development with puppy wifi is "iffy" to say the least
iit is better to have more solid options and those that have already set up wifi with wifi-radar will feel at home

Joe
Any chance this has been turned into a PET or a SFS?

I'd be interested for the Fluppy version of puppeee for Netbooks and for Lucid 5.1, or any current version of Puppy.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#468 Post by big_bass »

Any chance this has been turned into a PET or a SFS?

I'd be interested for the Fluppy version of puppeee for Netbooks and for Lucid 5.1, or any current version of Puppy.
well ,I stopped making pet packages about 2 years ago
and SFS are really easy to make using tgz or txz packages

so it may be better I explained how to do it then just do it
bbiab

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#469 Post by edoc »

You underestimate my ability to make a mess of the apparently-simple.

If I can get caught-up on some projects I will give the creation of a SFS from this a try ... unless someone gets it done sooner.
wifi-radar-1.9.9-i486-slxr.tgz click_here
-->pixman-0.12.0-1-i486-slxr.tgz click_here
-->cairo-1.6.4-i486-slxr.tgz click_here
-->pygobject-2.15.4-i486-slxr.tgz click_here
-->pycairo-1.6.4-i486-slxr.tgz click_here
-->pygtk-2.12.1-i486-slxr.tgz click_here
But first I will have to find out if this might cause problems for the other versions of Puppy. I imagine that Fatdog64 may be a challenge and perhaps Fluppy. Not sure about Lucid 5.1

Thanks!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#470 Post by big_bass »

P.S I'll upload a SFS so you have something to compare to " or just use" :D
http://puppy2.org/slaxer/wifi-radar-1.9.9-slxr.sfs

I'll do the same for python bbiab -->give it 10 minutes to upload
http://puppy2.org/slaxer/python-2.5.2-slxr.sfs

*well since its a sfs its safe since nothing gets physically over written
when removed /unmounted


Code: Select all

#how to make a SFS by big_bass
#using tgz or  txz packages 
# this will only work on slaxer pup or txz pup 
#9-15-2010 

mkdir -p  /root/wifi
mkdir -p /squashfs-root 

# copy  the following packages into /root/wifi first 
#cairo-1.6.4-i486-slxr.tgz
#pixman-0.12.0-1-i486-slxr.tgz
#pycairo-1.6.4-i486-slxr.tgz
#pygobject-2.15.4-i486-slxr.tgz
#pygtk-2.12.1-i486-slxr.tgz
#wifi-radar-1.9.9-i486-slxr.tgz

# this will only work on slaxer pup or txz pup  
 cd /root/wifi
   installpkg -root /squashfs-root *.t?z


mv /squashfs-root /wifi-radar-1.9.9-slxr

mksquashfs /wifi-radar-1.9.9-slxr /wifi-radar-1.9.9-slxr.sfs 

#now your sfs is one above root ./

---python----------------------------------------------------------

Code: Select all

#how to make a SFS by big_bass
#using tgz or  txz packages 
# this will only work on slaxer pup or txz pup 
#9-15-2010 

mkdir -p  /root/py
mkdir -p /squashfs-root 

# copy  the following packages into /root/py first 

#db44-4.4.20-i486-2-slxr.tgz
#python-2.5.2-i486-5-slxr.tgz
#tcl-8.5.5-i486-1-slxr.tgz
#tk8.5.5-i486-slxr.tgz
 






# this will only work on slaxer pup or txz pup  
 cd /root/py
   installpkg -root /squashfs-root *.t?z


mv /squashfs-root /python-2.5.2-slxr

mksquashfs /python-2.5.2-slxr /python-2.5.2-slxr.sfs 

#now your sfs is one above root ./



Post Reply