Just to look at the latest Debian version as an example here: http://packages.debian.org/sid/kwin-style-qtcurve
and over on the right will be the source packages. Download the debian.tar.gz file over there, extract it, and take a look inside.
stevepusser wrote:Just to look at the latest Debian version as an example here: http://packages.debian.org/sid/kwin-style-qtcurve
and over on the right will be the source packages. Download the debian.tar.gz file over there, extract it, and take a look inside.
Next, enter the <packagename>_<version>/ directory and run dh_make.
- Code: Select all
cd <packagename>_<version>/
dh_make
For dh_make to find the package name and version, the current directory
needs to be in the format of <package>-<version>. Alternatively use the
-p flag using the format <name>_<version> to override it.
I cannot understand the directory name or you have an invalid directory name!
Your current directory is /home/dbb/src/emerald/emerald_0.8.8, perhaps you could try going to
directory where the sources are?
Please note that this change is necessary ONLY during the initial
Debianization with dh_make. When building the package, dpkg-source
will gracefully handle almost any upstream tarball.
Build-Depends dependency for avant-window-navigator cannot be satisfied because no available versions of package libdesktop-agnostic-dev can satisfy version requirements
Similarly, many browsers perform full link prefetching by default, which is downloading the content of all the embedded links, not just looking up their DNS. xxxterm has both DNS and link prefetching disabled by default since these operations can be used to track users.
dpkg-deb -b extract/ build/
Soul Singin' wrote:Telemachus wrote:I get my bleeding edge Perl, and Debian can still find its version, just where it expects it. (By the way, if I'm completely wrong, and you can have two debs of one item at the same time, I will gladly eat my words.)
I think that you can have DEBs for both. I've never tried it, but if you were to pass the --prefix=/usr/local argument in the debian/rules file and change the name of the package (e.g. "etruscan-perl") in the debian/control file, then you might be able to have DEBs of both.
#!/usr/bin/make -f
# -*- makefile -*-
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKE_AUX_FLAGS = -j$(NUMJOBS)
endif
MAKE_AUX_FLAGS += "VERBOSE=1"
ifeq ($(DEB_HOST_ARCH_OS),linux)
EXTRA_CMAKE_ARGS = -DUSE_HAL:BOOL=FALSE
else
EXTRA_CMAKE_ARGS = -DUSE_ALSA:BOOL=FALSE -DUSE_UDISKS:BOOL=FALSE
endif
DPKG_EXPORT_BUILDFLAGS=1
-include /usr/share/dpkg/buildflags.mk
%:
dh $@ --with quilt
override_dh_auto_configure:
cmake -DCMAKE_INSTALL_PREFIX=/usr/local $(EXTRA_CMAKE_ARGS)
override_dh_auto_build:
dh_auto_build -- $(MAKE_AUX_FLAGS)
override_dh_install:
#dh_install -pqmmp-plugin-projectm
#dh_install -Xprojectm
override_dh_install:
#dh_install -pqmmp-plugin-projectm
#dh_install -Xprojectm
Return to Docs, Howtos, Tips & Tricks
Users browsing this forum: No registered users and 8 guests