[SCM] libva/master: Fix FTBS by updating ignore-debian.upstream.patch * Remove debian.upstream, and associated unused stanzas from Makefile.am and Makefile.in

Sebastian Ramacher sramacher at debian.org
Sun Jul 17 08:52:52 UTC 2016


On 2016-07-17 01:46:30, sten-guest at users.alioth.debian.org wrote:
> The following commit has been merged in the master branch:
> commit aa0330cf48fb0f6fd37840d46981efe0b0a3e2c0
> Author: Nicholas D Steeves <nsteeves at gmail.com>
> Date:   Sat Jul 16 21:21:08 2016 -0400
> 
>     Fix FTBS by updating ignore-debian.upstream.patch
>       * Remove debian.upstream, and associated unused stanzas
>         from Makefile.am and Makefile.in
> 
> diff --git a/debian/patches/ignore-debian.upstream.patch b/debian/patches/ignore-debian.upstream.patch
> index 179e19b..5bd56fc 100644
> --- a/debian/patches/ignore-debian.upstream.patch
> +++ b/debian/patches/ignore-debian.upstream.patch
> @@ -4,8 +4,10 @@ Author: Sebastian Ramacher <sramacher at debian.org>
>  Forwarded: not-needed
>  Last-Update: 2016-07-08
>  
> ---- libva-1.7.1.orig/configure.ac
> -+++ libva-1.7.1/configure.ac
> +Index: libva/configure.ac
> +===================================================================
> +--- libva.orig/configure.ac
> ++++ libva/configure.ac
>  @@ -300,21 +300,6 @@ AC_DEFINE_UNQUOTED([VA_DRIVER_INIT_FUNC]
>   
>   AC_OUTPUT([
> @@ -28,3 +30,65 @@ Last-Update: 2016-07-08
>       doc/Makefile
>       dummy_drv_video/Makefile
>       pkgconfig/Makefile
> +Index: libva/Makefile.am
> +===================================================================
> +--- libva.orig/Makefile.am
> ++++ libva/Makefile.am
> +@@ -24,7 +24,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
> + 
> + AUTOMAKE_OPTIONS = foreign
> + 
> +-SUBDIRS = va dummy_drv_video pkgconfig test debian.upstream doc
> ++SUBDIRS = va dummy_drv_video pkgconfig test doc
> + 
> + # Extra clean files so that maintainer-clean removes *everything*
> + MAINTAINERCLEANFILES = \
> +@@ -33,15 +33,3 @@ MAINTAINERCLEANFILES = \
> + 	Makefile.in missing
> + 
> + DEB_BUILDDIR = debian.build
> +-
> +-deb:
> +-	@[ -d debian ] || ln -s debian.upstream debian
> +-	dpkg-buildpackage -rfakeroot -uc -us
> +-
> +-deb.upstream: dist
> +-	-mkdir -p $(DEB_BUILDDIR)
> +-	cd $(DEB_BUILDDIR)				&& \
> +-	rm -rf $(PACKAGE)-$(VERSION)			&& \
> +-	tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz	&& \
> +-	cd $(PACKAGE)-$(VERSION)			&& \
> +-	$(MAKE) deb -f Makefile.am

That's not used anyway. I'd leave it in.

> +Index: libva/Makefile.in
> +===================================================================
> +--- libva.orig/Makefile.in
> ++++ libva/Makefile.in

No, please don't patch any Makefile.in if dh_autoreconf is used.

Cheers

> +@@ -371,7 +371,7 @@ top_builddir = @top_builddir@
> + top_srcdir = @top_srcdir@
> + ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
> + AUTOMAKE_OPTIONS = foreign
> +-SUBDIRS = va dummy_drv_video pkgconfig test debian.upstream doc
> ++SUBDIRS = va dummy_drv_video pkgconfig test doc
> + 
> + # Extra clean files so that maintainer-clean removes *everything*
> + MAINTAINERCLEANFILES = \
> +@@ -861,19 +861,6 @@ uninstall-am:
> + 	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
> + 	uninstall-am
> + 
> +-
> +-deb:
> +-	@[ -d debian ] || ln -s debian.upstream debian
> +-	dpkg-buildpackage -rfakeroot -uc -us
> +-
> +-deb.upstream: dist
> +-	-mkdir -p $(DEB_BUILDDIR)
> +-	cd $(DEB_BUILDDIR)				&& \
> +-	rm -rf $(PACKAGE)-$(VERSION)			&& \
> +-	tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz	&& \
> +-	cd $(PACKAGE)-$(VERSION)			&& \
> +-	$(MAKE) deb -f Makefile.am
> +-
> + # Tell versions [3.59,3.63) of GNU make to not export all variables.
> + # Otherwise a system limit (for SysV at least) may be exceeded.
> + .NOEXPORT:
> 
> -- 
> libva packaging
> 
> _______________________________________________
> pkg-multimedia-commits mailing list
> pkg-multimedia-commits at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-commits

-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-commits/attachments/20160717/a55197e6/attachment.sig>


More information about the pkg-multimedia-commits mailing list