[Bug 230250] [patch] x11fm/rox-filer requires libinotify.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 31 21:18:40 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230250

            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 at FreeBSD.org
          Reporter: rsmith at xs4all.nl

Created attachment 195702
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195702&action=edit
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 
bookmarks.o bulk_rename.o cell_icon.o choices.o collection.o dir.o 
diritem.o display.o dnd.o dropbox.o filer.o find.o fscache.o 
gtksavebox.o gui_support.o i18n.o icon.o infobox.o log.o main.o menu.o 
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 
usericons.o view_collection.o view_details.o view_iface.o wrapped.o 
xml.o xtypes.o xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o 
xdgmimeparent.o xdgmimealias.o xdgmimecache.o   -fstack-protector 
`pkgconf  --libs gtk+-2.0 libxml-2.0 | sed 's/-lpangoxft-[^ ]*//'` 
-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  invocation)
  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'
  ===> 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 portrevision.
See enclosed patch.

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


More information about the freebsd-ports-bugs mailing list