summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2004-10-22 10:30:05 +0000
committeradam <adam@pkgsrc.org>2004-10-22 10:30:05 +0000
commit9a7164b9f03b94dce35552b4aa1d3ae6520c7a6c (patch)
tree39b0a0574b05947672abc0518130417c71baab0a /chat
parent8a5b40c761236b50a51c32563d13f2c94e66ffd7 (diff)
downloadpkgsrc-9a7164b9f03b94dce35552b4aa1d3ae6520c7a6c.tar.gz
GNU Gadu is an instant messanger application, designed to work with IM
protocols popular in Poland (but not only). This is a plugin based application, even GUI (which uses GTK+) is a plugin. Currently we support: Gadu-Gadu, Tlen.pl, Jabber.
Diffstat (limited to 'chat')
-rw-r--r--chat/gg2/DESCR4
-rw-r--r--chat/gg2/Makefile33
-rw-r--r--chat/gg2/PLIST304
-rw-r--r--chat/gg2/distinfo6
-rw-r--r--chat/gg2/patches/patch-aa13
-rw-r--r--chat/gg2/patches/patch-ab26
6 files changed, 386 insertions, 0 deletions
diff --git a/chat/gg2/DESCR b/chat/gg2/DESCR
new file mode 100644
index 00000000000..345657e3c35
--- /dev/null
+++ b/chat/gg2/DESCR
@@ -0,0 +1,4 @@
+GNU Gadu is an instant messanger application, designed to work with IM
+protocols popular in Poland (but not only). This is a plugin based
+application, even GUI (which uses GTK+) is a plugin. Currently we support:
+Gadu-Gadu, Tlen.pl, Jabber.
diff --git a/chat/gg2/Makefile b/chat/gg2/Makefile
new file mode 100644
index 00000000000..e052cccd62e
--- /dev/null
+++ b/chat/gg2/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/22 10:30:05 adam Exp $
+
+DISTNAME= gg2-2.2.0
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ggadu/}
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://ggadu.sourceforge.net/
+COMMENT= Instant messenger software for Poland; Jabber plugin included
+
+USE_BUILDLINK3= yes
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_GNU_TOOLS+= make
+PKGCONFIG_OVERRIDE+= lib/gg2_core.pc.in
+GNU_CONFIGURE= yes
+LIBS+= -lm
+
+CONFIGURE_ARGS+= --without-gtkspell --without-remote \
+ --without-update --without-external --without-arts \
+ --with-external-libgadu
+
+.include "../../audio/esound/buildlink3.mk"
+.include "../../chat/ekg/buildlink3.mk"
+.include "../../chat/libtlen/buildlink3.mk"
+.include "../../chat/loudmouth/buildlink3.mk"
+.include "../../textproc/intltool/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/xosd/buildlink3.mk"
+
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/gg2/PLIST b/chat/gg2/PLIST
new file mode 100644
index 00000000000..744b96aee1e
--- /dev/null
+++ b/chat/gg2/PLIST
@@ -0,0 +1,304 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/22 10:30:06 adam Exp $
+bin/gg2
+bin/gghist
+include/gg2_core.h
+lib/gg2/libGUI_plugin.la
+lib/gg2/libdocklet_dockapp_plugin.la
+lib/gg2/libdocklet_system_tray_plugin.la
+lib/gg2/libgadu_gadu_plugin.la
+lib/gg2/libhistory_external_plugin.la
+lib/gg2/libjabber_plugin.la
+lib/gg2/libsms_plugin.la
+lib/gg2/libsound_esd_plugin.la
+lib/gg2/libsound_oss_plugin.la
+lib/gg2/libtlen_plugin.la
+lib/gg2/libxosd_plugin.la
+lib/libgg2_core.la
+lib/pkgconfig/gg2_core.pc
+share/gg2/pixmaps/arrow.png
+share/gg2/pixmaps/away.png
+share/gg2/pixmaps/emoticon.gif
+share/gg2/pixmaps/emoticons/3m_sie.gif
+share/gg2/pixmaps/emoticons/8P.gif
+share/gg2/pixmaps/emoticons/aniolek.gif
+share/gg2/pixmaps/emoticons/beksa.gif
+share/gg2/pixmaps/emoticons/bije.gif
+share/gg2/pixmaps/emoticons/boje_sie.gif
+share/gg2/pixmaps/emoticons/boks.gif
+share/gg2/pixmaps/emoticons/brawa.gif
+share/gg2/pixmaps/emoticons/buja_w_oblokach.gif
+share/gg2/pixmaps/emoticons/bukiet.gif
+share/gg2/pixmaps/emoticons/calus.gif
+share/gg2/pixmaps/emoticons/cfaniak.gif
+share/gg2/pixmaps/emoticons/chatownik.gif
+share/gg2/pixmaps/emoticons/chytry.gif
+share/gg2/pixmaps/emoticons/cisza.gif
+share/gg2/pixmaps/emoticons/cmok.gif
+share/gg2/pixmaps/emoticons/co.gif
+share/gg2/pixmaps/emoticons/co_jest.gif
+share/gg2/pixmaps/emoticons/czarodziej.gif
+share/gg2/pixmaps/emoticons/czas.gif
+share/gg2/pixmaps/emoticons/czytaj.gif
+share/gg2/pixmaps/emoticons/diabelek.gif
+share/gg2/pixmaps/emoticons/dobani.gif
+share/gg2/pixmaps/emoticons/dostal.gif
+share/gg2/pixmaps/emoticons/dresiarz.gif
+share/gg2/pixmaps/emoticons/drink.gif
+share/gg2/pixmaps/emoticons/dupa.gif
+share/gg2/pixmaps/emoticons/emoticons.def
+share/gg2/pixmaps/emoticons/faja.gif
+share/gg2/pixmaps/emoticons/fuck.gif
+share/gg2/pixmaps/emoticons/gafa.gif
+share/gg2/pixmaps/emoticons/ganja.gif
+share/gg2/pixmaps/emoticons/gazeta.gif
+share/gg2/pixmaps/emoticons/glaszcze.gif
+share/gg2/pixmaps/emoticons/glupek.gif
+share/gg2/pixmaps/emoticons/glupek2.gif
+share/gg2/pixmaps/emoticons/gool.gif
+share/gg2/pixmaps/emoticons/gra.gif
+share/gg2/pixmaps/emoticons/hahaha.gif
+share/gg2/pixmaps/emoticons/heej.gif
+share/gg2/pixmaps/emoticons/hmmm.gif
+share/gg2/pixmaps/emoticons/jablko.gif
+share/gg2/pixmaps/emoticons/je_pizze.gif
+share/gg2/pixmaps/emoticons/jem.gif
+share/gg2/pixmaps/emoticons/jezyk1.gif
+share/gg2/pixmaps/emoticons/jezyk2.gif
+share/gg2/pixmaps/emoticons/jupi.gif
+share/gg2/pixmaps/emoticons/kawa.gif
+share/gg2/pixmaps/emoticons/killer.gif
+share/gg2/pixmaps/emoticons/klotnia.gif
+share/gg2/pixmaps/emoticons/krecka_dostal.gif
+share/gg2/pixmaps/emoticons/krzywy.gif
+share/gg2/pixmaps/emoticons/kwasny.gif
+share/gg2/pixmaps/emoticons/kwiatek.gif
+share/gg2/pixmaps/emoticons/list.gif
+share/gg2/pixmaps/emoticons/lol.gif
+share/gg2/pixmaps/emoticons/menu.gif
+share/gg2/pixmaps/emoticons/milosc.gif
+share/gg2/pixmaps/emoticons/mruga.gif
+share/gg2/pixmaps/emoticons/mutny.gif
+share/gg2/pixmaps/emoticons/nauka.gif
+share/gg2/pixmaps/emoticons/nie.gif
+share/gg2/pixmaps/emoticons/nie_powiem.gif
+share/gg2/pixmaps/emoticons/niee.gif
+share/gg2/pixmaps/emoticons/nonono.gif
+share/gg2/pixmaps/emoticons/obiad.gif
+share/gg2/pixmaps/emoticons/oczko.gif
+share/gg2/pixmaps/emoticons/oczko2.gif
+share/gg2/pixmaps/emoticons/oczy.gif
+share/gg2/pixmaps/emoticons/ok.gif
+share/gg2/pixmaps/emoticons/ok2.gif
+share/gg2/pixmaps/emoticons/okularnik.gif
+share/gg2/pixmaps/emoticons/olaboga.gif
+share/gg2/pixmaps/emoticons/onajego.gif
+share/gg2/pixmaps/emoticons/pada.gif
+share/gg2/pixmaps/emoticons/paker.gif
+share/gg2/pixmaps/emoticons/palacz.gif
+share/gg2/pixmaps/emoticons/papa.gif
+share/gg2/pixmaps/emoticons/peace.gif
+share/gg2/pixmaps/emoticons/pisze.gif
+share/gg2/pixmaps/emoticons/piwko2.gif
+share/gg2/pixmaps/emoticons/piwo.gif
+share/gg2/pixmaps/emoticons/placze.gif
+share/gg2/pixmaps/emoticons/pomocy.gif
+share/gg2/pixmaps/emoticons/prezent.gif
+share/gg2/pixmaps/emoticons/prysznic.gif
+share/gg2/pixmaps/emoticons/przytul.gif
+share/gg2/pixmaps/emoticons/puknijsie.gif
+share/gg2/pixmaps/emoticons/pytajnik.gif
+share/gg2/pixmaps/emoticons/rotfl.gif
+share/gg2/pixmaps/emoticons/roza.gif
+share/gg2/pixmaps/emoticons/sciana.gif
+share/gg2/pixmaps/emoticons/serce.gif
+share/gg2/pixmaps/emoticons/serducho.gif
+share/gg2/pixmaps/emoticons/serduszka.gif
+share/gg2/pixmaps/emoticons/serduszka2.gif
+share/gg2/pixmaps/emoticons/sex.gif
+share/gg2/pixmaps/emoticons/slonko.gif
+share/gg2/pixmaps/emoticons/smutny.gif
+share/gg2/pixmaps/emoticons/snieg.gif
+share/gg2/pixmaps/emoticons/soczek.gif
+share/gg2/pixmaps/emoticons/spie.gif
+share/gg2/pixmaps/emoticons/spioch.gif
+share/gg2/pixmaps/emoticons/spoko.gif
+share/gg2/pixmaps/emoticons/stop.gif
+share/gg2/pixmaps/emoticons/szampan.gif
+share/gg2/pixmaps/emoticons/tancze.gif
+share/gg2/pixmaps/emoticons/telefon.gif
+share/gg2/pixmaps/emoticons/tiaaa.gif
+share/gg2/pixmaps/emoticons/tort.gif
+share/gg2/pixmaps/emoticons/tuptup.gif
+share/gg2/pixmaps/emoticons/uczen.gif
+share/gg2/pixmaps/emoticons/uscisk.gif
+share/gg2/pixmaps/emoticons/usmiech.gif
+share/gg2/pixmaps/emoticons/usmiech2.gif
+share/gg2/pixmaps/emoticons/usta.gif
+share/gg2/pixmaps/emoticons/wanna.gif
+share/gg2/pixmaps/emoticons/wc.gif
+share/gg2/pixmaps/emoticons/wesoly.gif
+share/gg2/pixmaps/emoticons/winko.gif
+share/gg2/pixmaps/emoticons/wow.gif
+share/gg2/pixmaps/emoticons/wow_na.gif
+share/gg2/pixmaps/emoticons/wsciekly.gif
+share/gg2/pixmaps/emoticons/wstydnis.gif
+share/gg2/pixmaps/emoticons/wykrzyknik.gif
+share/gg2/pixmaps/emoticons/ysz.gif
+share/gg2/pixmaps/emoticons/z_jezorem.gif
+share/gg2/pixmaps/emoticons/zab.gif
+share/gg2/pixmaps/emoticons/zakochany.gif
+share/gg2/pixmaps/emoticons/zawstydzony.gif
+share/gg2/pixmaps/emoticons/zdziwko.gif
+share/gg2/pixmaps/emoticons/zeby.gif
+share/gg2/pixmaps/emoticons/zegar.gif
+share/gg2/pixmaps/emoticons/ziew.gif
+share/gg2/pixmaps/emoticons/zly.gif
+share/gg2/pixmaps/emoticons/zniesmaczony.gif
+share/gg2/pixmaps/emoticons/zygi.gif
+share/gg2/pixmaps/gadu-gadu-away-descr.png
+share/gg2/pixmaps/gadu-gadu-away.png
+share/gg2/pixmaps/gadu-gadu-invisible-descr.png
+share/gg2/pixmaps/gadu-gadu-invisible.png
+share/gg2/pixmaps/gadu-gadu-offline-descr.png
+share/gg2/pixmaps/gadu-gadu-offline.png
+share/gg2/pixmaps/gadu-gadu-online-descr.png
+share/gg2/pixmaps/gadu-gadu-online.png
+share/gg2/pixmaps/gadu-gadu.png
+share/gg2/pixmaps/gg-about.png
+share/gg2/pixmaps/icon.png
+share/gg2/pixmaps/icons/bubble/README
+share/gg2/pixmaps/icons/bubble/gadu-gadu-away-descr.png
+share/gg2/pixmaps/icons/bubble/gadu-gadu-away.png
+share/gg2/pixmaps/icons/bubble/gadu-gadu-invisible-descr.png
+share/gg2/pixmaps/icons/bubble/gadu-gadu-invisible.png
+share/gg2/pixmaps/icons/bubble/gadu-gadu-offline-descr.png
+share/gg2/pixmaps/icons/bubble/gadu-gadu-offline.png
+share/gg2/pixmaps/icons/bubble/gadu-gadu-online-descr.png
+share/gg2/pixmaps/icons/bubble/gadu-gadu-online.png
+share/gg2/pixmaps/icons/bubble/icon.png
+share/gg2/pixmaps/icons/classic/README
+share/gg2/pixmaps/icons/classic/gadu-gadu-away-descr.png
+share/gg2/pixmaps/icons/classic/gadu-gadu-away.png
+share/gg2/pixmaps/icons/classic/gadu-gadu-invisible-descr.png
+share/gg2/pixmaps/icons/classic/gadu-gadu-invisible.png
+share/gg2/pixmaps/icons/classic/gadu-gadu-offline-descr.png
+share/gg2/pixmaps/icons/classic/gadu-gadu-offline.png
+share/gg2/pixmaps/icons/classic/gadu-gadu-online-descr.png
+share/gg2/pixmaps/icons/classic/gadu-gadu-online.png
+share/gg2/pixmaps/icons/classic/icon.png
+share/gg2/pixmaps/icons/ghosts/README
+share/gg2/pixmaps/icons/ghosts/gadu-gadu-away-descr.png
+share/gg2/pixmaps/icons/ghosts/gadu-gadu-away.png
+share/gg2/pixmaps/icons/ghosts/gadu-gadu-invisible-descr.png
+share/gg2/pixmaps/icons/ghosts/gadu-gadu-invisible.png
+share/gg2/pixmaps/icons/ghosts/gadu-gadu-offline-descr.png
+share/gg2/pixmaps/icons/ghosts/gadu-gadu-offline.png
+share/gg2/pixmaps/icons/ghosts/gadu-gadu-online-descr.png
+share/gg2/pixmaps/icons/ghosts/gadu-gadu-online.png
+share/gg2/pixmaps/icons/ghosts/icon.png
+share/gg2/pixmaps/icons/modern/README
+share/gg2/pixmaps/icons/modern/gadu-gadu-away-descr.png
+share/gg2/pixmaps/icons/modern/gadu-gadu-away.png
+share/gg2/pixmaps/icons/modern/gadu-gadu-invisible-descr.png
+share/gg2/pixmaps/icons/modern/gadu-gadu-invisible.png
+share/gg2/pixmaps/icons/modern/gadu-gadu-offline-descr.png
+share/gg2/pixmaps/icons/modern/gadu-gadu-offline.png
+share/gg2/pixmaps/icons/modern/gadu-gadu-online-descr.png
+share/gg2/pixmaps/icons/modern/gadu-gadu-online.png
+share/gg2/pixmaps/icons/modern/icon.png
+share/gg2/pixmaps/icons/modern/tlen-away.png
+share/gg2/pixmaps/icons/modern/tlen-beback.png
+share/gg2/pixmaps/icons/modern/tlen-chat.png
+share/gg2/pixmaps/icons/modern/tlen-invisible.png
+share/gg2/pixmaps/icons/modern/tlen-occupied.png
+share/gg2/pixmaps/icons/modern/tlen-offline.png
+share/gg2/pixmaps/icons/modern/tlen-online.png
+share/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-away-descr.png
+share/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-away.png
+share/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-invisible-descr.png
+share/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-invisible.png
+share/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-offline-descr.png
+share/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-offline.png
+share/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-online-descr.png
+share/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-online.png
+share/gg2/pixmaps/icons/rozgwiazda/icon.png
+share/gg2/pixmaps/icons/rozgwiazda/jabber.png
+share/gg2/pixmaps/icons/rozgwiazda/license.txt
+share/gg2/pixmaps/icons/rozgwiazda/sms.png
+share/gg2/pixmaps/icons/rozgwiazda/tlen.png
+share/gg2/pixmaps/icons/tlen-classic/tlen-away.png
+share/gg2/pixmaps/icons/tlen-classic/tlen-beback.png
+share/gg2/pixmaps/icons/tlen-classic/tlen-chat.png
+share/gg2/pixmaps/icons/tlen-classic/tlen-invisible.png
+share/gg2/pixmaps/icons/tlen-classic/tlen-occupied.png
+share/gg2/pixmaps/icons/tlen-classic/tlen-offline.png
+share/gg2/pixmaps/icons/tlen-classic/tlen-online.png
+share/gg2/pixmaps/icq-away.png
+share/gg2/pixmaps/icq-dnd.png
+share/gg2/pixmaps/icq-freechat.png
+share/gg2/pixmaps/icq-invisible.png
+share/gg2/pixmaps/icq-na.png
+share/gg2/pixmaps/icq-occupied.png
+share/gg2/pixmaps/icq-offline.png
+share/gg2/pixmaps/icq-online.png
+share/gg2/pixmaps/icq.png
+share/gg2/pixmaps/jabber-auth-from.png
+share/gg2/pixmaps/jabber-away.png
+share/gg2/pixmaps/jabber-dnd.png
+share/gg2/pixmaps/jabber-error.png
+share/gg2/pixmaps/jabber-noauth.png
+share/gg2/pixmaps/jabber-offline.png
+share/gg2/pixmaps/jabber-online.png
+share/gg2/pixmaps/jabber-xa.png
+share/gg2/pixmaps/jabber.png
+share/gg2/pixmaps/new-msg.gif
+share/gg2/pixmaps/offline.png
+share/gg2/pixmaps/online.png
+share/gg2/pixmaps/push-pin.png
+share/gg2/pixmaps/send-im.png
+share/gg2/pixmaps/show-hide-descriptions.png
+share/gg2/pixmaps/show-hide-inactive.png
+share/gg2/pixmaps/sms.png
+share/gg2/pixmaps/sms_i.png
+share/gg2/pixmaps/tlen-away.png
+share/gg2/pixmaps/tlen-beback.png
+share/gg2/pixmaps/tlen-chat.png
+share/gg2/pixmaps/tlen-desc.png
+share/gg2/pixmaps/tlen-invisible.png
+share/gg2/pixmaps/tlen-occupied.png
+share/gg2/pixmaps/tlen-offline.png
+share/gg2/pixmaps/tlen-online.png
+share/gg2/pixmaps/tlen.png
+share/gg2/sounds/msg.wav
+share/gg2/sounds/usr.wav
+share/gg2/sounds/yahoo.wav
+share/gg2/themes/blue2.theme
+share/gg2/themes/darkblue.theme
+share/gg2/themes/default.theme
+share/gg2/themes/gray2.theme
+share/gg2/themes/green2.theme
+share/gg2/themes/lightblue.theme
+share/gg2/themes/office.theme
+share/gg2/themes/red2.theme
+share/gg2/themes/thinice.theme
+share/gg2/themes/tropic.theme
+share/gg2/themes/vblue2.theme
+share/gg2/themes/vgreen2.theme
+share/gg2/themes/vred2.theme
+share/gg2/themes/white2.theme
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gg2.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gg2.mo
+share/pixmaps/gg2.png
+@dirrm share/gg2/themes
+@dirrm share/gg2/sounds
+@dirrm share/gg2/pixmaps/icons/tlen-classic
+@dirrm share/gg2/pixmaps/icons/rozgwiazda
+@dirrm share/gg2/pixmaps/icons/modern
+@dirrm share/gg2/pixmaps/icons/ghosts
+@dirrm share/gg2/pixmaps/icons/classic
+@dirrm share/gg2/pixmaps/icons/bubble
+@dirrm share/gg2/pixmaps/icons
+@dirrm share/gg2/pixmaps/emoticons
+@dirrm share/gg2/pixmaps
+@dirrm share/gg2
+@dirrm lib/gg2
diff --git a/chat/gg2/distinfo b/chat/gg2/distinfo
new file mode 100644
index 00000000000..8a0c30b98c1
--- /dev/null
+++ b/chat/gg2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/22 10:30:06 adam Exp $
+
+SHA1 (gg2-2.2.0.tar.gz) = cbd61a2be1fbe8144ecd6224b5e33e734f3283e5
+Size (gg2-2.2.0.tar.gz) = 1282674 bytes
+SHA1 (patch-aa) = 780c805d524af66847a8a374f9f1cb294aa3b25f
+SHA1 (patch-ab) = 5d3cb86625da7cc1da7a3daa3df384308f54965c
diff --git a/chat/gg2/patches/patch-aa b/chat/gg2/patches/patch-aa
new file mode 100644
index 00000000000..d2fdfaa8462
--- /dev/null
+++ b/chat/gg2/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/10/22 10:30:06 adam Exp $
+
+--- lib/Makefile.in.orig 2004-10-21 11:06:12.000000000 +0000
++++ lib/Makefile.in
+@@ -318,7 +318,7 @@ libgg2_core_la_SOURCES = \
+ perl_embed.h
+
+ libgg2_core_la_HEADERS = gg2_core.h
+-libgg2_core_la_LIBADD = $(PERL_OPTION_LDFLAGS) -ldl
++libgg2_core_la_LIBADD = $(PERL_OPTION_LDFLAGS)
+ libgg2_core_la_LDFLAGS = -version-info 2:1:0
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = gg2_core.pc
diff --git a/chat/gg2/patches/patch-ab b/chat/gg2/patches/patch-ab
new file mode 100644
index 00000000000..fbfa35a3d2b
--- /dev/null
+++ b/chat/gg2/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/10/22 10:30:06 adam Exp $
+
+--- src/main.c.orig 2004-03-29 07:03:22.000000000 +0000
++++ src/main.c
+@@ -43,6 +43,12 @@
+ #include "ggadu_repo.h"
+ #include "perl_embed.h"
+
++#ifdef __Darwin__
++#define DYLIB_SUFX ".dylib"
++#else
++#define DYLIB_SUFX ".so"
++#endif
++
+ GGaduConfig *config;
+
+ gboolean gnu_gadu_init(gpointer data);
+@@ -80,7 +86,7 @@ void load_available_modules()
+ {
+ gchar *fullfilename = g_build_filename(dirpath, namepl, NULL);
+
+- if ((!g_file_test(fullfilename, G_FILE_TEST_IS_DIR)) && (str_has_suffix(namepl, ".so")))
++ if ((!g_file_test(fullfilename, G_FILE_TEST_IS_DIR)) && (str_has_suffix(namepl, DYLIB_SUFX)))
+ {
+ print_debug("core : load_avilable_modules : %s\n", namepl);
+