Hi, [email protected] wrote: > may be this is a stupid question,
No, it's not. :-) > but I could not find, how to build the .deb-package of the current > debian stable version (0.6.11-1+b1) from the git repository. > > I tried ./configure && make > as explained in > https://www.debian.org/doc/manuals/aptitude/pr01s04s02.en.html > But I do not like to install aptitude via make install into /usr/local > > I tried to use > gbp buildpackage > but I do not know what to check out before running the command. > > Surely, there must be a simple way that I overlooked somehow. You probably missed that there are multiple branches. To understand what's going on, these branch are probably of interest for you: * master = upstream development * upstream = upstream code as in the upstream tar ball of Debian, i.e. updated only with every upstream release (by using "gbp import-orig" on the upstream tar ball generated with "make dist" or so from the code in the master branch). * debian-sid = current debian packaging branch, contains "upstream" branch plus packaging (i.e. the "debian/" directory). To build the 0.6.11-1 package from source (0.6.11-1+b1 has the same source, but is a different build, e.g. against updated libraries), checkout the git tag "debian/0.6.11-1" and build from there, i.e. use these commands: $ git checkout debian/0.6.11-1 $ dpkg-buildpackage -b ("gbp buildpackage --ignore-debian-branch" should work, too, but the additional checks of gbp like "is the working copy clean?" etc. are probably not needed in your case.) Regards, Axel -- ,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE _______________________________________________ Aptitude-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

