Date: Wed, 13 Dec 2017 10:15:10 +0000 (UTC) From: Lars Engels <lme@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456201 - in head/audio/volumeicon: . files Message-ID: <201712131015.vBDAFAqJ097369@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lme Date: Wed Dec 13 10:15:09 2017 New Revision: 456201 URL: https://svnweb.freebsd.org/changeset/ports/456201 Log: audio/volumeicon: - Update to 0.5.1 - Change WWW and download source to Github (MASTER_SITE disappeared) - Pet portlint PR: 224279 Submitted by: Dmitri Goutnik Added: head/audio/volumeicon/files/patch-data_gui_preferences.ui (contents, props changed) head/audio/volumeicon/files/patch-src_oss__backend.h (contents, props changed) head/audio/volumeicon/files/patch-src_volumeicon.c (contents, props changed) Modified: head/audio/volumeicon/Makefile head/audio/volumeicon/distinfo head/audio/volumeicon/files/patch-src_oss__backend.c head/audio/volumeicon/pkg-descr head/audio/volumeicon/pkg-plist Modified: head/audio/volumeicon/Makefile ============================================================================== --- head/audio/volumeicon/Makefile Wed Dec 13 09:18:46 2017 (r456200) +++ head/audio/volumeicon/Makefile Wed Dec 13 10:15:09 2017 (r456201) @@ -1,9 +1,8 @@ # $FreeBSD$ PORTNAME= volumeicon -PORTVERSION= 0.5.0 +PORTVERSION= 0.5.1 CATEGORIES= audio -MASTER_SITES= http://softwarebakery.com/maato/files/volumeicon/ MAINTAINER= lme@FreeBSD.org COMMENT= Lightweight volume control for the systray @@ -16,14 +15,22 @@ CONFIGURE_ARGS= --enable-oss \ CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -USES= gmake gettext pkgconfig -USE_GNOME= gtk30 intltool +USES= autoreconf gmake gettext pkgconfig +USE_GNOME= gtk30 intltool cairo gdkpixbuf2 +USE_XORG= x11 +USE_GITHUB= yes +GH_ACCOUNT= Maato OPTIONS_DEFINE= NLS NOTIFY OPTIONS_DEFAULT= NOTIFY OPTIONS_SUB= yes +NLS_USES= gettext + NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_ENABLE=notify + +pre-configure: + cd ${WRKSRC} && ./autogen.sh .include <bsd.port.mk> Modified: head/audio/volumeicon/distinfo ============================================================================== --- head/audio/volumeicon/distinfo Wed Dec 13 09:18:46 2017 (r456200) +++ head/audio/volumeicon/distinfo Wed Dec 13 10:15:09 2017 (r456201) @@ -1,2 +1,3 @@ -SHA256 (volumeicon-0.5.0.tar.gz) = e5f1179f9ec5ab25e3740e4f6bbe0baa75368f0ae87d370197b3fbefb61bd782 -SIZE (volumeicon-0.5.0.tar.gz) = 160089 +TIMESTAMP = 1513090597 +SHA256 (Maato-volumeicon-0.5.1_GH0.tar.gz) = 607979f316e6837eb7c65837c71b213a7dc6a2091153504f7b177a1d67f3da71 +SIZE (Maato-volumeicon-0.5.1_GH0.tar.gz) = 60651 Added: head/audio/volumeicon/files/patch-data_gui_preferences.ui ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/volumeicon/files/patch-data_gui_preferences.ui Wed Dec 13 10:15:09 2017 (r456201) @@ -0,0 +1,11 @@ +--- data/gui/preferences.ui.orig 2017-12-12 18:43:30 UTC ++++ data/gui/preferences.ui +@@ -197,7 +197,7 @@ + <object class="GtkLabel" id="label5"> + <property name="visible">True</property> + <property name="can_focus">False</property> +- <property name="label" translatable="yes"><b>Alsa</b></property> ++ <property name="label" translatable="yes"><b>OSS</b></property> + <property name="use_markup">True</property> + </object> + </child> Modified: head/audio/volumeicon/files/patch-src_oss__backend.c ============================================================================== --- head/audio/volumeicon/files/patch-src_oss__backend.c Wed Dec 13 09:18:46 2017 (r456200) +++ head/audio/volumeicon/files/patch-src_oss__backend.c Wed Dec 13 10:15:09 2017 (r456201) @@ -1,4 +1,4 @@ ---- src/oss_backend.c.orig 2013-02-25 15:52:49 UTC +--- src/oss_backend.c.orig 2015-03-02 22:54:36 UTC +++ src/oss_backend.c @@ -22,7 +22,7 @@ //############################################################################## @@ -154,13 +154,13 @@ { @@ -251,6 +277,7 @@ void oss_set_volume(int volume) assert(m_mixer_fd != -1); - assert(volume >= 0 && volume <= 100); + volume = (volume < 0 ? 0 : (volume > 100 ? 100 : volume)); +#if 0 oss_mixer_value vr; vr.dev = m_ext.dev; vr.ctrl = m_ext.ctrl; -@@ -286,9 +313,14 @@ void oss_set_volume(int volume) +@@ -286,9 +313,24 @@ void oss_set_volume(int volume) default: return; } @@ -177,4 +177,14 @@ if(volume == 100) m_actual_maxvalue = get_raw_value(); +#endif ++} ++ ++const gchar * oss_get_device() ++{ ++ return NULL; ++} ++ ++const GList * oss_get_device_names() ++{ ++ return NULL; } Added: head/audio/volumeicon/files/patch-src_oss__backend.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/volumeicon/files/patch-src_oss__backend.h Wed Dec 13 10:15:09 2017 (r456201) @@ -0,0 +1,10 @@ +--- src/oss_backend.h.orig 2015-03-02 22:54:36 UTC ++++ src/oss_backend.h +@@ -35,5 +35,7 @@ int oss_get_volume(); + gboolean oss_get_mute(); + const gchar * oss_get_channel(); + const GList * oss_get_channel_names(); ++const gchar * oss_get_device(); ++const GList * oss_get_device_names(); + + #endif Added: head/audio/volumeicon/files/patch-src_volumeicon.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/volumeicon/files/patch-src_volumeicon.c Wed Dec 13 10:15:09 2017 (r456201) @@ -0,0 +1,11 @@ +--- src/volumeicon.c.orig 2015-03-02 22:54:36 UTC ++++ src/volumeicon.c +@@ -1295,6 +1295,8 @@ int main(int argc, char * argv[]) + backend_get_mute = &oss_get_mute; + backend_get_channel = &oss_get_channel; + backend_get_channel_names = &oss_get_channel_names; ++ backend_get_device = &oss_get_device; ++ backend_get_device_names = &oss_get_device_names; + #else + backend_setup = &asound_setup; + backend_set_channel = &asound_set_channel; Modified: head/audio/volumeicon/pkg-descr ============================================================================== --- head/audio/volumeicon/pkg-descr Wed Dec 13 09:18:46 2017 (r456200) +++ head/audio/volumeicon/pkg-descr Wed Dec 13 10:15:09 2017 (r456201) @@ -10,4 +10,4 @@ Features - Volume Slider - Hotkey support -WWW: http://softwarebakery.com/maato/volumeicon.html +WWW: https://github.com/Maato/volumeicon/ Modified: head/audio/volumeicon/pkg-plist ============================================================================== --- head/audio/volumeicon/pkg-plist Wed Dec 13 09:18:46 2017 (r456200) +++ head/audio/volumeicon/pkg-plist Wed Dec 13 10:15:09 2017 (r456201) @@ -1,5 +1,7 @@ bin/volumeicon +%%NLS%%share/locale/de/LC_MESSAGES/volumeicon.mo %%NLS%%share/locale/fr/LC_MESSAGES/volumeicon.mo +%%NLS%%share/locale/pl/LC_MESSAGES/volumeicon.mo %%DATADIR%%/gui/appicon.svg %%DATADIR%%/gui/preferences.ui %%DATADIR%%/icons/Black Gnome/1.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712131015.vBDAFAqJ097369>