Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package emacs for openSUSE:Factory checked in at 2025-12-01 11:11:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/emacs (Old) and /work/SRC/openSUSE:Factory/.emacs.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "emacs" Mon Dec 1 11:11:35 2025 rev:213 rq:1320497 version:30.2 Changes: -------- --- /work/SRC/openSUSE:Factory/emacs/emacs.changes 2025-10-15 12:45:36.801481878 +0200 +++ /work/SRC/openSUSE:Factory/.emacs.new.14147/emacs.changes 2025-12-01 11:11:45.998560920 +0100 @@ -1,0 +2,5 @@ +Fri Nov 28 10:37:55 UTC 2025 - Dr. Werner Fink <[email protected]> + +- Avoid direct dependencies to X11 libraries for wayland port + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs.spec ++++++ --- /var/tmp/diff_new_pack.qmdU76/_old 2025-12-01 11:11:47.638630295 +0100 +++ /var/tmp/diff_new_pack.qmdU76/_new 2025-12-01 11:11:47.642630464 +0100 @@ -542,7 +542,8 @@ cflags -Wl,-O2 LDFLAGS cflags -Wl,--copy-dt-needed-entries LDFLAGS cflags -Wl,-z,relro LDFLAGS - cflags -Wl,--no-as-needed CFLAGS +# cflags -Wl,--no-as-needed CFLAGS + cflags -Wl,--as-needed CFLAGS %ifarch ia64 CFLAGS=$(echo "${CFLAGS}"|sed -r 's/-O[0-9]?/-O1/g') %endif @@ -588,6 +589,33 @@ --with-xwidgets \ %endif " +# +# Avoid libraries which uses direct X11 ... +# GTK3 and GDK3 can switch between wayland or X11 +# maybe the libs of imagemagick can not???? +# +WAYLAND="--without-x \ + --without-xim \ + --with-sound \ + --with-jpeg \ + --with-tiff \ + --with-gif \ + --with-png \ + --with-rsvg \ + --with-dbus \ + --with-webp \ + --without-xft \ + --with-imagemagick \ + --without-gpm \ + --with-x-toolkit=gtk3 \ + --with-pgtk \ + --with-toolkit-scroll-bars \ + --with-libotf \ + --with-m17n-flt \ +%if %{with cairo} + --with-cairo \ +%endif +" X11="${DESKTOP} \ --with-xpm=ifavailable \ --with-x-toolkit=lucid \ @@ -742,7 +770,7 @@ make distclean rm -vf src/emacs-%{version}* # -CFLAGS="$CFLAGS -DPDMP_BASE='\"emacs-wayland\"'" ./configure ${COMP} ${PREFIX} ${GTK//--without-pgtk/--with-pgtk} ${SYS} --with-dumping=pdumper +CFLAGS="$CFLAGS -DPDMP_BASE='\"emacs-wayland\"'" ./configure ${COMP} ${PREFIX} ${WAYLAND} ${SYS} --with-dumping=pdumper %make_build V=1 cp -p src/emacs src/emacs-wayland cp -p src/emacs.pdmp src/emacs-wayland.pdmp
