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 3 of 11 12 3 45 Last »
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 28-Aug-2009, 21:11
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,700
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
That's great malcolm, thanks!! Unfortunatelly i will be off to germany
for about two weeks so i won't be able to do anything with that, THANK
YOU ONCE AGAIN!!
Hi
I have updated the source (yet again) build for chrome this
evening, it's now at 4.0.204 as well
<http://www.fileden.com/files/2009/4/6/2393623/RPMs/openSUSE_11_1/google-chrome-unstable-4.0.204-svn20090828.1.src.rpm>
<http://www.fileden.com/files/2009/4/6/2393623/RPMs/openSUSE_11_1/google-chrome-unstable-4.0.204-svn20090828.1.x86_64.rpm>

Updated spec file;
<http://www.nopaste.com/p/aChawZ6Geb>

Also updated depot_tools, softlink changed which only discovered
after I had reboot this system....
<http://www.fileden.com/files/2009/4/6/2393623/RPMs/openSUSE_11_1/depot_tools-1.0-2.1.noarch.rpm>
<http://www.fileden.com/files/2009/4/6/2393623/RPMs/openSUSE_11_1/depot_tools-1.0-2.1.src.rpm>

Updated spec file;
<http://www.nopaste.com/p/arEBvsjiw>

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 22:47, 3 users, load average: 0.20, 0.20, 0.18
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #22 (permalink)  
Old 01-Sep-2009, 17:37
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,700
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?

Hi
I have updated the source (yet again) build for chrome today, it's now
at 4.0.205 as well as including the new 0.9.7 build of
gecko-mediaplayer plugins;

<http://www.fileden.com/files/2009/4/6/2393623/RPMs/openSUSE_11_1/google-chrome-unstable-4.0.205-svn20090901.1.x86_64.rpm>
<http://www.fileden.com/files/2009/4/6/2393623/RPMs/openSUSE_11_1/google-chrome-unstable-4.0.205-svn20090901.1.src.rpm>

Updated spec file;

<http://www.nopaste.com/p/aSXB5bYv3>


--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 4 days 19:31, 2 users, load average: 0.11, 0.14, 0.07
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #23 (permalink)  
Old 01-Sep-2009, 18:29
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 33
dbuck hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

Hi malcolmlewis,

I have been building chromium as well, and I have taken parts of your SPEC file (I hope that is ok, you did some things smarter than I.) I am using gyp to generate all the project make files, so I don't need the depot_tools.

I am wondering if you know how to make gyp generate the make files so I can use the LSB dir structure (i.e. /usr/lib, /usr/share, /usr/bin, etc.) and specify a different library directory.

Specifically, I want the chrome binary to use look for the libavcodec.so.52 in another directory other than itself so I can satisfy rpmlint FHS checks. (The libavcodec I use is completely crippled so as to only play open/unemcumbered codecs.)

I don't know if this can be done... chromium is a complicated project.

My OBS project is here, if you want to take a look:

https://build.opensuse.org/package/s...ect=home:dbuck
Reply With Quote
  #24 (permalink)  
Old 01-Sep-2009, 21:31
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,700
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 dbuck
Hi malcolmlewis,

I have been building chromium as well, and I have taken parts of your
SPEC file (I hope that is ok, you did some things smarter than I.) I am
using gyp to generate all the project make files, so I don't need the
depot_tools.

I am wondering if you know how to make gyp generate the make files so I
can use the LSB dir structure (i.e. /usr/lib, /usr/share, /usr/bin,
etc.) and specify a different library directory.

Specifically, I want the chrome binary to use look for the
libavcodec.so.52 in another directory other than itself so I can satisfy
rpmlint FHS checks. (The libavcodec I use is completely crippled so as
to only play open/unemcumbered codecs.)

I don't know if this can be done... chromium is a complicated
project.

My OBS project is here, if you want to take a look:

http://tinyurl.com/ndox9m
ndox9m ->
https://build.opensuse.org/package/s...ect=home:dbuck
Hi
Had a quick look and see what your trying to achieve and will try an
have a look in the next day or so I haven't used scons much at all.

Yes, the depot tools are for just updating the source.

You may also want to look at bz2ing those files to reduce the size

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 4 days 23:43, 2 users, load average: 0.12, 0.09, 0.16
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #25 (permalink)  
Old 01-Sep-2009, 22:09
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 33
dbuck hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

Thanks.

