SliTaz SliTaz Forum

You are not logged in.

#1 2012-11-08 11:00:29

HMA
Member
Registered: 2011-08-05
Posts: 73

How To make a own tazpkg ??

Hi Volks... i run SliTaz40 on my Acer AOE255. After some time, i've get my webcam to work. Thanks the forum here smile !!

But i dont found a good webcam software. So i grabbed all needed libs and bins for GUVCVIEW from ubunutu packages and copyed it to my Slitaz filesystem. And so i get GUVCVIEW for my webcam to work smile

Now i want to create a package from these files to share it with the community ... but HOW can i do that??

Can anybody tell me??

Mike

Offline

#2 2012-11-08 12:07:35

tropetre
Member
Registered: 2012-07-06
Posts: 79

Re: How To make a own tazpkg ??

http://doc.slitaz.org/en:cookbook:start

Offline

#3 2012-11-08 13:18:32

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: How To make a own tazpkg ??

Yup ... thank you ... i found this already ... i thought by myself mybe there is a easy way ... however .. now i wrote a recipt and a file list .... and packed it with tazpkg.

i Think the package should work .... is it possible to upload the package here in the forum anywhere?

Offline

#4 2012-11-08 14:29:01

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: How To make a own tazpkg ??

No, create a list of files is not necessary. It creates tazpkg when creating the package.

Yes, your package can be attached to a post here on the forum (≤ 500 KB).

Offline

#5 2012-11-08 14:38:23

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: How To make a own tazpkg ??

Well, there is also the tazpkg commands convert, extract and pack which can be used to make packages. I use it more than the cook method.

My method normally uses the next steps:

1. Download the Debian package of the program I want.

2. Open Sakura and cd to the directory with the package in it.

3. Type tazpkg convert package-name.deb - Note: You do not need to be root for this to work.

4. After it's converted to a tazpkg file, I right click it and extract it. Now you'll have a folder with the package contents in it. You may want to rename it to remove debian version number adds (numbers after the "-" in the version number)

5. Go Into the folder and delete description.txt, files.list and md5sum files - they get recreated at the pack stage.

6. Edit the receipt and delete the SIZE lines. Change the VERSION line to match your folder name and change MAINTAINER to your email address. Keep this file open because we may come back to it.

7. Enter the fs folder now. Go to fs/usr/share - you generally don't need the docs, menu, man and info folders so you can just go ahead and delete them.

8. Now go all the way back to the main directory (that contains the package folder) in Sakura and type tazpkg pack package-folder-name WITHOUT the trailing /. It should pack your new package. Note: You don't need to be root to do this either.

9. Now install your new package. Test if it works by running it from Sakura. It should lead you to missing dependancies which you may have to convert using the same trick.

10. Keep going until it works or forces you to convert more than 5 dependancies. If it needs more than 5 dependancies coverts then it's probably not going to work.

There's more to it, but that should get you going.

Offline

#6 2012-11-08 16:19:09

tropetre
Member
Registered: 2012-07-06
Posts: 79

Re: How To make a own tazpkg ??

Sorry for the short post... Was at school and had no time for a proper reply tongue

Offline

#7 2012-11-08 19:04:46

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: How To make a own tazpkg ??

Hi Tropetre ..  thank you for your answer... i tryed out to convert uvcview form a debian package. But .... there was always a error. So i extract all needed bins and libs from the debian packages. But i dont understand how to make a package from a pure folder.

i had already copied all files to my slitaz to check out the function. So i made a package-directory in the "/var/lib/tazpkg/installed". Made a file list (@Aleksej on this methode i needed them) an a receipt and created a new tazpkg-package with tazpkg pack [packagename] ...

smile

The guvcview package has a 2.2Mb Size ... i cant upload it here.

At Time i work to translate a webradio/webTv app from puppy-linux (pupradio) to Slitaz because i cant find a GTK-GUI Webradio. At time i have to rewrite some code-lines ... but it seems i get it to work. Where can i upload the packages?

Offline

#8 2012-11-08 20:13:13

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: How To make a own tazpkg ??

I use box.net for the big packages I have like Firefox.

Offline

#9 2012-11-09 07:30:32

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: How To make a own tazpkg ??

Hi Trixar_za .. thanks for the Info ... i will upload the packages today evening ... because at time i am behind a proxy and i a ony have restricted access.

Offline

#10 2012-11-10 09:24:30

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: How To make a own tazpkg ??

Hi Volks .... here are the packages:

tazradio:

https://www.box.com/s/123ouj7ywqizv4tkf9xi

guvcview:

https://www.box.com/s/j6dvkf4inkhev9gksy4c

Offline

#11 2012-11-10 22:03:57

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: How To make a own tazpkg ??

... and here i have repacked get-flash-plugin. Now you can start it from StartMenü (Multimedia) and Flash-Player-Properties are also added to menu

https://www.box.com/s/bf0sd4po3lgpv4pbp008

... and Angry-IP a IP Scanner GUI

https://www.box.com/s/vfeg430xm9kov02i549q

Offline

#12 2012-11-12 16:22:32

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: How To make a own tazpkg ??

... ok ... the next one.

Because i didnt get remmina to work with vnc and rdp i packed gdrc. is guess its a earlyer version of remmina. how ever ... it works with vnc rdp  ...

https://www.box.com/s/pf77d42xty08txmv1qrs

Offline

#13 2012-12-07 10:21:19

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: How To make a own tazpkg ??

... overworked the get-flash-plugin package ....

now it can be started from menu as user too !

https://www.box.com/s/bf0sd4po3lgpv4pbp008

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]