Pdebthing DEB downloader and packager 005
That sounds great Iguleder
Edit:
I have updated the GUI in the Script 1download section there is now a 'Remove Debs' button this will delete some of the .deb files Ubuntu always seems to want to install, i have built several pets with these .deb deleted and they seem to work ok with out them but if not sure just ignore the 'Remove debs' option.
GUI is in /root/pdebthing4GUI directory.
http://www.smokey01.com/stu90/pdeb4+GUI.pet
Edit:
I have updated the GUI in the Script 1download section there is now a 'Remove Debs' button this will delete some of the .deb files Ubuntu always seems to want to install, i have built several pets with these .deb deleted and they seem to work ok with out them but if not sure just ignore the 'Remove debs' option.
GUI is in /root/pdebthing4GUI directory.
http://www.smokey01.com/stu90/pdeb4+GUI.pet
I know this is a very basic question but how do you know what package names to put in?
I have done
#ldd xchm
linux-gate.so.1 => (0xffffe000)
libwx_gtk2u_aui-2.8.so.0 => not found
libwx_gtk2u_xrc-2.8.so.0 => not found
libwx_gtk2u_qa-2.8.so.0 => not found
libwx_gtk2u_html-2.8.so.0 => not found
libwx_gtk2u_adv-2.8.so.0 => not found
libwx_gtk2u_core-2.8.so.0 => not found
libwx_baseu_xml-2.8.so.0 => not found
libwx_baseu_net-2.8.so.0 => not found
libwx_baseu-2.8.so.0 => not found
libchm.so.1 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76bc000)
libm.so.6 => /lib/libm.so.6 (0xb7695000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7676000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb765e000)
libc.so.6 => /lib/libc.so.6 (0xb7515000)
/lib/ld-linux.so.2 (0xb77c2000)
So I assume that the package names are the bit at the front
linux-gate
libwx
libchm
and for the found ones:
libstdc++
libm
libgcc_s
libpthread
libc
ld-linux
Is that correct please?
I have done
#ldd xchm
linux-gate.so.1 => (0xffffe000)
libwx_gtk2u_aui-2.8.so.0 => not found
libwx_gtk2u_xrc-2.8.so.0 => not found
libwx_gtk2u_qa-2.8.so.0 => not found
libwx_gtk2u_html-2.8.so.0 => not found
libwx_gtk2u_adv-2.8.so.0 => not found
libwx_gtk2u_core-2.8.so.0 => not found
libwx_baseu_xml-2.8.so.0 => not found
libwx_baseu_net-2.8.so.0 => not found
libwx_baseu-2.8.so.0 => not found
libchm.so.1 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76bc000)
libm.so.6 => /lib/libm.so.6 (0xb7695000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7676000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb765e000)
libc.so.6 => /lib/libc.so.6 (0xb7515000)
/lib/ld-linux.so.2 (0xb77c2000)
So I assume that the package names are the bit at the front
linux-gate
libwx
libchm
and for the found ones:
libstdc++
libm
libgcc_s
libpthread
libc
ld-linux
Is that correct please?
- Iguleder
- Posts: 2026
- Joined: Tue 11 Aug 2009, 09:36
- Location: Israel, somewhere in the beautiful desert
- Contact:
According to packages.debian.org, you need libwxgtk2.8-0 and libchm1. The numbers may vary between Debian versions or between Debian and Ubuntu, though.
Why don't you use "xchm"? You can download it with all its dependencies.
Why don't you use "xchm"? You can download it with all its dependencies.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
Thats what I am trying to do. To download xchm for use with a PHP manual. However, I may be being a bit thick here, I thought I had to add the package names into the 'packages' file so that Pdebthing would do its stuff and download all the dependencies for me. Dont I have to do that?
I have run 0setup and I get lots of 404 errors but the script seems to have finished OK and it downloaded quite a bit of stuff.. How do we know if it encountered serious errors? Is there a log file?
OK, got xchm working as an sfs now, after a bit of fiddling around merging some directories etc. There are still some errors when it starts up and the bookmarks dont work somehow. Maybe there is still stuff not quite right, but it displays the chm file OK in the main window and is usable, but not good enough to offer as an sfs to others.
I used Pdebthing and that seemed to work alright. Thanks.
I have run 0setup and I get lots of 404 errors but the script seems to have finished OK and it downloaded quite a bit of stuff.. How do we know if it encountered serious errors? Is there a log file?
OK, got xchm working as an sfs now, after a bit of fiddling around merging some directories etc. There are still some errors when it starts up and the bookmarks dont work somehow. Maybe there is still stuff not quite right, but it displays the chm file OK in the main window and is usable, but not good enough to offer as an sfs to others.
I used Pdebthing and that seemed to work alright. Thanks.
- Iguleder
- Posts: 2026
- Joined: Tue 11 Aug 2009, 09:36
- Location: Israel, somewhere in the beautiful desert
- Contact:
Just put "xchm" in config/packages, that's all you need. Pdebthing will download the dependencies, you don't need to do that. That's the whole point of having such tool
Pdebthing doesn't have a log, but it does have a file named "failed.txt" that contains the names of packages it failed to download.
Pdebthing doesn't have a log, but it does have a file named "failed.txt" that contains the names of packages it failed to download.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
Ahh, so when you say this, you really mean put the name of the executable in 'packages' file. I see. Yes, that makes a lot more sense, thanks. It may be worthwhile changing this on the first post to make it perfectly clear to thickos like me !Remember, dependencies are handled automatically. You do not need to specify them, Pdebthing will detect them for you. Just put the names of the packages you want, Pdebthing will take care of the rest.
I will post the issues that came up with xchm in another thread, since they are to with that and not Pdebthing.
So as a side issue (which is unnecessary now) and just for information, how do we determine the name of the package from the dependency lists given by ldd ?
- Iguleder
- Posts: 2026
- Joined: Tue 11 Aug 2009, 09:36
- Location: Israel, somewhere in the beautiful desert
- Contact:
This isn't rocket science, I just go to packages.debian.org and search by package contents. That gives you package names according to their contents.
Usually if you see "liblol.so.9" and "librofl.so.0.0.0.0.0.1", it's librofl and liblol (just an example), but sometimes the Debian folks add numbers to the package name (for example, liblol9) so you need to search.
Usually if you see "liblol.so.9" and "librofl.so.0.0.0.0.0.1", it's librofl and liblol (just an example), but sometimes the Debian folks add numbers to the package name (for example, liblol9) so you need to search.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
Pdebthing DEB downloader and packager 005
Hi there
just found this thread, as puppy forum is sooooo big now. Wow it looks fabulous it seems there haven't been any posts for a long time what a pity.
I think what you achieved here is what others like myself have been after for a long time.
Great to be able to get a full working application with everything that is required without having to muck around trying to work out what's missing all the time.
Anyway Bouquets to you and hope this is not a project that has come to an end due to no support.
Cheers
KazzaMozz
just found this thread, as puppy forum is sooooo big now. Wow it looks fabulous it seems there haven't been any posts for a long time what a pity.
I think what you achieved here is what others like myself have been after for a long time.
Great to be able to get a full working application with everything that is required without having to muck around trying to work out what's missing all the time.
Anyway Bouquets to you and hope this is not a project that has come to an end due to no support.
Cheers
KazzaMozz
Alternative to pdebthing
For those interested, Iguleder went on to develop roar-ng, http://murga-linux.com/puppy/viewtopic.php?t=75753.
Amigo, starting earlier, and originally limiting his interest to development using only T2 binaries, developed src2pkg-2.7, http://murga-linux.com/puppy/viewtopic.php?t=76050. Src2pkg-2.7 is still in active development, and can "create packages from source code or other content. It can create packages for Slackware, KISS Linux, *.rpm packages, *.deb packages, *.taz packages for slitaz and *.pet packages for Puppy (new-style or old-style)."
mikesLr
Amigo, starting earlier, and originally limiting his interest to development using only T2 binaries, developed src2pkg-2.7, http://murga-linux.com/puppy/viewtopic.php?t=76050. Src2pkg-2.7 is still in active development, and can "create packages from source code or other content. It can create packages for Slackware, KISS Linux, *.rpm packages, *.deb packages, *.taz packages for slitaz and *.pet packages for Puppy (new-style or old-style)."
mikesLr
I know, this is an really old thread. But this tool is just to good to be buried and forgotten.
This is the steps I had to go through to make it work with tahr.
Unpack pdebthing to a folder of your choice. I found that it should live in a folder on a disk with some capacity as it does not delete downloaded deb's but rather store them in a folder called packages. So some space is required.
1: Remember to load the devx.
2: initiate cpan by issuing the command cpan in a terminal
3: Install Switch with cpan (inside cpan issue the command: install Switch ) or in the terminal: perl -MCPAN -e 'install Switch'
4: Configure ./config/preferences. Mine looks like this:
5: Run ./0setup. If somethings goes wrong you will get a file failed.txt in the folder. Check it. Make adjustments to ./config/preferences. remove *.txt and re-run.
6: Figure out the packages you want to use. This can easily be done with the command. Replace vim- with what ever your looking for.
7: Add you package list to ./config/packages
8: Run ./1download
9: Run ./2prepkg
10: Make your own custom configuration in ./sfs/stuff. Ex: add desktop files, pinstall.sh or anything
11: sun dir2sfs or dir2pet
Thanks to iguleder for making this tool
This is the steps I had to go through to make it work with tahr.
Unpack pdebthing to a folder of your choice. I found that it should live in a folder on a disk with some capacity as it does not delete downloaded deb's but rather store them in a folder called packages. So some space is required.
1: Remember to load the devx.
2: initiate cpan by issuing the command cpan in a terminal
3: Install Switch with cpan (inside cpan issue the command: install Switch ) or in the terminal: perl -MCPAN -e 'install Switch'
4: Configure ./config/preferences. Mine looks like this:
Code: Select all
# the Debian version the packages are built for
distroVersion="trusty"
repositories="http://archive.ubuntu.com/ubuntu"
sections="main universe multiverse restricted"
# the package architecture (i386/amd64)
arch="i386"
# download all packages (true) or just those that don't come with Puppy (false, the default)?
downloadInstalled="false"
6: Figure out the packages you want to use. This can easily be done with the command
Code: Select all
grep 'package: vim-' ./repo/database
7: Add you package list to ./config/packages
8: Run ./1download
9: Run ./2prepkg
10: Make your own custom configuration in ./sfs/stuff. Ex: add desktop files, pinstall.sh or anything
11: sun dir2sfs or dir2pet
Thanks to iguleder for making this tool
respect!
this puplet
http://www.murga-linux.com/puppy/viewto ... 777#842777
is crying for your adaptation!
this puplet
http://www.murga-linux.com/puppy/viewto ... 777#842777
is crying for your adaptation!
Bookmarded for translation
Bookmarked.
Translation and study can take one hour, for non english native...
2016 : Do it yourself is the rule.. compilers are few.
Translation and study can take one hour, for non english native...
2016 : Do it yourself is the rule.. compilers are few.