Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 12 additions & 17 deletions debian/README.source
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,34 @@ latest release of the Debian Policy.
Steps
-----

1. Generate the source tarball
0. Ensure you have checked out the exact version of LinuxCNC
that shall be uploaded. The source tarball will be generated
from your local directory.

debian/rules get-orig-source
1. Generate the source tarball (placed in directory ..)

2. Prepare shell to work in temp directory
debian/rules get-orig-source

export WORKDIR=$(mktemp -d)
mv mesaflash_*.orig.tar.xz ${WORKDIR}/
bash
cd $WORKDIR
2. Update debian/changelog

2. Unpack
dch --newversion $(basename $(git tag|grep release|tail -n1))

tar xJvf mesaflash_*.orig.tar.xz
or edit it manually.

3. Slightly adapt for unstable
3. Slightly adapt for unstable - upstream debian repository is backward compatible

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 '/^Standards-Version: /s/ [0-9.]*/ 4.7.2/' 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_* ..
5. Fix lintian errors.

6. Prepare a pull request for your debian/changelog and what you find important.

Above sketched differences are not impeding routine workflows of Debian
packaging. For instance we found that the tool routine-update (from the
Expand Down
17 changes: 15 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
mesaflash (3.4.9-1) unstable; urgency=medium
mesaflash (3.4.10-1) UNRELEASED; urgency=medium

* New upstream version.

-- Andy Pugh <[email protected]> Mon, 03 Mar 2025 17:30:44 +0100

mesaflash (3.4.9+git20250302-1) unstable; urgency=medium

* Add set ledmode option
* Add inverted txen pin printout to pktuart and sserial
* Merge pull request #77 from fangyaling/master
* Add check for new arch Loongarch64
* Add check for new arch Loongarch64 (Closes: #1081384)
* Add patch by Helmut Grohne for cross-builds (Closes: #1070025)

[ Steffen Moeller ]
* Added Andy to uploaders
* Build-Depends: pkg-config => pkgconf
* Bumped policy to 4.7.2
* Bumped debian/compat to 10

-- Andy Pugh <[email protected]> Sun, 15 Oct 2023 20:25:51 +0100

Expand Down
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9
10
8 changes: 5 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
Source: mesaflash
Maintainer: LinuxCNC Developers <[email protected]>
Uploaders: Sebastian Kuzminsky <[email protected]>, Jeff Epler <[email protected]>
Uploaders: Sebastian Kuzminsky <[email protected]>,
Jeff Epler <[email protected]>,
Andy Pugh <[email protected]>
Section: misc
Priority: optional
Standards-Version: 3.9.4
Standards-Version: 4.7.2
Build-Depends: debhelper (>= 9),
libpci-dev,
libmd-dev,
pkg-config
pkgconf
Rules-Requires-Root: binary-targets
Homepage: https://github.com/LinuxCNC/mesaflash
Vcs-Browser: https://github.com/linuxcnc/mesaflash
Expand Down
8 changes: 5 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ override_dh_auto_install:
$(MAKE) DESTDIR=$$(pwd)/debian/mesaflash/usr install

.PHONY: get-orig-source
get-orig-source: $(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.xz
get-orig-source: ../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.xz

$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.xz:
git archive --prefix="mesaflash/" HEAD | xz --compress > $@
../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.xz:
rm -rf /tmp/mesaflash
git archive --prefix="mesaflash/" HEAD | (cd /tmp && tar xf - --exclude="mesaflash/debian")
(cd /tmp && tar cJf - mesaflash ) > $@
Loading