Re: cinnamon 4.4 - muffin compile problem
Il 06/01/2020 06:06, Norbert Preining ha scritto:
> Hi Max, hi Fabio,
>
> I am trying to work a bit on Cinnamon 4.4. For now I have updated the
> experimental branch of most packages, updated patches etc.
Hi, cinnamon don't support wayland and don't seem added it, about the
error you reported I found this that probably can solve:
https://github.com/linuxmint/muffin/issues/538#issuecomment-549150369
>
> I am stuck now when compiling muffin, which seems to somehow require
> wayland stuff. The compile error is:
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I./deprecated -I./winsys -I./driver/gl -I./driver/gl/gl -I./driver/gl/gles -DG_LOG_DOMAIN=\"Cogl\" -DCOGL_COMPILATION -DCOGL_GL_LIBNAME=\"libGL.so.1\" -DCOGL_GLES1_LIBNAME=\"\" -DCOGL_GLES2_LIBNAME=\"\" -DCOGL_LOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libdrm -DCOGL_GL_DEBUG -DCOGL_OBJECT_DEBUG -DCOGL_ENABLE_DEBUG -Wall -Wcast-align -Wformat -Wformat-security -Werror=uninitialized -Werror=empty-body -Werror=init-self -Werror=undef -Werror=declaration-after-statement -Werror=vla -Werror=pointer-arith -Werror=missing-declarations -Werror=maybe-uninitialized -Wno-error=sign-compare -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -g -O2 -fdebug-prefix-map=/tmp/muffin-4.4.2=. -fstack-protector-strong -Wformat -Werror=format-security -c cogl-texture-rectangle.c -fPIC -DPIC -o .libs/cogl-texture-rectangle.o
> cogl-texture-2d.c: In function 'cogl_wayland_texture_2d_new_from_buffer':
> cogl-texture-2d.c:394:11: warning: implicit declaration of function '_cogl_egl_query_wayland_buffer' [-Wimplicit-function-declaration]
> 394 | if (_cogl_egl_query_wayland_buffer (ctx,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I./deprecated -I./winsys -I./driver/gl -I./driver/gl/gl -I./driver/gl/gles -DG_LOG_DOMAIN=\"Cogl\" -DCOGL_COMPILATION -DCOGL_GL_LIBNAME=\"libGL.so.1\" -DCOGL_GLES1_LIBNAME=\"\" -DCOGL_GLES2_LIBNAME=\"\" -DCOGL_LOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libdrm -DCOGL_GL_DEBUG -DCOGL_OBJECT_DEBUG -DCOGL_ENABLE_DEBUG -Wall -Wcast-align -Wformat -Wformat-security -Werror=uninitialized -Werror=empty-body -Werror=init-self -Werror=undef -Werror=declaration-after-statement -Werror=vla -Werror=pointer-arith -Werror=missing-declarations -Werror=maybe-uninitialized -Wno-error=sign-compare -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -g -O2 -fdebug-prefix-map=/tmp/muffin-4.4.2=. -fstack-protector-strong -Wformat -Werror=format-security -c cogl-rectangle-map.c -fPIC -DPIC -o .libs/cogl-rectangle-map.o
> cogl-texture-2d.c:432:43: error: 'EGL_WAYLAND_BUFFER_WL' undeclared (first use in this function)
> 432 | EGL_WAYLAND_BUFFER_WL,
> | ^~~~~~~~~~~~~~~~~~~~~
> cogl-texture-2d.c:432:43: note: each undeclared identifier is reported only once for each function it appears in
>
>
>
> The configure call returns for cogl:
> Cogl - 1.22.1/2.0.0 (git)
>
> • Global:
> Prefix: /usr
>
> • Features:
> Drivers: gl
> Library name for GL: libGL.so.1
> GL Window System APIs: glx egl
> EGL Platforms: kms xlib
> Wayland compositor support: yes
> Build libcogl-gles2 GLES 2.0 frontend api: no
> Image backend: gdk-pixbuf
> Cogl Pango: yes
> Cogl Path: yes
>
> • Build options:
> Debugging: yes
> Profiling: no
> Enable deprecated symbols: no
> Compiler flags: -g -O2 -fdebug-prefix-map=/tmp/muffin-4.4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DCOGL_GL_DEBUG -DCOGL_OBJECT_DEBUG -DCOGL_ENABLE_DEBUG -Wall -Wcast-align -Wformat -Wformat-security -Werror=uninitialized -Werror=empty-body -Werror=init-self -Werror=undef -Werror=declaration-after-statement -Werror=vla -Werror=pointer-arith -Werror=missing-declarations -Werror=maybe-uninitialized -Wno-error=sign-compare -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES
> Linker flags: -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
>
> • Extra:
> Build introspection data: auto
> Build unit tests: yes
>
>
> and for clutter:
> Clutter - 1.26.1 (git)
>
> • Global:
> Prefix: /usr
> Libdir: ${prefix}/lib/x86_64-linux-gnu
> Sysconfdir: /etc
>
> • Compiler options:
> Clutter debug level: minimum
> Compiler flags: -g -O2 -fdebug-prefix-map=/tmp/muffin-4.4.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wcast-align -Wuninitialized -Wno-strict-aliasing -Wshadow -Werror=logical-op -Werror=pointer-arith -Werror=missing-declarations -Werror=redundant-decls -Werror=empty-body -Werror=format -Werror=format-security -Werror=format-nonliteral -Werror=init-self -Werror=declaration-after-statement -Werror=vla
> Enable coverage tests: no
> Enable deprecated symbols: yes
>
> • Extra:
> Build introspection data: yes
> Build X11-specific tests: yes
> Build tests using GDK-Pixbuf: yes
> Install test suites:
> Build examples: no
>
> • Clutter Backends:
> Windowing systems: x11 egl
> Input backends: x11 evdev
>
> - X11 backend options:
> Enabled extensions: xext xdamage xcomposite xtst xge xi2.2 xkb
>
> - Wayland compositor support enabled
>
>
>
> and for muffin itself:
> muffin-4.4.2
>
> prefix: /usr
> source code location: .
> compiler: gcc
>
> XFree86 Xinerama: yes
> Solaris Xinerama: no
> Startup notification: yes
> libcanberra: yes
> Introspection: yes
> Session management: yes
> Shape extension: yes
> Xsync: yes
> Xcursor: yes
>
>
>
> Do you have any idea about that?
>
> All the best
>
> Norbert
>
> --
> PREINING Norbert http://www.preining.info
> Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
> GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Reply to: