1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
Debian packaging of LinuxCNC/Mesaflash
======================================
The following steps were performed to transform Upstream's git repository
into a source tarball and a debian subdirectory that is compliant with the
latest release of the Debian Policy.
Steps
-----
1. Generate the source tarball
debian/rules get-orig-source
2. Prepare shell to work in temp directory
export WORKDIR=$(mktemp -d)
mv mesaflash_*.orig.tar.xz ${WORKDIR}/
bash
cd $WORKDIR
2. Unpack
tar xJvf mesaflash_*.orig.tar.xz
3. Slightly adapt for unstable
bash
cd $WORKDIR/mesaflash
rm debian/compat
sed -i 's/debhelper .*,/debhelper-compat (= 13),/' debian/control
sed -i '/^Standards-Version: /s/ [0-9.]*/ 4.6.0/' debian/control
sed -i '1s/ stable;/ unstable;/' debian/changelog
4. build Debian package
dpkg-buildpackage
5. get all the files just created
exit
mv ${WORKDIR}/mesaflash_* ..
Above sketched differences are not impeding routine workflows of Debian
packaging. For instance we found that the tool routine-update (from the
Debian Science team) deals with these adaptations just fine.
How to contribute
-----------------
LinuxCNC does not have a representation on salsa.debian.org.
Please join us on https://github.com/LinuxCNC/mesaflash/ .
|