From nm@g.web.am  Wed Jul 16 03:02:03 2003
Return-Path: <nm@g.web.am>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ED36537B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Jul 2003 03:02:02 -0700 (PDT)
Received: from g.web.am (g.web.am [217.113.0.41])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2A97D43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Jul 2003 03:02:00 -0700 (PDT)
	(envelope-from nm@g.web.am)
Received: from g.web.am (localhost [127.0.0.1])
	by g.web.am (8.12.9/8.12.9) with ESMTP id h6GA1u6X022071
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Jul 2003 15:01:56 +0500 (AMST)
	(envelope-from nm@g.web.am)
Received: (from nm@localhost)
	by g.web.am (8.12.9/8.12.9/Submit) id h6GA1oLh022070;
	Wed, 16 Jul 2003 15:01:50 +0500 (AMST)
Message-Id: <200307161001.h6GA1oLh022070@g.web.am>
Date: Wed, 16 Jul 2003 15:01:50 +0500 (AMST)
From: Gaspar Chilingarov <nm@web.am>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port for licq On Screen Display plugin
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54537
>Category:       ports
>Synopsis:       new port for licq On Screen Display plugin
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 16 03:10:06 PDT 2003
>Closed-Date:    Sat Jul 26 20:38:39 CEST 2003
>Last-Modified:  Sat Jul 26 20:38:39 CEST 2003
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Sat Jul 26 20:25:28 CEST 2003 
Responsible-Changed-Why:  
I will look into this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54537 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Sat Jul 26 20:36:13 CEST 2003 
State-Changed-Why:  
committed, thanks. 
- Fixed SPACES and TABS-indent 
- make portlint happy 
- add USE_LIBTOOL 
(INSTALLS_SHLIB not set, as the .so will not be linked in.) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54537 
>Unformatted:
