This is for new development and discussions.

Moderators: slax, siamer

PCLinuxOS RPM packaging crash-course

Postby slax » Fri Aug 19, 2011 9:13 am

First use separate install for packaging (that is the best way). You can do it using VirtualBox.
Use one of the following isos:

Use PCLinuxOS-MiniMe-2011 and install task-packaging-kde4.

or --->>

Use PCLinuxOS-LXDE-Mini-2011 and install pkgutils-thunar.
or
Use PCLinuxOS-XFCE-2011 and install pkgutils-thunar.
or
Use the latest PCLinuxOS-ZenMini ISO.

Next be sure to read this thread and texts within it:
http://www.pclinuxos.com/forum/index.ph ... 085.0.html

And in the end you should follow common pclos standards for the package:
http://www.pclinuxos.com/forum/index.ph ... 165.0.html

***links fixed
slax
User avatar
Site Admin
Site Admin
 
Posts: 724
Joined: Wed Aug 18, 2010 2:55 pm
Location: ...somewhere out in space...

Re: PCLinuxOS RPM packaging crash-course

Postby Dragynn » Fri Aug 19, 2011 6:22 pm

bad links homey, could you re-post them?
Image
Dragynn
User avatar
Hero Member
Hero Member
 
Posts: 1018
Joined: Sat Oct 23, 2010 4:36 pm
Location: Deep in the heart o' Texas

Re: PCLinuxOS RPM packaging crash-course

Postby mmesantos1 » Fri Aug 19, 2011 7:43 pm

Ok Slax I go to install the needed pkgutils and missing dependencies, same issue when I was trying with the KDE-Mini, unable to create build environment. What can I do to correct this Slax. :?: :shock:

Error:
Image

Image
Image
mmesantos1
User avatar
Full Member
Full Member
 
Posts: 67
Joined: Thu Mar 12, 2009 5:44 pm
Location: Virginia, USA

Re: PCLinuxOS RPM packaging crash-course

Postby slax » Sat Aug 20, 2011 3:56 am

well, looks like noone fixed these packages yet :shock:
after the RPM update, packaging scripts were unusable, and i thought someone fixed it by now....

Ok, i'll look into it, and post back. We need to be patient for a while :wink:

UPDATE:
Packaging scripts are broken :/
http://www.pclinuxos.com/forum/index.ph ... 708.0.html

We could do all the commands by hand, but it's painfull... we should wait a bit, and i'll see if i can do something about it.
slax
User avatar
Site Admin
Site Admin
 
Posts: 724
Joined: Wed Aug 18, 2010 2:55 pm
Location: ...somewhere out in space...

Re: PCLinuxOS RPM packaging crash-course

Postby ongoto » Sat Aug 20, 2011 5:01 am

I think you can add the unstable section to the end of your selected repo line and reload synaptic. That should bring in your dependencies.
Image
--Only a penguin could make a nest out of some rocks--
--Twitter--
--An eternal gem ala Joble--
ongoto
User avatar
Hero Member
Hero Member
 
Posts: 960
Joined: Sun Mar 01, 2009 12:53 pm
Location: California, USA

Re: PCLinuxOS RPM packaging crash-course

Postby slax » Sat Aug 20, 2011 6:46 am

You're correct, but when you install it, the rpm commands are different...

with previous rpm version, cmd for building specfile was -ba, and now it doesn't work (should be -buildall or something...)
slax
User avatar
Site Admin
Site Admin
 
Posts: 724
Joined: Wed Aug 18, 2010 2:55 pm
Location: ...somewhere out in space...

Re: PCLinuxOS RPM packaging crash-course

Postby ongoto » Sat Aug 20, 2011 7:38 am

Texstar announced some changes a while back. Does this not work?

http://www.pclinuxos.com/forum/index.php/topic,92563.0.html
Image
--Only a penguin could make a nest out of some rocks--
--Twitter--
--An eternal gem ala Joble--
ongoto
User avatar
Hero Member
Hero Member
 
Posts: 960
Joined: Sun Mar 01, 2009 12:53 pm
Location: California, USA

Re: PCLinuxOS RPM packaging crash-course

Postby slax » Sat Aug 20, 2011 7:47 am

