From nobody@FreeBSD.org  Wed Feb  6 15:04:33 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 6214866E
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Feb 2013 15:04:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 52D91DF
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Feb 2013 15:04:33 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r16F4XXW094864
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 6 Feb 2013 15:04:33 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r16F4XRY094863;
	Wed, 6 Feb 2013 15:04:33 GMT
	(envelope-from nobody)
Message-Id: <201302061504.r16F4XRY094863@red.freebsd.org>
Date: Wed, 6 Feb 2013 15:04:33 GMT
From: Veniamin Gvozdikov <g.veniamin@googlemail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [new port]: audio/gvolwheel Volume mixer
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175887
>Category:       ports
>Synopsis:       [new port]: audio/gvolwheel Volume mixer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 06 15:10:00 UTC 2013
>Closed-Date:    Sun Feb 10 14:08:50 UTC 2013
>Last-Modified:  Sun Feb 10 14:10:00 UTC 2013
>Originator:     Veniamin Gvozdikov
>Release:        FreeBSD 8.3-RELEASE-p5
>Organization:
>Environment:
FreeBSD ololo 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Thu Dec  6 16:25:28 MSK 2012     root@ololo:/usr/obj/usr/src/sys/OLOLO  amd64
>Description:
GVolWheel is a Lightweight application which lets you control the audio
volume. GVolWheel is application which lets you control the volume easily
through a tray icon you can scroll on. Easily integrate with minimal
desktops (Openbox,IceWM,XFCE etc).

>How-To-Repeat:

