package/freerdp: fix fallout after version bump
cover package/freerdp: fix fallout after version bump
Hello All!
Add two patches to fix FreeRDP dependencies:
- pkg-config is now used for more than gstreamer-0.x, so make it a mandatory dependency,
- FreeRDP can now log to systemd's journald, so add proper dependency and options
Regards,
Yann E. MORIN.
The following changes since commit 3253c6fa4573307ec1631f3b34856b1daec9d1e1
package/mesa3d: remove old patch for uClibc (2017-11-05 17:57:10 +0100)
are available in the git repository at:
git://git.buildroot.org/~ymorin/git/buildroot.git
for you to fetch changes up to f3ea53ecff0ea344fcc64197b75f4ee5be1ac09c
package/freerdp: always uses pkg-config (2017-11-05 19:45:15 +0100)
----------------------------------------------------------------
Yann E. MORIN (2):
package/freerdp: optional systemd's journald support package/freerdp: always uses pkg-config
package/freerdp/freerdp.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/2 package/freerdp: optional systemd's journald support
FreeRDP now has support for writing to the journal, so we must ensure proper dependency and correct options.
Partially fixes:
http://autobuild.buildroot.org/results/81aa66ddd88919295ccb5f34b527b737627263a7/
--- package/freerdp/freerdp.mk | 8 ++++++++ 1 file changed, 8 insertions(+)
package/freerdp/freerdp.mk +8 -0
@@ -56,6 +56,14 @@ else FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF endif +# For the systemd journal +ifeq ($(BR2_PACAKGE_SYSTEMD),y) +FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=ON +FREERDP_DEPENDENCIES += systemd +else +FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=OFF +endif + ifeq ($(BR2_ARM_CPU_HAS_NEON),y) FREERDP_CONF_OPTS += -DWITH_NEON=ON else
Signature · 1 line
2.11.0
PATCH 2/2 package/freerdp: always uses pkg-config
In reply to Yann E. MORINCurrently, we only deopend on host-pkgconf for gstreamer-0.x
However, we also need it at least for gstreamer-1.x and waylabnd, too.
Make it a mandatory dependency, no matter what.
Partially fixes:
http://autobuild.buildroot.org/results/81a/81aa66ddd88919295ccb5f34b527b737627263a7/ http://autobuild.buildroot.org/results/bdf/bdfe233ade36a56d0f65ef3c3d1698fca548beed/
--- package/freerdp/freerdp.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/freerdp/freerdp.mk +2 -2
@@ -6,7 +6,7 @@ FREERDP_VERSION = 2.0.0-rc0 FREERDP_SITE = $(call github,FreeRDP,FreeRDP,$(FREERDP_VERSION)) -FREERDP_DEPENDENCIES = libglib2 openssl zlib +FREERDP_DEPENDENCIES = libglib2 openssl zlib host-pkgconf FREERDP_LICENSE = Apache-2.0 FREERDP_LICENSE_FILES = LICENSE
@@ -16,7 +16,7 @@ FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF -Wno-dev ifeq ($(BR2_PACKAGE_FREERDP_GSTREAMER),y) FREERDP_CONF_OPTS += -DWITH_GSTREAMER_0_10=ON -FREERDP_DEPENDENCIES += gstreamer gst-plugins-base libxml2 host-pkgconf +FREERDP_DEPENDENCIES += gstreamer gst-plugins-base libxml2 else FREERDP_CONF_OPTS += -DWITH_GSTREAMER_0_10=OFF endif
Signature · 1 line
2.11.0
PATCH 1/2 package/freerdp: optional systemd's journald support
In reply to Yann E. MORINQuoted 16 lines · Yann E. MORIN
FreeRDP now has support for writing to the journal, so we must ensure proper dependency and correct options.
Partially fixes:
http://autobuild.buildroot.org/results/81aa66ddd88919295ccb5f34b527b737627263a7/Signed-off-by "Yann E. MORIN" <[email protected]>--- package/freerdp/freerdp.mk | 8 ++++++++ 1 file changed, 8 insertions(+)package/freerdp/freerdp.mk +0
-0
package/freerdp/freerdp.mk else · line 60
Quoted 5 lines
package/freerdp/freerdp.mk +2
-0@@ -56,6 +56,14 @@ else FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF endif +# For the systemd journal +ifeq ($(BR2_PACAKGE_SYSTEMD),y)
PACAKGE?
Regards,
Arnout
Quoted 10 lines
package/freerdp/freerdp.mk +6
-0+FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=ON +FREERDP_DEPENDENCIES += systemd +else +FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=OFF +endif + ifeq ($(BR2_ARM_CPU_HAS_NEON),y) FREERDP_CONF_OPTS += -DWITH_NEON=ON else
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/2 package/freerdp: optional systemd's journald support
Arnout, All,
On 2017-11-05 20:22 +0100, Arnout Vandecappelle spake thusly:
Quoted 20 lines · Yann E. MORIN
Quoted 19 lines
FreeRDP now has support for writing to the journal, so we must ensure proper dependency and correct options.
Partially fixes:
http://autobuild.buildroot.org/results/81aa66ddd88919295ccb5f34b527b737627263a7/Signed-off-by "Yann E. MORIN" <[email protected]>--- package/freerdp/freerdp.mk | 8 ++++++++ 1 file changed, 8 insertions(+)package/freerdp/freerdp.mk +0
-0@@ -56,6 +56,14 @@ else FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF endif
Quoted 4 lines
package/freerdp/freerdp.mk else · line 60
Quoted 2 lines
package/freerdp/freerdp.mk +2
-0+# For the systemd journal +ifeq ($(BR2_PACAKGE_SYSTEMD),y)PACAKGE?
Seriously? :-]
Damned, no wonders it is now working! Muahaha!... Aha... Eh. Meh... :-]
Regards,
Yann E. MORIN.
Quoted 21 lines
Regards,
ArnoutQuoted 10 lines
package/freerdp/freerdp.mk +6
-0+FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=ON +FREERDP_DEPENDENCIES += systemd +else +FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=OFF +endif + ifeq ($(BR2_ARM_CPU_HAS_NEON),y) FREERDP_CONF_OPTS += -DWITH_NEON=ON elseSignature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 2/2 package/freerdp: always uses pkg-config
In reply to Yann E. MORINHi Yann,
Quoted 5 lines · Yann E. MORIN
Currently, we only deopend on host-pkgconf for gstreamer-0.x
However, we also need it at least for gstreamer-1.x and waylabnd, too.
Make it a mandatory dependency, no matter what.
Since freerdp uses the cmake infrastructure, it already has host-pkgconf among its dependencies (c.f. [1])
Regards,
[1] https://git.buildroot.net/buildroot/tree/package/pkg-cmake.mk#n151
Signature · 1 line
Samuel
PATCH 2/2 package/freerdp: always uses pkg-config
On 2017-11-05 22:17 +0100, Samuel Martin spake thusly:
Quoted 9 lines · Yann E. MORIN
Quoted 5 lines
Currently, we only deopend on host-pkgconf for gstreamer-0.x
However, we also need it at least for gstreamer-1.x and waylabnd, too.
Make it a mandatory dependency, no matter what.
Since freerdp uses the cmake infrastructure, it already has host-pkgconf among its dependencies (c.f. [1])
OK, god to know, indeed...
Then, that does not explain the errors we're seeing... Damned... :-(
I'll update the patch to just drop the depenency altogether, then.
Thanks!
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 2/2 package/freerdp: always uses pkg-config
Quoted 6 lines · Yann E. MORIN
On 2017-11-05 22:17 +0100, Samuel Martin spake thusly:
Quoted 5 lines · Yann E. MORIN
Quoted 4 lines
Currently, we only deopend on host-pkgconf for gstreamer-0.x
However, we also need it at least for gstreamer-1.x and waylabnd, too.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Make it a mandatory dependency, no matter what.
Since freerdp uses the cmake infrastructure, it already has host-pkgconf among its dependencies (c.f. [1])
OK, god to know, indeed...
Then, that does not explain the errors we're seeing... Damned... :-(
I took a look at
http://autobuild.buildroot.org/results/bdf/bdfe233ade36a56d0f65ef3c3d1698fca548beed/build-end.log
It errors on
.../output/host/x86_64-buildroot-linux-musl/sysroot/usr/bin/wayland-scanner: No such file or directory
i.e. it's trying to execute the staging wayland-scanner.
Regards,
Arnout
Quoted 8 lines
I'll update the patch to just drop the depenency altogether, then.
Thanks!
Regards,
Yann E. MORIN.
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 2/2 package/freerdp: always uses pkg-config
Arnout, All,
On 2017-11-05 23:09 +0100, Arnout Vandecappelle spake thusly:
Quoted 12 lines · Yann E. MORIN
Quoted 11 lines
On 2017-11-05 22:17 +0100, Samuel Martin spake thusly:
Quoted 9 lines · Yann E. MORIN
Quoted 5 lines
Currently, we only deopend on host-pkgconf for gstreamer-0.x
However, we also need it at least for gstreamer-1.x and waylabnd, too.
Make it a mandatory dependency, no matter what.
Since freerdp uses the cmake infrastructure, it already has host-pkgconf among its dependencies (c.f. [1])
Quoted 6 lines
Quoted 3 lines
OK, god to know, indeed...
Then, that does not explain the errors we're seeing... Damned... :-(
I took a look at
http://autobuild.buildroot.org/results/bdf/bdfe233ade36a56d0f65ef3c3d1698fca548beed/build-end.log
Yes, I'm revisitng the series as a whole: it turns out I did not have a clean build tree, and something made it build ocally. Now, I can still reproduce the issue with my patches...
Quoted 4 lines
It errors on
.../output/host/x86_64-buildroot-linux-musl/sysroot/usr/bin/wayland-scanner: No such file or directory
i.e. it's trying to execute the staging wayland-scanner.
And that's becasue it uses whatever pkg-config provides, which is obviously stupid and wrong for cross-compilation... Sigh... :-(
I'm revisiting the whole series...
Regards,
Yann E. MORIN.
Quoted 19 lines
Regards,
ArnoutQuoted 8 lines
I'll update the patch to just drop the depenency altogether, then.
Thanks!
Regards,
Yann E. MORIN.Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'