From owner-svn-ports-head@freebsd.org Wed Dec 13 10:15:11 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0C6BE98D70; Wed, 13 Dec 2017 10:15:11 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A43666AC70; Wed, 13 Dec 2017 10:15:11 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBDAFAjm097377; Wed, 13 Dec 2017 10:15:10 GMT (envelope-from lme@FreeBSD.org) Received: (from lme@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBDAFAqJ097369; Wed, 13 Dec 2017 10:15:10 GMT (envelope-from lme@FreeBSD.org) Message-Id: <201712131015.vBDAFAqJ097369@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lme set sender to lme@FreeBSD.org using -f From: Lars Engels Date: Wed, 13 Dec 2017 10:15:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456201 - in head/audio/volumeicon: . files X-SVN-Group: ports-head X-SVN-Commit-Author: lme X-SVN-Commit-Paths: in head/audio/volumeicon: . files X-SVN-Commit-Revision: 456201 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2017 10:15:11 -0000 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 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 @@ + + True + False +- <b>Alsa</b> ++ <b>OSS</b> + True + + 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