From c7a36d06429444c0c3cccf197fd80bc79a9c612d Mon Sep 17 00:00:00 2001 From: dinoex Date: Sat, 26 Jul 2003 18:32:34 +0000 Subject: This is a small licq-plugin, which uses libxosd2 to display new arriving messages as OSD (On Screen Display) text on your desktop. I wrote this, as I saw this feature in sim and wanted to have the same functionality in licq. PR: 54537 Submitted by: nm@web.am --- net-im/licq-osd/Makefile | 30 ++++++++++++++++++++++++++++++ net-im/licq-osd/distinfo | 1 + net-im/licq-osd/files/patch-aa | 11 +++++++++++ net-im/licq-osd/pkg-descr | 7 +++++++ net-im/licq-osd/pkg-message | 8 ++++++++ net-im/licq-osd/pkg-plist | 2 ++ net/Makefile | 1 + net/licq-osd/Makefile | 30 ++++++++++++++++++++++++++++++ net/licq-osd/distinfo | 1 + net/licq-osd/files/patch-aa | 11 +++++++++++ net/licq-osd/pkg-descr | 7 +++++++ net/licq-osd/pkg-message | 8 ++++++++ net/licq-osd/pkg-plist | 2 ++ 13 files changed, 119 insertions(+) create mode 100644 net-im/licq-osd/Makefile create mode 100644 net-im/licq-osd/distinfo create mode 100644 net-im/licq-osd/files/patch-aa create mode 100644 net-im/licq-osd/pkg-descr create mode 100644 net-im/licq-osd/pkg-message create mode 100644 net-im/licq-osd/pkg-plist create mode 100644 net/licq-osd/Makefile create mode 100644 net/licq-osd/distinfo create mode 100644 net/licq-osd/files/patch-aa create mode 100644 net/licq-osd/pkg-descr create mode 100644 net/licq-osd/pkg-message create mode 100644 net/licq-osd/pkg-plist diff --git a/net-im/licq-osd/Makefile b/net-im/licq-osd/Makefile new file mode 100644 index 000000000000..57b10cceb750 --- /dev/null +++ b/net-im/licq-osd/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: licq-osd +# Date created: 2003-07-15 +# Whom: nm@web.am +# +# $FreeBSD$ +# +# + +PORTNAME= licq_osd_plugin +PORTVERSION= 1.2.7.2 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=/sourceforge/licq-osd +DISTNAME= licq_osd_plugin-${PORTVERSION} + +MAINTAINER= nm@web.am +COMMENT= OnScreenDisplay messages in licq (like in SIM and more) + +BUILD_DEPENDS=${X11BASE}/lib/libxosd.so.4:${PORTSDIR}/misc/xosd +RUN_DEPENDS=${LOCALBASE}/lib/licq/licq_qt-gui.so:${PORTSDIR}/net/licq-qt-gui +# run dependency may be too strict, delete it if you use another +# plugin (gtk+) and wish run osd with it. i've not tested with +# plugins other than qt-gui + +GNU_CONFIGURE=yes +CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" LIBS="-liconv" +USE_LIBTOOL=yes + +.include diff --git a/net-im/licq-osd/distinfo b/net-im/licq-osd/distinfo new file mode 100644 index 000000000000..5a7d55213450 --- /dev/null +++ b/net-im/licq-osd/distinfo @@ -0,0 +1 @@ +MD5 (licq_osd_plugin-1.2.7.2.tar.gz) = 59621561c391f3c85fecdd5f8ec562c8 diff --git a/net-im/licq-osd/files/patch-aa b/net-im/licq-osd/files/patch-aa new file mode 100644 index 000000000000..54ada992cfac --- /dev/null +++ b/net-im/licq-osd/files/patch-aa @@ -0,0 +1,11 @@ +--- src/licq-osd.cpp.orig Wed Jul 16 13:00:53 2003 ++++ src/licq-osd.cpp Wed Jul 16 12:55:10 2003 +@@ -675,7 +675,7 @@ + + while ((fromsize>0) && (tosize>0)) + { +- if ((int)iconv(conv, &msgptr, &fromsize, &resptr, &tosize)==-1) ++ if ((int)iconv(conv, (const char**)(&msgptr), &fromsize, &resptr, &tosize)==-1) + { + // array is not enough + if (errno == E2BIG) diff --git a/net-im/licq-osd/pkg-descr b/net-im/licq-osd/pkg-descr new file mode 100644 index 000000000000..6f191d00a924 --- /dev/null +++ b/net-im/licq-osd/pkg-descr @@ -0,0 +1,7 @@ +This is a small licq-plugin, which uses libxosd2 to display new arriving +messages as OSD (On Screen Display) text on your desktop. I wrote this, as I +saw this feature in sim and wanted to have the same functionality in licq. + +Martin Maurer, martinmaurer@gmx.at + +WWW: http://sourceforge.net/projects/licq-osd diff --git a/net-im/licq-osd/pkg-message b/net-im/licq-osd/pkg-message new file mode 100644 index 000000000000..9dd7a7e66881 --- /dev/null +++ b/net-im/licq-osd/pkg-message @@ -0,0 +1,8 @@ +Russian-speaking users! +Please run licq in this way to force russian messages display correctly + +env LANG=ru_RU.KOI8-R MM_CHARSET=KOI8-R licq + +also change font in ~/.licq/licq_osd.conf +to something like this: +Font=-*-*-bold-r-*-*-25-*-*-*-*-*-koi8-* diff --git a/net-im/licq-osd/pkg-plist b/net-im/licq-osd/pkg-plist new file mode 100644 index 000000000000..3fb011c0a567 --- /dev/null +++ b/net-im/licq-osd/pkg-plist @@ -0,0 +1,2 @@ +lib/licq/licq_osd.la +lib/licq/licq_osd.so diff --git a/net/Makefile b/net/Makefile index ad50c15d8c19..537521c9eef8 100644 --- a/net/Makefile +++ b/net/Makefile @@ -298,6 +298,7 @@ SUBDIR += licq SUBDIR += licq-console SUBDIR += licq-jons-gtk-gui + SUBDIR += licq-osd SUBDIR += licq-qt-gui SUBDIR += limewire SUBDIR += linc diff --git a/net/licq-osd/Makefile b/net/licq-osd/Makefile new file mode 100644 index 000000000000..57b10cceb750 --- /dev/null +++ b/net/licq-osd/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: licq-osd +# Date created: 2003-07-15 +# Whom: nm@web.am +# +# $FreeBSD$ +# +# + +PORTNAME= licq_osd_plugin +PORTVERSION= 1.2.7.2 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=/sourceforge/licq-osd +DISTNAME= licq_osd_plugin-${PORTVERSION} + +MAINTAINER= nm@web.am +COMMENT= OnScreenDisplay messages in licq (like in SIM and more) + +BUILD_DEPENDS=${X11BASE}/lib/libxosd.so.4:${PORTSDIR}/misc/xosd +RUN_DEPENDS=${LOCALBASE}/lib/licq/licq_qt-gui.so:${PORTSDIR}/net/licq-qt-gui +# run dependency may be too strict, delete it if you use another +# plugin (gtk+) and wish run osd with it. i've not tested with +# plugins other than qt-gui + +GNU_CONFIGURE=yes +CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" LIBS="-liconv" +USE_LIBTOOL=yes + +.include diff --git a/net/licq-osd/distinfo b/net/licq-osd/distinfo new file mode 100644 index 000000000000..5a7d55213450 --- /dev/null +++ b/net/licq-osd/distinfo @@ -0,0 +1 @@ +MD5 (licq_osd_plugin-1.2.7.2.tar.gz) = 59621561c391f3c85fecdd5f8ec562c8 diff --git a/net/licq-osd/files/patch-aa b/net/licq-osd/files/patch-aa new file mode 100644 index 000000000000..54ada992cfac --- /dev/null +++ b/net/licq-osd/files/patch-aa @@ -0,0 +1,11 @@ +--- src/licq-osd.cpp.orig Wed Jul 16 13:00:53 2003 ++++ src/licq-osd.cpp Wed Jul 16 12:55:10 2003 +@@ -675,7 +675,7 @@ + + while ((fromsize>0) && (tosize>0)) + { +- if ((int)iconv(conv, &msgptr, &fromsize, &resptr, &tosize)==-1) ++ if ((int)iconv(conv, (const char**)(&msgptr), &fromsize, &resptr, &tosize)==-1) + { + // array is not enough + if (errno == E2BIG) diff --git a/net/licq-osd/pkg-descr b/net/licq-osd/pkg-descr new file mode 100644 index 000000000000..6f191d00a924 --- /dev/null +++ b/net/licq-osd/pkg-descr @@ -0,0 +1,7 @@ +This is a small licq-plugin, which uses libxosd2 to display new arriving +messages as OSD (On Screen Display) text on your desktop. I wrote this, as I +saw this feature in sim and wanted to have the same functionality in licq. + +Martin Maurer, martinmaurer@gmx.at + +WWW: http://sourceforge.net/projects/licq-osd diff --git a/net/licq-osd/pkg-message b/net/licq-osd/pkg-message new file mode 100644 index 000000000000..9dd7a7e66881 --- /dev/null +++ b/net/licq-osd/pkg-message @@ -0,0 +1,8 @@ +Russian-speaking users! +Please run licq in this way to force russian messages display correctly + +env LANG=ru_RU.KOI8-R MM_CHARSET=KOI8-R licq + +also change font in ~/.licq/licq_osd.conf +to something like this: +Font=-*-*-bold-r-*-*-25-*-*-*-*-*-koi8-* diff --git a/net/licq-osd/pkg-plist b/net/licq-osd/pkg-plist new file mode 100644 index 000000000000..3fb011c0a567 --- /dev/null +++ b/net/licq-osd/pkg-plist @@ -0,0 +1,2 @@ +lib/licq/licq_osd.la +lib/licq/licq_osd.so -- cgit