Page 11 of 11 FirstFirst ... 91011
Results 101 to 110 of 110

Thread: Building chromium, how to pack it into rpm?

  1. #101
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,650
    Blog Entries
    15

    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


  2. #102
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,650
    Blog Entries
    15

    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


  3. #103

    Default Re: Building chromium, how to pack it into rpm?

    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.

  4. #104

    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

  5. #105

    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; 09-Oct-2009 at 22:53. Reason: tags don't work

  6. #106

    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??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  7. #107

    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

  8. #108

    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 09:42. Reason: Added bottom Google links

  9. #109

    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.

  10. #110

    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.
    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 18:37. Reason: missed something

Page 11 of 11 FirstFirst ... 91011

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •