Package: dh-make
Version: 2.202003
Severity: normal
X-Debbugs-Cc: matthew.robert.fenn...@gmail.com

Dear Maintainer,

I am using dh_make to generate the Debian package structure for an upstream
(called libre-racing) that uses CMake.
In the root of upstream's source is the file "CMakeLists.txt". However, when I
run the following command:

dh_make --packagename libre-racing_0.1.0 --single --yes --createorig

and run pdebuild, the build falis as it has not included cmake as a dependency.

For now, I have created a new debian/control template with the following line:

Build-Depends: #BUILD_DEPS#, cmake

However, I was digging around in the source for dh_make, and saw that it should
be possible for CMake to be automatically added to #BUILD_DEPS#. It seems that
it is not at the moment, because of the capitalisation of the line:

elif os.path.isfile('CmakeLists.txt'):

in dh_make.py. I believe that if this was changed to "CMakeLists.txt", dh_make
would automatically add cmake to BUILD_DEPS, in the setup_cmake function.

Thanks for maintaining this package!
Matthew

-- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (100, 'bullseye-fasttrack'), (100, 'bullseye-backports-staging')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-16-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-make depends on:
ii  debhelper  13.3.4
ii  dpkg-dev   1.20.11
ii  make       4.3-4.1
ii  python3    3.9.2-3

dh-make recommends no packages.

Versions of packages dh-make suggests:
ii  build-essential  12.9

-- no debconf information

Reply via email to