FreeBSD Bugzilla – Attachment 188771 Details for
Bug 224279
audio/volumeicon: Update to 0.5.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file
volumeicon-0.5.1.patch (text/plain), 6.41 KB, created by
Dmitri Goutnik
on 2017-12-12 18:59:30 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2017-12-12 18:59:30 UTC
Size:
6.41 KB
patch
obsolete
>Index: audio/volumeicon/Makefile >=================================================================== >--- audio/volumeicon/Makefile (revision 456166) >+++ audio/volumeicon/Makefile (working copy) >@@ -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 @@ > 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> >Index: audio/volumeicon/distinfo >=================================================================== >--- audio/volumeicon/distinfo (revision 456166) >+++ audio/volumeicon/distinfo (working copy) >@@ -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 >Index: audio/volumeicon/files/patch-data_gui_preferences.ui >=================================================================== >--- audio/volumeicon/files/patch-data_gui_preferences.ui (nonexistent) >+++ audio/volumeicon/files/patch-data_gui_preferences.ui (working copy) >@@ -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> > >Property changes on: audio/volumeicon/files/patch-data_gui_preferences.ui >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: audio/volumeicon/files/patch-src_oss__backend.c >=================================================================== >--- audio/volumeicon/files/patch-src_oss__backend.c (revision 456166) >+++ audio/volumeicon/files/patch-src_oss__backend.c (working copy) >@@ -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; > } >Index: audio/volumeicon/files/patch-src_oss__backend.h >=================================================================== >--- audio/volumeicon/files/patch-src_oss__backend.h (nonexistent) >+++ audio/volumeicon/files/patch-src_oss__backend.h (working copy) >@@ -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 > >Property changes on: audio/volumeicon/files/patch-src_oss__backend.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: audio/volumeicon/files/patch-src_volumeicon.c >=================================================================== >--- audio/volumeicon/files/patch-src_volumeicon.c (nonexistent) >+++ audio/volumeicon/files/patch-src_volumeicon.c (working copy) >@@ -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; > >Property changes on: audio/volumeicon/files/patch-src_volumeicon.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: audio/volumeicon/pkg-plist >=================================================================== >--- audio/volumeicon/pkg-plist (revision 456166) >+++ audio/volumeicon/pkg-plist (working copy) >@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dmgk
:
maintainer-approval?
(
lme
)
Actions:
View
|
Diff
Attachments on
bug 224279
:
188756
| 188771