I still use 'make'... seems to be faster than 'scons'.

The source is enormous. I took the tarball that google provides, then I removed all the .svn directories and data. I then just compressed it again. Another question: do you know if the build service will allow for a 7z or lzma source? Recompressing it resulted in the following:

tar.gz ~438 MB
tar.bz2 ~384
7z (lzma) ~285 MB

lzma is the clear winner; it would be nice to use it for sources. But, I will use bz2 from now on if there is no alternative, it just takes a long time to compress and decompress.

Oh. And I guess I don't really need to have libavcodec... it was just an exercise to see if I could get it working. The video works just fine although sound is a bit choppy (maybe it's conflicting with already system-installed ffmpeg libraries.)

Thanks again,
D
Reply With Quote
  #26 (permalink)  
Old 02-Sep-2009, 10:16
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,700
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 dbuck
Thanks.

I still use 'make'... seems to be faster than 'scons'.

The source is enormous. I took the tarball that google provides, then
I removed all the .svn directories and data. I then just compressed it
again. Another question: do you know if the build service will allow
for a 7z or lzma source? Recompressing it resulted in the following:

tar.gz ~438 MB
tar.bz2 ~384
7z (lzma) ~285 MB

lzma is the clear winner; it would be nice to use it for sources. But,
I will use bz2 from now on if there is no alternative, it just takes a
long time to compress and decompress.

Oh. And I guess I don't -really- need to have libavcodec... it was
just an exercise to see if I could get it working. The video works just
fine although sound is a bit choppy (maybe it's conflicting with already
system-installed ffmpeg libraries.)

Thanks again,
D
Hi
There's no reason not to use lmza, instead of using the setup macro,
just replace that with your commands to extract the source.

I'm also guessing you have seen this?
http://en.opensuse.org/Application_Black_List

It may be worth asking on the OBS mailing list eventhough you have
stripped out codecs from ffmpeg, it may still not be allowed?

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 5 days 12:26, 2 users, load average: 2.15, 2.17, 1.41
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #27 (permalink)  
Old 02-Sep-2009, 11:32
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 33
dbuck hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

Ah yes. I will just not use the %setup macro, then. For some reason, I thought it was required...

Yes. I have seen the application black list. I decided to turn publish off for my package because I still wasn't sure if I was crossing the line, even if I crippled ffmpeg almost completely. I will try and ask the mailing list.

Thanks again,
D
Reply With Quote
  #28 (permalink)  
Old 02-Sep-2009, 11:39
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,700
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 dbuck
Ah yes. I will just not use the %setup macro, then. For some reason, I
thought it was required...

Yes. I have seen the application black list. I decided to turn
publish off for my package because I still wasn't sure if I was crossing
the line, even if I crippled ffmpeg almost completely. I will try and
ask the mailing list.

Thanks again,
D
Hi
I think once you get confirmation then it's probably worthwhile you and
Bender working together and I can help as required

What desktop are you using? Have you tried the gecko-mediaplayer
plugins at all?

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 5 days 13:53, 2 users, load average: 0.02, 0.05, 0.12
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
  #29 (permalink)  
Old 02-Sep-2009, 13:56
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 33
dbuck hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

Ok,

I spoke with darix (one of the OBS content admins) on #openSUSE-buildservice.

He said that to make it 'safe' as far as openSUSE is concerned, I would have to strip the ffmpeg source, before compiling, of any code that might deal with the encumbered codecs. I would then have to submit the stipped source tarball for review. He mentioned that is what they do to xine before including it in the distribution.

I think I would rather focus my energies on chromium instead of ffmpeg at the moment. I have a SPEC file to clean up now....

D
Reply With Quote
  #30 (permalink)  
Old 03-Sep-2009, 08:38
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,700
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?

Hi
Updated the depot_tools to 1.0-3.1 to include the linking of the fonts
and added BuildRequires for the fonts.

<http://www.fileden.com/files/2009/4/6/2393623/RPMs/openSUSE_11_1/depot_tools-1.0-3.1.noarch.rpm>
<http://www.fileden.com/files/2009/4/6/2393623/RPMs/openSUSE_11_1/depot_tools-1.0-3.1.src.rpm>

Updated spec file;
<http://www.nopaste.com/p/alQpKvmgq>

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 14:30, 2 users, load average: 0.10, 0.25, 0.95
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Reply With Quote
Reply
Page 3 of 11 12 3 45 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