- better audio mixer device name
This commit is contained in:
parent
bc83adfd24
commit
b3898ef46d
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.59 2009/01/20 23:13:30 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.60 2009/01/25 18:57:00 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= applets for use with the GNOME panel
|
||||
COMMENT-battstat= GNOME applet for monitoring battery level
|
||||
@ -6,7 +6,7 @@ COMMENT-battstat= GNOME applet for monitoring battery level
|
||||
GNOME_PROJECT= gnome-applets
|
||||
GNOME_VERSION= 2.24.3.1
|
||||
|
||||
PKGNAME-main= gnome-applets2-${VERSION}p0
|
||||
PKGNAME-main= gnome-applets2-${VERSION}p1
|
||||
PKGNAME-battstat= gnome-applets2-battstat-${VERSION}p0
|
||||
|
||||
CATEGORIES= x11
|
||||
|
17
x11/gnome/applets2/patches/patch-mixer_load_c
Normal file
17
x11/gnome/applets2/patches/patch-mixer_load_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-mixer_load_c,v 1.1 2009/01/25 18:57:00 ajacoutot Exp $
|
||||
--- mixer/load.c.orig Wed Sep 24 01:46:12 2008
|
||||
+++ mixer/load.c Sun Jan 25 14:17:49 2009
|
||||
@@ -88,8 +88,13 @@ _filter_func (GstMixer *mixer, gpointer data) {
|
||||
|
||||
(helper->count)++;
|
||||
|
||||
+#ifdef __OpenBSD__
|
||||
+ title = g_strdup_printf (_("%d"), helper->count);
|
||||
+ name = g_strdup_printf ("%s (%s)", longname, title);
|
||||
+#else
|
||||
title = g_strdup_printf (_("Unknown Volume Control %d"), helper->count);
|
||||
name = g_strdup_printf ("%s (%s)", title, longname);
|
||||
+#endif
|
||||
original = g_strdup(name);
|
||||
g_free (title);
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2009/01/21 14:18:45 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2009/01/25 18:56:21 ajacoutot Exp $
|
||||
|
||||
COMMENT= GNOME media utilities
|
||||
|
||||
GNOME_PROJECT= gnome-media
|
||||
GNOME_VERSION= 2.24.0.1
|
||||
PKGNAME= ${DISTNAME}p6
|
||||
PKGNAME= ${DISTNAME}p7
|
||||
|
||||
SHARED_LIBS += gnome-media-profiles 0.0 # .0.0
|
||||
CATEGORIES= x11
|
||||
|
17
x11/gnome/media/patches/patch-gst-mixer_src_main_c
Normal file
17
x11/gnome/media/patches/patch-gst-mixer_src_main_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-gst-mixer_src_main_c,v 1.1 2009/01/25 18:56:21 ajacoutot Exp $
|
||||
--- gst-mixer/src/main.c.orig Mon Sep 1 13:42:32 2008
|
||||
+++ gst-mixer/src/main.c Sun Jan 25 14:02:02 2009
|
||||
@@ -79,8 +79,13 @@ mixer_filter_func (GstMixer * mixer, gpointer user_dat
|
||||
|
||||
*p_count += 1;
|
||||
|
||||
+#ifdef __OpenBSD__
|
||||
+ title = g_strdup_printf (_("%d"), *p_count);
|
||||
+ name = g_strdup_printf ("%s (%s)", long_name, title);
|
||||
+#else
|
||||
title = g_strdup_printf (_("Unknown Volume Control %d"), *p_count);
|
||||
name = g_strdup_printf ("%s (%s)", title, long_name);
|
||||
+#endif
|
||||
g_free (title);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user