openSUSE Forums > openSUSE Build Service (OBS) » Building chromium, how to pack it into rpm?

Go Back   openSUSE Forums > openSUSE Build Service (OBS)
Forums FAQ Members List Search Today's Posts Mark Forums Read


openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service

Reply
Page 1 of 11 1 23 Last »
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22-Aug-2009, 15:19
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,655
BenderBendingRodriguez hasn't been rated much yet
Default Building chromium, how to pack it into rpm?

I recently downloaded at last chromium svn (bloody 2.5GB of data), i can succesfully build it for both architectures, how can i pack it into an rpm file?

I build it with make -r -j4 chrome BUILDTYPE=Release, the output goes to a folder out/Release/ , in that folder i'd like to omit the obj/ folder (lots of files, size of hundreds of MiB). How can i make an rpm from that?

I'd like to publish it for people to test out the chromium build but i don't know at all how to build bloody rpm or spec file. Any help would be appreciated please.
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #2 (permalink)  
Old 23-Aug-2009, 21:23
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,637
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: Building chromium, how to pack it into rpm?

Quote:
Originally Posted by BenderBendingRodriguez
I recently downloaded at last chromium svn (bloody 2.5GB of data), i can
succesfully build it for both architectures, how can i pack it into an
rpm file?

I build it with make -r -j4 chrome BUILDTYPE=Release, the output goes
to a folder out/Release/ , in that folder i'd like to omit the obj/
folder (lots of files, size of hundreds of MiB). How can i make an rpm
from that?

I'd like to publish it for people to test out the chromium build but i
don't know at all how to build bloody rpm or spec file. Any help would
be appreciated please.
Hi
So I've downloaded the tarball (840MB) and am just syncing it as per
this <http://dev.chromium.org/developers/how-tos/get-the-code> in a
11.1 64bit vmware machine. Once I get the code down, will look at rest
of the building process to identify your buildrequires etc

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 3 days 9:20, 2 users, load average: 0.31, 0.67, 0.48
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #3 (permalink)  
Old 23-Aug-2009, 21:56
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,655
BenderBendingRodriguez hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

Thanks for help, on the other hand i am trying to build an rpm with checkinstall I wonder what will be the outcome of that experiment
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #4 (permalink)  
Old 23-Aug-2009, 22:16
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,637
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: Building chromium, how to pack it into rpm?

Quote:
Originally Posted by BenderBendingRodriguez
Thanks for help, on the other hand i am trying to build an rpm with
checkinstall I wonder what will be the outcome of that experiment
Hi
No worries, it should also be noted that there will be a need to
package up the depot tools as an rpm as well

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 3 days 10:15, 2 users, load average: 0.36, 0.88, 0.93
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #5 (permalink)  
Old 23-Aug-2009, 22:34
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,655
BenderBendingRodriguez hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

Hmm, i managed to create nice package with checkinstall
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #6 (permalink)  
Old 23-Aug-2009, 22:59
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,655
BenderBendingRodriguez hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

I found out how to nicely make an rpm from a folder or anything.

checkinstall --exclude=/ --inspect make (issue it anywhere where you have to use the make command), after that it will take You to vi where you can specify of what and where include in that rpm )
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #7 (permalink)  
Old 23-Aug-2009, 23:03
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,637
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: Building chromium, how to pack it into rpm?

Quote:
Originally Posted by BenderBendingRodriguez
Hmm, i managed to create nice package with checkinstall
Hi
Good going, so what does the spec file look like?

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 3 days 10:56, 2 users, load average: 4.91, 4.25, 2.83
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #8 (permalink)  
Old 23-Aug-2009, 23:16
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,655
BenderBendingRodriguez hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

It didn't create any spec files i guess.

If it will ease it up i could create an rpm file for those depot tools if you want. Where would you like them to be installed on the system?

I know it's a bit against "normal" builds but i guess it will be faster than to write extensive spec files for those depot tools. I could create an rpm file for source too, just tell me where should they be installed after rpm -i on OBS.
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #9 (permalink)  
Old 24-Aug-2009, 00:05
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,637
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: Building chromium, how to pack it into rpm?

Quote:
Originally Posted by BenderBendingRodriguez
It didn't create any spec files i guess.

If it will ease it up i could create an rpm file for those depot tools
if you want. Where would you like them to be installed on the system?

I know it's a bit against "normal" builds but i guess it will be faster
than to write extensive spec files for those depot tools. I could create
an rpm file for source too, just tell me where should they be installed
after rpm -i on OBS.
Hi
Just a query on the libX11, did you install the 32bit libraries as per
<http://code.google.com/p/chromium/wiki/LinuxBuild64Bit>?
It barfed on the building at xdisplay checks, so added the --keep-going
option to skip over the error.

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 3 days 12:01, 2 users, load average: 1.72, 0.84, 0.85
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #10 (permalink)  
Old 24-Aug-2009, 00:10
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,655
BenderBendingRodriguez hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

I didn't install 32 bit libraries yet as i didn't build 32 bit packages but yes, i installed what has been proposed. I will start building both packages if that helps
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
Reply
Page 1 of 11 1 23 Last »

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2