Slaxer_Pup 4.12 solid and stable non woof build
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
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
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
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
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
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
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
Nikukyu
unzipper_dragNdrop-5
http://puppy2.org/slaxer/unzipper_dragN ... -2slxr.tgz
a big thanks again for the code you added Nikukyu
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
*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
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
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
*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
app dir script
# 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
Joe
# 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
Joe
- Attachments
-
- right_click_unzipper_setup.tar.gz
- (1.76 KiB) Downloaded 643 times
-
- click.png
- (17.79 KiB) Downloaded 943 times
Any chance this has been turned into a PET or a SFS?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
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
[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
well ,I stopped making pet packages about 2 years agoAny 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.
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
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.
Thanks!
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.
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.1wifi-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
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
[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
P.S I'll upload a SFS so you have something to compare to " or just use"
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
---python----------------------------------------------------------
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 ./