Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: GiftWrap 0.1 release

  1. #31
    Join Date
    May 2007
    Beans
    4,513
    Distro
    Ubuntu

    Re: GiftWrap 0.1 release

    Not at the moment

  2. #32
    Join Date
    Feb 2009
    Beans
    25

    Re: GiftWrap 0.1 release

    Quote Originally Posted by xuCGC002 View Post
    I tried compiling DOOM Legacy 1.42, but it keeps saying:


    I'm not sure what to do.

    EDIT: The top source folder is doomlegacy_142_src.

    Quote Originally Posted by Ubuntiac View Post
    Maybe try changing the folder name to: DoomLegacy-1.42

    Just a guess...
    @xuCGC002-- did the above sugestion work for you?

  3. #33
    Join Date
    Jan 2007
    Location
    Netherlands
    Beans
    56
    Distro
    Ubuntu 12.04 Precise Pangolin

    Post Re: GiftWrap 0.1 release

    Dear all,

    It was hard for me to find a tutorial for GiftWrap. So, I am gonna add some additional information regarding a C program in the CDT environment in Eclipse. Say I am gonna create the package "linda"...

    Example: linda package
    Title: The Linda engine is a threadpool for TCP/IP
    Description: The Linda engine is a threadpool for TCP/IP powered by an abbey. Part of the CHAP software platform.
    Section: Libraries

    Add Makefile to Eclipse
    Regretfully Eclipse has such a Makefile management system that it is almost impossible to get it running.

    You have to add your own custom Makefile in the root of the project directory. Make sure you are in a real directory, not one soft linked from somewhere else! (GiftWrap can't cope with that yet.) The following is the content of the Makefile I created. Like you see it just evokes the makefile in the Debug directory. And it adds an install section. Add echo statements over there if you want to communicate during the installation process with the person installing your stuff.

    Code:
    all:
        (cd Debug; make $@)
    
    clean:
        (cd Debug; make $@)
    
    install:
        sudo cp Debug/liblinda.so /usr/lib
        sudo mkdir -p /usr/include/linda
        sudo cp inc/*.h /usr/include/linda
    It is very convenient to run giftwrap from the command line. For instance, on deleting a previously made package, it needs confirmation to delete the .svn directories from the command line (the developer didn't use the flag -rf for removal). The symlink error is communicated by the cryptic message: "can't cd to /home/anne/.giftwrap/linda/linda-0.0.20091120". (When I did ls -latr, I saw that it was referring to the wrong directory.)
    Last edited by MrQuincle; November 20th, 2009 at 03:01 PM.

  4. #34
    Join Date
    Sep 2008
    Location
    Riverside, CA USA
    Beans
    18
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: GiftWrap 0.1 release

    Quote Originally Posted by Ubuntiac View Post
    Hey Vadi,

    This has to be THE idea, who's time has come for Ubuntu. The number of times that I've heard that the main thing holding Ubuntu back is the speed of which we can package new software for testing.

    Can this be used to package a straight binary (ie without any compiling). I'm making a game in Blender, which precompiles a binary straight from the app. I just want something that lets me browse for the binary, put in the name, dependencies, license etc and click generate.

    Would this be possible with GiftWrap? Every packaging guide I ever see assumes I want to learn all about make files, source packages and worse. I just want to share a binary with dependencies, a menu entry and a description!


    EDIT: Well, I tried it... saved my binary in a folder in the format packagename-version and .tar.gz compressed it for giftwrap. Unfortunately I got:

    dpkg-buildpackage: set CFLAGS to default value: -g -O2
    dpkg-buildpackage: set CPPFLAGS to default value:
    dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
    dpkg-buildpackage: set FFLAGS to default value: -g -O2
    dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
    dpkg-buildpackage: source package mr-cubie
    dpkg-buildpackage: source version 0.1-1
    dpkg-buildpackage: source changed by Ubuntiac <please@dontspamme.com>
    dpkg-buildpackage: host architecture amd64
    fakeroot debian/rules clean
    dh_testdir
    dh_testroot
    rm -f build-stamp configure-stamp
    # Add here commands to clean up after the build process.
    /usr/bin/make clean
    make[1]: Entering directory `/home/user/.giftwrap/mr-cubie/mr-cubie-0.1'
    make[1]: *** No rule to make target `clean'. Stop.
    make[1]: Leaving directory `/home/user/.giftwrap/mr-cubie/mr-cubie-0.1'
    make: *** [clean] Error 2
    dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2


    Any way around this?
    Has any one solved this. I'm trying to create a PPA for our FOSS project (java web app) and I'm getting the same error.

    Thank you,

    John

  5. #35
    Join Date
    Jan 2007
    Location
    Here.
    Beans
    419
    Distro
    Ubuntu

    Re: GiftWrap 0.1 release

    Nope, sorry. I never did manage to find an easy way to package a single binary.

    If you find a way, I'd love to hear it!
    Facebook, Apple, Google, corrupt governments, the ISP's and Telco's
    can be beaten at their own game by free and open source software.
    Here's how. (Extra credit)

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

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
  •