#205 --build-in-place mode

open
nobody
None
5
2006-09-29
2006-09-29
No

(name courtesy of RangerRick)

syntax:

fink --build-in-place build|rebuild /path/to/foo.info

Only works with the build or rebuild commands

This mode would allow the user to specify the name of a
.info file from which to build, without having the
.info file be within the the finkinfo directories.

The tarball would be downloaded to the normal download
directory, and built in the normal build directory.

However, the .deb would be generated in the current
working directory and would not be registered in the
fink or apt-get databases of available .deb archives.

If the user decides to install the package, they would
have to use dpkg -i

Discussion

  • Daniel Johnson

    Daniel Johnson - 2007-03-02

    Logged In: YES
    user_id=789616
    Originator: NO

    I really like this idea so I hacked on fink a bit and came up with this patch. I'm no perl guru so it could probably be cleaned up a lot, but it does everything mentioned above. I also added the ability to use --build-in-place with dumpinfo.

    One side effect is that fink will try to build all possible variants of a given info file, even if there might be conflicting BuildDepends, probably causing build failure. The patch was made against fink HEAD on March 1, 2007.
    File Added: build-in-place.patch

     
  • Daniel Johnson

    Daniel Johnson - 2007-03-02

    Logged In: YES
    user_id=789616
    Originator: NO

    I just found another interesting use for this patch: checking if the dependencies are in stable. A "fink --trees=stable --build-in-place build package-name.info" will fail if it's dependencies aren't in stable. It might fail anyway if there's trouble downgrading already-installed packages though. :) But you'll certainly know if the deps are right or wrong.

     
  • Daniel Johnson

    Daniel Johnson - 2007-03-02

    Logged In: YES
    user_id=789616
    Originator: NO

    This isn't working right with splitoffs. :p

     
  • Daniel Johnson

    Daniel Johnson - 2007-03-03

    Logged In: YES
    user_id=789616
    Originator: NO

    Ok, now works properly with splitoffs. Also updated fink.8.in to document --build-in-place.
    File Added: build-in-place.patch

     
  • Daniel Johnson

    Daniel Johnson - 2007-03-04

    patch fink to --build-in-place, version 3

     
  • Daniel Johnson

    Daniel Johnson - 2007-03-04

    Logged In: YES
    user_id=789616
    Originator: NO

    And another version. :)

    This one fixes dumpinfo if the package doesn't currently exist in the package database and enables show-deps for --build-in-place.
    File Added: build-in-place.patch

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks