Bug 1216516 - xfce4-notifyd 0.9.2 has no X11 Support
Summary: xfce4-notifyd 0.9.2 has no X11 Support
Status: RESOLVED FIXED
: 1216631 (view as bug list)
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Xfce (show other bugs)
Version: Leap 15.5
Hardware: x86-64 openSUSE Leap 15.5
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-23 17:33 UTC by Jean-Eric DURET
Modified: 2023-11-07 20:05 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Eric DURET 2023-10-23 17:33:42 UTC
xfce4-notifyd 0.9.2 requires LIBX11 >= 1.6.7

If xfce4-notifyd is built without --enable-x11 flag, the result is that settings are ignored and notifications are displayed in center of the screen.

See : https://gitlab.xfce.org/apps/xfce4-notifyd/-/issues/116
Comment 1 Andreas Stieger 2023-10-23 20:02:07 UTC
The release:
https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP5/xfce4-notifyd/standard/x86_64

> [   59s] checking for main in -lX11... yes

Factory:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory/xfce4-notifyd/standard/x86_64

> [   18s] checking for x11 >= 1.6.7... 1.8.6
> [   18s] checking LIBX11_CFLAGS... 
> [   18s] checking LIBX11_LIBS... -lX11 

The update with regression:
https://build.opensuse.org/package/live_build_log/openSUSE:Maintenance:18140/xfce4-notifyd.openSUSE_Backports_SLE-15-SP5_Update/openSUSE_Backports_SLE-15-SP5_Update/x86_64

> [   33s] checking if the X11 windowing system is enabled... dependencies missing: x11 >= 1.6.7
Comment 2 Manfred Hollstein 2023-10-24 07:56:31 UTC
Adding

  BuildRequires: pkgconfig(x11) >= 1.6.7

results in no packages built for Leap 15.4..15.6 at all.

If you look at configure.ac, X11 is an optional feature. Testing with relaxed version requirements for pkgconfig(x11) >= 1.6.5 has shown, that this version is recent enough to make xfce4-notifyd work on the Leap versions, too.

I will create a new SR for this change, and I will also include all your other changes from SR#1119746, Andreas. Once it's there, I'll add Andreas to the review list.
Comment 3 Andreas Stieger 2023-10-24 08:04:26 UTC
Your statement does not line up with the observation that .. well it does not do that at all.

https://build.opensuse.org/package/live_build_log/openSUSE:Maintenance:18140/xfce4-notifyd.openSUSE_Backports_SLE-15-SP5_Update/openSUSE_Backports_SLE-15-SP5_Update/x86_64

> [   33s] checking if the X11 windowing system is enabled... dependencies missing: x11 >= 1.6.7
> [...]
> [   34s] Build Configuration:
> [...]
> [   34s] * X11 Support:               no
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Comment 4 Andreas Stieger 2023-10-24 08:06:03 UTC
You'd have to patch configure.
Comment 5 Manfred Hollstein 2023-10-24 09:00:12 UTC
https://build.opensuse.org/request/show/1119909

Once it is approved, it has to be forwarded to the proper SLE update channel. Then this ticket can be closed.
Comment 6 OBSbugzilla Bot 2023-10-24 14:45:02 UTC
This is an autogenerated message for OBS integration:
This bug (1216516) was mentioned in
https://build.opensuse.org/request/show/1120013 Backports:SLE-15-SP5 / xfce4-dev-tools+xfce4-notifyd
Comment 7 OBSbugzilla Bot 2023-10-24 15:45:03 UTC
This is an autogenerated message for OBS integration:
This bug (1216516) was mentioned in
https://build.opensuse.org/request/show/1120034 Backports:SLE-15-SP5 / xfce4-dev-tools+xfce4-notifyd
Comment 8 Andreas Stieger 2023-10-25 18:39:23 UTC
Please test with packages from below when it appears:
https://download.opensuse.org/repositories/openSUSE:/Maintenance:/18149/
Comment 9 Andreas Stieger 2023-10-25 18:56:17 UTC
openSUSE:Maintenance:18147/xfce4-branding-openSUSE.openSUSE_Leap_15.5_Update
openSUSE:Maintenance:18149/xfce4-notifyd.openSUSE_Backports_SLE-15-SP5_Update

Please merge these for bug 1216470
Comment 10 Jean-Eric DURET 2023-10-26 19:22:16 UTC
(In reply to Andreas Stieger from comment #8)
> Please test with packages from below when it appears:
> https://download.opensuse.org/repositories/openSUSE:/Maintenance:/18149/

It's all right !  
It's working correctly and settings are not ignored.

(OpenSUSE Leap 15.5)
Comment 11 Andreas Stieger 2023-10-26 20:21:15 UTC
Closing
Comment 12 Andreas Stieger 2023-10-26 20:23:14 UTC
*** Bug 1216631 has been marked as a duplicate of this bug. ***
Comment 13 Marcus Meissner 2023-11-07 20:05:01 UTC
openSUSE-RU-2023:0359-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1216516
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.5 (src):    xfce4-branding-openSUSE-4.18.0+git0.9a2f754-lp155.2.8.1
openSUSE Backports SLE-15-SP5 (src):    xfce4-dev-tools-4.18.1-bp155.3.5.1, xfce4-notifyd-0.9.2-bp155.2.6.1