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

Bug#1120830: RFS: tslib/1.24-1 [ITA] -- touch screen library utilities



On Tue, Nov 25, 2025 at 07:05:58AM +0000, Martin Kepplinger wrote:


> hi Tobias,
> 
> thanks again, I was able to resolve the installation for all files
> except for etc/ts.conf where dh_missing says:
> 
> dh_missing: warning: etc/ts.conf exists in debian/tmp but is not
> installed to anywhere (related file: "etc/ts.conf")
> dh_missing: error: missing files, aborting
> 
> 	While detecting missing files, dh_missing noted some files
> with a similar name to those
> 	that were missing.  This error /might/ be resolved by
> replacing references to the
> 	missing files with the similarly named ones that dh_missing
> found - assuming the content
> 	is identical.
> 
> 	As an example, you might want to replace:
> 	 * etc/ts.conf
> 	with:
> 	 * etc/ts.conf
> 
> 
> any thought on this?
>
> so for now I added this to d/not-installed as well, because it *does*
> find the file, right? Still, this does not feel stable.

You've got $srcdir/etc/ts.conf and you've got (the probably make
install'ed) debian/tmp/etc/ts.conf.  dh_install will grab ts.conf from
$srcdir/etc/ts.conf and therefore dh_missing still belives
debian/tmp/etc/ts.conf is still uninstalled.

so you need to instruct dh_install to take it from the debian directory:
"debian/tmp/etc/ts.conf"

> I've change the other remarks you had as well and pushed it to
> https://github.com/merge/tslib-debian

(This is a quite odd debian packaging repo layout)

It has extra files (README.markdown autobuild.sh) for an
debian/-only-layout and for the "usual" layout where upstream-source is
unpacked in the root directory + the debian-directory -- well, there's no source.
This break assumptions from standard Debian  tools, eg the
sequence

debcheckout tslib
cd ts-lib
uscan --force-download
dpkg-source -b .

will not work, as the extra files break dpkg-source:
  dpkg-source: info: local changes detected, the modified files are:
   tslib/README.markdown
   tslib/autobuild.sh
  dpkg-source: hint: make sure the version in debian/changelog matches the unpacked source tree
  dpkg-source: hint: you can integrate the local changes with dpkg-source --commit
  dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/tslib_1.24-1.diff.nrTGG0

I recommend to check DEP14 and possibly create an DEP14 compliant
packaging repository, containing upstream source and debian directory.

(To sidestep this, please upload a .dsc to mentors.d.n.)

--
tobi


Reply to: