Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package emacs for openSUSE:Factory checked 
in at 2026-03-08 17:26:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/emacs (Old)
 and      /work/SRC/openSUSE:Factory/.emacs.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "emacs"

Sun Mar  8 17:26:25 2026 rev:216 rq:1337340 version:30.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/emacs/emacs.changes      2026-02-12 
17:25:17.105991258 +0100
+++ /work/SRC/openSUSE:Factory/.emacs.new.8177/emacs.changes    2026-03-08 
17:26:55.982924761 +0100
@@ -1,0 +2,6 @@
+Sat Feb 28 18:48:54 UTC 2026 - Björn Kettunen <[email protected]>
+
+- Add macro to add Emacs packages to load-path
+- Enable lexical bindings in startup-macros
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ emacs.spec ++++++
--- /var/tmp/diff_new_pack.LkrelX/_old  2026-03-08 17:27:01.447149185 +0100
+++ /var/tmp/diff_new_pack.LkrelX/_new  2026-03-08 17:27:01.475150336 +0100
@@ -571,65 +571,60 @@
         --libdir=%{_libdir} \
         
--enable-locallisppath=%{_datadir}/emacs/%{version}/site-lisp:%{_datadir}/emacs/site-lisp
 "
-DESKTOP="--with-x \
-        --with-xim \
+
+DESKTOP_SHARED="
         --with-sound \
+        --with-xpm=ifavailable \
         --with-jpeg \
         --with-tiff \
         --with-gif \
         --with-png \
         --with-rsvg \
         --with-dbus \
-        --with-webp \
-        --with-xft \
+%if %{with cairo}
+        --with-cairo \
+%endif
+     --with-tree-sitter \
+        --with-libotf \
+        --with-m17n-flt \
         --with-imagemagick \
+"
+
+DESKTOP_X11="${DESKTOP_SHARED}
+      --with-x \
+         --with-xim \
+         --with-xft \
         --without-gpm \
 "
-    GTK="${DESKTOP} \
-        --with-xpm=ifavailable \
-        --with-x-toolkit=gtk3 \
+
+GTK_X11="${DESKTOP_X11} \
+     --with-x-toolkit=gtk \
         --without-pgtk \
         --with-toolkit-scroll-bars \
         --x-includes=%{_x11inc} \
         --x-libraries=%{_x11lib} \
-        --with-libotf \
-        --with-m17n-flt \
-%if %{with cairo}
-        --with-cairo \
-%endif
 %if %{with webkit}
         --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 \
+DESKTOP_WAYLAND="${DESKTOP_SHARED}
+    --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 \
+"
+
+GTK_PURE="${DESKTOP_WAYLAND}
         --with-pgtk \
         --with-toolkit-scroll-bars \
-        --with-libotf \
-        --with-m17n-flt \
-%if %{with cairo}
-        --with-cairo \
-%endif
 "
-    X11="${DESKTOP} \
-        --with-xpm=ifavailable \
+
+LUCID_X11="${DESKTOP_SHARED} \
         --with-x-toolkit=lucid \
         --with-toolkit-scroll-bars \
         --x-includes=%{_x11inc} \
@@ -653,6 +648,7 @@
         --without-m17n-flt \
         --without-harfbuzz \
 "
+
    COMP="--disable-build-details \
 %if %{with mailutils}
         --without-pop
@@ -725,7 +721,7 @@
 make distclean
 rm -vf src/emacs-%{version}*
 #
-CFLAGS="$CFLAGS -DPDMP_BASE='\"emacs-x11\"'" ./configure ${COMP} ${PREFIX} 
${X11} ${SYS} --with-dumping=pdumper
+CFLAGS="$CFLAGS -DPDMP_BASE='\"emacs-x11\"'" ./configure ${COMP} ${PREFIX} 
${LUCID_X11} ${SYS} --with-dumping=pdumper
 %make_build V=1
 cp -p src/emacs src/emacs-x11
 cp -p src/emacs.pdmp src/emacs-x11.pdmp
@@ -782,7 +778,7 @@
 make distclean
 rm -vf src/emacs-%{version}*
 #
-CFLAGS="$CFLAGS -DPDMP_BASE='\"emacs-wayland\"'" ./configure ${COMP} ${PREFIX} 
${WAYLAND} ${SYS} --with-dumping=pdumper
+CFLAGS="$CFLAGS -DPDMP_BASE='\"emacs-wayland\"'" ./configure ${COMP} ${PREFIX} 
${GTK_PURE} ${SYS} --with-dumping=pdumper
 %make_build V=1
 cp -p src/emacs src/emacs-wayland
 cp -p src/emacs.pdmp src/emacs-wayland.pdmp
@@ -891,11 +887,13 @@
 
 install -dm755 %{buildroot}/%{_emacs_sitestartdir}/
 cat << EOF > %{buildroot}/%{_emacs_sitestartdir}/archsitedir.el
+;;  -*- lexical-binding: t -*-
 ;; Add load-path for dynamic modules
 (add-to-list 'load-path "%{_emacs_archsitelispdir}")
 EOF
 
 cat <<EOF > %{buildroot}/%{_emacs_sitestartdir}/function-c-source-directory.el
+;;  -*- lexical-binding: t -*-
 ;; Set function c source directory to the path of debugsource
 ;; so it can be found without user invention
 (setq find-function-C-source-directory 
"%{_usrsrc}/debug/%{name}-%{version}/src")



++++++ macros.emacs ++++++
--- /var/tmp/diff_new_pack.LkrelX/_old  2026-03-08 17:27:02.967211617 +0100
+++ /var/tmp/diff_new_pack.LkrelX/_new  2026-03-08 17:27:02.983212274 +0100
@@ -4,3 +4,10 @@
 %_emacs_sitestartdir %{_emacs_sitelispdir}/site-start.d
 %_emacs_archsitelispdir %{_libdir}/emacs/site-lisp
 
+%emacs_addto_load_path() \
+    cat <<EOF > %{buildroot}/%{_emacs_sitestartdir}/%1.el \
+    ;; -*- lexical-binding: t -*- \
+    ;; Add package %1 to load-path \
+    (add-to-list 'load-path %2) \
+    EOF
+

Reply via email to