diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-04-10 22:24:00 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-04-10 22:24:00 +0800 |
commit | cad8cc56b095f9eacee8b823fbf68694d6edb96f (patch) | |
tree | e36a6adccf39c54ea8c900717ea0c52fe71598ec /multimedia | |
parent | bcc460a2e13896bfc62d0d324421274247ea338c (diff) | |
download | freebsd-ports-gnome-cad8cc56b095f9eacee8b823fbf68694d6edb96f.tar.gz freebsd-ports-gnome-cad8cc56b095f9eacee8b823fbf68694d6edb96f.tar.zst freebsd-ports-gnome-cad8cc56b095f9eacee8b823fbf68694d6edb96f.zip |
New port: WMxmms
WMxmms is little dockapp in the style of wmusic and wmapmload/wmcpuload.
It represents a fairly complete interface to XMMS including reflecting
states set from the XMMS console.
Submitted by: Alexey Dokuchaev
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/WMxmms/Makefile | 34 | ||||
-rw-r--r-- | multimedia/WMxmms/distinfo | 1 | ||||
-rw-r--r-- | multimedia/WMxmms/files/patch-src::Makefile | 61 | ||||
-rw-r--r-- | multimedia/WMxmms/files/patch-src::wmxmms.c | 20 | ||||
-rw-r--r-- | multimedia/WMxmms/pkg-descr | 9 | ||||
-rw-r--r-- | multimedia/WMxmms/pkg-plist | 1 |
7 files changed, 127 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index c633ce9af403..675c1837bf66 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ # + SUBDIR += WMxmms SUBDIR += acme SUBDIR += avidemux SUBDIR += avifile diff --git a/multimedia/WMxmms/Makefile b/multimedia/WMxmms/Makefile new file mode 100644 index 000000000000..7da010c7b6c2 --- /dev/null +++ b/multimedia/WMxmms/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: WMxmms +# Date created: 10 May 2003 +# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru> +# +# $FreeBSD$ +# + +PORTNAME= WMxmms +PORTVERSION= 0.1.4 +CATEGORIES= multimedia windowmaker +MASTER_SITES= http://www.dockapps.com/download.php/id/252/ \ + ftp://ftp.nsu.ru/tmp/ + +MAINTAINER= danfe@regency.nsu.ru +COMMENT= A dockable XMMS interface + +BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms +RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms + +USE_CONFIGURE= yes +USE_GNOME= gtk12 +USE_X_PREFIX= yes +USE_XPM= yes + +MAN1= ${PORTNAME}.1 + +pre-build: + @${FIND} ${WRKSRC}/src -name \*.o -delete + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MANPREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/multimedia/WMxmms/distinfo b/multimedia/WMxmms/distinfo new file mode 100644 index 000000000000..49cc151327db --- /dev/null +++ b/multimedia/WMxmms/distinfo @@ -0,0 +1 @@ +MD5 (WMxmms-0.1.4.tar.gz) = b7fc2b01340f267b7f29b608d3f63a98 diff --git a/multimedia/WMxmms/files/patch-src::Makefile b/multimedia/WMxmms/files/patch-src::Makefile new file mode 100644 index 000000000000..dd985a5cc3c6 --- /dev/null +++ b/multimedia/WMxmms/files/patch-src::Makefile @@ -0,0 +1,61 @@ +--- src/Makefile.orig Sun Mar 30 10:47:20 2003 ++++ src/Makefile Thu Apr 10 18:28:58 2003 +@@ -61,8 +61,8 @@ + AWK = gawk + CC = gcc + DFLAGS = +-HEADER_SEARCH_PATH = -I/usr/X11R6/include -I/usr/local/include +-LIBRARY_SEARCH_PATH = -L/usr/X11R6/lib -L/usr/local/lib ++HEADER_SEARCH_PATH = -I${X11BASE}/include -I${prefix}/include ++LIBRARY_SEARCH_PATH = -L${X11BASE}/lib -L${prefix}/lib + LIBS = + LN_S = ln -s + MAKEINFO = makeinfo +@@ -70,24 +70,24 @@ + PACKAGE = wmapmload + SETGID_FLAGS = + VERSION = 0.3.2 +-XCFLAGS = -I/usr/X11R6/include +-XLFLAGS = -L/usr/X11R6/lib ++XCFLAGS = -I${X11BASE}/include ++XLFLAGS = -L${X11BASE}/lib + XLIBS = -lX11 -lXext -lXpm + X_EXTRA_LIBS = +-X_LIBRARY_PATH = /usr/X11R6/lib ++X_LIBRARY_PATH = ${X11BASE}/lib + + bin_PROGRAMS = WMxmms + + WMxmms_SOURCES = wmxmms.c dockapp.c dockapp.h mouse_regions.c mouse_regions.h backdrop_off.xpm backdrop_on.xpm parts.xpm xmms_func.c xmms_func.h + + +-CPPFLAGS = `/usr/bin/xmms-config --cflags` -DDATA_DIR=\"`/usr/bin/xmms-config --data-dir`\" ++CPPFLAGS = `${PREFIX}/bin/xmms-config --cflags` -DDATA_DIR=\"`${PREFIX}/bin/xmms-config --data-dir`\" + +-INCLUDES = -I/usr/X11R6/include -I/usr/local/include ++INCLUDES = -I${X11BASE}/include -I${prefix}/include + +-WMxmms_LDADD = -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -lXpm ++WMxmms_LDADD = -L${X11BASE}/lib -L${prefix}/lib -lX11 -lXext -lXpm + +-LDFLAGS = `/usr/bin/gtk-config --libs` `/usr/bin/xmms-config --libs` ++LDFLAGS = `${PREFIX}/bin/gtk12-config --libs` `${PREFIX}/bin/xmms-config --libs` + + INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) + +@@ -98,13 +98,12 @@ + + + DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. +-X_CFLAGS = -I/usr/X11R6/include +-X_LIBS = -L/usr/X11R6/lib ++X_CFLAGS = -I${X11BASE}/include ++X_LIBS = -L${X11BASE}/lib + X_PRE_LIBS = -lSM -lICE + WMxmms_OBJECTS = wmxmms.o dockapp.o mouse_regions.o xmms_func.o + WMxmms_DEPENDENCIES = + WMxmms_LDFLAGS = +-CFLAGS = -g -O2 + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) + LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ diff --git a/multimedia/WMxmms/files/patch-src::wmxmms.c b/multimedia/WMxmms/files/patch-src::wmxmms.c new file mode 100644 index 000000000000..0cdc4b94a004 --- /dev/null +++ b/multimedia/WMxmms/files/patch-src::wmxmms.c @@ -0,0 +1,20 @@ +--- src/wmxmms.c.orig Thu Apr 10 17:13:16 2003 ++++ src/wmxmms.c Thu Apr 10 17:16:26 2003 +@@ -218,14 +218,12 @@ + static void unhighlight_button(int x, int y, int b) { + + int z; +- int q; +- +- q = 25; +- ++ int q = 25; ++ ++ XmmsInfos *xmms = &cur_xmms_infos; + + if( backlight == LIGHTON) + q = 0; +- XmmsInfos *xmms = &cur_xmms_infos; + + xmms->running = XmmsStatus(); + diff --git a/multimedia/WMxmms/pkg-descr b/multimedia/WMxmms/pkg-descr new file mode 100644 index 000000000000..24a5884947c1 --- /dev/null +++ b/multimedia/WMxmms/pkg-descr @@ -0,0 +1,9 @@ +WMxmms is little dockapp in the style of wmusic and wmapmload/wmcpuload. +It represents a fairly complete interface to XMMS including reflecting +states set from the XMMS console. + +Credits go to Thomas Nemeth who came up with the LCD type design and +Hades (hadess@hadess.net) who wrote xmusic and thus provided the +inspiration for this one. + +WWW: http://www.dockapps.com/file.php/id/172 diff --git a/multimedia/WMxmms/pkg-plist b/multimedia/WMxmms/pkg-plist new file mode 100644 index 000000000000..9a225ad0c71e --- /dev/null +++ b/multimedia/WMxmms/pkg-plist @@ -0,0 +1 @@ +bin/WMxmms |