On Sun, Mar 03, 2019 at 02:26:53PM +0000, Stuart Henderson wrote:
> On 2019/03/03 14:53, Stefan Sperling wrote:
> > This is a port of textsuggest, a software which suggests words similar
> > to that which the user has just typed, and inserts the chosen corrected
> > word on behalf of the user. It works with any X11 application.
> > 
> > This port is functional but there are likely still some bugs.
> > The port contains quite a few patches already to fix various issues.
> > I am porting this for a friend who has great difficulty typing on a computer
> > and I will keep trying to fix bugs in this program as we run into them.
> > 
> > ok?
> 
> Here's a diff on top to remove some boilerplate from the Makefile and
> remove the "exec ${_PBUILD}" which isn't needed (it's done automatically
> by _PMAKE) and breaks the build if you're using PORTS_PRIVSEP.

Thanks. I have applied this in the attached version.
Also removed xclip from RUN_DEPENDS because TextSuggest uses an internal
C++ library to access the clipboard -- older versions apparently forked
out to xclip for this purpose.

> Linking fails for me though:
> 
> clang++ -pthread -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath,/usr/local/lib/qt5  -o 
> textsuggest EventCatcherEntry.o  textsuggest-ui.o  TextSugge
> stApp.o  moc_EventCatcherEntry.o  moc_TextSuggestApp.o   -ldbus-c++-1 
> -L/usr/local/lib/qt5 -lQt5Widgets -L/usr/local/lib -L/usr/X11R6/lib
>  -lQt5Gui -lQt5Core -lGL 
> -L/usr/obj/ports/textsuggest-4.2.0/TextSuggest-v4.2.0/ui
> ld: error: undefined symbol: 
> DBus::InterfaceProxy::InterfaceProxy(std::__1::basic_string<char, 
> std::__1::char_traits<char>, std::__1::all
> ocator<char> > const&)

As discussed off-list, this must have been a mix-up of C++ compilers.
I don't see this problem.

Attachment: textsuggest.tar.gz
Description: application/tar-gz

Reply via email to