Make a pBuild

This section is designed for your 'porteus build scripts' which create Porteus modules for your favorite applications. Scripts should work like the well-known 'SlackBuilds' with minimum user interaction.
User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Make a pBuild

Post#1 by Hamza » 23 Feb 2011, 21:11

Hello,

I have no idea for pBuild script . If you have an needed application for x86_64 or for i486 .

Please post your needed apps in this thead ONLY

Please, respect the rules of brokenman on Build of script
NjVFQzY2Rg==

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: Make a pBuild

Post#2 by rnport » 01 May 2011, 14:40

I am new to porteus. What is the best way to add modules (say google-chrome) to porteus: downloading slax module and converting to sq4.lzm or by using a pBuild ?

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Make a pBuild

Post#3 by Hamza » 01 May 2011, 14:46

Sorry , you need compile your own module from slackware pkg , please don't use Slax (sq3) modules.

and , now , the new extension is lzm , in next version , all modules will compressed with XZM extension (best)
NjVFQzY2Rg==

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: Make a pBuild

Post#4 by rnport » 01 May 2011, 16:26

Can I compile source.tar.gz by using src2pkg ; what options should I use or should I use src2pkg without any option.

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Make a pBuild

Post#5 by Hamza » 01 May 2011, 17:07

Sorry , I don't use src2pkg , I can't help you.
NjVFQzY2Rg==

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: Make a pBuild

Post#6 by rnport » 01 May 2011, 17:11

Where can I find pbuilds for porteus- in this forum posts only or is there a constant link?

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Make a pBuild

Post#7 by Hamza » 01 May 2011, 17:18

I'm the only developper of pBuild script , if you have some pBuild , please share them.
NjVFQzY2Rg==

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: Make a pBuild

Post#8 by rnport » 01 May 2011, 17:36

Thanks for all the information. I am not a linux expert and I do not know how to write a pBuild. I am a user and I am very impressed with porteus and I wish to add more packages to it. If I download tgz files from linuxpackages.net and convert them to lzm with tgz2lzm, will they work OK ?

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Make a pBuild

Post#9 by Hamza » 01 May 2011, 17:46

If you download a slackware packages , you can convert it to lzm , and you will be able to use it just after activated it.
NjVFQzY2Rg==

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Make a pBuild

Post#10 by Ahau » 01 May 2011, 23:06

rnport wrote:Thanks for all the information. I am not a linux expert and I do not know how to write a pBuild. I am a user and I am very impressed with porteus and I wish to add more packages to it. If I download tgz files from linuxpackages.net and convert them to lzm with tgz2lzm, will they work OK ?
One thing to add to what Hamza wrote --

Depending on the package, you may also need to download and convert dependency packages in order for your desired package to work. Often, you will have more dependencies to install that you would with a typical slackware installation, because porteus has been stripped of many packages that are not needed for the core porteus applications. I recommend getting familiar with the 'slackyd' tool, included by default with porteus. It is run from the command line (try 'man slackyd' for more info), and will search for missing dependencies and the packages that contain them. If you run into issues, feel free to post in the "lzm module request" portions of the forum for more help from the community :)
Please take a look at our online documentation, here. Suggestions are welcome!

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: Make a pBuild

Post#11 by rnport » 02 May 2011, 00:59

I will post to "lzm module request" section. I googled to find out more about pBuild. There are several sites - which one should I see? Basically I want to know whether pBuilds download dependencies as well? Whether they make a module or install the package straight into the system? And whether they use slackware 13.1 packages for porteus? Thanks for your help.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Make a pBuild

Post#12 by Ahau » 02 May 2011, 02:37

I may be mistaken, but I believe in this case, pbuild stands for 'porteus build', which is a script written for porteus, to download and install a program plus dependencies in porteus. Scripts you find elsewhere are not likely to work in porteus...but something written for slackware might work, with some modifications and additions.

pbuilds for porteus create an lzm (or xzm, for V1.0) module, that can be stored in /porteus/modules or /porteus/modules on your storage media, for future use.
Please take a look at our online documentation, here. Suggestions are welcome!

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: Make a pBuild

Post#13 by rnport » 02 May 2011, 04:54

From where can I download pbuild script?

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Make a pBuild

Post#14 by Hamza » 02 May 2011, 04:56

1)Copy 'n Paste , the scripts in the topic pBuild Script (e.g:Firefox).
2)Save it in one text file
3Make it executable
4)Execute it in the terminal.
NjVFQzY2Rg==

User avatar
bigbass
Contributor
Contributor
Posts: 151
Joined: 13 Jan 2012, 14:35
Distribution: slackware 14

Re: Make a pBuild

Post#15 by bigbass » 17 Jan 2012, 15:45

Hey Hamza


it isnt like a standard slackbuild script because it's a bit different
the development is quick with new updates frequently so packaging it the standard way is not
a good thing to do

what this script does is download and compile "the compiler"
the way I wrote the script it will always build you the most recent version
and install it in the correct directories setting a standard
that is currently used by BaCon developers
if this isnt the correct place to post this please remove it
or make it into a correct pbuild following Porteus rules

note I tested the script on Porteus and tested the binary to be working correctly



Thanks Joe
Last edited by bigbass on 28 Jan 2012, 06:10, edited 1 time in total.

Post Reply