Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Need Help Building RPM Package

  1. #1
    Join Date
    Jun 2008
    Location
    Porto, Portugal
    Posts
    31

    Default Need Help Building RPM Package

    I want to build OpenSuse RPMs for Gnome-Inform7, the problem being I'm kind of ignorant as far as spec files are concerned, and so the only thing I know how to do is to issue the command rpmbuild -ba. I've battled with the spec file (which the author told me works for Fedora) until I got one that builds an RPM. The RPM installs, but the gnome-inform still won't run.

    So I give up, I need help from someone who knows what to do next.

    So, here's the Git version: SourceForge.net: Gnome Inform 7 - Develop
    Here's the spec file I tweeked so that it built something: http://dl.dropbox.com/u/9025602/gnome-inform7.spec

    What I'm asking is actually for someone to jump into the "Let's build an OpenSUSE RPM for gnome-inform7" boat with me.

    Thanks!

    PS.: I know there is Buildservice, but I think it still needs a valid spec file, right?

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

    Default Re: Need Help Building RPM Package

    Quote Originally Posted by leandroribeiro
    I want to build OpenSuse RPMs for 'Gnome-Inform7'
    (http://sourceforge.net/projects/gnome-inform7/), the problem being I'm
    kind of ignorant as far as spec files are concerned, and so the only
    thing I know how to do is to issue the command rpmbuild -ba. I've
    battled with the spec file (which the author told me works for Fedora)
    until I got one that builds an RPM. The RPM installs, but the
    gnome-inform still won't run.

    So I give up, I need help from someone who knows what to do next.

    So, here's the Git version: 'SourceForge.net: Gnome Inform 7 - Develop'
    (http://sourceforge.net/projects/gnome-inform7/develop)
    Here's the spec file I tweeked so that it built something:
    http://dl.dropbox.com/u/9025602/gnome-inform7.spec

    What I'm asking is actually for someone to jump into the "Let's build
    an OpenSUSE RPM for gnome-inform7" boat with me.

    Thanks!

    PS.: I know there is Buildservice, but I think it still needs a valid
    spec file, right?

    Hi
    Ask this user to update, or grab the src rpm, install and then tweak
    the spec file as required for the newer version.
    http://software.opensuse.org/search?...ude_debug=true

    Click on the email for the maintainer to aske them about updating;
    https://build.opensuse.org/package/u...leandroribeiro

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
    up 11:49, 4 users, load average: 0.36, 0.26, 0.23
    GPU GeForce 8600 GTS Silent - Driver Version: 280.13


  3. #3
    Join Date
    Jun 2008
    Location
    Porto, Portugal
    Posts
    31

    Default Re: Need Help Building RPM Package

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Ask this user to update, or grab the src rpm, install and then tweak
    the spec file as required for the newer version.
    I'm actually the builder of that version. I didn't have issues when building that one, but something changed and I can't get my head around it. Before succeeding in building the RPM for this version, most of my errors were about Gconf. The spec file I posted here already is a altered version of the spec file you can find in the src.rpm in buildservice.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,513
    Blog Entries
    15

    Default Re: Need Help Building RPM Package

    Quote Originally Posted by leandroribeiro
    malcolmlewis;2392292 Wrote:
    > Hi
    > Ask this user to update, or grab the src rpm, install and then tweak
    > the spec file as required for the newer version.
    >


    I'm actually the builder of that version. I didn't have issues when
    building that one, but something changed and I can't get my head around
    it. Before succeeding in building the RPM for this version, most of my
    errors were about Gconf. The spec file I posted here already is a
    altered version of the spec file you can find in the src.rpm in
    buildservice.

    OK, will branch and have a look.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
    up 15:56, 3 users, load average: 0.23, 0.34, 0.27
    GPU GeForce 8600 GTS Silent - Driver Version: 280.13


  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,513
    Blog Entries
    15

    Default Re: Need Help Building RPM Package

    Quote Originally Posted by malcolmlewis
    Quote Originally Posted by leandroribeiro
    malcolmlewis;2392292 Wrote:
    > Hi
    > Ask this user to update, or grab the src rpm, install and then tweak
    > the spec file as required for the newer version.
    >


    I'm actually the builder of that version. I didn't have issues when
    building that one, but something changed and I can't get my head around
    it. Before succeeding in building the RPM for this version, most of my
    errors were about Gconf. The spec file I posted here already is a
    altered version of the spec file you can find in the src.rpm in
    buildservice.

    OK, will branch and have a look.
    Hi
    OK, so it needs a special compiler, because it's a binary blob (ni) it
    can't be built on OBS, unless you can locate the ni source and build
    that first.

    I see they have an i586 openSUSE 11.4 on their site, or are you after
    an x86_64 version? I would suggest approaching the inform7 folks and
    ask them to produce an x86_64 version if that's what you need.
    http://inform7.com/download/

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
    up 16:47, 5 users, load average: 0.09, 0.27, 0.28
    GPU GeForce 8600 GTS Silent - Driver Version: 280.13


  6. #6
    Join Date
    Jun 2008
    Location
    Porto, Portugal
    Posts
    31

    Default Re: Need Help Building RPM Package

    OK, so it needs a special compiler, because it's a binary blob (ni) it
    can't be built on OBS, unless you can locate the ni source and build
    that first.
    You just need to add the ni binary (here it is) to the /src/ni/ folder.

    BTW, which spec file are you trying? The one with opensuse in the file name? That one has an old %files section. It should be replaced by the section in gnome-inform7.spec.

    Ps.: thanks for helping me out with this one.

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,513
    Blog Entries
    15

    Default Re: Need Help Building RPM Package

    Quote Originally Posted by leandroribeiro

    > OK, so it needs a special compiler, because it's a binary blob (ni) it
    > can't be built on OBS, unless you can locate the ni source and build
    > that first.


    You just need to add the ni binary ('here it is'
    (http://dl.dropbox.com/u/9025602/ni)) to the -/src/ni/- folder.

    BTW, which spec file are you trying? The one with -opensuse- in the
    file name? That one has an old -%files- section. It should be replaced
    by the section in gnome-inform7.spec.

    Ps.: thanks for helping me out with this one.

    Hi
    Yes, I know, I have downloaded the file, OBS terms and conditions/rules
    preclude the use of binary blobs which is what ni is, so you are not
    allowed to build on the openSUSE Build Service using ni unless it can
    be build from source first Making sense?

    I will get it building locally though.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
    up 17:27, 5 users, load average: 0.35, 0.15, 0.16
    GPU GeForce 8600 GTS Silent - Driver Version: 280.13


  8. #8
    Join Date
    Jun 2008
    Location
    Porto, Portugal
    Posts
    31

    Default Re: Need Help Building RPM Package

    Making sense?
    Yeah. Didn't think about it at the time, though

    Anyway, If we can build it locally, the RPM will be distributed via the official Inform7 site.

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,513
    Blog Entries
    15

    Default Re: Need Help Building RPM Package

    Hi
    OK, have it building for openSUSE_11.4 x86_64 and i586. Just uploading to OBS (new source and ni sources), will then SR it back to you;
    Keep and eye out here;
    https://build.opensuse.org/package/f...leandroribeiro

    Now once it's accepted, your really need to remove from OBS....
    https://build.opensuse.org/request/show/87306
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10
    Join Date
    Jun 2008
    Location
    Porto, Portugal
    Posts
    31

    Default Re: Need Help Building RPM Package

    Quote Originally Posted by malcolmlewis View Post

    Now once it's accepted, your really need to remove from OBS....
    https://build.opensuse.org/request/show/87306
    Thanks! Will do!

    Would you share what you did to the spec file with me? I would like to know, so that I'm ready in time for the next Inform version.

Page 1 of 2 12 LastLast

Posting Permissions

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