Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 21:18:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230250] [patch] x11fm/rox-filer requires libinotify.
Message-ID:  <bug-230250-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230250

            Bug ID: 230250
           Summary: [patch] x11fm/rox-filer requires libinotify.
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: rsmith@xs4all.nl

Created attachment 195702
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195702&action=
=3Dedit
Patch to update the rox-filer port to use libinotify.

Trying to compile rox-filer ends in a failure:

  cc -o "ROX-Filer" abox.o action.o appinfo.o appmenu.o bind.o=20
bookmarks.o bulk_rename.o cell_icon.o choices.o collection.o dir.o=20
diritem.o display.o dnd.o dropbox.o filer.o find.o fscache.o=20
gtksavebox.o gui_support.o i18n.o icon.o infobox.o log.o main.o menu.o=20
minibuffer.o modechange.o mount.o options.o panel.o pinboard.o pixmaps.o
 remote.o run.o sc.o session.o support.o tasklist.o toolbar.o type.o=20
usericons.o view_collection.o view_details.o view_iface.o wrapped.o=20
xml.o xtypes.o xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o=20
xdgmimeparent.o xdgmimealias.o xdgmimecache.o   -fstack-protector=20
`pkgconf  --libs gtk+-2.0 libxml-2.0 | sed 's/-lpangoxft-[^ ]*//'`=20
-lintl -lm  -L/usr/local/lib -lX11   -lICE -lSM
  dir.o: In function `dir_init':
  dir.c:(.text+0x2d): undefined reference to `inotify_init'
  dir.o: In function `dir_attach':
  dir.c:(.text+0x26d): undefined reference to `inotify_add_watch'
  cc: error: linker command failed with exit code 1 (use -v to see  invocat=
ion)
  gmake[1]: *** [Makefile:48: ROX-Filer] Error 1
  gmake[1]: Leaving directory
'/usr/ports/x11-fm/rox-filer/work/rox-filer-2.11/ROX-Filer/src'
  =3D=3D=3D> Compilation failed unexpectedly.

To begin with I added -linotify to LIBS in ROX-Filer/src/Makefile.in.
Additionally I added a LIB_DEPENDS on libinotify, and upped the portrevisio=
n.
See enclosed patch.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230250-7788>