Results 1 to 10 of 10

Thread: Tutorial...

  1. #1
    Join Date
    May 2005
    Location
    Potsdam, NY
    Beans
    1,310
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Tutorial...

    Yanno, there should be a HOWTO on how to Backport stuff, it would take some of the load off of the "official" Backporters.

    ie, someone requests a package backported. Instead of the Backporters going through the work to see if its possible, the person could build thier own package then send it into Staging.

    Just an idea I know there have been times where I have wanted to backport something but just didn't know how to
    ArchLinux 0.8.0
    Associate Member of the Free Software Foundation

  2. #2

    Re: Tutorial...

    Quote Originally Posted by Kyral
    Yanno, there should be a HOWTO on how to Backport stuff, it would take some of the load off of the "official" Backporters.

    ie, someone requests a package backported. Instead of the Backporters going through the work to see if its possible, the person could build thier own package then send it into Staging.

    Just an idea I know there have been times where I have wanted to backport something but just didn't know how to
    And i love this Idea !

    BTW - it was nice if the Backports rulez where enlarged by the Point "Show your Support for a Request by klicking on Rating Thread or a thing like this".

    http://www.mandrivaclub.com/modules.php?name=RPM
    http://www.politikstube.de - die etwas andere Politikcommunity

  3. #3
    Join Date
    Jul 2005
    Beans
    113

    Re: Tutorial...

    A quick guide to get you started.

    First of all if the package is in breezy it's fairly simple. Just adjust your /etc/apt/sources.list so that all deb-src entries reference breezy and not hoary. You can have deb as hoary and deb-src as breezy mixed, no problem.

    Then grab the package from breezy via sudo apt-get source package, if you don't know the exact package name you can likely find it out by using apt-cache search name_of_the_program.

    apt-get will download the package, and unpack it into a directory. Now go into that directory, if you want to you can adjust some stuff in debian/rules, but you can just leave it at default.

    Now run sudo dpkg-buildpackage while being in the directory of the extracted package. Now dpkg will tell you if any dependencies are unmet, and if yes, will abort. Most of the time you'll need to install some -dev packages. Once all packages are installed dpkg-buildpackage will build the .deb and that's it (if all goes as planned). You'll have to adjust the version string before if you want to upload as an official backport.

    If the package is not in breezy and you have to build it from source it becomes more complicated (especially if you want to make an official package). I'll leave that for another day or someone else
    Last edited by ubuntp; July 20th, 2005 at 02:57 PM.

  4. #4
    Join Date
    Mar 2005
    Beans
    38
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Tutorial...

    Code:
    sudo apt-get build-dep package
    should sort out any build dependencies. Also
    Code:
    fakeroot apt-get -b source package
    will automagically download and build the package for you in one go.
    Last edited by sjmorgan; July 20th, 2005 at 10:16 PM.
    "Being a social outcast helps you stay concentrated on the really important things, like thinking and hacking." - Eric S. Raymond

  5. #5
    Join Date
    May 2005
    Location
    Potsdam, NY
    Beans
    1,310
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Tutorial...

    How would I edit the version string and upload it to Backport Mirrors?
    Last edited by Kyral; July 20th, 2005 at 10:43 PM.
    ArchLinux 0.8.0
    Associate Member of the Free Software Foundation

  6. #6
    Join Date
    May 2005
    Location
    Potsdam, NY
    Beans
    1,310
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Tutorial...

    Just a status update: I successfully backported FF 1.0.5 from Breezy Source. Now what do I have to do to become an official Backporter?

    This may just be my drive to give back to Ubuntu coming out...
    ArchLinux 0.8.0
    Associate Member of the Free Software Foundation

  7. #7
    Join Date
    May 2005
    Beans
    69

    Re: Tutorial...

    A package built for others to use on their own systems still needs to be built according to the canonical debian maintainers guide doesn't it?

    http://www.debian.org/doc/maint-guid....html#contents

    If people are going to be posting links to packages they have built themselves, I'd really like to know what method they used to build them and what libraries they compiled against if not vanilla hoary,

    I personally don't want to install any packages on my system that are not built 100% to spec, which I assume are still the debian standards in all their anal glory.

    I didn't even like using checkinstall when I was running slackware.

  8. #8
    Join Date
    May 2005
    Location
    Potsdam, NY
    Beans
    1,310
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Tutorial...

    I'm using a stock hoary install, as far as libs go

    Only non-Ubuntu stuff I've installed has been Cedega + Point2Play and UT2k4
    ArchLinux 0.8.0
    Associate Member of the Free Software Foundation

  9. #9
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Tutorial...

    Google ubp-build.py; it's a Python script that I made that creates backported packages. Search the board, too.. it's been mentioned a few times.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  10. #10
    Join Date
    May 2005
    Location
    Potsdam, NY
    Beans
    1,310
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Tutorial...

    Cool. The only other package I've gotten to work is XChat 2.4.4 (flawlessly)

    How would I/Can I get this into the repos?

    (Why do I feel like I'm about to be scolded?)
    Last edited by Kyral; July 21st, 2005 at 03:12 AM.
    ArchLinux 0.8.0
    Associate Member of the Free Software Foundation

Bookmarks

Posting Permissions

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