[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#819456: libgbm-dev & libgles2-mesa-dev are available on kfreebsd-any / hurd-any



severity 819456 wishlist
tags 819456 - moreinfo + patch
user debian-bsd@lists.debian.org
usertags 819456 + kfreebsd
thanks

Hi,

Lisandro Damián Nicanor Pérez Meyer wrote:
> Hi Jon! have you build it to see that it really works? Do you have builds logs 
> I can look at?

I've tried this on Debian GNU/kFreeBSD and it needs other changes:

Jon is right that those libraries are available now on kfreebsd, in sid
(but were not available in jessie or before).

Adding them to Build-Depends, they are still not used/needed, unless
EGLFS is enabled first in debian/rules.

I tried that, it built EGLFS but did not install it into any package;
some debian/*.install-kfreebsd scripts had to be created also.

The attached diff has everything needed to make this work.  A build log
is attached also;  but I don't know how to run-time test this.  (What is
an example usage of this?  Do any reverse-deps use EGLFS?)

I did not encounter the FTBFS seen on kfreebsd-amd64, which must have
been a random thing on the buildd:
https://buildd.debian.org/status/logs.php?pkg=qtbase-opensource-src&ver=5.5.1%2Bdfsg-16&arch=kfreebsd-amd64

EGLFS cannot be built yet on hurd-* (without libgbm-dev), so there is
no point adding libgles2-mesa-dev to Build-Depends there.

Thanks!
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
diff -Nru --exclude '*.mps' qtbase-opensource-src-5.5.1+dfsg/debian/control qtbase-opensource-src-5.5.1+dfsg/debian/control
--- qtbase-opensource-src-5.5.1+dfsg/debian/control	2016-03-05 13:22:05.000000000 +0000
+++ qtbase-opensource-src-5.5.1+dfsg/debian/control	2016-04-02 21:21:53.000000000 +0000
@@ -18,9 +18,9 @@
                libdbus-1-dev,
                libfontconfig1-dev,
                libfreetype6-dev,
-               libgbm-dev [linux-any],
+               libgbm-dev [kfreebsd-any linux-any],
                libgl1-mesa-dev | libgl-dev,
-               libgles2-mesa-dev [linux-any] | libgles2-dev [linux-any],
+               libgles2-mesa-dev [kfreebsd-any linux-any] | libgles2-dev [linux-any],
                libglib2.0-dev,
                libglu1-mesa-dev | libglu-dev,
                libgstreamer-plugins-base1.0-dev,
diff -Nru --exclude '*.mps' qtbase-opensource-src-5.5.1+dfsg/debian/libqt5gui5.install-kfreebsd qtbase-opensource-src-5.5.1+dfsg/debian/libqt5gui5.install-kfreebsd
--- qtbase-opensource-src-5.5.1+dfsg/debian/libqt5gui5.install-kfreebsd	1970-01-01 00:00:00.000000000 +0000
+++ qtbase-opensource-src-5.5.1+dfsg/debian/libqt5gui5.install-kfreebsd	2016-04-02 20:17:11.000000000 +0000
@@ -0,0 +1,4 @@
+usr/lib/*/libQt5EglDeviceIntegration.so.*
+usr/lib/*/qt5/plugins/egldeviceintegrations/*
+usr/lib/*/qt5/plugins/platforms/libqeglfs.so
+usr/lib/*/qt5/plugins/platforms/libqminimalegl.so
diff -Nru --exclude '*.mps' qtbase-opensource-src-5.5.1+dfsg/debian/qtbase5-dev.install-kfreebsd qtbase-opensource-src-5.5.1+dfsg/debian/qtbase5-dev.install-kfreebsd
--- qtbase-opensource-src-5.5.1+dfsg/debian/qtbase5-dev.install-kfreebsd	1970-01-01 00:00:00.000000000 +0000
+++ qtbase-opensource-src-5.5.1+dfsg/debian/qtbase5-dev.install-kfreebsd	2016-04-02 19:30:12.000000000 +0000
@@ -0,0 +1,3 @@
+usr/lib/*/libQt5EglDeviceIntegration.prl
+usr/lib/*/libQt5EglDeviceIntegration.so
+usr/lib/*/pkgconfig/Qt5EglDeviceIntegration.pc
diff -Nru --exclude '*.mps' qtbase-opensource-src-5.5.1+dfsg/debian/rules qtbase-opensource-src-5.5.1+dfsg/debian/rules
--- qtbase-opensource-src-5.5.1+dfsg/debian/rules	2016-03-05 13:22:06.000000000 +0000
+++ qtbase-opensource-src-5.5.1+dfsg/debian/rules	2016-04-02 17:39:27.000000000 +0000
@@ -55,7 +55,7 @@
 	extra_configure_opts += -opengl desktop
 endif
 
-ifneq ($(DEB_HOST_ARCH_OS),linux)
+ifneq ($(DEB_HOST_ARCH_OS),$(findstring $(DEB_HOST_ARCH_OS), linux kfreebsd))
 	extra_configure_opts += -no-eglfs
 endif
 

Attachment: qtbase-opensource-src_5.5.1+dfsg-16_build.log.xz
Description: application/xz

Attachment: signature.asc
Description: Digital signature


Reply to: