Author Topic: ISO for Packaging  (Read 7034 times)

Online JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2252
Re: ISO for Packaging
« Reply #30 on: August 23, 2012, 04:51:55 PM »
have not a clue as to what zim is but will download and see what opens it in lxde


I see this is a kde how to ..

zim=zip  (a typo ;)  )

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8821
  • Aurum nostrum non est aurum vulgi.
Re: ISO for Packaging
« Reply #31 on: August 23, 2012, 09:56:19 PM »
have not a clue as to what zim is but will download and see what opens it in lxde


I see this is a kde how to ..

zim=zip  (a typo ;)  )

JohnW

Nope. It's not a typo. it is ZIM. It is a note-taking application, a desktop wiki ... and it is what I used to create those notes.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4585
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #32 on: August 24, 2012, 04:58:09 AM »
I see this is a kde how to ..
     
You can use LXDE, too. Install pkgutils-thunar. ;)     

that is what I did.. its the only DE that my hardware can run smoothly ..now I just need to learn how to do this from scratch .. that means no knowledge at all ..  :-[ :-[
Please Donate Today..Or I Will Make You Wish You Had

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: ISO for Packaging
« Reply #33 on: August 24, 2012, 05:22:05 AM »
I see this is a kde how to ..
     
You can use LXDE, too. Install pkgutils-thunar. ;)     

that is what I did.. its the only DE that my hardware can run smoothly ..now I just need to learn how to do this from scratch .. that means no knowledge at all ..  :-[ :-[
     
That is how we all got started.     

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4585
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #34 on: August 24, 2012, 05:30:13 AM »
I see this is a kde how to ..
     
You can use LXDE, too. Install pkgutils-thunar. ;)     

that is what I did.. its the only DE that my hardware can run smoothly ..now I just need to learn how to do this from scratch .. that means no knowledge at all ..  :-[ :-[
     
That is how we all got started.     

with you guys starting from scratch I would have thought there would be better basic how too's ..
Please Donate Today..Or I Will Make You Wish You Had

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: ISO for Packaging
« Reply #35 on: August 24, 2012, 05:43:12 AM »
I see this is a kde how to ..
     
You can use LXDE, too. Install pkgutils-thunar. ;)     

that is what I did.. its the only DE that my hardware can run smoothly ..now I just need to learn how to do this from scratch .. that means no knowledge at all ..  :-[ :-[
     
That is how we all got started.     

with you guys starting from scratch I would have thought there would be better basic how too's ..
     
LOL We're too busy packaging to write. ;)     

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4585
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #36 on: August 24, 2012, 05:48:03 AM »
I see this is a kde how to ..
     
You can use LXDE, too. Install pkgutils-thunar. ;)     

that is what I did.. its the only DE that my hardware can run smoothly ..now I just need to learn how to do this from scratch .. that means no knowledge at all ..  :-[ :-[
     
That is how we all got started.     

with you guys starting from scratch I would have thought there would be better basic how too's ..
     
LOL We're too busy packaging to write. ;)     

I get that.. guess I'll just stumble around till I figure something out ... or not .  :-\
Please Donate Today..Or I Will Make You Wish You Had

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4585
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #37 on: August 24, 2012, 06:41:12 AM »
@ Archie ... this is what I get from your setup how to ..

Code: [Select]
[root@localhost scoundrel]# mkrepo -a -d PCLinuxOS -v PCLinuxOS -s pclinuxos -p scoundrel
/usr/bin/mkrepo: illegal option -- a
Usage: mkrepo [OPTION]...
Create a local repository including folder structure,
.rpmrc and .rpmmacros files, modify sources.list, and
optionally install prerequisite build packages.

Mandatory arguments to long options are mandatory for short options too.
  -d, --distribution=DIST    Distribution [PCLinuxOS]
  -s, --distsuffix=SUFFIX    Distribution suffix [pclos]
  -r, --release=YYYY         Mandriva release [2010]
  -v, --vendor=VENDOR        Vendor
  -p, --packager=NAME        Packager info
  -b, --basedir=DIR          Base folder for src tree [/root]
  -n, --noupdate             No apt-get update if installing pkgs
  -u, --usage                Display typical usage and exit
  -h, --help                 Display this help and exit

Use a - as the argument to d,s,r,v,p to remove an existing macro.
[root@localhost scoundrel]#

what am I doing wrong ?
Please Donate Today..Or I Will Make You Wish You Had

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8821
  • Aurum nostrum non est aurum vulgi.
Re: ISO for Packaging
« Reply #38 on: August 24, 2012, 07:45:55 AM »
There's no option for -a in mkrepo. The following should be enough:

mkrepo -s scoundrel -v PCLinuxOS -b /home/scoundrel
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4585
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #39 on: August 24, 2012, 07:55:03 AM »
There's no option for -a in mkrepo. The following should be enough:

mkrepo -s scoundrel -v PCLinuxOS -b /home/scoundrel

that looks like a duplicate process of when I installed the pkgutills-thunar kit ?? is it ?
Please Donate Today..Or I Will Make You Wish You Had

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8821
  • Aurum nostrum non est aurum vulgi.
Re: ISO for Packaging
« Reply #40 on: August 24, 2012, 08:10:44 AM »
There's no option for -a in mkrepo. The following should be enough:

mkrepo -s scoundrel -v PCLinuxOS -b /home/scoundrel

that looks like a duplicate process of when I installed the pkgutills-thunar kit ?? is it ?

Yep, might be. Better check both ~/.rpmmacros and ~/.rpmrc and make sure you are set correctly.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4585
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #41 on: August 24, 2012, 09:12:31 AM »
I must be doing something wrong with the instructions .. I get this trying to build a package.

Code: [Select]
[scoundrel@localhost SPECS]$ rpmbuild -ba pclos-vlc-qt.spec
error: Failed build dependencies:
libqt4-devel is needed by vlc-qt-0.6.2-3scoundrel2012.i586
vlc-devel is needed by vlc-qt-0.6.2-3scoundrel2012.i586
[scoundrel@localhost SPECS]$

guessing here that I am not connected to the repo and my settup is wrong..
Please Donate Today..Or I Will Make You Wish You Had

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1758
  • Satyameva Jayate | Truth Alone Triumphs.
Re: ISO for Packaging
« Reply #42 on: August 24, 2012, 09:23:01 AM »
I see this is a kde how to ..
     
You can use LXDE, too. Install pkgutils-thunar. ;)     


that is what I did.. its the only DE that my hardware can run smoothly ..now I just need to learn how to do this from scratch .. that means no knowledge at all ..  :-[ :-[
     
That is how we all got started.     


with you guys starting from scratch I would have thought there would be better basic how too's ..


Please do update the http://www.pclinuxoshelp.com/index.php/Packaging_for_PCLinuxOS guide from your perspective. A person who has recently traveled the path will be a good teacher for a novice.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8821
  • Aurum nostrum non est aurum vulgi.
Re: ISO for Packaging
« Reply #43 on: August 24, 2012, 09:35:56 AM »
I must be doing something wrong with the instructions .. I get this trying to build a package.

Code: [Select]
[scoundrel@localhost SPECS]$ rpmbuild -ba pclos-vlc-qt.spec
error: Failed build dependencies:
libqt4-devel is needed by vlc-qt-0.6.2-3scoundrel2012.i586
vlc-devel is needed by vlc-qt-0.6.2-3scoundrel2012.i586
[scoundrel@localhost SPECS]$

guessing here that I am not connected to the repo and my settup is wrong..

You have to install those dependencies ... a right click on the SPEC should have something in the effect of "Install Dependencies".

My way would be to open a console and (with sudo) apt-get install libqt4-devel vlc-devel ...

The command will install all the required packages needed to build vlc-qt with the command rpmbuild -ba pclos-vlc-qt.spec.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4585
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #44 on: August 24, 2012, 09:51:07 AM »
I must be doing something wrong with the instructions .. I get this trying to build a package.

Code: [Select]
[scoundrel@localhost SPECS]$ rpmbuild -ba pclos-vlc-qt.spec
error: Failed build dependencies:
libqt4-devel is needed by vlc-qt-0.6.2-3scoundrel2012.i586
vlc-devel is needed by vlc-qt-0.6.2-3scoundrel2012.i586
[scoundrel@localhost SPECS]$

guessing here that I am not connected to the repo and my settup is wrong..

You have to install those dependencies ... a right click on the SPEC should have something in the effect of "Install Dependencies".

My way would be to open a console and (with sudo) apt-get install libqt4-devel vlc-devel ...

The command will install all the required packages needed to build vlc-qt with the command rpmbuild -ba pclos-vlc-qt.spec.

I know I need to do that, just thought the program should handle the whole build process....

so after every package built + added dependencies installed is my build environment tainted ? do the dependencies install to the root of my install ? 
Please Donate Today..Or I Will Make You Wish You Had