[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#644789: ITP: UHD - Universal Hardware Driver for Universal Software Radio Peripherals



>>>>> "Timo" == Timo Juhani Lindfors <timo.lindfors@iki.fi> writes:
Timo> as you probably noticed the upstream source does not seem to be in
Timo> git. I think you need to download the tarballs (from where?) and use
Timo> --git-overlay option.

I've been using a clone of
git://code.ettus.com/ettus/uhd.git
 git clone git://code.ettus.com/ettus/uhd.git
 cd uhd

I then did a git remote add of my pkg-uhd.git repo.
 git remote add pkg-uhd git://anonscm.debian.org/users/bottoms/pkg-uhd.git

I checkout out the release_003_003_001 tag.
 git checkout release_003_003_001

Then I created a debian branch from that.
 git checkout -b debian

Then I merged pkg-uhd into my working debian branch.
 git pull pkg-uhd
 git merge remotes/pkg-uhd/experimental

Merge remote branch 'remotes/pkg-uhd/experimental' into debian

As the debian/copyright file mentions:
 The upstream package source tarball was generated from the tag:
 git archive --format=tar --prefix=uhd-3.3.1/ release_003_003_001 | gzip > ../uhd_3.3.1.orig.tar.gz
 The corresponding UHD images tarball was downloaded from:
 http://files.ettus.com/uhd_releases/003_003_001/images-only/UHD-images-003.003.001.tar.gz

The UHD-images-003.003.001.tar.gz needs to be renamed/copied to
uhd_3.3.1.orig-contrib-images.tar.gz in the same directory as uhd_3.3.1.orig.tar.gz.

Extract the
and 
 mv UHD-images-003.003.001-59f407f contrib-images

(Somehow the dpkg source tools know how to do that for you.)

(Another way, https://github.com/EttusResearch/UHD-Mirror/archives/master
leads to upstream source tarballs. But git seems the direct way.)

Then build.
 debuild -rfakeroot -us -uc

There is likely more than one way to do it.
Many collab-maint projects simply keep the debian directory
and have other ways to handle upstream source.

Hope that helps.
-Maitland



Reply to: