|
|
284843b |
diff -up gnome-applets-2.25.2/configure.in.mixer-null gnome-applets-2.25.2/configure.in
|
|
|
284843b |
--- gnome-applets-2.25.2/configure.in.mixer-null 2008-12-20 16:30:09.000000000 -0500
|
|
|
284843b |
+++ gnome-applets-2.25.2/configure.in 2008-12-20 16:31:52.000000000 -0500
|
|
|
284843b |
@@ -483,69 +483,6 @@ enable_stickynotes="yes"
|
|
|
9284be9 |
AM_CONDITIONAL(BUILD_STICKYNOTES_APPLET, test "x$enable_stickynotes" = "xyes")
|
|
|
9284be9 |
|
|
|
9284be9 |
dnl ***************************************************************************
|
|
|
9284be9 |
-dnl *** mixer applet specific checks ***
|
|
|
9284be9 |
-dnl ***************************************************************************
|
|
|
9284be9 |
-
|
|
|
9284be9 |
-GST_MAJORMINOR=auto
|
|
|
9284be9 |
-AC_ARG_WITH(gstreamer,
|
|
|
9284be9 |
- AC_HELP_STRING([--with-gstreamer],[use gstreamer version for mixer if available]),
|
|
|
9284be9 |
- [case "${withval}" in
|
|
|
9284be9 |
- 0.8) GST_MAJORMINOR=0.8 ;;
|
|
|
9284be9 |
- 0.10) GST_MAJORMINOR=0.10 ;;
|
|
|
9284be9 |
- *) AC_MSG_ERROR([
|
|
|
9284be9 |
- *** Bad value ${withval} for --with-gstreamer
|
|
|
9284be9 |
- *** Please use one of the following:
|
|
|
9284be9 |
- *** --with-gstreamer=0.8
|
|
|
9284be9 |
- *** --with-gstreamer=0.10
|
|
|
9284be9 |
- ]);;
|
|
|
9284be9 |
- esac])
|
|
|
9284be9 |
-
|
|
|
9284be9 |
-GST10_REQS=0.10.2
|
|
|
9284be9 |
-GST10_PKGS="gstreamer-0.10 >= $GST10_REQS gstreamer-plugins-base-0.10 >= $GST10_REQS"
|
|
|
9284be9 |
-GST8_REQS=0.8.0
|
|
|
9284be9 |
-GST8_PKGS="gstreamer-0.8 >= $GST8_REQS gstreamer-interfaces-0.8 >= $GST8_REQS"
|
|
|
9284be9 |
-
|
|
|
9284be9 |
-if test "x$GST_MAJORMINOR" = "xauto" -o "x$GST_MAJORMINOR=x0.10"; then
|
|
|
9284be9 |
- # try for GStreamer 0.10
|
|
|
9284be9 |
- MIXER_CFLAGS=
|
|
|
9284be9 |
- MIXER_LIBS=
|
|
|
9284be9 |
- PKG_CHECK_MODULES(MIXER, $GST10_PKGS, HAVE_GST_VER=0.10, HAVE_GST_VER=none)
|
|
|
9284be9 |
-fi
|
|
|
9284be9 |
-
|
|
|
9284be9 |
-if test "x$GST_MAJORMINOR x$HAVE_GST_VER" = "xauto xnone" -o "x$GST_MAJORMINOR" = "x0.8" ; then
|
|
|
9284be9 |
- # try for GStreamer 0.8
|
|
|
9284be9 |
- MIXER_CFLAGS=
|
|
|
9284be9 |
- MIXER_LIBS=
|
|
|
9284be9 |
- PKG_CHECK_MODULES(MIXER, $GST8_PKGS, HAVE_GST_VER=0.8, HAVE_GST_VER=none)
|
|
|
9284be9 |
-fi
|
|
|
9284be9 |
-
|
|
|
9284be9 |
-case $HAVE_GST_VER in
|
|
|
9284be9 |
- 0.8|0.10)
|
|
|
9284be9 |
- HAVE_GST="yes"
|
|
|
9284be9 |
- AC_MSG_RESULT([ using GStreamer $HAVE_GST_VER backend])
|
|
|
9284be9 |
- ;;
|
|
|
9284be9 |
- none)
|
|
|
9284be9 |
- HAVE_GST="no"
|
|
|
9284be9 |
- AC_MSG_RESULT([GStreamer not found])
|
|
|
9284be9 |
- AC_MSG_WARN([GStreamer unavailable, mixer applet will not be build])
|
|
|
9284be9 |
- ;;
|
|
|
9284be9 |
- *)
|
|
|
9284be9 |
- AC_MSG_ERROR([Something bad happened when determining GStreamer version, aborting!])
|
|
|
9284be9 |
- ;;
|
|
|
9284be9 |
-esac
|
|
|
9284be9 |
-
|
|
|
9284be9 |
-AM_CONDITIONAL(APPLET_MIXER, test "x$HAVE_GST" = "xyes")
|
|
|
9284be9 |
-AM_CONDITIONAL(HAVE_GST10, test "x$HAVE_GST_VER" = "x0.10")
|
|
|
9284be9 |
-if test "x$HAVE_GST_VER" = "x0.10" ; then
|
|
|
9284be9 |
- AC_DEFINE(HAVE_GST10, 1, [Using Gstreamer 0.10])
|
|
|
9284be9 |
- # these don't seem to come from any pkg-config file
|
|
|
9284be9 |
- MIXER_LIBS="$MIXER_LIBS -lgstinterfaces-0.10 -lgstaudio-0.10"
|
|
|
9284be9 |
-fi
|
|
|
9284be9 |
-
|
|
|
9284be9 |
-AC_SUBST(MIXER_CFLAGS)
|
|
|
9284be9 |
-AC_SUBST(MIXER_LIBS)
|
|
|
9284be9 |
-
|
|
|
9284be9 |
-dnl ***************************************************************************
|
|
|
9284be9 |
dnl *** keyboard accessibility status applet check ***
|
|
|
9284be9 |
dnl ***************************************************************************
|
|
|
9284be9 |
|
|
|
284843b |
@@ -770,8 +707,6 @@ accessx-status/pixmaps/Makefile
|
|
|
9284be9 |
mini-commander/Makefile
|
|
|
9284be9 |
mini-commander/src/Makefile
|
|
|
9284be9 |
mini-commander/help/Makefile
|
|
|
9284be9 |
-mixer/Makefile
|
|
|
9284be9 |
-mixer/docs/Makefile
|
|
|
9284be9 |
drivemount/Makefile
|
|
|
9284be9 |
drivemount/help/Makefile
|
|
|
9284be9 |
modemlights/Makefile
|
|
|
284843b |
@@ -845,7 +780,6 @@ gnome-applets-$VERSION configure summary
|
|
|
9284be9 |
- gweather $build_libgweather_applets
|
|
|
9284be9 |
- invest-applet $BUILD_INVEST_APPLET
|
|
|
9284be9 |
- mini-commander $enable_mini_commander
|
|
|
9284be9 |
- - mixer $HAVE_GST
|
|
|
9284be9 |
- modemlights $BUILD_MODEM_LIGHTS
|
|
|
9284be9 |
- multiload $build_gtop_applets
|
|
|
9284be9 |
- stickynotes $enable_stickynotes
|
|
|
284843b |
@@ -854,6 +788,5 @@ gnome-applets-$VERSION configure summary
|
|
|
9284be9 |
Using DBUS: $HAVE_DBUS
|
|
|
284843b |
Using NetworkManager: $HAVE_NETWORKMANAGER
|
|
|
9284be9 |
Using HAL: $HAVE_HAL
|
|
|
9284be9 |
- Using GStreamer version: $HAVE_GST_VER
|
|
|
9284be9 |
Enabling IPv6: $have_ipv6
|
|
|
9284be9 |
" >&2
|
|
|
284843b |
diff -up gnome-applets-2.25.2/Makefile.am.mixer-null gnome-applets-2.25.2/Makefile.am
|
|
|
284843b |
--- gnome-applets-2.25.2/Makefile.am.mixer-null 2008-12-20 00:35:19.000000000 -0500
|
|
|
284843b |
+++ gnome-applets-2.25.2/Makefile.am 2008-12-20 16:30:09.000000000 -0500
|
|
|
284843b |
@@ -11,12 +11,6 @@ if BUILD_LIBGWEATHER_APPLETS
|
|
|
284843b |
libgweather_SUBDIRS = $(libgweather_applets)
|
|
|
284843b |
endif
|
|
|
284843b |
|
|
|
284843b |
-mixer_applets = \
|
|
|
284843b |
- mixer
|
|
|
284843b |
-if APPLET_MIXER
|
|
|
284843b |
-mixer_SUBDIRS = $(mixer_applets)
|
|
|
284843b |
-endif
|
|
|
284843b |
-
|
|
|
284843b |
modemlights_applets = \
|
|
|
284843b |
modemlights
|
|
|
284843b |
if APPLET_MODEMLIGHTS
|
|
|
284843b |
@@ -56,7 +50,6 @@ always_built_SUBDIRS = \
|
|
|
284843b |
SUBDIRS = \
|
|
|
284843b |
po \
|
|
|
284843b |
$(always_built_SUBDIRS) \
|
|
|
284843b |
- $(mixer_SUBDIRS) \
|
|
|
284843b |
$(modemlights_SUBDIRS) \
|
|
|
284843b |
$(gtop_SUBDIRS) \
|
|
|
284843b |
$(libgweather_SUBDIRS) \
|
|
|
284843b |
@@ -69,7 +62,6 @@ SUBDIRS = \
|
|
|
284843b |
|
|
|
284843b |
DIST_SUBDIRS = \
|
|
|
284843b |
po \
|
|
|
284843b |
- mixer \
|
|
|
284843b |
modemlights \
|
|
|
284843b |
drivemount \
|
|
|
284843b |
charpick \
|
|
|
284843b |
diff -up gnome-applets-2.25.2/null_applet/GNOME_MixerApplet.server.in.mixer-null gnome-applets-2.25.2/null_applet/GNOME_MixerApplet.server.in
|
|
|
284843b |
--- gnome-applets-2.25.2/null_applet/GNOME_MixerApplet.server.in.mixer-null 2008-12-20 00:34:05.000000000 -0500
|
|
|
284843b |
+++ gnome-applets-2.25.2/null_applet/GNOME_MixerApplet.server.in 2008-12-20 16:30:09.000000000 -0500
|
|
|
284843b |
@@ -1,28 +1,15 @@
|
|
|
284843b |
<oaf_info>
|
|
|
284843b |
|
|
|
284843b |
-
|
|
|
284843b |
- type="exe"
|
|
|
284843b |
- location="@LIBEXECDIR@/mixer_applet2">
|
|
|
284843b |
-
|
|
|
284843b |
- <oaf_attribute name="repo_ids" type="stringv">
|
|
|
284843b |
- <item value="IDL:Bonobo/GenericFactory:1.0"/>
|
|
|
284843b |
- <item value="IDL:Bonobo/Unknown:1.0"/>
|
|
|
284843b |
- </oaf_attribute>
|
|
|
284843b |
- <oaf_attribute name="name" type="string" value="Volume Control Applet Factory"/>
|
|
|
284843b |
- <oaf_attribute name="description" type="string" value="Factory for volume control applet"/>
|
|
|
284843b |
-
|
|
|
284843b |
-</oaf_server>
|
|
|
284843b |
-
|
|
|
284843b |
|
|
|
284843b |
type="factory"
|
|
|
284843b |
- location="OAFIID:GNOME_MixerApplet_Factory">
|
|
|
284843b |
+ location="OAFIID:GNOME_NullApplet_Factory">
|
|
|
284843b |
|
|
|
284843b |
<oaf_attribute name="repo_ids" type="stringv">
|
|
|
284843b |
<item value="IDL:GNOME/Vertigo/PanelAppletShell:1.0"/>
|
|
|
284843b |
<item value="IDL:Bonobo/Control:1.0"/>
|
|
|
284843b |
<item value="IDL:Bonobo/Unknown:1.0"/>
|
|
|
284843b |
</oaf_attribute>
|
|
|
284843b |
- <oaf_attribute name="name" type="string" _value="Volume Control"/>
|
|
|
284843b |
+ <oaf_attribute name="name" type="string" _value="Volume Control (Deprecated)"/>
|
|
|
284843b |
<oaf_attribute name="description" type="string" _value="Adjust the sound volume"/>
|
|
|
284843b |
<oaf_attribute name="panel:icon" type="string" value="multimedia-volume-control"/>
|
|
|
284843b |
<oaf_attribute name="bugzilla:bugzilla" type="string" value="GNOME"/>
|
|
|
284843b |
diff -up gnome-applets-2.25.2/null_applet/Makefile.am.mixer-null gnome-applets-2.25.2/null_applet/Makefile.am
|
|
|
284843b |
--- gnome-applets-2.25.2/null_applet/Makefile.am.mixer-null 2008-12-20 16:30:09.000000000 -0500
|
|
|
284843b |
+++ gnome-applets-2.25.2/null_applet/Makefile.am 2008-12-20 16:30:09.000000000 -0500
|
|
|
9284be9 |
@@ -19,6 +19,7 @@ server_in_files = \
|
|
|
9284be9 |
GNOME_CDPlayerApplet.server.in \
|
|
|
9284be9 |
GNOME_MailcheckApplet_Factory.server.in \
|
|
|
9284be9 |
GNOME_Panel_WirelessApplet.server.in \
|
|
|
9284be9 |
+ GNOME_MixerApplet.server.in \
|
|
|
9284be9 |
$(battstat_applet)
|
|
|
9284be9 |
server_DATA = $(server_in_files:.server.in=.server)
|
|
|
9284be9 |
|
|
|
9284be9 |
@@ -34,4 +35,6 @@ EXTRA_DIST = \
|
|
|
9284be9 |
GNOME_CDPlayerApplet.server.in \
|
|
|
9284be9 |
GNOME_MailcheckApplet_Factory.server.in \
|
|
|
9284be9 |
GNOME_Panel_WirelessApplet.server.in \
|
|
|
9284be9 |
- GNOME_BattstatApplet.server.in
|
|
|
9284be9 |
+ GNOME_BattstatApplet.server.in \
|
|
|
9284be9 |
+ GNOME_MixerApplet.server.in
|
|
|
9284be9 |
+
|
|
|
284843b |
diff -up gnome-applets-2.25.2/null_applet/null_applet.c.mixer-null gnome-applets-2.25.2/null_applet/null_applet.c
|
|
|
284843b |
--- gnome-applets-2.25.2/null_applet/null_applet.c.mixer-null 2008-12-20 16:30:09.000000000 -0500
|
|
|
284843b |
+++ gnome-applets-2.25.2/null_applet/null_applet.c 2008-12-20 16:30:09.000000000 -0500
|
|
|
284843b |
@@ -42,6 +42,8 @@ insert_oafiids (GHashTable *hash_table)
|
|
|
284843b |
"OAFIID:GNOME_CDPlayerApplet", "CD Player");
|
|
|
284843b |
g_hash_table_insert (hash_table,
|
|
|
284843b |
"OAFIID:GNOME_BattstatApplet", "Battery Charge Monitor");
|
|
|
284843b |
+ g_hash_table_insert (hash_table,
|
|
|
284843b |
+ "OAFIID:GNOME_MixerApplet_Factory", "Volume Control");
|
|
|
284843b |
}
|
|
|
284843b |
|
|
|
284843b |
static gboolean already_running;
|
|
|
284843b |
diff -up gnome-applets-2.25.2/po/POTFILES.in.mixer-null gnome-applets-2.25.2/po/POTFILES.in
|
|
|
284843b |
--- gnome-applets-2.25.2/po/POTFILES.in.mixer-null 2008-12-20 03:22:15.000000000 -0500
|
|
|
284843b |
+++ gnome-applets-2.25.2/po/POTFILES.in 2008-12-20 16:30:09.000000000 -0500
|
|
|
284843b |
@@ -80,13 +80,6 @@ mini-commander/src/mini-commander-global
|
|
|
f34c5ce |
mini-commander/src/mini-commander.schemas.in
|
|
|
f34c5ce |
mini-commander/src/mini-commander_applet.c
|
|
|
f34c5ce |
mini-commander/src/preferences.c
|
|
|
f34c5ce |
-mixer/GNOME_MixerApplet.server.in.in
|
|
|
f34c5ce |
-mixer/GNOME_MixerApplet.xml
|
|
|
f34c5ce |
-mixer/applet.c
|
|
|
f34c5ce |
-mixer/dock.c
|
|
|
f34c5ce |
-mixer/load.c
|
|
|
f34c5ce |
-mixer/mixer.schemas.in
|
|
|
f34c5ce |
-mixer/preferences.c
|
|
|
f34c5ce |
modemlights/GNOME_ModemLights.server.in.in
|
|
|
f34c5ce |
modemlights/GNOME_ModemLights.xml
|
|
|
f34c5ce |
modemlights/modem-applet.c
|
|
|
284843b |
diff -up gnome-applets-2.25.2/po/POTFILES.skip.mixer-null gnome-applets-2.25.2/po/POTFILES.skip
|
|
|
284843b |
--- gnome-applets-2.25.2/po/POTFILES.skip.mixer-null 2008-12-20 00:33:44.000000000 -0500
|
|
|
284843b |
+++ gnome-applets-2.25.2/po/POTFILES.skip 2008-12-20 16:30:09.000000000 -0500
|
|
|
284843b |
@@ -23,7 +23,6 @@ invest-applet/data/Invest_Applet.server.
|
|
|
f34c5ce |
invest-applet/data/financialchart.glade
|
|
|
f34c5ce |
invest-applet/data/prefs-dialog.glade
|
|
|
f34c5ce |
mini-commander/src/mini-commander.glade
|
|
|
f34c5ce |
-mixer/GNOME_MixerApplet.server.in
|
|
|
f34c5ce |
modemlights/GNOME_ModemLights.server.in
|
|
|
f34c5ce |
modemlights/modemlights.glade
|
|
|
f34c5ce |
multiload/GNOME_MultiLoadApplet_Factory.server.in
|