From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 16 18:10:26 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6BC368A8 for ; Mon, 16 Dec 2013 18:10:26 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4AA4B19ED for ; Mon, 16 Dec 2013 18:10:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBGIAQMb016565 for ; Mon, 16 Dec 2013 18:10:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBGIAQsM016564; Mon, 16 Dec 2013 18:10:26 GMT (envelope-from gnats) Resent-Date: Mon, 16 Dec 2013 18:10:26 GMT Resent-Message-Id: <201312161810.rBGIAQsM016564@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D6ED267 for ; Mon, 16 Dec 2013 18:00:32 +0000 (UTC) Received: from omta01.auone-net.jp (mail-or2-f145.auone-net.jp [111.87.219.145]) by mx1.freebsd.org (Postfix) with ESMTP id 3FA5617D3 for ; Mon, 16 Dec 2013 18:00:32 +0000 (UTC) Received: from coppermine.my.domain (ZT030106.ppp.dion.ne.jp [59.128.30.106]) by omta01.auone-net.jp (au one net mail) with ESMTP id C479998000C for ; Tue, 17 Dec 2013 03:00:28 +0900 (JST) Message-Id: <20131217024603.4645667983e92b0f6a1a58d4@yahoo.com> Date: Tue, 17 Dec 2013 02:46:03 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/184891: audio/gtkguitune: Fix build on -current X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 18:10:26 -0000 >Number: 184891 >Category: ports >Synopsis: audio/gtkguitune: Fix build on -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 16 18:10:25 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Fix build on -current - Add LICENSE - Add DESKTOP_ENTRIES New file: files/patch-lcdview.cc >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/gtkguitune/Makefile audio/gtkguitune/Makefile --- /usr/ports/audio/gtkguitune/Makefile 2013-12-12 02:41:48.000000000 +0900 +++ audio/gtkguitune/Makefile 2013-12-17 00:00:00.000000000 +0900 @@ -3,32 +3,35 @@ PORTNAME= gtkguitune PORTVERSION= 0.8 -PORTREVISION= 3 +DISTVERSIONPREFIX= gtk2- +PORTREVISION= 4 CATEGORIES= audio -MASTER_SITES= http://www.oocities.org/harpin_floh/mysoft/ -DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION} +MASTER_SITES= GENTOO/distfiles \ + http://www.oocities.org/harpin_floh/mysoft/ MAINTAINER= ports@FreeBSD.org COMMENT= Guitar (and other instruments) tuner for GTK+2 -LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 +LICENSE= GPLv2 # (or later) WRKSRC= ${WRKDIR}/${PORTNAME} USES= pkgconfig -NO_STAGE= yes +USE_GNOME= gtkmm24 GNU_CONFIGURE= yes INSTALLS_ICONS= yes PLIST_FILES= bin/${PORTNAME} \ share/icons/hicolor/scalable/apps/guitune_logo.svg +DESKTOP_ENTRIES="GtkGuitune" "" "guitune_logo" "${PORTNAME}" "" "" + post-patch: @${REINPLACE_CMD} -e \ 's|VERSION=0.7|VERSION=${PORTVERSION}|g' ${WRKSRC}/configure -.for file in guitune.cc main.cc +.for i in guitune.cc main.cc @${REINPLACE_CMD} -e \ - 's|||' ${WRKSRC}/${file} + 's|||' ${WRKSRC}/${i} .endfor .include diff -urN /usr/ports/audio/gtkguitune/files/patch-lcdview.cc audio/gtkguitune/files/patch-lcdview.cc --- /usr/ports/audio/gtkguitune/files/patch-lcdview.cc 1970-01-01 09:00:00.000000000 +0900 +++ audio/gtkguitune/files/patch-lcdview.cc 2013-12-17 00:00:00.000000000 +0900 @@ -0,0 +1,16 @@ +--- lcdview.cc.orig ++++ lcdview.cc +@@ -23,11 +23,12 @@ + + #include "lcdview.h" + +-LCDView::LCDView(const char * str = 0) ++LCDView::LCDView(const char * str) + { + i_LCD_num = 11; + i_string_maxlen = 1000; + i_string = new char [i_string_maxlen]; ++ str = 0; + set( str ); + + i_col_bg. set( "black" ); get_colormap()->alloc_color( i_col_bg ); diff -urN /usr/ports/audio/gtkguitune/pkg-descr audio/gtkguitune/pkg-descr --- /usr/ports/audio/gtkguitune/pkg-descr 2013-11-06 21:52:27.000000000 +0900 +++ audio/gtkguitune/pkg-descr 2013-12-17 00:00:00.000000000 +0900 @@ -1,6 +1,7 @@ -gtkguitune is a program for tuning guitars and other instruments. Rather than -using FFT like many programs, it counts the number of triggerings between two -trigger levels in a certain amount of time, which tends to be more accurate for -instrument tuning while requiring less processing than FFT. +gtkguitune is a program for tuning guitars and other instruments. +Rather than using FFT like many programs, it counts the number of +triggerings between two trigger levels in a certain amount of time, +which tends to be more accurate for instrument tuning while requiring +less processing than FFT. WWW: http://www.oocities.com/harpin_floh/kguitune_page.html >Release-Note: >Audit-Trail: >Unformatted: