Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2003 15:01:50 +0500 (AMST)
From:      Gaspar Chilingarov <nm@web.am>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54537: new port for licq On Screen Display plugin
Message-ID:  <200307161001.h6GA1oLh022070@g.web.am>
Resent-Message-ID: <200307161010.h6GAA7mK086246@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54537
>Category:       ports
>Synopsis:       new port for licq On Screen Display plugin
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 16 03:10:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gaspar Chilngarov
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Netter Ltd.
>Environment:
System: FreeBSD 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Sat Jun 21 14:30:32 AMST 2003 root@:/usr/obj/usr/src/sys/nm i386
>Description:
	new port for pretty licq plugin 
>How-To-Repeat:
n/a
>Fix:

--cut--
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	licq-osd/
#	licq-osd/Makefile
#	licq-osd/distinfo
#	licq-osd/pkg-descr
#	licq-osd/pkg-message
#	licq-osd/files
#	licq-osd/files/patch-aa
#	licq-osd/pkg-plist
#
echo c - licq-osd/
mkdir -p licq-osd/ > /dev/null 2>&1
echo x - licq-osd/Makefile
sed 's/^X//' >licq-osd/Makefile << 'END-of-licq-osd/Makefile'
X# New ports collection makefile for:	licq-osd
X# Date created:				2003-07-15
X# Whom:						nm@web.am
X#
X# $FreeBSD$
X#
X#
X
XPORTNAME=		licq_osd_plugin
XPORTVERSION=	1.2.7.2
XCATEGORIES= 	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=/sourceforge/licq-osd
XDISTNAME=		licq_osd_plugin-${PORTVERSION}
X
XMAINTAINER=	nm@web.am
XCOMMENT=	OnScreenDisplay messages in licq (like in SIM and more)
X
XBUILD_DEPENDS=${X11BASE}/lib/libxosd.so.4:${PORTSDIR}/misc/xosd
X# run dependency may be too strict, delete it if you use another
X# plugin (gtk+) and wish run osd with it. i've not tested with
X# plugins other than qt-gui
XRUN_DEPENDS=${LOCALBASE}/lib/licq/licq_qt-gui.so:${PORTSDIR}/net/licq-qt-gui
X
XGNU_CONFIGURE=yes
XCONFIGURE_ENV=  CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
X				LDFLAGS="-L${LOCALBASE}/lib" LIBS="-liconv"
X
X.include <bsd.port.mk>
END-of-licq-osd/Makefile
echo x - licq-osd/distinfo
sed 's/^X//' >licq-osd/distinfo << 'END-of-licq-osd/distinfo'
XMD5 (licq_osd_plugin-1.2.7.2.tar.gz) = 59621561c391f3c85fecdd5f8ec562c8
END-of-licq-osd/distinfo
echo x - licq-osd/pkg-descr
sed 's/^X//' >licq-osd/pkg-descr << 'END-of-licq-osd/pkg-descr'
XThis is a small licq-plugin, which uses libxosd2 to display new arriving
Xmessages as OSD (On Screen Display) text on your desktop.  I wrote this, as I
Xsaw this feature in sim and wanted to have the same functionality in licq.
X
XMartin Maurer, martinmaurer@gmx.at
X
XWWW: http://sourceforge.net/projects/licq-osd
END-of-licq-osd/pkg-descr
echo x - licq-osd/pkg-message
sed 's/^X//' >licq-osd/pkg-message << 'END-of-licq-osd/pkg-message'
XRussian-speaking users!
XPlease run licq in this way to force russian messages display correctly
X
Xenv LANG=ru_RU.KOI8-R MM_CHARSET=KOI8-R licq
X
Xalso change font in ~/.licq/licq_osd.conf
Xto something like this:
XFont=-*-*-bold-r-*-*-25-*-*-*-*-*-koi8-*                                        
END-of-licq-osd/pkg-message
echo c - licq-osd/files
mkdir -p licq-osd/files > /dev/null 2>&1
echo x - licq-osd/files/patch-aa
sed 's/^X//' >licq-osd/files/patch-aa << 'END-of-licq-osd/files/patch-aa'
X--- src/licq-osd.cpp.orig	Wed Jul 16 13:00:53 2003
X+++ src/licq-osd.cpp	Wed Jul 16 12:55:10 2003
X@@ -675,7 +675,7 @@
X 
X     while ((fromsize>0) && (tosize>0))
X     {
X-	if ((int)iconv(conv, &msgptr, &fromsize, &resptr, &tosize)==-1)
X+	if ((int)iconv(conv, (const char**)(&msgptr), &fromsize, &resptr, &tosize)==-1)
X 	{
X 	    // array is not enough
X 	    if (errno == E2BIG)
END-of-licq-osd/files/patch-aa
echo x - licq-osd/pkg-plist
sed 's/^X//' >licq-osd/pkg-plist << 'END-of-licq-osd/pkg-plist'
Xlib/licq/licq_osd.la
Xlib/licq/licq_osd.so
END-of-licq-osd/pkg-plist
exit
--cut--

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307161001.h6GA1oLh022070>