Date: Fri, 15 Apr 2011 17:12:50 GMT From: Armin Pirkovitsch <armin@frozen-zone.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156426: New ports: devel/libg19, devel/libg19draw - libs to help using the Logitech G19 keyboard Message-ID: <201104151712.p3FHCojJ019784@red.freebsd.org> Resent-Message-ID: <201104151720.p3FHK8ZS036634@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156426 >Category: ports >Synopsis: New ports: devel/libg19, devel/libg19draw - libs to help using the Logitech G19 keyboard >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Apr 15 17:20:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Armin Pirkovitsch >Release: >Organization: >Environment: >Description: Introduce 2 new ports. Both new ports are helpful if you want to e.g. change the backlight of the keyboard or use its LCD display. >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # devel/libg19 # devel/libg19/Makefile # devel/libg19/distinfo # devel/libg19/files # devel/libg19/files/patch-configure # devel/libg19/pkg-descr # devel/libg19draw # devel/libg19draw/Makefile # devel/libg19draw/distinfo # devel/libg19draw/pkg-descr # echo c - devel/libg19 mkdir -p devel/libg19 > /dev/null 2>&1 echo x - devel/libg19/Makefile sed 's/^X//' >devel/libg19/Makefile << '2c5994982a3f0f89081d3c511a15ae9b' X# New ports collection makefile for: libg19 X# Date created: Apr 15 2011 X# Whom: Armin Pirkovitsch <armin@frozen-zone.org> X# X# $FreeBSD$ X# X XPORTNAME= libg19 XPORTVERSION= 1.1.1 XCATEGORIES= devel XMASTER_SITES= SF/g19linux/${PORTNAME}/${PORTNAME}-${PORTVERSION} X XMAINTAINER= armin@frozen-zone.org XCOMMENT= G19 library X XUSE_LDCONFIG= yes XGNU_CONFIGURE= yes X XPLIST_FILES= include/libg19.h \ X lib/libg19.a \ X lib/libg19.la \ X lib/libg19.so \ X lib/libg19.so.1 X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} < 800069 XBROKEN= libusb 1.0 or newer required. X.endif X X.include <bsd.port.post.mk> 2c5994982a3f0f89081d3c511a15ae9b echo x - devel/libg19/distinfo sed 's/^X//' >devel/libg19/distinfo << '0e399fc4ad0a712901328737522aa851' XSHA256 (libg19-1.1.1.tar.gz) = 98a27713ad1a02672aeded138f1fbc2a90d9206385fefbdbb74224cfdf5f240d XSIZE (libg19-1.1.1.tar.gz) = 329962 0e399fc4ad0a712901328737522aa851 echo c - devel/libg19/files mkdir -p devel/libg19/files > /dev/null 2>&1 echo x - devel/libg19/files/patch-configure sed 's/^X//' >devel/libg19/files/patch-configure << 'd87243feb43a27832d43e8a1fa97e762' X--- configure.orig 2011-04-15 10:36:10.000000000 +0200 X+++ configure 2011-04-15 15:27:11.000000000 +0200 X@@ -20067,35 +20067,11 @@ X X if test -n "$libg19_CFLAGS"; then X pkg_cv_libg19_CFLAGS="$libg19_CFLAGS" X- elif test -n "$PKG_CONFIG"; then X- if test -n "$PKG_CONFIG" && \ X- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\"") >&5 X- ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5 X- ac_status=$? X- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 X- (exit $ac_status); }; then X- pkg_cv_libg19_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0" 2>/dev/null` X-else X- pkg_failed=yes X-fi X- else X- pkg_failed=untried X fi X if test -n "$libg19_LIBS"; then X pkg_cv_libg19_LIBS="$libg19_LIBS" X- elif test -n "$PKG_CONFIG"; then X- if test -n "$PKG_CONFIG" && \ X- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\"") >&5 X- ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5 X- ac_status=$? X- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 X- (exit $ac_status); }; then X- pkg_cv_libg19_LIBS=`$PKG_CONFIG --libs "libusb-1.0" 2>/dev/null` X else X- pkg_failed=yes X-fi X- else X- pkg_failed=untried X+ pkg_cv_libg19_LIBS="-lusb" X fi X X d87243feb43a27832d43e8a1fa97e762 echo x - devel/libg19/pkg-descr sed 's/^X//' >devel/libg19/pkg-descr << '5262e518df8506a639977fe90f58bab5' XA library that handles the USB interfacing with the G19 X XWWW: http://g19linux.sourceforge.net/ 5262e518df8506a639977fe90f58bab5 echo c - devel/libg19draw mkdir -p devel/libg19draw > /dev/null 2>&1 echo x - devel/libg19draw/Makefile sed 's/^X//' >devel/libg19draw/Makefile << '6e1cdfa97bbe845ce7193e7227961557' X# New ports collection makefile for: libg19draw X# Date created: Apr 15 2011 X# Whom: Armin Pirkovitsch <armin@frozen-zone.org> X# X# $FreeBSD$ X# X XPORTNAME= libg19draw XPORTVERSION= 1.0.0 XCATEGORIES= devel XMASTER_SITES= SF/g19linux/${PORTNAME}/${PORTNAME}-${PORTVERSION} X XMAINTAINER= armin@frozen-zone.org XCOMMENT= G19 draw library X XLIB_DEPENDS= g19.1:${PORTSDIR}/devel/libg19 \ X freetype.9:${PORTSDIR}/print/freetype2 X XCONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -pthread" X XUSE_LDCONFIG= yes XGNU_CONFIGURE= yes X XPLIST_FILES= include/libg19draw.h \ X lib/libg19draw.a \ X lib/libg19draw.la \ X lib/libg19draw.so \ X lib/libg19draw.so.1 X X.include <bsd.port.mk> 6e1cdfa97bbe845ce7193e7227961557 echo x - devel/libg19draw/distinfo sed 's/^X//' >devel/libg19draw/distinfo << '2d13fec53769adda70f63fa6f1dbae4d' XSHA256 (libg19draw-1.0.0.tar.gz) = 6ac1205f97f59d9fd7ac3cf8af96e6559fec797300884fb5385cc7e594a3ca7f XSIZE (libg19draw-1.0.0.tar.gz) = 327873 2d13fec53769adda70f63fa6f1dbae4d echo x - devel/libg19draw/pkg-descr sed 's/^X//' >devel/libg19draw/pkg-descr << '05289a39856da0722171831965e12233' XA library that can be used for drawing images, circles, lines and test on Xthe LCD X XWWW: http://g19linux.sourceforge.net/ 05289a39856da0722171831965e12233 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104151712.p3FHCojJ019784>