Results 1 to 10 of 18

Thread: HOWTO install cvs xqf??

Threaded View

  1. #11
    Join Date
    Nov 2005
    Beans
    2,322
    Distro
    Ubuntu Intrepid Ibex (testing)

    Re: HOWTO install cvs xqf??

    Quote Originally Posted by nickless View Post
    Cool, thx
    So you suggest I install the old xqf through apt and then run uupdate (which seems to be a part of the devscripts package) to update the program. This sounds too easy to be true
    Well for now I will install the packages you listed there and try the ./autogen.sh again

    edit: packages you listed were all already installed
    Okay, I got this to build with some adjustments.. This is very brief howto and probably contains some errors


    1. Add new repository to /etc/apt/sources.list
      Code:
      deb-src http://ftp.uk.debian.org/debian unstable main contrib non-free
    2. Create build directory and get source from debian unstable
      Code:
      mkdir -p ~/packages/xqf
      cd ~/packages/xqf
      sudo aptitude update
      apt-get source xqf
    3. Checkout cvs module
      Code:
      cvs -z3 -d:pserver:anonymous@xqf.cvs.sourceforge.net:/cvsroot/xqf co -P xqf
    4. Prepare for uupdate
      Code:
      mv xqf xqf-1.0.4.1+cvs20060722
      #cvs snapshot seems to contain debian package information, but we'll remove it
      rm -rf xqf-1.0.4.1+cvs20060722/debian
      
      tar czvf xqf-1.0.4.1+cvs20060722.tar.gz xqf-1.0.4.1+cvs20060722
      rm -rf xqf-1.0.4.1+cvs20060722
    5. Apply old debian package information (diffs)
      Code:
      cd xqf-1.0.4/
      uupdate ../xqf-1.0.4.1+cvs20060722.tar.gz 1.0.4.1+cvs20060722
      cd ../xqf-1.0.4.1+cvs20060722
    6. Edit debian/rules so that autogen.sh is executed before configure. Bold entries are new stuff
      Code:
      post-patches:: debian/stamp-autogen
      debian/stamp-autogen:
              NOCONFIGURE=1 ./autogen.sh
              touch $@
      
      clean::
              rm -f config.h
              rm -f debian/stamp-autogen
    7. Edit debian/control and add necessary packages for autogen.sh script
      Code:
      Build-Depends: automake1.9, autoconf, intltool, libtool, libglib-dev, libgtk-dev, libgdk-pixbuf-dev
      Build-Conflicts: automake1.4, autoconf2.13
    8. Modify changelog information. You need devscripts package for this
      Code:
      dch -e
      (Example changelog entry. Bolded part is important)
      Code:
      xqf (1.0.4.1+cvs20060722-0ubuntu1) dapper; urgency=low
      
        * New CVS snapshot
      
       -- Firstname Lastname <you@somemail.com>  Sat, 22 Jul 2006 19:52:09 +0300
    9. Build the package. I suggest using pbuilder (HOWTO) that automates the dependency install process.
      Code:
      cd ..
      #generate .dsc and diffs
      dpkg-source -b xqf-1.0.4.1+cvs20060722
      sudo pbuilder build xqf_1.0.4.1+cvs20060722-0ubuntu1.dsc
    10. Alternatively, you may use dpkg-buildpackage. You'll need dpkg-dev package for this
      Code:
      dpkg-buildpackage -rfakeroot -us -uc
    Attached Files Attached Files
    Last edited by mlind; July 22nd, 2006 at 07:09 PM.
    Building on Ubuntu using [pbuilder]
    Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox]

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
  •