Building Debs from Git

Adam Sherman adam at sherman.ca
Tue Feb 7 18:49:47 UTC 2017


On 2017-02-06 03:58 AM, Aleksander Morgado wrote:
> On Sun, Feb 5, 2017 at 10:20 PM, Adam Sherman <adam at sherman.ca> wrote:
>> What is the quick rundown to build Debian packages from the Git master
>> branch[0]?
> 
> This is what I'd do:
>  Build libqmi from git master but don't make install, just make dist
>  Rename the generated tarball with the .orig. suffix thing required by
> the debian packaging.
>  Extract the tarball, get into the extracted directory
>  Get the debian directory from the PPA packaging and copy it into the
> extracted directory before
>  Bump version in debian/changelog
>  dpkg-buildpackage -b

Just gave that a try using the libqmi Git repo[1] and your instructions.
The patch doesn't seem to apply cleanly, which I thought odd since you
are clearly building it yourself for the PPA?

Looks like I may need to stop taking shortcuts and actually learn how
these packages work. :|

A.


[1]: git://anongit.freedesktop.org/libqmi

-- 
Adam Sherman <adam at sherman.ca>


More information about the libqmi-devel mailing list