Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2000 12:41:12 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/15952: new port: graphics/paintlib
Message-ID:  <200001061741.MAA00534@blackdawn.com>

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

>Number:         15952
>Category:       ports
>Synopsis:       new port: graphics/paintlib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan  6 09:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Tue Nov 30 10:14:31 EST 1999     root@argon.blackdawn.com:/usr/src/sys/compile/ARGON  i386

>Description:

See pkg/DESCR. I couldn't get the simple
main.cpp program to compile with the libPaintLib
library installed.. I think maybe it's because
that program is based on an older version of
Qt 2, OR we have an old version of Qt 2.

Nevertheless, the library compiles and installs
just fine.

>How-To-Repeat:

Use the shar below to commit the port to the tree.

>Fix:

# 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:
#
#	paintlib
#	paintlib/files
#	paintlib/files/md5
#	paintlib/pkg
#	paintlib/pkg/COMMENT
#	paintlib/pkg/DESCR
#	paintlib/pkg/PLIST
#	paintlib/patches
#	paintlib/patches/patch-aa
#	paintlib/Makefile
#
echo c - paintlib
mkdir -p paintlib > /dev/null 2>&1
echo c - paintlib/files
mkdir -p paintlib/files > /dev/null 2>&1
echo x - paintlib/files/md5
sed 's/^X//' >paintlib/files/md5 << 'END-of-paintlib/files/md5'
XMD5 (paintlib.0.2.1.tgz) = fcdac1684bb2aad93e83e06d4e9ca18f
END-of-paintlib/files/md5
echo c - paintlib/pkg
mkdir -p paintlib/pkg > /dev/null 2>&1
echo x - paintlib/pkg/COMMENT
sed 's/^X//' >paintlib/pkg/COMMENT << 'END-of-paintlib/pkg/COMMENT'
XSmall but powerful C++ graphics library.
END-of-paintlib/pkg/COMMENT
echo x - paintlib/pkg/DESCR
sed 's/^X//' >paintlib/pkg/DESCR << 'END-of-paintlib/pkg/DESCR'
XPaintlib is a small but powerful C++ graphics
Xlibrary that makes its base on the Qt Image I/O
Xextensions offered by Qt 2. It is somewhat useful
Xfor simple graphics programs.
X
XWWW: http://rio.xdev.org/
XAuthor: Nicolas Roard <nroard@e-motive.com>
X
X--Will <andrews@technologist.com>
END-of-paintlib/pkg/DESCR
echo x - paintlib/pkg/PLIST
sed 's/^X//' >paintlib/pkg/PLIST << 'END-of-paintlib/pkg/PLIST'
Xlib/libPaintLib.so.%%VERSION%%
X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
END-of-paintlib/pkg/PLIST
echo c - paintlib/patches
mkdir -p paintlib/patches > /dev/null 2>&1
echo x - paintlib/patches/patch-aa
sed 's/^X//' >paintlib/patches/patch-aa << 'END-of-paintlib/patches/patch-aa'
X--- Makefile	Mon Jan  3 21:53:07 2000
X+++ Makefile.new	Tue Jan  4 13:27:24 2000
X@@ -1,6 +1,11 @@
X-QT = /usr/local/qt/include
X-LIBS = -L/usr/X11R6/lib -lqt -lqimgio -lpng -ljpeg 
X-LIBPATH = /usr/X11R6/lib
X+CXX ?= g++
X+QT = $(PREFIX)/include/qt2 -I$(PREFIX)/include
X+LIBS = -L$(PREFIX)/lib -lqt2 -lpng -ljpeg 
X+LIBPATH = $(PREFIX)/lib
X+LIBRARY = libPaintLib.so.%%VERSION%%
X+
X+all: Image.o
X+	$(CXX) -shared -Wl,-soname,libPaintLib.so -o $(LIBRARY)
X 
X install: Image.o PaintLib.h
X 	clear
END-of-paintlib/patches/patch-aa
echo x - paintlib/Makefile
sed 's/^X//' >paintlib/Makefile << 'END-of-paintlib/Makefile'
X# New ports collection makefile for:	paintlib
X# Version required:	0.2.1
X# Date created:		04 Jan 2000
X# Whom:			Will Andrews <andrews@technologist.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	paintlib.0.2.1
XPKGNAME=	paintlib-0.2.1
XCATEGORIES=	graphics devel
XMASTER_SITES=	http://rio.xdev.org/paintlib/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	andrews@technologist.com
X
XUSE_QT2=	yes
XUSE_X_PREFIX=	yes
XWRKSRC=		${WRKDIR}/paintlib
XMAKE_ENV+=	PREFIX=${PREFIX} CXX=${CXX}
XVERSION=	0
XPLIST_SUB+=	VERSION=${VERSION}
X
Xpost-patch:
X	@${PERL} -pi -e "s:%%VERSION%%:${VERSION}:g" ${WRKSRC}/Makefile
X	@${PERL} -pi -e "s:g\+\+:${CXX}:g" ${WRKSRC}/Makefile
X
Xdo-install:
X	@${INSTALL_DATA} ${WRKSRC}/libPaintLib.so.${VERSION} ${PREFIX}/lib
X
X.include <bsd.port.mk>
END-of-paintlib/Makefile
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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