Le Thu, Feb 09, 2023 at 12:31:24PM +0100, Joel Carnat a écrit :
> Le 09/02/2023 à 08:05, Landry Breuil a écrit :
> > Le Thu, Feb 09, 2023 at 01:01:48AM +0100, Joel Carnat a écrit :
> > > Hi,
> > > 
> > > I am trying to port the docklike XFCE plugin.
> > > https://docs.xfce.org/panel-plugins/xfce4-docklike-plugin/start
> > > 
> > > I followed faq/ports/guide.html and used x11/xfce4/xfce4-clipman as a
> > > starting point. Everything compiles and build a package properly. The
> > > checking tools do not identify errors. But still when launching the 
> > > docklike
> > > applet, it dies and the following log is available in .xsession-errors:
> > > 
> > > wrapper-2.0:/usr/local/lib/xfce4/panel/plugins/libdocklike.so: undefined
> > > symbol 'inotify_init'
> > > wrapper-2.0:/usr/local/lib/xfce4/panel/plugins/libdocklike.so: undefined
> > > symbol 'inotify_add_watch'
> > 
> > that probably means it failed to properly link against inotify, all the
> > other errors come from that only - . All the patches should be
> > upstreamed too :)
> > 
> 
> Ok. I'll send them upstream if I can manage to use that software at all :)
> 
> > im not sure at all wether it depends on inotify really, autoconf doesnt
> > seem to search for it, and  seeing that commit maybe the dep was dropped ?
> > https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin/-/commit/50941fc2cb741ed6dea26da6a50ce514114b40e8
> > i dunno if those glib bits work on openbsd.
> 
> Ok, thanks.
> 
> I have applied the diffs and now, the plugin starts and runs.
> There are still bugs with icons (Firefox & Thunderbird) though ;
> but I think I've seen this when compiling on Slackware Linux too.
> 
> I'll try to understand what happens. But it may be related to
> patches about .desktop files.
> 
> While I was there, I had a look at FreeBSD ports tree.
> They don't seem to apply inotify modifications on their side.
> https://cgit.freebsd.org/ports/tree/x11/xfce4-docklike-plugin/Makefile
> 
> Not sure why it would work as-is on FreeBSD and not OpenBSD. I mean,
> don't both OS use the same glib sets?
> 
> BTW, attached in the updated port tarball.


rather than applying upstream commits, its simpler to use XFCE_COMMIT in
the port, see for example x11/xfce4/xfce4-taskmanager.
i'll have a look and test your port in the coming days.

Reply via email to