Questions tagged [dh-make]

dh_make is a utility that adds additional files to (extracted) source code archives, so building the software also creates deb packages.

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

How to make a .deb package to install docker plus other dependencies?

I have a package and I use a shell script to install it on Ubuntu. I want to use a .deb file instead, and this software package has prerequisites including DOTNET and Docker. What are the steps to ...
0 votes
1 answer
105 views

Launchpad librarian fails to install package

I am using launchpad librarian to build packages from my source package. The source package, I have uploaded via dput to my PPA. Launchpad then proceeds to build (which is accomplished) and to install ...
2 votes
1 answer
626 views

brz: ERROR: unknown command "dh-make"

I'm trying to build a deb according to the https://packaging.ubuntu.com/html/packaging-new-software.html Everything was working 6 months ago. Now when I execute: bzr dh-make hello 2.10 hello-2.10.tar....
1 vote
0 answers
1k views

copy files instead of compiling when building debian package

The goal I have been trying to make a very simple debian package for two days now. There is a java application called fits. In ~40 lines, it can be packaged for osx. https://github.com/Homebrew/...
1 vote
1 answer
2k views

debuild error “*** No rule to make target” where target is blank

We are trying to create a deb package, to install and auto-start a couple of monitoring scripts we have. Here is the rules file: #!/usr/bin/make -f %: dh $@ --with=systemd --with=python2 ...
1 vote
3 answers
3k views

Creating debian package to install to a path with spaces

I have a Qt application that I want to deploy as a deb package. I have been reading so many sources, all slightly different - most of what I did follows this How To: preparing an application for ...
2 votes
1 answer
575 views

Why dh_make doesn't provide all options for create skeleton for new package?

I'm using: Ubuntu 16.04.3 LTS. dh-make package with version 2.201605~xenial1 When I try to start packaging, dh_make propose next options: $ dh_make Type of package: (single, indep, library, python) ...
1 vote
0 answers
625 views

How to build custom toolchain in Ubuntu?

We are planning to migrate to Ubuntu 16.0.4LTS as a development distribution. Currently, we are using old Suse distribution. One of the tasks in this migration is to build our custom toolchain on ...
9 votes
2 answers
28k views

make: dh: Command not found

When I try to run the .run file on nautilus the pointer changes into a wheel and does nothing, I did change the permission to make it executable, also at first it only tryed to open it with gedit so I ...
0 votes
1 answer
87 views

Build Debian/Ubuntu package based off package control source

The Bitcoin source code contains a debian package control package folder which can be used to make a package. https://github.com/bitcoin/bitcoin/tree/master/contrib/debian Just wondering what the ...
7 votes
1 answer
6k views

Packaging a CMake project (libRocket) into a .deb, but build script is in a sub folder

I am trying to build a .deb package for libRocket (http://librocket.com/), but the build script is not in the source root but rather in a subfolder (/Build). See the Github source: https://github.com/...
3 votes
1 answer
3k views

What is a '.orig.tar.xz' file in packaging?

I have recently started packaging a bash script of mine into a .deb file so that I can upload it to my PPA, and I have noticed a lot of talk about a file which seems to have been created from my ...
1 vote
1 answer
793 views

Packaging bash script with dh-make

I have installed dh-make by installing other packages as recommended by this page which depend on it (I am listing all packages which could have installed it as well because I am not certain which one ...
1 vote
0 answers
144 views

Remove private shared libraries from Depends field in control

I'm using command debuild -b to package my application into a .deb. When it goes to run dh_makeshlibs, many shared libraries' names are added in debian/my-package/DEBIAN/shlibs. But some of them are ...
3 votes
0 answers
1k views

Specify the target directory in a package

I created a package (with dpkk-build and dh_make) from my own program source and got a deb-binary. So far, so good. No if I'd upload the package to my ppa and installed it from there, the program ...
0 votes
1 answer
378 views

debian package creation without a configure script

I've been trying to package an in house code project but have been having trouble. I can create a package, but the actual binaries are not installed when I run sudo dpkg -i proj_1.0.0+svn02042014-...
4 votes
1 answer
436 views

Packaging MATLAB (or, more generally, a large binary, proprietary piece of software)

I'm trying to package MATLAB for internal distribution, but this could apply to any piece of software with the same architecture. In fact, I'm packaging multiple releases of MATLAB to be installed ...
1 vote
1 answer
123 views

Set up apt-get remove commands in deb file (dh_make)

So, I'm trying to package my Python app, Virtuam. My question is simple: how can I set the commands which run when I remove the program using apt-get?