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 11 of 11 « First 910 11
 
LinkBack Thread Tools Display Modes
  #101 (permalink)  
Old 06-Oct-2009, 11:30
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,711
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

> @dbuck, I'm assuming that you just modified the src/DEPS file?


Correct. (which you already found.) I cheated and made sure to put in
revision 823.

D
Hi
Yes, that's what I did as well as modifying the .gclient file to get
native_src. Thanks for the heads-up on that one

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 3 days 3:35, 2 users, load average: 0.09, 0.07, 0.08
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Reply With Quote
  #102 (permalink)  
Old 06-Oct-2009, 21:49
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,711
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

> @dbuck, I'm assuming that you just modified the src/DEPS file?


Correct. (which you already found.) I cheated and made sure to put in
revision 823.

D
Hi
I see you got a mention in this weeks newsletter as well
Congratulations

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

Reply With Quote
  #103 (permalink)  
Old 07-Oct-2009, 00:20
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?

Quote:
Hi
I see you got a mention in this weeks newsletter as well
Congratulations
Wow! You're right! I think I need to read the news more often...

Well... I can only say thanks to you for helping me be famous.

/removefamegoingtomyheadihope

Back to chromium:

My SPEC file is continuing on its course to being an abomination.

I was asked to help out with chromium package at openSUSE:Factory:Contrib project. OBS user prusnak asked me. He based the package on a redhat one found somewhere. It had many patches to make chromium use more of the system shared libraries.

I re-did several of the patches, removed some, add a new one by OBS user jhaygood, etc.

One thing to note: using the patch alone reduces the chrome binary by 14MB or so. (This was the one by jhaygood.)

That's all for now.

D

Edit: it failed! the Contrib project didn't compile. /me is sad. Back to patching.
Reply With Quote
  #104 (permalink)  
Old 07-Oct-2009, 10:37
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?

Edit to above:

Using the ICU patch reduces the chrome executable by about 14MB or so.

Also, I get this error from a Factory build now:

Code:
CXX /usr/src/packages/BUILD/chromium/src/out/Release/obj/printing/image.o
cc1plus: warnings being treated as errors
cc1plus: error: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
make: *** [/usr/src/packages/BUILD/chromium/src/out/Release/obj/printing/image.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.ZIuwo1 (%build)
I didn't get the "-Wmissing-prototypes" error before. I am still checking to see if something in the chromium code changed since my last release in Factory; but, could it be that something with gcc changed in the buildservice?

D
Reply With Quote
  #105 (permalink)  
Old 10-Oct-2009, 00:53
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?

solved my "-Wmissing-prototypes" problem: A GYP file was calling 'icu-config --cflags', which on a gcc44 system was putting the bad flag in the Make files. Due to a bad patch (my fault.)

chromium-browser is now, finally, under the openSUSE:Factory:Contrib project for 11.1 and Factory (under package 'chromium'.) I still have it in my repo for 11.0, 11.1, and factory.

Patches and SPEC file changes have now been added to make chromium use
zlib, libpng, bzip2, libjpeg, libxml, libxslt from the system; mozilla-nss, mozilla-nspr was recently defaulted to the system's; and in openSUSE 11.1 and higher, use system's libicu as well. I also made sure ffmpeg libraries (for all systems) are being removed before uploading the source.

Updated to 4.0.222.2.svn28528. Still building in my repo... I haven't got the whole build-at-home-and-then-upload thing down yet.

D

P.S. I think I love 'osc build'. After the learning curve it is great!

Last edited by dbuck; 10-Oct-2009 at 00:53. Reason: tags don't work
Reply With Quote
  #106 (permalink)  
Old 10-Oct-2009, 13:48
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?

dbuck you accomplished what other people couldn't (at least me, too lazy to learn proper packaging )

And it evolves too (as is the browser).

Right now this is my main browser (i didn't use many plugins so i don't miss FF).
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #107 (permalink)  
Old 16-Oct-2009, 03:39
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?

@All

I just thought everyone should know that it is best to use 'chromium' in openSUSE:Factory:Contrib for openSUSE 11.1 and openSUSE 11.2 (Factory) instead of my repo. It is more-or-less semi-official now. (And the packages build faster and have the latest patches. )

D
Reply With Quote
  #108 (permalink)  
Old 16-Oct-2009, 11:39
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 31
suezuh hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

Brilliant!!! Thank you very much.

For those interested in privacy concerns while using Chromium see:
SRWare Iron - The Browser of the Future

Some of these items can be manually disabled in:
Customize and Control Chromium > Options > Under the Hood

Also see:
http://www.google.com/support/chrome...&answer=107684
http://www.google.com/support/chrome...r=114836&hl=en

Last edited by suezuh; 16-Oct-2009 at 11:42. Reason: Added bottom Google links
Reply With Quote
  #109 (permalink)  
Old 16-Oct-2009, 12:10
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 31
suezuh hasn't been rated much yet
Default Re: Building chromium, how to pack it into rpm?

I've just figured out that some Google tracking devices are not present in Chromium. Those that are can be disabled if so desired.
Reply With Quote
  #110 (permalink)  
Old 16-Oct-2009, 20:35
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?

Quote:
I've just figured out that some Google tracking devices are not present in Chromium. Those that are can be disabled if so desired.
Yes. The open source 'Chromium' doesn't have anything other than standard search engine suggestions for searches and navigation errors, malware protection, and dns prefetching; all of which can be disabled in 'Under the Hood'.

D

Last edited by dbuck; 16-Oct-2009 at 20:37. Reason: missed something
Reply With Quote
Reply
Page 11 of 11 « First 910 11

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