On Thu Dec 31, 2015 at 04:37:29PM +0100, Theo Buehler wrote: > On Tue, Dec 29, 2015 at 12:09:38PM +0100, Rafael Sadowski wrote: > > On Sun Dec 20, 2015 at 05:00:06PM +0100, Rafael Sadowski wrote: > > > Hey @ports, > > > > > > my second try to push my favorite XMPP console client (with dependency > > > lib). The port based on Brian Callahan work in openbsd-wip. (Okay to > > > take maintainer). All tests passed and worked well over months for me. > > > > > > I rewrite some patches more generic sent upstream with good feedback > > > from libstrophe (advice from Antoine Jacoutot). > > > > > > > > > Best regards, > > > > > > Rafael > > > > > > net/profanity: > > > > > > Profanity is a console based XMPP client written in C using ncurses and > > > libstrophe, inspired by irssi. > > > > > > Features: > > > > > > * Supports XMPP chat services, including Google Talk and Facebook. > > > * Command driven user interface. > > > * Customizable functionality and user interface. > > > * OTR (Off The Record) message encryption. > > > * Chat room support. > > > * Roster management. > > > * Flexible resource and priority settings. > > > * Desktop notifications. > > > * Unicode support. > > > * Integrated DuckDuckGo searching. > > > * Send tiny URLs. > > > > > > net/libstrophe: > > > > > > libstrophe is a minimal XMPP library written in C. It has almost no > > > external dependencies, only an XML parsing library (expat or libxml are > > > both supported). It is designed for both POSIX and Windows systems. >
Sorry, no CC me no attention :(
> I think net/libstrophe is almost ready to go. It would be nice to
> make a brief annotation why you removed rc/thread.{c,h} in Makefile.am.
> While there, I would omit the second part of that patch (this removes
> only trailing whitespace, so it is only noise).
>
> 'make lib-depends-check' notes that 'pthread' is extra, so I think it
> should be removed from WANTLIB.
Fixed version as attachment.
src/thread.{c,h} is not in use...
"I thought src/thread.[ch] are not included in Makefile.am. I don't know
the original purpose of those functions and only can guess that author
wanted to write parallel version of libstrophe. Proper solution should
be removing thread.[ch] from the Makefile.am"
-- https://github.com/strophe/libstrophe/pull/72
>
>
> As for profanity, I can confirm that it works fine, but there is a bit
> more work to do:
>
> $ make lib-depend-dest
>
> gives me quite a few remarks, so that should be cleaned up:
>
> [...]
> profanity-0.4.7(net/profanity):
> Missing lib: uuid.14 (/usr/local/bin/profanity) (NOT REACHABLE)
> Extra: X11.16 Xss.6 crypto.37 expat.11 gdk_pixbuf-2.0.3200
> Extra: gio-2.0.4200 gobject-2.0.4200 iconv.6 notify.4 ssl.38
> *** Error 1 in target 'port-lib-depends-check' (ignored)
I'm totally lost with this.
profanity links with uuid:
cc -Wall -Wno-deprecated-declarations -O2 -pipe -I/usr/local/include
-I/usr/include -L/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -o
profanity src/contact.o src/log.o src/common.o src/profanity.o
src/chat_session.o src/muc.o src/jid.o src/chat_state.o src/resource.o
src/roster_list.o src/xmpp/capabilities.o src/xmpp/connection.o
src/xmpp/iq.o src/xmpp/message.o src/xmpp/presence.o src/xmpp/stanza.o
src/xmpp/roster.o src/xmpp/bookmark.o src/xmpp/form.o
src/event/server_events.o src/event/client_events.o
src/event/ui_events.o src/ui/window.o src/ui/core.o src/ui/titlebar.o
src/ui/statusbar.o src/ui/inputwin.o src/ui/console.o src/ui/notifier.o
src/window_list.o src/ui/rosterwin.o src/ui/occupantswin.o
src/ui/buffer.o src/command/command.o src/command/commands.o
src/tools/parser.o src/tools/p_sha1.o src/tools/autocomplete.o
src/tools/tinyurl.o src/config/accounts.o src/config/account.o
src/config/preferences.o src/config/theme.o src/pgp/gpg.o
src/otr/otrlibv4.o src/otr/otr.o src/main.o -L/usr/local/lib -lglib-2.0
-lintl -L/usr/local/lib -lcurl -lotr -L/usr/local/lib -lgpgme -lassuan
-lgpg-error -luuid -lereadline -lncursesw -L/usr/local/lib -lstrophe
^^^^^^
and profanity runs fine. `objdump -s` says me:
Dynamic Section:
NEEDED libglib-2.0.so.4200.2
NEEDED libintl.so.6.0
NEEDED libcurl.so.25.2
NEEDED libotr.so.4.1
NEEDED libgpgme.so.19.0
NEEDED libassuan.so.1.1
NEEDED libgpg-error.so.3.9
NEEDED libuuid.so.14.0
NEEDED libereadline.so.1.0
NEEDED libncursesw.so.14.0
NEEDED libstrophe.so.0.0
NEEDED libc.so.84.2
NEEDED libpthread.so.20.1
At the end, I don't understand the output from "port-lib-depends-check".
Any feedback or helpful hand?
Best Regards,
Rafael
libstrophe.tar.gz
Description: application/tar-gz
