Since I installed quite a few "converts" , it would be good to know how to clean them up ( manpages and such). I thought I read some by trixar. Not sure though.

Clean up converted debs
(3 posts) (2 voices)-
Posted 13 years ago #
-
Well, my current method is this:
1.) Download the deb package.
2.) Use tazpkg convert on it
3.) Either right click extract here on it, or use tazpkg extract (both does exactly the same).
4.) Rename the folder to remove debian naming or package version numbering (normally after the second - in the name before the .tazpkg Example: package-1.2.3-3.2 and I just remove the -3.2 from the end)
5.) Go into the file and delete description.txt, file.list md5sum (the last two get recreated automatically)
6.) I edit the receipt and alter PACKAGE and VERSION to read correctly and similar to point 4.
7.) I go into fs/usr/share and have a look around. You can normally safely remove the man, info and menu directories since they don't get used by SliTaz at all.
8.) I then go to fs/usr/share/doc/packagename and right click on the .gz files and extract them. I normally remove the debian changelog since it's only related to the debian package.
9.) I go back to the directory I extracted the package to and type tazpkg pack package-directory (remember NOT to include the trailing / to the package-directory or tazpkg pack will fail and create a huge package if you try it again) to repack the package into tazpkg form.That's normally how I do it. Technically, the correct way with libs symlinks is to have the package create it post-install, but I've been generally too lazy to do this properly. Using the pre-created symlinks work well enough on their own - it's just trying to merge packages that it becomes a problem. I also merge external converted package requirements into the main packages now, since it's easier for other people to use those package like that. This leads to the prior problem too. You can however move said requirements with cp -a from the command line.
Posted 13 years ago # -
Veery nice how-to. Thanks for that one T ! Gonna give it a swirl.
Posted 13 years ago #
Reply
You must log in to post.