Your message dated Fri, 5 Sep 2025 18:09:07 +0100
with message-id <[email protected]>
and subject line Re: Bug#1114027: libglycin-gtk4-1-dev: Bad header path in the 
/usr/include/glycin-gtk4-1/glycin-gtk4.h file (at line 3)
has caused the Debian Bug report #1114027,
regarding libglycin-gtk4-1-dev: Bad header path in the 
/usr/include/glycin-gtk4-1/glycin-gtk4.h file (at line 3)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1114027: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114027
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libglycin-gtk4-1-dev
Version: 1.2.1+ds-3
Severity: normal

Dear Maintainer,

In the /usr/include/glycin-gtk5-1/glycin-gtk4.h file, at the line 3,
glycin.h is included with

#include <glycin.h>

but it is not exist,

Instead of this, the programmer must includes glycin-1/glycin.h file with:

#include <glycin-1/glycin.h>

the /usr/include/glycin/glycin.h file is a part of libglycin-1-dev
package.

-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.38+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libglycin-gtk4-1-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
ii gir1.2-glygtk4-1 1.2.1+ds-3
ii libglycin-1-dev 1.2.1+ds-3
ii libglycin-gtk4-1-0 1.2.1+ds-3
ii libgtk-4-dev [gir1.2-gdk-4.0-dev] 4.18.6+ds-2

libglycin-gtk4-1-dev recommends no packages.

libglycin-gtk4-1-dev suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Fri, 05 Sep 2025 at 13:40:51 +0000, Seyed Mohamad Amin Modaresi wrote:
In the /usr/include/glycin-gtk5-1/glycin-gtk4.h file, at the line 3,
glycin.h is included with

#include <glycin.h>

but it is not exist

It does exist in the search path if you compile with, for example

    gcc ... $(pkgconf --cflags glycin-gtk4-1)

and link with

    gcc ... $(pkgconf --cflags --libs glycin-gtk4-1)

which is how this library is designed to be used.

GLib documents the equivalent pattern here: https://docs.gtk.org/glib/compiling.html, and GTK: https://docs.gtk.org/gtk4/compiling.html. Nearly all libraries based on GLib and GTK follow the same pattern.

This is a very common pattern for C libraries in general, especially in GNOME and GNOME-adjacent packages, using the design documented in <https://ometer.com/parallel.html> decades ago. Many non-GNOME libraries like libdbus and SDL also use it.

Instead of this, the programmer must includes glycin-1/glycin.h file with:

#include <glycin-1/glycin.h>

That is not how it is intended to be used, and is not guaranteed to continue to work. Please don't use #include <glycin-gtk5-1/glycin-gtk4.h> or similar constructs, either.

    smcv

--- End Message ---

Reply via email to