On Sun, Nov 23, 2025 at 8:11 AM Christian Heusel <[email protected]>
wrote:

> On 25/11/22 06:25PM, Robert Arkiletian wrote:
> > Hello,
>
> Hey Robert!
>
> > I am one of the upstream maintainers of pyfltk
> > https://pyfltk.sourceforge.io/
> >
> > I adopted the orphaned python-pyfltk package in the AUR. In the process
> of
> > creating a PKGBUILD, I noticed that the FLTK 1.4.4 package in the extra
> > repo is not built with Wayland support. One of the main new features of
> > FLTK 1.4 is that it now has native Wayland support. Hence, pyfltk 1.4 now
> > also has native Wayland support.
> >
> > I would like to request that FLTK be re-built with Wayland support. Here
> > are some of the missing makedepends packages
> >
> > cairo
> > pango
> > libdecor
> > wayland-protocols
>
> thanks a lot for pointing this out!
> In the meantime someone from the community has rased a [Merge
> Request][0] (thanks a lot!) with the addition of the dependencies.
>
> The fltk-1.4.4-3 version rebuilt with these changes is in the testing
> repositories now.
>
> > There may be more packages required. You can verify that wayland is
> > supported from the output of the cmake command. The README.Wayland.txt in
> > the FLTK source tree describes the dependencies for other distros like
> > Debian and Fedora.
>
> Cheers,
> Chris
>
> [0]:
> https://gitlab.archlinux.org/archlinux/packaging/packages/fltk/-/merge_requests/1


Hi Christian,

The pyfltk python wrapper build script of FLTK calls "fltk-config
--cxxflags"

Debian 13 output of this is:

-I/usr/include/cairo -I/usr/include -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/pixman-1

Arch Linux output is:

-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -g
-ffile-prefix-map=/build/fltk/src=/usr/src/debug/fltk -flto=auto
-ffat-lto-objects -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT

Without those include directories that are in the Debian version output, I
am unable to build the python wrapper of FLTK for Arch Linux. So my
question: Is this the responsibility of the Arch FLTK package to add those
directories in the output of "fltk-config --cxxflags" or is it my
responsibility to add them in the build script for the pyfltk python
wrapper for Arch?

Reply via email to