Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2002 18:34:38 -0700 (PDT)
From:      Adam Weinberger <adam@vectors.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41334: update: audio/gkrellmss 0.3 -> 0.5
Message-ID:  <200208050134.g751Ycj16534@incinerator.seecolinslash.com>

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

>Number:         41334
>Category:       ports
>Synopsis:       update: audio/gkrellmss 0.3 -> 0.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 04 18:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adam Weinberger
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD smacky.vectors.cx 4.6-STABLE FreeBSD 4.6-STABLE #3: Sat Aug 3 23:40:24 PDT 2002 root@smacky.vectors.cx:/usr/src/sys/compile/smacky i386


	
>Description:
	audio/gkrellmss won't build anymore because the referenced distfiles have been
	removed. these patches update 0.3 to 0.5
	
>How-To-Repeat:
	
>Fix:

	

	included: audio/gkrellmss/Makefile
				 audio/gkrellmss/distinfo
				 audio/gkrellmss/files/patch-src::Makefile
	
	also, the thingy now uses libfftw. it looks a heck of a lot better too.

--- gkrellmss.makefile.patch begins here ---
--- Makefile.orig	Sun Aug  4 17:49:10 2002
+++ Makefile	Sun Aug  4 18:07:36 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gkrellmss
-PORTVERSION=	0.3
+PORTVERSION=	0.5
 CATEGORIES=	audio
 MASTER_SITES=	http://web.wt.net/~billw/gkrellmss/
 
@@ -14,6 +14,7 @@
 
 BUILD_DEPENDS=	${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
 LIB_DEPENDS=	gdk_pixbuf_xlib.2:${PORTSDIR}/graphics/gdk-pixbuf
+LIB_DEPENDS=	fftw.2:${PORTSDIR}/math/fftw
 RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm
 
 USE_X_PREFIX=	yes
--- gkrellmss.makefile.patch ends here ---

--- gkrellmss.distinfo.patch begins here ---
--- distinfo.orig	Sun Aug  4 17:49:14 2002
+++ distinfo	Sun Aug  4 17:49:33 2002
@@ -1 +1 @@
-MD5 (gkrellmss-0.3.tar.gz) = 12b4de4b4d2ce5c4e34af22a8f4fbbfa
+MD5 (gkrellmss-0.5.tar.gz) = 75cd3ba50b7eeba0f5596aace23811ff
--- gkrellmss.distinfo.patch ends here ---

--- gkrellmss.patch.patch begins here ---
--- files/patch-src::Makefile.orig	Sun Aug  4 17:58:29 2002
+++ files/patch-src::Makefile	Sun Aug  4 18:03:31 2002
@@ -1,6 +1,6 @@
---- src/Makefile.orig	Sat Aug 25 14:33:25 2001
-+++ src/Makefile	Sun Sep 30 18:26:49 2001
-@@ -1,13 +1,13 @@
+--- src/Makefile.orig	Sun Aug  4 18:00:06 2002
++++ src/Makefile	Sun Aug  4 18:02:29 2002
+@@ -1,22 +1,22 @@
 -INSTALLDIR ?= /usr/local/lib/gkrellm/plugins
 -INSTALL ?= install
 +INSTALLDIR ?= ${PREFIX}/libexec/gkrellm/plugins
@@ -11,26 +11,36 @@
 +GTK_INCLUDE = `${GTK_CONFIG} --cflags`
 +GTK_LIB = `${GTK_CONFIG} --libs`
  
--ESD_INCLUDE = `esd-config --cflags`
--ESD_LIB = `esd-config --libs`
-+ESD_INCLUDE = `${ESD_CONFIG} --cflags`
-+ESD_LIB = `${ESD_CONFIG} --libs`
- 
--FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE)
-+FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(ESD_INCLUDE)
- LIBS = $(GTK_LIB) $(ESD_LIB)
+ ifeq ($(alsa5),1)
+ SD_INCLUDE =
+ SD_LIB = -lasound
+ else
+-SD_INCLUDE = `esd-config --cflags`
+-SD_LIB = `esd-config --libs`
++SD_INCLUDE = `${ESD_CONFIG} --cflags`
++SD_LIB = `${ESD_CONFIG} --libs`
+ endif
+ 
+-FFTW_LIB_DIR ?=
++FFTW_LIB_DIR ?= -L${LOCALBASE}/lib
+ 
+ FFTW_LIB = $(FFTW_LIB_DIR) -lrfftw -lfftw
+ 
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(SD_INCLUDE)
++FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(SD_INCLUDE)
+ LIBS = $(GTK_LIB) $(SD_LIB) $(FFTW_LIB) -lm
  LFLAGS = -shared
  
-@@ -20,7 +20,7 @@
+@@ -32,7 +32,7 @@
+     FLAGS += -DGKRELLM_ALSA5
  endif
  
- 
 -CC = gcc $(FLAGS) $(CFLAGS)
 +CC += $(FLAGS) $(CFLAGS)
  
- OBJS = gkrellmss.o sdlib.o
+ OBJS = gkrellmss.o oscope.o spectrum.o sdlib.o
  
-@@ -33,8 +33,7 @@
+@@ -45,8 +45,7 @@
  	rm -f *.o core *.so* *.bak *~
  
  install: 
@@ -39,4 +49,4 @@
 +	$(INSTALL) gkrellmss.so $(INSTALLDIR)
  
  gkrellmss.o: gkrellmss.c gkrellmss.h
- sdlib.o: sdlib.c gkrellmss.h
+ oscope.o: oscope.c gkrellmss.h
--- gkrellmss.patch.patch ends here ---


>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?200208050134.g751Ycj16534>