Bug#967565: [Pkg-electronics-devel] Bug#967565: lepton-eda: depends on deprecated GTK 2

2024-01-05 Thread Bdale Garbee
Bastian Germann  writes:

> With both autotools and meson buildsystems, the gtksheet-4.0/gtksheet
> include path is intentional.

Then why does

 pkg-config --cflags "gtksheet-4.0 >= 4.0.0"
 
not include -I/usr/include/gtksheet-4.0 as one of the returned elements?

It appears to me that this is what the lepton-eda configure expects to
correctly return a path element for the includes.  Calling pkg-config
with --libs correctly adds -lgtksheet-4.0, so maybe there's something
not-quite-right with the info the gtksheet packaging delivers for use by
pkg-config --cflags?

Bdale


signature.asc
Description: PGP signature


Bug#967565: [Pkg-electronics-devel] Bug#967565: lepton-eda: depends on deprecated GTK 2

2024-01-05 Thread Bastian Germann

With both autotools and meson buildsystems, the gtksheet-4.0/gtksheet include 
path is intentional.
Mageia is the only other Linux system that I found a gtksheet package on
and they also install the files as intended by the build system, so we should 
rather not deviate.



Bug#967565: [Pkg-electronics-devel] Bug#967565: lepton-eda: depends on deprecated GTK 2

2024-01-05 Thread Bastian Germann

Am 05.01.24 um 19:14 schrieb Bdale Garbee:

Is that intentional, or just a mistake?


I will check the source and correct it if it is not intentional.
Can't remember because I uploaded it to NEW it several months ago.



Bug#967565: [Pkg-electronics-devel] Bug#967565: lepton-eda: depends on deprecated GTK 2

2024-01-05 Thread Bdale Garbee
Bastian Germann  writes:

> Am 20.05.23 um 12:41 schrieb Bastian Germann:
>> lepton-eda has gtk3 support. With the lepton-attrib configuration active, 
>> gtksheet would have to be packaged (#1036393).
>
> gtksheet is now available in Debian, so please consider switching to
> gtk3 soon.

It appears that libgtksheet-4.0-dev installs includes with an extra
layer of sub-directory.  While the application is looking for
/usr/include/gtksheet/gtksheet.h, for example, the -dev package installs
that file at /usr/include/gtksheet-4.0/gtksheet/gtksheet.h. 

Is that intentional, or just a mistake?  I don't immediately see the
value in the extra subdirectory level here.  I'm sure I can work around
it in the lepton-eda packaging, but if you agree the 'gtksheet-4.0'
level is unnecessary, it would be great to see that get fixed instead.

Regards,

Bdale


signature.asc
Description: PGP signature