no. new command is "rpmbuild" not just "rpm"
slax
User avatar
Site Admin
Site Admin
 
Posts: 724
Joined: Wed Aug 18, 2010 2:55 pm
Location: ...somewhere out in space...

Re: PCLinuxOS RPM packaging crash-course

Postby mmesantos1 » Sat Aug 20, 2011 2:45 pm

slax wrote:well, looks like noone fixed these packages yet :shock:
after the RPM update, packaging scripts were unusable, and i thought someone fixed it by now....

Ok, i'll look into it, and post back. We need to be patient for a while :wink:

UPDATE:
Packaging scripts are broken :/
http://www.pclinuxos.com/forum/index.ph ... 708.0.html

We could do all the commands by hand, but it's painfull... we should wait a bit, and i'll see if i can do something about it.


Ok Slax I will stand by until you give the go ahead. :)
Image
mmesantos1
User avatar
Full Member
Full Member
 
Posts: 67
Joined: Thu Mar 12, 2009 5:44 pm
Location: Virginia, USA

Re: PCLinuxOS RPM packaging crash-course

Postby mmesantos1 » Sun Aug 28, 2011 1:23 pm

Hi Slax, just checking in to see how the progress is going on the packages needed for the build environment. :D
Image
mmesantos1
User avatar
Full Member
Full Member
 
Posts: 67
Joined: Thu Mar 12, 2009 5:44 pm
Location: Virginia, USA

Re: PCLinuxOS RPM packaging crash-course

Postby slax » Sun Aug 28, 2011 1:50 pm

I'm finishing new alpha iso in a couple of days, and i'll also post fix to addpkg
stay tuned :)
slax
User avatar
Site Admin
Site Admin
 
Posts: 724
Joined: Wed Aug 18, 2010 2:55 pm
Location: ...somewhere out in space...

Re: PCLinuxOS RPM packaging crash-course

Postby mmesantos1 » Sun Aug 28, 2011 2:29 pm

Ok Slax and thanks for the response. :D
Image
mmesantos1
User avatar
Full Member
Full Member
 
Posts: 67
Joined: Thu Mar 12, 2009 5:44 pm
Location: Virginia, USA

Re: PCLinuxOS RPM packaging crash-course

Postby slax » Fri Sep 09, 2011 11:05 am

Sorry for the long time-out, but i'm really busy with my day job.
Ok we should continue :)

To install pkgutils-thunar or pkgutils-kde, add "unstable" section in repos.
you do this by going to (in synaptic):
settings -> repositories -> then click on the chosen repo -> under "section(s)" add "unstable"

After that we start to package! xD
slax
User avatar
Site Admin
Site Admin
 
Posts: 724
Joined: Wed Aug 18, 2010 2:55 pm
Location: ...somewhere out in space...

Re: PCLinuxOS RPM packaging crash-course

Postby mmesantos1 » Sun Sep 11, 2011 3:13 pm

Hi Slax,
Was just wondering what you would think of a Light Theme? Here is an example of what I mean. :)

Image
Large Image: https://lh6.googleusercontent.com/-MV1D ... shot-1.png
Image
Large Image: https://lh4.googleusercontent.com/-xfVb ... enshot.png
Image
mmesantos1
User avatar
Full Member
Full Member
 
Posts: 67
Joined: Thu Mar 12, 2009 5:44 pm
Location: Virginia, USA

Re: PCLinuxOS RPM packaging crash-course

Postby Dragynn » Mon Sep 12, 2011 6:53 am

mmesantos1 wrote:Hi Slax,
Was just wondering what you would think of a Light Theme? Here is an example of what I mean. :)

Image
Large Image: https://lh6.googleusercontent.com/-MV1D ... shot-1.png
Image
Large Image: https://lh4.googleusercontent.com/-xfVb ... enshot.png


Beautiful work Mmesantos! :D
Image
Dragynn
User avatar
Hero Member
Hero Member
 
Posts: 1018
Joined: Sat Oct 23, 2010 4:36 pm
Location: Deep in the heart o' Texas

Next
Forum Statistics

Who is online

Users browsing this forum: No registered users and 2 guests

Options

Return to Developer's board