Bug 175887 - [new port]: audio/gvolwheel Volume mixer
Summary: [new port]: audio/gvolwheel Volume mixer
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 15:10 UTC by Veniamin
Modified: 2013-02-10 14:10 UTC (History)
0 users

See Also:


Attachments
file.shar (3.96 KB, text/plain)
2013-02-06 15:10 UTC, Veniamin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veniamin 2013-02-06 15:10:00 UTC
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).
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-02-10 14:08:49 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-10 14:09:17 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"