Bug#812752: phonon: please depend on phonon-backend-gstreamer on hurd

2017-07-14 Thread Maximiliano Curia

Control: tag -1 + pending

¡Hola Samuel!

El 2017-07-12 a las 20:56 +0200, Samuel Thibault escribió:

Maximiliano Curia, on mer. 12 juil. 2017 09:43:38 +0200, wrote:
It seems to me that libldb is needed for the vlc samba plugin, which is 
optional for vlc, also phonon4qt5-backend-vlc is only the recommended 
backend, but it should be replaceable with phonon4qt5-backend-gstreamer or 
phonon4qt5-backend-null at package resolution time if phonon4qt5-backend-vlc 
is uninstallable.



Sure, but buildds don't do that automatically.


Maybe the samba plugin shouldn't be recommended by vlc in hurd.

Anyway, I think this issue should be solved by now, but I don't have a hurd 
machine to test this, could you please recheck if this issue is still 
affecting hurd?



It is still a problem:


I applied the suggested patch for the qt5 backend. Thanks for testing this 
again.


Happy hacking,
--
"The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offense."
-- Edsger W. Dijkstra
Saludos /\/\ /\ >< `/


signature.asc
Description: PGP signature


Processed: Re: Bug#812752: phonon: please depend on phonon-backend-gstreamer on hurd

2017-07-14 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + pending
Bug #812752 [phonon] phonon: please depend on phonon-backend-gstreamer on hurd
Added tag(s) pending.

-- 
812752: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812752
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#812752: phonon: please depend on phonon-backend-gstreamer on hurd

2017-07-12 Thread Samuel Thibault
Hello,

Maximiliano Curia, on mer. 12 juil. 2017 09:43:38 +0200, wrote:
> It seems to me that libldb is needed for the vlc samba plugin, which is
> optional for vlc, also phonon4qt5-backend-vlc is only the recommended
> backend, but it should be replaceable with phonon4qt5-backend-gstreamer or
> phonon4qt5-backend-null at package resolution time if phonon4qt5-backend-vlc
> is uninstallable.

Sure, but buildds don't do that automatically.

> Anyway, I think this issue should be solved by now, but I don't have a hurd
> machine to test this, could you please recheck if this issue is still
> affecting hurd?

It is still a problem:

# apt-get build-dep akonadi
...
 builddeps:akonadi : Depends: kdesignerplugin (>= 5.16.0~) but it is not going 
to be installed
 Depends: kio-dev (>= 5.16.0~) but it is not going to be 
installed
...
# apt-get install kio-dev libkf5kio-dev kio libkf5notifications5
 libkf5notifications5 : Depends: phonon4qt5 but it is not going to be installed
# apt-get install kio-dev libkf5kio-dev kio libkf5notifications5 phonon4qt5
...
The following NEW packages will be installed:
...
  phonon-backend-gstreamer-common phonon4qt5 phonon4qt5-backend-gstreamer

so apt manages to pick up the gstreamer version. But that's not what the
buildd resolver does: it always picks the first alternative, so as to
get deterministic behavior.

For those KDE applications, I do add the dep by hand to get things
built, but that's not how it is to be done.

Samuel



Bug#812752: phonon: please depend on phonon-backend-gstreamer on hurd

2017-07-12 Thread Maximiliano Curia

¡Hola Samuel!

El 2016-01-26 a las 11:07 +0100, Samuel Thibault escribió:
Most of KDE is currently not buildable on hurd-i386 because phonon tries 
to pull phonon-backend-vlc, which is currently not installable due to 
the missing libldb-dev support on hurd for now (the person working on 
this is still working on this, but it seems to be taking months).


Quick update:
phonon-backend-vlc is no longer the recommended backend for the qt4 version of 
phonon, but phonon4qt5-backend-vlc is still the recommended backend for the 
qt5 version.


It seems to me that libldb is needed for the vlc samba plugin, which is 
optional for vlc, also phonon4qt5-backend-vlc is only the recommended backend, 
but it should be replaceable with phonon4qt5-backend-gstreamer or 
phonon4qt5-backend-null at package resolution time if phonon4qt5-backend-vlc 
is uninstallable.


Anyway, I think this issue should be solved by now, but I don't have a hurd 
machine to test this, could you please recheck if this issue is still 
affecting hurd?


Happy hacking,
--
"It is practically impossible to teach good programming to students that have
had a prior exposure to BASIC: as potential programmers they are mentally
mutilated beyond hope of regeneration."
-- Edsger W. Dijkstra
Saludos /\/\ /\ >< `/


signature.asc
Description: PGP signature


Bug#812752: phonon: please depend on phonon-backend-gstreamer on hurd

2016-01-26 Thread Samuel Thibault
Package: phonon
Version: 4:4.8.3-2
Severity: important

Hello,

Most of KDE is currently not buildable on hurd-i386 because phonon tries
to pull phonon-backend-vlc, which is currently not installable due to
the missing libldb-dev support on hurd for now (the person working on
this is still working on this, but it seems to be taking months).

Could you change the dependencies to phonon-backend-gstreamer on hurd
to avoid the issue so we can get to build kde again?  I have attached a
proposed patch.

Thanks,
Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'oldoldstable'), 
(500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages phonon depends on:
ii  debconf [debconf-2.0]1.5.58
ii  libphonon4   4:4.8.3-2
ii  phonon-backend-vlc [phonon-backend]  0.8.2-1

phonon recommends no packages.

Versions of packages phonon suggests:
pn  phonon-backend-gstreamer  
ii  phonon-backend-vlc0.8.2-1

-- debconf information excluded

-- 
Samuel
 Moralité : le modem et le cablerouteur font comme les filles, ils
 papotent toute la journée.
 -+- RB in NPC : Et en plus, ils ne parlent que de bits -+-
--- debian/rules.orig   2016-01-26 10:55:18.426115433 +0100
+++ debian/rules2016-01-26 10:56:11.575941501 +0100
@@ -8,8 +8,15 @@
 libpkgs_gen_strict_local_shlibs = $(libpkgs_all_packages)
 include /usr/share/pkg-kde-tools/qt-kde-team/2/library-packages.mk
 
+DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+ifeq ($(DEB_HOST_ARCH_OS),hurd)
+RECOMMENDED_PHONON4_QT4_BACKEND := phonon-backend-gstreamer
+RECOMMENDED_PHONON4_QT5_BACKEND := phonon4qt5-backend-gstreamer
+else
 RECOMMENDED_PHONON4_QT4_BACKEND := phonon-backend-vlc
 RECOMMENDED_PHONON4_QT5_BACKEND := phonon4qt5-backend-vlc
+endif
 
 override_dh_auto_clean:
$(overridden_command)