Subject: pkg/15266: new package - aalib-x11 (aalib with X11 support)
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 01/16/2002 18:52:02
>Number: 15266
>Category: pkg
>Synopsis: new package - aalib-x11 (aalib with X11 support)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jan 16 10:53:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Lubomir Sedlacik
>Release: 1.5ZA
>Organization:
>Environment:
>Description:
aalib package splits into aalib and aalib-x11 packages. this is aalib-x11
package.
>How-To-Repeat:
>Fix:
aalib-x11 shar archive:
# 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:
#
# .
# ./patches
# ./patches/patch-aa
# ./DESCR
# ./PLIST
# ./buildlink.mk
# ./distinfo
# ./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X$NetBSD$
X
X+++ src/aacurses.c Thu Aug 23 14:56:16 2001
X@@ -71,8 +71,8 @@
X {
X if (__resized_curses)
X curses_uninit(c), curses_init(&c->params, NULL,&c->driverparams, NULL), __resized_curses = 0;
X- *width = stdscr->_maxx + 1;
X- *height = stdscr->_maxy + 1;
X+ *width = getmaxx(stdscr) + 1;
X+ *height = getmaxy(stdscr) + 1;
X #ifdef GPM_MOUSEDRIVER
X gpm_mx = *width;
X gpm_my = *height;
END-of-./patches/patch-aa
echo x - ./DESCR
sed 's/^X//' >./DESCR << 'END-of-./DESCR'
XAAlib is a portable ASCII Art library. From the AA project documentation:
X"There are many problems of various kinds with video cards, low frequency
Xmonitors, crashing graphical apps... AA-lib IS the solution. It works on a
Xterminal of any kind, it is fast and portable, it gives to you standard API.
XIt gives to your old hardware more power! "
END-of-./DESCR
echo x - ./PLIST
sed 's/^X//' >./PLIST << 'END-of-./PLIST'
X@comment $NetBSD$
Xbin/aafire
Xbin/aainfo
Xbin/aalib-config
Xbin/aasavefont
Xbin/aatest
Xinclude/aalib.h
X@unexec install-info --delete --info-dir=%D/info %D/info/aalib.info
Xinfo/aalib.info
Xinfo/aalib.info-1
Xinfo/aalib.info-2
Xinfo/aalib.info-3
X@exec install-info --info-dir=%D/info %D/info/aalib.info
Xlib/libaa.a
Xlib/libaa.la
Xlib/libaa.so
Xlib/libaa.so.1
Xlib/libaa.so.1.4
Xman/man1/aafire.1
Xman/man3/aa_attrs.3
Xman/man3/aa_autoinit.3
Xman/man3/aa_autoinitkbd.3
Xman/man3/aa_autoinitmouse.3
Xman/man3/aa_close.3
Xman/man3/aa_createedit.3
Xman/man3/aa_currentfont.3
Xman/man3/aa_defparams.3
Xman/man3/aa_defrenderparams.3
Xman/man3/aa_displayrecommended.3
Xman/man3/aa_dithernames.3
Xman/man3/aa_drivers.3
Xman/man3/aa_edit.3
Xman/man3/aa_editkey.3
Xman/man3/aa_fastrender.3
Xman/man3/aa_fonts.3
Xman/man3/aa_formats.3
Xman/man3/aa_getevent.3
Xman/man3/aa_getkey.3
Xman/man3/aa_getmouse.3
Xman/man3/aa_gotoxy.3
Xman/man3/aa_help.3
Xman/man3/aa_hidecursor.3
Xman/man3/aa_hidemouse.3
Xman/man3/aa_image.3
Xman/man3/aa_imgheight.3
Xman/man3/aa_imgwidth.3
Xman/man3/aa_init.3
Xman/man3/aa_initkbd.3
Xman/man3/aa_initmouse.3
Xman/man3/aa_kbddrivers.3
Xman/man3/aa_kbdrecommended.3
Xman/man3/aa_mmheight.3
Xman/man3/aa_mmwidth.3
Xman/man3/aa_mousedrivers.3
Xman/man3/aa_mouserecommended.3
Xman/man3/aa_parseoptions.3
Xman/man3/aa_printf.3
Xman/man3/aa_putpixel.3
Xman/man3/aa_puts.3
Xman/man3/aa_recommendhi.3
Xman/man3/aa_recommendhidisplay.3
Xman/man3/aa_recommendhikbd.3
Xman/man3/aa_recommendhimouse.3
Xman/man3/aa_recommendlow.3
Xman/man3/aa_recommendlowdisplay.3
Xman/man3/aa_recommendlowkbd.3
Xman/man3/aa_recommendlowmouse.3
Xman/man3/aa_registerfont.3
Xman/man3/aa_render.3
Xman/man3/aa_resize.3
Xman/man3/aa_resizehandler.3
Xman/man3/aa_scrheight.3
Xman/man3/aa_scrwidth.3
Xman/man3/aa_setfont.3
Xman/man3/aa_setsupported.3
Xman/man3/aa_showcursor.3
Xman/man3/aa_showmouse.3
Xman/man3/aa_text.3
Xman/man3/aa_uninitkbd.3
Xman/man3/aa_uninitmouse.3
Xman/man3/mem_d.3
Xman/man3/save_d.3
Xshare/aclocal/aalib.m4
END-of-./PLIST
echo x - ./buildlink.mk
sed 's/^X//' >./buildlink.mk << 'END-of-./buildlink.mk'
X# $NetBSD$
X#
X# This Makefile fragment is included by packages that use aalib-x11.
X#
X# To use this Makefile fragment, simply:
X#
X# (1) Optionally define BUILDLINK_DEPENDS.aalib-x11 to the dependency pattern
X# for the version of aalib-x11 desired.
X# (2) Include this Makefile fragment in the package Makefile,
X# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
X# search path, and
X# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
X# path.
X
X.if !defined(AALIB-X11_BUILDLINK_MK)
Xaalib-x11_BUILDLINK_MK= # defined
X
X.include "../../mk/bsd.buildlink.mk"
X
XBUILDLINK_DEPENDS.aalib-x11?= aalib-x11>=1.4.0.4
XDEPENDS+= ${BUILDLINK_DEPENDS.aalib-x11}:../../graphics/aalib-x11
X
XEVAL_PREFIX+= BUILDLINK_PREFIX.aalib-x11=aalib-x11
XBUILDLINK_PREFIX.aalib-x11_DEFAULT= ${LOCALBASE}
XBUILDLINK_FILES.aalib-x11= include/aalib.h
XBUILDLINK_FILES.aalib-x11+= lib/libaa.*
X
XBUILDLINK_TARGETS.aalib-x11= aalib-x11-buildlink
XBUILDLINK_TARGETS.aalib-x11+= aalib-x11-buildlink-config-wrapper
XBUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.aalib-x11}
X
XBUILDLINK_CONFIG.aalib-x11= ${BUILDLINK_PREFIX.aalib-x11}/bin/aalib-config
XBUILDLINK_CONFIG_WRAPPER.aalib-x11= ${BUILDLINK_DIR}/bin/aalib-config
XREPLACE_BUILDLINK_SED+= \
X -e "s|${BUILDLINK_CONFIG_WRAPPER.aalib-x11}|${BUILDLINK_CONFIG.aalib-x11}|g"
X
X.if defined(USE_CONFIG_WRAPPER)
XAALIB-X11_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.aalib-x11}
XCONFIGURE_ENV+= AALIB-X11_CONFIG="${AALIB-X11_CONFIG}"
XMAKE_ENV+= AALIB-X11_CONFIG="${AALIB-X11_CONFIG}"
X.endif
X
Xpre-configure: ${BUILDLINK_TARGETS.aalib-x11}
Xaalib-x11-buildlink: _BUILDLINK_USE
Xaalib-x11-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
X
X.endif # aalib-x11_BUILDLINK_MK
END-of-./buildlink.mk
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
X$NetBSD$
X
XSHA1 (aalib-1.4rc4.tar.gz) = a11c16b258bf9b64b135858afabc7f3a45222a4a
XSize (aalib-1.4rc4.tar.gz) = 390812 bytes
XSHA1 (patch-aa) = 927d69a8f499b99f0bd5f13cf220ce8cbb7ea591
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD$
X#
X
XDISTNAME= aalib-1.4rc4
XPKGNAME= aalib-x11-1.4.0.4
XCATEGORIES= graphics x11
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aa-project/}
X
XMAINTAINER= manu@netbsd.org
XHOMEPAGE= http://aa-project.sourceforge.net/aalib/
XCOMMENT= ASCII Art library with X11 support
X
XCONFLICTS+= aalib-[0-9]*
X
XWRKSRC= ${WRKDIR}/aalib-1.4.0
XGNU_CONFIGURE= YES
XUSE_LIBTOOL= yes
XUSE_BUILDLINK_ONLY= yes
XLTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
X
X.include "../../mk/x11.buildlink.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted: