mate-media build errors
Vangelis Mouhtsis
vangelis at gnugr.org
Mon May 12 16:34:15 UTC 2014
Mike hi,
I tried many tricks to build mate-media but i failed.
Last error is:
dh_install -pmate-media --fail-missing
dh_install: usr/share/MateConf/gsettings/mate-volume-control.convert
exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting
/usr/share/cdbs/1/rules/debhelper.mk:209: recipe for target
'binary-install/mate-media' failed
make: *** [binary-install/mate-media] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
E: Failed autobuilding of package
And my debian/rules look like:
#!/usr/bin/make -f
PKD = $(word 1,$(abspath $(dir $(MAKEFILE_LIST))))
PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep
^Source))
UVER = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print
$$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
DTYPE = +dfsg1
VER ?= $(subst $(DTYPE),,$(UVER))
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_DH_INSTALL_ARGS += --fail-missing
DEB_SRCDIR_mate-media-pulse := $(CURDIR)/debian/build/mate-media-pulse
DEB_BUILDDIR_mate-media-pulse := $(CURDIR)/debian/build/mate-media-pulse
DEB_DESTDIR_mate-media-pulse := $(CURDIR)/debian/mate-media-pulse
DEB_DH_MAKESHLIBS_ARGS_mate-media-gstreamer += --no-act
DEB_DH_MAKESHLIBS_ARGS_mate-media-pulse += --no-act
DEB_CONFIGURE_SCRIPT := ./autogen.sh
DEB_CONFIGURE_EXTRA_FLAGS += --libexecdir=/usr/lib/mate-media \
--localstatedir=/var --disable-static \
--disable-silent-rules \
--disable-pulseaudio \
--disable-scrollkeeper \
--enable-gstmix \
--enable-gst-mixer-applet
#DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR)
MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
configure/mate-media-pulse::
$(DEB_BUILDDIR_mate-media-pulse)/config.status
$(DEB_BUILDDIR_mate-media-pulse)/config.status:
cp -a `find . -maxdepth 1 -mindepth 1 -not -name debian`
$(DEB_SRCDIR_mate-media-pulse)/$*
cd $(DEB_BUILDDIR_mate-media-pulse) && \
$(DEB_CONFIGURE_SCRIPT_ENV) $(DEB_CONFIGURE_SCRIPT) \
$(DEB_CONFIGURE_NORMAL_ARGS) \
$(cdbs_configure_flags) \
--libexecdir=/usr/lib/mate-media \
--localstatedir=/var --disable-static \
--enable-pulseaudio \
--disable-silent-rules \
--disable-scrollkeeper \
--disable-gstmix \
--disable-gst-mixer-applet \
$(DEB_CONFIGURE_USER_FLAGS)
cleanbuilddir/mate-media-pulse::
rm -Rf $(DEB_BUILDDIR_mate-media-pulse)
build/mate-media-pulse::
make -C $(DEB_BUILDDIR_mate-media-pulse)
install/mate-media-pulse::
make -C $(DEB_BUILDDIR_mate-media-pulse) install
DESTDIR=$(DEB_DESTDIR_mate-media-pulse)
rm -rf debian/mate-media-pulse/usr/lib/*.la
# delete conflicts file with mate-media-common
rm -rf debian/mate-media-pulse/usr/share/locale/
binary-install/mate-media::
rm -f /usr/share/cdbs/1/rules/debhelper.mk
rm -rfv
debian/tmp/usr/share/MateConf/gsettings/mate-volume-control.convert
get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I:
$(PKG)_$(VER)$(DTYPE))
@
$(PKG)_$(VER)$(DTYPE).orig.tar.xz:
@echo "# Downloading..."
uscan --noconf --verbose --rename --destdir=$(CURDIR)
--check-dirname-level=0 --force-download --download-version $(VER)
$(PKD)
$(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist,
aborting..))
@echo "# Extracting..."
mkdir $(PKG)-$(VER) \
&& tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER)
--strip-components 1 \
|| $(RM) -r $(PKG)-$(VER)
@echo "# Cleaning-up..."
cd $(PKG)-$(VER) \
&& $(RM) -r -v \
*/doc/ \
*/docs/ \
COPYING-DOCS
$(RM) -v $(PKG)_$(VER).orig.tar.*
@echo "# Packing..."
find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
| XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T-
--owner=root --group=root --mode=a+rX \
&& $(RM) -r "$(PKG)-$(VER)"
Please review and show me my errors/mistakes, but to be honest
in "binary-install/mate-media" i tried aslo as
"binary-install/mate-media-gstreamer"
and "install/mate-media-gstreamer"
All my efforts failed.
Greets
gnugr
--
pub: 2048R/4DD72410
Key fingerprint: A5BC 4190 DB4F E4F8 E1C2 CE15 59B2 3691 4DD7 2410
More information about the pkg-mate-team
mailing list