Package: libxfce4panel-2.0-dev
Version: 4.20.4-1
Severity: normal

Dear Maintainer,

Since 4.20, libxfce4panel-2.0.pc lists libxfce4ui-2 in Requires.private.
In 4.20.8-1 the generated file has:

  Requires.private: glib-2.0 >=  2.72.0, gmodule-2.0 >=  2.72.0, gtk+-3.0 >=  
3.24.0, libxfce4ui-2 >=  4.18.0, libxfce4util-1.0 >=  4.18.0, gtk-layer-shell-0 
>=  0.7.0

(Upstream added libxfce4ui-2 to Requires.private in commit a7bf2db2,
"panel, libxfce4panel: Use xfce_dialog_confirm in plugin removal
confirmation", in 2024.)

libxfce4panel-2.0-dev depends on the -dev packages of all of these
except libxfce4ui-2-dev. pkg-config needs the Requires.private packages
too when asked for compiler flags, so with only libxfce4panel-2.0-dev
installed, the module can't be used:

  $ pkg-config --cflags libxfce4panel-2.0
  Package libxfce4ui-2 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libxfce4ui-2.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'libxfce4ui-2', required by 'libxfce4panel-2.0', not found

In an autoconf build, PKG_CHECK_MODULES(..., libxfce4panel-2.0 >= 4.14.0)
fails with:

  checking for libxfce4panel-2.0 >= 4.14.0... no
  configure: error: Package requirements (libxfce4panel-2.0 >= 4.14.0) were not 
met:

  Package 'libxfce4ui-2', required by 'libxfce4panel-2.0', not found

Installing libxfce4ui-2-dev fixes it. The Depends of libxfce4panel-2.0-dev
in debian/control on salsa (debian/master, 4.20.8-1) still lacks it.

Suggested fix: add libxfce4ui-2-dev to the Depends of
libxfce4panel-2.0-dev.

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.115+deb13.1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_SE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libxfce4panel-2.0-dev depends on:
pn  gir1.2-gio-2.0-dev                              <none>
ii  gir1.2-glib-2.0-dev [gir1.2-gobject-2.0-dev]    2.84.4-3~deb13u5
ii  gir1.2-libxfce4panel-2.0                        4.20.4-1
ii  libglib2.0-dev                                  2.84.4-3~deb13u5
ii  libgtk-3-dev [gir1.2-gtk-3.0-dev]               3.24.49-3
ii  libxfce4panel-2.0-4                             4.20.4-1
ii  libxfce4util-dev [gir1.2-libxfce4util-1.0-dev]  4.20.1-1

libxfce4panel-2.0-dev recommends no packages.

libxfce4panel-2.0-dev suggests no packages.

-- no debconf information

Reply via email to