ports/175887: [new port]: audio/gvolwheel Volume mixer
Veniamin Gvozdikov
g.veniamin at googlemail.com
Wed Feb 6 15:10:00 UTC 2013
>Number: 175887
>Category: ports
>Synopsis: [new port]: audio/gvolwheel Volume mixer
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 06 15:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at 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 at dirrm %%DOCSDIR%%
X at 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 at googlemail.com>
X# $FreeBSD$
X
XPORTNAME= gvolwheel
XPORTVERSION= 1.0
XCATEGORIES= audio
XMASTER_SITES= SF/${PORTNAME}
X
XMAINTAINER= g.veniamin at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list