View | Details | Raw Unified | Return to bug 184891
Collapse All | Expand All

(-)audio/gtkguitune/Makefile (-7 / +10 lines)
Lines 3-34 Link Here
3
3
4
PORTNAME=	gtkguitune
4
PORTNAME=	gtkguitune
5
PORTVERSION=	0.8
5
PORTVERSION=	0.8
6
PORTREVISION=	3
6
DISTVERSIONPREFIX=	gtk2-
7
PORTREVISION=	4
7
CATEGORIES=	audio
8
CATEGORIES=	audio
8
MASTER_SITES=	http://www.oocities.org/harpin_floh/mysoft/
9
MASTER_SITES=	GENTOO/distfiles \
9
DISTNAME=	${PORTNAME}-gtk2-${PORTVERSION}
10
		http://www.oocities.org/harpin_floh/mysoft/
10
11
11
MAINTAINER=	ports@FreeBSD.org
12
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Guitar (and other instruments) tuner for GTK+2
13
COMMENT=	Guitar (and other instruments) tuner for GTK+2
13
14
14
LIB_DEPENDS=	libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24
15
LICENSE=	GPLv2 # (or later)
15
16
16
WRKSRC=		${WRKDIR}/${PORTNAME}
17
WRKSRC=		${WRKDIR}/${PORTNAME}
17
18
18
USES=		pkgconfig
19
USES=		pkgconfig
19
NO_STAGE=	yes
20
USE_GNOME=	gtkmm24
20
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
21
INSTALLS_ICONS=	yes
22
INSTALLS_ICONS=	yes
22
23
23
PLIST_FILES=	bin/${PORTNAME} \
24
PLIST_FILES=	bin/${PORTNAME} \
24
		share/icons/hicolor/scalable/apps/guitune_logo.svg
25
		share/icons/hicolor/scalable/apps/guitune_logo.svg
25
26
27
DESKTOP_ENTRIES="GtkGuitune" "" "guitune_logo" "${PORTNAME}" "" ""
28
26
post-patch:
29
post-patch:
27
	@${REINPLACE_CMD} -e \
30
	@${REINPLACE_CMD} -e \
28
		's|VERSION=0.7|VERSION=${PORTVERSION}|g' ${WRKSRC}/configure
31
		's|VERSION=0.7|VERSION=${PORTVERSION}|g' ${WRKSRC}/configure
29
.for file in guitune.cc main.cc
32
.for i in guitune.cc main.cc
30
	@${REINPLACE_CMD} -e \
33
	@${REINPLACE_CMD} -e \
31
		's|<linux/soundcard.h>|<sys/soundcard.h>|' ${WRKSRC}/${file}
34
		's|<linux/soundcard.h>|<sys/soundcard.h>|' ${WRKSRC}/${i}
32
.endfor
35
.endfor
33
36
34
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)audio/gtkguitune/files/patch-lcdview.cc (+16 lines)
Line 0 Link Here
1
--- lcdview.cc.orig
2
+++ lcdview.cc
3
@@ -23,11 +23,12 @@
4
 
5
 #include "lcdview.h"
6
 
7
-LCDView::LCDView(const char * str = 0)
8
+LCDView::LCDView(const char * str)
9
 {
10
     i_LCD_num = 11;
11
     i_string_maxlen = 1000;
12
     i_string = new char [i_string_maxlen];
13
+    str = 0;
14
     set( str );
15
         
16
     i_col_bg. set( "black" );      get_colormap()->alloc_color( i_col_bg  );
(-)audio/gtkguitune/pkg-descr (-4 / +5 lines)
Lines 1-6 Link Here
1
gtkguitune is a program for tuning guitars and other instruments.  Rather than
1
gtkguitune is a program for tuning guitars and other instruments.
2
using FFT like many programs, it counts the number of triggerings between two
2
Rather than using FFT like many programs, it counts the number of
3
trigger levels in a certain amount of time, which tends to be more accurate for
3
triggerings between two trigger levels in a certain amount of time,
4
instrument tuning while requiring less processing than FFT.
4
which tends to be more accurate for instrument tuning while requiring
5
less processing than FFT.
5
6
6
WWW: http://www.oocities.com/harpin_floh/kguitune_page.html
7
WWW: http://www.oocities.com/harpin_floh/kguitune_page.html

Return to bug 184891