--- Begin Message ---
Source: smplayer
Version: 18.5.0~ds1-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
smplayer fails to cross build from source, because it uses the build
architecture qmake. The attached patch makes it use a cross qmake for
cross compilation. Furthermore, it needs to Build-Depends:
qt5-qmake:native in order to use lrelease. Please consider applying the
patch.
Helmut
diff --minimal -Nru smplayer-18.5.0~ds1/debian/changelog smplayer-18.5.0~ds1/debian/changelog
--- smplayer-18.5.0~ds1/debian/changelog 2018-06-19 19:58:18.000000000 +0200
+++ smplayer-18.5.0~ds1/debian/changelog 2018-12-10 05:58:23.000000000 +0100
@@ -1,3 +1,12 @@
+smplayer (18.5.0~ds1-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Pass a cross qmake along.
+ + Missing Build-Depends: qt5-qmake:native for lrelease.
+
+ -- Helmut Grohne <helmut@subdivi.de> Mon, 10 Dec 2018 05:58:23 +0100
+
smplayer (18.5.0~ds1-2) unstable; urgency=medium
* Disable downloading potentially insecure javascript from youtube.com
diff --minimal -Nru smplayer-18.5.0~ds1/debian/control smplayer-18.5.0~ds1/debian/control
--- smplayer-18.5.0~ds1/debian/control 2018-06-19 19:58:18.000000000 +0200
+++ smplayer-18.5.0~ds1/debian/control 2018-12-10 05:58:21.000000000 +0100
@@ -10,6 +10,7 @@
qtbase5-dev (>= 5.1),
qtbase5-private-dev,
qt5-qmake,
+ qt5-qmake:native,
qtscript5-dev,
qttools5-dev-tools,
zlib1g-dev
diff --minimal -Nru smplayer-18.5.0~ds1/debian/rules smplayer-18.5.0~ds1/debian/rules
--- smplayer-18.5.0~ds1/debian/rules 2018-06-19 19:58:18.000000000 +0200
+++ smplayer-18.5.0~ds1/debian/rules 2018-12-10 05:58:06.000000000 +0100
@@ -6,8 +6,15 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/architecture.mk
+
+ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+QMAKE=qmake
+else
+QMAKE=$(DEB_HOST_GNU_TYPE)-qmake
+endif
QMAKE_OPTS = DEFINES+=NO_DEBUG_ON_CONSOLE DEFINES-=MPLAYER2_SUPPORT
-MAKE_OPTS = PREFIX=/usr QMAKE=qmake LRELEASE=lrelease QMAKE_OPTS="$(QMAKE_OPTS)"
+MAKE_OPTS = PREFIX=/usr QMAKE=$(QMAKE) LRELEASE=lrelease QMAKE_OPTS="$(QMAKE_OPTS)"
%:
--- End Message ---
--- Begin Message ---
Source: smplayer
Source-Version: 18.10.0~ds0-1
We believe that the bug you reported is fixed in the latest version of
smplayer, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 916096@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mateusz Łukasik <mati75@linuxmint.pl> (supplier of updated smplayer package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 15 Dec 2018 17:31:04 +0100
Source: smplayer
Binary: smplayer smplayer-l10n
Architecture: source
Version: 18.10.0~ds0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Mateusz Łukasik <mati75@linuxmint.pl>
Description:
smplayer - Complete front-end for MPlayer and mpv
smplayer-l10n - Complete front-end for MPlayer and mpv - translation files
Closes: 916096
Changes:
smplayer (18.10.0~ds0-1) unstable; urgency=medium
.
[ Alf Gaida ]
* New upstream release
* Added myself to uploaders
* Patches reviewed
* Bumped Standards-Version to 4.2.1, no changes needed
* Improved d/rules:
- Set language to C.UTF-8
- Improved linker flags
- Added override_dh_missing
- Removed some extra licenses and not wished docs
* Install the desktop files from debian/tmp
* Added Files-Excluded: zlib to d/copyright
* Removed no longer needed repack-scripts
* Modified the watch file for the new repack
* Added debian/upstream/metadata
* Cleaned up d/copyright
.
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #916096)
+ Pass a cross qmake along.
+ Missing Build-Depends: qt5-qmake:native for lrelease.
.
[ Mateusz Łukasik ]
* Fix debian/gbp.conf.
Checksums-Sha1:
b203f62ae5a578eb991f3c92d5f14233b5e34074 2226 smplayer_18.10.0~ds0-1.dsc
8e57ed4361067f113fcae42252949544c1e32e4f 3809276 smplayer_18.10.0~ds0.orig.tar.xz
1eb3321f796c3cdb585ce1cc85e76f90b997915c 14932 smplayer_18.10.0~ds0-1.debian.tar.xz
93e70d0e725e4cfc0cad688938d11990eb69a25e 5376 smplayer_18.10.0~ds0-1_source.buildinfo
Checksums-Sha256:
6eb8ff7245e7ee748632798158fe09f9fccddcf73d8ae0aafaff15374fa7bd9b 2226 smplayer_18.10.0~ds0-1.dsc
1774a2f4e9676e671270161f3b30df0d97eec3dc671106afc813c46108a16c83 3809276 smplayer_18.10.0~ds0.orig.tar.xz
2846a564580ab83df46337974f477acfd688c8c3f33c91ab42a1af7ffacaf580 14932 smplayer_18.10.0~ds0-1.debian.tar.xz
2c1e89aff8d6a5f0798207fec50125064a7ed96141b8be6f2a9f6eb7be6184fd 5376 smplayer_18.10.0~ds0-1_source.buildinfo
Files:
f0638be66e75b79d4381816e354fe39a 2226 video optional smplayer_18.10.0~ds0-1.dsc
dc072a41c2f62c40a2cb09b4917e8b93 3809276 video optional smplayer_18.10.0~ds0.orig.tar.xz
89add7499c201ece9cefaa09b55445cd 14932 video optional smplayer_18.10.0~ds0-1.debian.tar.xz
c5f2087c7ebea9fa568d180335013906 5376 video optional smplayer_18.10.0~ds0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAlwW5HwACgkQweDZLphv
fH7ZjRAA3K2IUH8/ytBMGT25rBg9qVUQdW0XGfQQnmJNCRZZS9GNfNFEa43+cOYZ
GQsJ2BRGtjqirxrzRse5B0yReS44C+qkOO2blkWcaTRsHEK4JgIbUrk6p73BvUek
EFeocM+n4lTUuhFg27StEaU4QZqgfM/dLxehzZMYyxXTOSacJ8xTGKPAwgAzUipP
tO0cDqh1I+pne4ac314wxc2VMWyrl96UJY86ktalF8A+7kFdVtKCaY05AmHxR1OI
vccwZF/CmPTf2Pp6K5vpdrP3CQri6XcdOfigWAQCnF/HtOCfv+SAba9WfAQnfpDG
KYHb9YTKv/1Raxgo4MCemXTJpXsdjiuLCRdYkYQM2HNZXPHNCpEr07JBVJYS6Ljs
e0tyl8wUimJAgXfm6YWrluoEkhMQc0QjOdXYMbhUKynNQQ00XJF2FZ9A+4w68Hs1
iznISmsCKEZsfzReA8MHe3dKI2FgN0TF6ALdLySb3AaPgOup0Avvkk5D8vDwkcOh
bD7IXjdv6l3lUEIYROu2QkbUmW/irji8HoBiMLbNBCy6m3Fhne9KkrWJcAnrkvy5
riEB8ZzsDz5zIbyy5KHHcvG4aCTiBgXbktCpkdFzIaYy2GJL81f5jqCYDGmB9lBn
fH7cpyv/GijhTilZld9LmLiI0nZBUEiuIAgTtINE4WdWKYfAGPM=
=glyL
-----END PGP SIGNATURE-----
--- End Message ---