>Fix:
# 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:
#
#	gvolwheel
#	gvolwheel/pkg-plist
#	gvolwheel/files
#	gvolwheel/files/patch-src_oss.c
#	gvolwheel/files/patch-Makefile.in
#	gvolwheel/distinfo
#	gvolwheel/Makefile
#	gvolwheel/pkg-descr
#
echo c - gvolwheel
mkdir -p gvolwheel > /dev/null 2>&1
echo x - gvolwheel/pkg-plist
sed 's/^X//' >gvolwheel/pkg-plist << '8f2bae3d8052a00e151c1dfa3ad664dd'
X%%DOCSDIR%%/AUTHORS
X%%DOCSDIR%%/COPYING
X%%DOCSDIR%%/ChangeLog
X%%DOCSDIR%%/INSTALL
X%%DOCSDIR%%/NEWS
X%%DOCSDIR%%/README
X%%NLS%%share/locale/ru/LC_MESSAGES/gvolwheel.mo
Xbin/gvolwheel
Xshare/pixmaps/gvolwheel/audio-volume-high.png
Xshare/pixmaps/gvolwheel/audio-volume-low.png
Xshare/pixmaps/gvolwheel/audio-volume-medium.png
Xshare/pixmaps/gvolwheel/audio-volume-muted.png
X@dirrm %%DOCSDIR%%
X@dirrm share/pixmaps/gvolwheel
8f2bae3d8052a00e151c1dfa3ad664dd
echo c - gvolwheel/files
mkdir -p gvolwheel/files > /dev/null 2>&1
echo x - gvolwheel/files/patch-src_oss.c
sed 's/^X//' >gvolwheel/files/patch-src_oss.c << 'b29428baa59f82a6c62f01ebe33df06a'
X--- src/oss.c.orig	2013-02-05 00:07:25.250545453 +0400
X+++ src/oss.c	2013-02-05 00:08:55.817607467 +0400
X@@ -17,7 +17,8 @@
X  * along with this program. If not, see <http://www.gnu.org/licenses/>.
X  */
X 
X-#include <linux/soundcard.h>
X+#include <sys/unistd.h>
X+#include <sys/soundcard.h>
X #include <fcntl.h>
X #include <sys/ioctl.h>
X 
X@@ -51,4 +52,4 @@
X 		ioctl(mixer_fd, MIXER_WRITE(SOUND_MIXER_VOLUME), &vol);
X 	else if (mixer == 1)	
X 		ioctl(mixer_fd, MIXER_WRITE(SOUND_MIXER_PCM), &vol);
X-}
X\ No newline at end of file
X+}
b29428baa59f82a6c62f01ebe33df06a
echo x - gvolwheel/files/patch-Makefile.in
sed 's/^X//' >gvolwheel/files/patch-Makefile.in << '42a070682faa4d5d5f2cd2aec253b2d1'
X--- Makefile.in.orig	2010-04-03 19:20:45.000000000 +0800
X+++ Makefile.in	2010-06-08 13:08:12.000000000 +0800
X@@ -268,7 +268,7 @@
X top_builddir = @top_builddir@
X top_srcdir = @top_srcdir@
X SUBDIRS = src po 
X-gvolwheeldocdir = ${prefix}/doc/gvolwheel
X+gvolwheeldocdir = ${prefix}/share/doc/gvolwheel
X gvolwheeldoc_DATA = \
X 	README\
X 	COPYING\
42a070682faa4d5d5f2cd2aec253b2d1
echo x - gvolwheel/distinfo
sed 's/^X//' >gvolwheel/distinfo << '7572a4022ae0c4aced8f7a925bfd8576'
XSHA256 (gvolwheel-1.0.tar.gz) = 43f5fa526865055d7196a58ad1fbb4019ceb2353a82bff5827c19033d616c676
XSIZE (gvolwheel-1.0.tar.gz) = 347187
7572a4022ae0c4aced8f7a925bfd8576
echo x - gvolwheel/Makefile
sed 's/^X//' >gvolwheel/Makefile << '981927c8c1b5d6adeaf8f8511d6f6ae4'
X# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
X# $FreeBSD$
X
XPORTNAME=	gvolwheel
XPORTVERSION=	1.0
XCATEGORIES=	audio
XMASTER_SITES=	SF/${PORTNAME}
X
XMAINTAINER=	g.veniamin@googlemail.com
XCOMMENT=	Volume mixer
X
XLICENSE=	GPLv3
X
XBUILD_DEPENDS=	intltoolize:${PORTSDIR}/textproc/intltool
X
XCONFIGURE_ARGS+=--enable-oss
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_GNOME=	gnomehack gtk30
XUSE_ICONV=	yes
XUSE_PKGCONFIG=	yes
X
XOPTIONS_DEFINE=	NLS
XNLS_DESC=	Native language support
X
X.include <bsd.port.options.mk>
X
X.if ${PORT_OPTIONS:MNLS}
XCONFIGURE_ARGS+=	--disable-nls
XPLIST_SUB+=	NLS="@comment "
X.else
XPLIST_SUB+=	NLS=""
XUSE_GETTEXT=	yes
X.endif
X
Xpre-configure:
X	${ECHO} "${DOCSDIR}"
X	${REINPLACE_CMD} -e 's|linux/soundcard|sys/soundcard|g' \
X		${WRKSRC}/src/callbacks.c ${WRKSRC}/src/actions.c
X
X.include <bsd.port.mk>
981927c8c1b5d6adeaf8f8511d6f6ae4
echo x - gvolwheel/pkg-descr
sed 's/^X//' >gvolwheel/pkg-descr << 'beba2d64582d3d5c6e4b935fb9a9b581'
XGVolWheel is a Lightweight application which lets you control the audio
Xvolume. GVolWheel is application which lets you control the volume easily
Xthrough a tray icon you can scroll on. Easily integrate with minimal
Xdesktops (Openbox,IceWM,XFCE etc).
X
XWWW:	http://sourceforge.net/projects/gvolwheel/
beba2d64582d3d5c6e4b935fb9a9b581
exit


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Feb 10 14:08:49 UTC 2013 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175887 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175887: commit references a PR
Date: Sun, 10 Feb 2013 14:09:17 +0000 (UTC)

 Author: miwi
 Date: Sun Feb 10 14:09:08 2013
 New Revision: 312020
 URL: http://svnweb.freebsd.org/changeset/ports/312020
 
 Log:
   GVolWheel is a Lightweight application which lets you control the audio
   volume. GVolWheel is application which lets you control the volume easily
   through a tray icon you can scroll on. Easily integrate with minimal
   desktops (Openbox,IceWM,XFCE etc).
   
   WWW:	http://sourceforge.net/projects/gvolwheel/
   
   PR:		ports/175887
   Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>
 
 Added:
   head/audio/gvolwheel/
   head/audio/gvolwheel/Makefile   (contents, props changed)
   head/audio/gvolwheel/distinfo   (contents, props changed)
   head/audio/gvolwheel/files/
   head/audio/gvolwheel/files/patch-Makefile.in   (contents, props changed)
   head/audio/gvolwheel/files/patch-src_oss.c   (contents, props changed)
   head/audio/gvolwheel/pkg-descr   (contents, props changed)
   head/audio/gvolwheel/pkg-plist   (contents, props changed)
 Modified:
   head/audio/Makefile
 
 Modified: head/audio/Makefile
 ==============================================================================
 --- head/audio/Makefile	Sun Feb 10 11:56:22 2013	(r312019)
 +++ head/audio/Makefile	Sun Feb 10 14:09:08 2013	(r312020)
 @@ -290,6 +290,7 @@
      SUBDIR += gtkguitune
      SUBDIR += gtkpod
      SUBDIR += guspat
 +    SUBDIR += gvolwheel
      SUBDIR += gxmms2
      SUBDIR += harp
      SUBDIR += hawkvoice
 
 Added: head/audio/gvolwheel/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/gvolwheel/Makefile	Sun Feb 10 14:09:08 2013	(r312020)
 @@ -0,0 +1,41 @@
 +# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
 +# $FreeBSD$
 +
 +PORTNAME=	gvolwheel
 +PORTVERSION=	1.0
 +CATEGORIES=	audio
 +MASTER_SITES=	SF/${PORTNAME}
 +
 +MAINTAINER=	g.veniamin@googlemail.com
 +COMMENT=	Volume mixer
 +
 +LICENSE=	GPLv3
 +
 +BUILD_DEPENDS=	intltoolize:${PORTSDIR}/textproc/intltool
 +
 +CONFIGURE_ARGS+=--enable-oss
 +GNU_CONFIGURE=	yes
 +USE_GMAKE=	yes
 +USE_GNOME=	gnomehack gtk30
 +USE_ICONV=	yes
 +USE_PKGCONFIG=	yes
 +
 +OPTIONS_DEFINE=	NLS
 +NLS_DESC=	Native language support
 +
 +.include <bsd.port.options.mk>
 +
 +.if ${PORT_OPTIONS:MNLS}
 +CONFIGURE_ARGS+=	--disable-nls
 +PLIST_SUB+=	NLS="@comment "
 +.else
 +PLIST_SUB+=	NLS=""
 +USE_GETTEXT=	yes
 +.endif
 +
 +pre-configure:
 +	${ECHO} "${DOCSDIR}"
 +	${REINPLACE_CMD} -e 's|linux/soundcard|sys/soundcard|g' \
 +		${WRKSRC}/src/callbacks.c ${WRKSRC}/src/actions.c
 +
 +.include <bsd.port.mk>
 
 Added: head/audio/gvolwheel/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/gvolwheel/distinfo	Sun Feb 10 14:09:08 2013	(r312020)
 @@ -0,0 +1,2 @@
 +SHA256 (gvolwheel-1.0.tar.gz) = 43f5fa526865055d7196a58ad1fbb4019ceb2353a82bff5827c19033d616c676
 +SIZE (gvolwheel-1.0.tar.gz) = 347187
 
 Added: head/audio/gvolwheel/files/patch-Makefile.in
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/gvolwheel/files/patch-Makefile.in	Sun Feb 10 14:09:08 2013	(r312020)
 @@ -0,0 +1,11 @@
 +--- Makefile.in.orig	2010-04-03 19:20:45.000000000 +0800
 ++++ Makefile.in	2010-06-08 13:08:12.000000000 +0800
 +@@ -268,7 +268,7 @@
 + top_builddir = @top_builddir@
 + top_srcdir = @top_srcdir@
 + SUBDIRS = src po 
 +-gvolwheeldocdir = ${prefix}/doc/gvolwheel
 ++gvolwheeldocdir = ${prefix}/share/doc/gvolwheel
 + gvolwheeldoc_DATA = \
 + 	README\
 + 	COPYING\
 
 Added: head/audio/gvolwheel/files/patch-src_oss.c
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/gvolwheel/files/patch-src_oss.c	Sun Feb 10 14:09:08 2013	(r312020)
 @@ -0,0 +1,19 @@
 +--- src/oss.c.orig	2013-02-05 00:07:25.250545453 +0400
 ++++ src/oss.c	2013-02-05 00:08:55.817607467 +0400
 +@@ -17,7 +17,8 @@
 +  * along with this program. If not, see <http://www.gnu.org/licenses/>.
 +  */
 + 
 +-#include <linux/soundcard.h>
 ++#include <sys/unistd.h>
 ++#include <sys/soundcard.h>
 + #include <fcntl.h>
 + #include <sys/ioctl.h>
 + 
 +@@ -51,4 +52,4 @@
 + 		ioctl(mixer_fd, MIXER_WRITE(SOUND_MIXER_VOLUME), &vol);
 + 	else if (mixer == 1)	
 + 		ioctl(mixer_fd, MIXER_WRITE(SOUND_MIXER_PCM), &vol);
 +-}
 +\ No newline at end of file
 ++}
 
 Added: head/audio/gvolwheel/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/gvolwheel/pkg-descr	Sun Feb 10 14:09:08 2013	(r312020)
 @@ -0,0 +1,6 @@
 +GVolWheel is a Lightweight application which lets you control the audio
 +volume. GVolWheel is application which lets you control the volume easily
 +through a tray icon you can scroll on. Easily integrate with minimal
 +desktops (Openbox,IceWM,XFCE etc).
 +
 +WWW:	http://sourceforge.net/projects/gvolwheel/
 
 Added: head/audio/gvolwheel/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/gvolwheel/pkg-plist	Sun Feb 10 14:09:08 2013	(r312020)
 @@ -0,0 +1,14 @@
 +%%DOCSDIR%%/AUTHORS
 +%%DOCSDIR%%/COPYING
 +%%DOCSDIR%%/ChangeLog
 +%%DOCSDIR%%/INSTALL
 +%%DOCSDIR%%/NEWS
 +%%DOCSDIR%%/README
 +%%NLS%%share/locale/ru/LC_MESSAGES/gvolwheel.mo
 +bin/gvolwheel
 +share/pixmaps/gvolwheel/audio-volume-high.png
 +share/pixmaps/gvolwheel/audio-volume-low.png
 +share/pixmaps/gvolwheel/audio-volume-medium.png
 +share/pixmaps/gvolwheel/audio-volume-muted.png
 +@dirrm %%DOCSDIR%%
 +@dirrm share/pixmaps/gvolwheel
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
