debian/0000755000000000000000000000000012170317363007171 5ustar debian/watch0000644000000000000000000000004512167247442010227 0ustar version=3 #Upstream website is gone. debian/gnome-alsamixer.desktop0000644000000000000000000000061412167275112013656 0ustar [Desktop Entry] Name=GNOME ALSA Mixer Comment=ALSA sound mixer for GNOME Comment[es]=Mezclador de sonido ALSA para GNOME Comment[fr]=Mélangeur de son ALSA pour GNOME Keywords=audio;sound;mixer;music; Exec=gnome-alsamixer Icon=/usr/share/pixmaps/gnome-alsamixer/gnome-alsamixer-icon.png Terminal=false Type=Application Categories=AudioVideo; X-Desktop-File-Install-Version=0.3 StartupNotify=true debian/control0000644000000000000000000000215512167247442010605 0ustar Source: gnome-alsamixer Section: sound Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 9), dh-autoreconf, gnome-pkg-tools, intltool, patchutils (>= 0.2.25), autotools-dev, libasound2-dev, libgnomeui-dev Standards-Version: 3.9.4 Package: gnome-alsamixer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: ALSA sound mixer for GNOME A "volume control" application. You can use it to adjust the volume of different sound sources of your sound card. . It has a nice graphical user interface and a lot of features: . - access to all of your computers sound cards and audio sources - possibility to give them custom names - only display the mixer controls you need - access to all the extra features some sound cards offer, like 3d enhancement, microphone gain boost... - and more . This application uses the ALSA sound API, you cannot use it if you use the (older) OSS drivers for your sound card(s). In return, it gives you access to all the functionality ALSA provides with the "alsamixer" program, found in the "alsa-utils" package. debian/source/0000755000000000000000000000000012167247442010477 5ustar debian/source/format0000644000000000000000000000001412167247442011705 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012170316601010612 5ustar debian/patches/06-use-libgnome-headers.patch0000644000000000000000000000220412167247442016067 0ustar Description: Replace gnome.h include with libgnomeui/gnome-ui-init.h. Author: Unknown. Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-main.c =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-main.c 2005-07-06 17:14:57.000000000 +0200 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-main.c 2011-10-26 02:47:47.000000000 +0200 @@ -22,7 +22,7 @@ #include #endif -#include +#include #include #include "gam-app.h" Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-app.c =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-app.c 2011-10-26 02:47:21.000000000 +0200 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-app.c 2011-10-26 02:47:21.000000000 +0200 @@ -27,7 +27,7 @@ #include #include #include -#include +/*#include */ #include #include "gam-app.h" debian/patches/09-build-system.patch0000644000000000000000000000231012167276061014511 0ustar Description: Fix some antiquated autoconf files. Author: Barry deFreese Index: gnome-alsamixer-0.9.7~cvs.20060916/configure.ac =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.orig/configure.ac 2013-07-10 11:19:53.000000000 -0400 +++ gnome-alsamixer-0.9.7~cvs.20060916/configure.ac 2013-07-10 11:20:23.000000000 -0400 @@ -12,7 +12,7 @@ AC_PROG_INSTALL AC_HEADER_STDC AC_C_CONST -AC_CHECK_FUNCS([rint]) +AC_SEARCH_LIBS(rint, m) AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging [default=no]],,enable_debug=no) Index: gnome-alsamixer-0.9.7~cvs.20060916/src/Makefile.am =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.orig/src/Makefile.am 2013-07-10 11:20:23.000000000 -0400 +++ gnome-alsamixer-0.9.7~cvs.20060916/src/Makefile.am 2013-07-10 11:21:16.000000000 -0400 @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -INCLUDES = \ +AM_CPPFLAGS = \ -DPACKAGE_DATA_DIR=\""$(datadir)/gnome-alsamixer"\" \ -DPIXMAP_ICONDIR=\""$(datadir)/pixmaps/gnome-alsamixer"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ debian/patches/series0000644000000000000000000000035012167272142012034 0ustar 01_icon.diff 02_change_gconf-keys_path.diff 03_gnome-alsamixer.schemas.diff 04_ignore-delimiters.diff 05-remove-G_CONST_RETURN.patch 06-use-libgnome-headers.patch 07-link-libm.patch 08-implicit-func-decl.patch 09-build-system.patch debian/patches/04_ignore-delimiters.diff0000644000000000000000000000114312167247442015404 0ustar # Fixes: #400667 Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-app.h =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-app.h 2008-01-04 00:43:39.000000000 +0100 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-app.h 2008-01-04 00:44:18.000000000 +0100 @@ -26,7 +26,7 @@ G_BEGIN_DECLS -#define GAM_CONFIG_DELIMITERS " &()+/" +#define GAM_CONFIG_DELIMITERS " &()+/," #define GAM_TYPE_APP (gam_app_get_type ()) #define GAM_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAM_TYPE_APP, GamApp)) debian/patches/03_gnome-alsamixer.schemas.diff0000644000000000000000000001135412167247442016500 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 03_gnome-alsamixer.schemas.dpatch.dpatch by Mohammed Adnène Trojette ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Intent to guess gnome-alsamixer.schemas @DPATCH@ --- gnome-alsamixer-0.9.7.cvs20050822.orig/gnome-alsamixer.schemas +++ gnome-alsamixer-0.9.7.cvs20050822/gnome-alsamixer.schemas @@ -0,0 +1,163 @@ + + + + + + + + + + /schemas/apps/gnome-alsamixer/geometry/main_window_width + /apps/gnome-alsamixer/geometry/main_window_width + gnome-alsamixer + int + 600 + + + + + + + + /schemas/apps/gnome-alsamixer/geometry/main_window_height + /apps/gnome-alsamixer/geometry/main_window_height + gnome-alsamixer + int + 380 + + + + + + + + /schemas/apps/gnome-alsamixer/geometry/mixer_slider_style + /apps/gnome-alsamixer/geometry/mixer_slider_style + gnome-alsamixer + bool + false + + + + + + + + /schemas/apps/gnome-alsamixer/geometry/mixer_slider_toggle_style + /apps/gnome-alsamixer/geometry/mixer_slider_toggle_style + gnome-alsamixer + bool + true + + + + + + + + + + + debian/patches/02_change_gconf-keys_path.diff0000644000000000000000000002125512167247442016354 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 02_change_gconf-keys_path.dpatch.dpatch by Mohammed Adnène Trojette ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Replace path to gnome-alsamixer's gconf keys @DPATCH@ --- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-slider.c +++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-slider.c @@ -481,7 +481,7 @@ disp_name = g_strndup (gam_slider_get_name (gam_slider), 8); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/slider_display_names/%s-%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/slider_display_names/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_slider_get_config_name (gam_slider)); @@ -508,7 +508,7 @@ priv = GAM_SLIDER_GET_PRIVATE (gam_slider); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/slider_display_names/%s-%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/slider_display_names/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_slider_get_config_name (gam_slider)); @@ -533,7 +533,7 @@ priv = GAM_SLIDER_GET_PRIVATE (gam_slider); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_sliders/%s-%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/display_sliders/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_slider_get_config_name (gam_slider)); @@ -557,7 +557,7 @@ priv = GAM_SLIDER_GET_PRIVATE (gam_slider); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_sliders/%s-%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/display_sliders/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_slider_get_config_name (gam_slider)); --- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-toggle.c +++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-toggle.c @@ -410,7 +410,7 @@ priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/toggle_display_names/%s-%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/toggle_display_names/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_toggle_get_config_name (gam_toggle)); @@ -433,7 +433,7 @@ priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/toggle_display_names/%s-%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/toggle_display_names/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_toggle_get_config_name (gam_toggle)); @@ -458,7 +458,7 @@ priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_toggles/%s-%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/display_toggles/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_toggle_get_config_name (gam_toggle)); @@ -482,7 +482,7 @@ priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_toggles/%s-%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/display_toggles/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_toggle_get_config_name (gam_toggle)); --- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-app.c +++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-app.c @@ -331,7 +331,7 @@ gam_app_load_prefs (gam_app); /*gconf_client_notify_add (priv->gconf_client, - "/apps/PAW/gnomealsamixer/preferences/tab_position", + "/apps/gnomealsamixer/preferences/tab_position", (GConfClientNotifyFunc) pawed_app_gconf_notify_func, pawed_app, NULL, @@ -351,10 +351,10 @@ priv = GAM_APP_GET_PRIVATE (gam_app); width = gconf_client_get_int (priv->gconf_client, - "/apps/PAW/gnome-alsamixer/geometry/main_window_width", + "/apps/gnome-alsamixer/geometry/main_window_width", NULL); height = gconf_client_get_int (priv->gconf_client, - "/apps/PAW/gnome-alsamixer/geometry/main_window_height", + "/apps/gnome-alsamixer/geometry/main_window_height", NULL); if ((height != 0) && (width != 0)) @@ -376,11 +376,11 @@ gdk_window_get_geometry (GDK_WINDOW (GTK_WIDGET (gam_app)->window), NULL, NULL, &width, &height, NULL); gconf_client_set_int (priv->gconf_client, - "/apps/PAW/gnome-alsamixer/geometry/main_window_height", + "/apps/gnome-alsamixer/geometry/main_window_height", height, NULL); gconf_client_set_int (priv->gconf_client, - "/apps/PAW/gnome-alsamixer/geometry/main_window_width", + "/apps/gnome-alsamixer/geometry/main_window_width", width, NULL); @@ -630,7 +630,7 @@ gint gam_app_get_mixer_slider_style (GamApp *gam_app) { - const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_style"; + const gchar *key = "/apps/gnome-alsamixer/geometry/mixer_slider_style"; gint style = 0; g_return_if_fail (GAM_IS_APP (gam_app)); @@ -646,7 +646,7 @@ void gam_app_set_mixer_slider_style (GamApp *gam_app, gint style) { - const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_style"; + const gchar *key = "/apps/gnome-alsamixer/geometry/mixer_slider_style"; g_return_if_fail (GAM_IS_APP (gam_app)); @@ -661,7 +661,7 @@ gint gam_app_get_slider_toggle_style (GamApp *gam_app) { - const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_toggle_style"; + const gchar *key = "/apps/gnome-alsamixer/geometry/mixer_slider_toggle_style"; gint style = 1; g_return_if_fail (GAM_IS_APP (gam_app)); @@ -677,7 +677,7 @@ void gam_app_set_slider_toggle_style (GamApp *gam_app, gint style) { - const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_toggle_style"; + const gchar *key = "/apps/gnome-alsamixer/geometry/mixer_slider_toggle_style"; g_return_if_fail (GAM_IS_APP (gam_app)); --- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-slider-dual.c +++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-slider-dual.c @@ -446,7 +446,7 @@ priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/slider_locked/%s-%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/slider_locked/%s-%s", gam_mixer_get_config_name (gam_slider_get_mixer (GAM_SLIDER (gam_slider_dual))), gam_slider_get_config_name (GAM_SLIDER (gam_slider_dual))); --- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-mixer.c +++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-mixer.c @@ -478,7 +478,7 @@ priv = GAM_MIXER_GET_PRIVATE (gam_mixer); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_names/%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/display_names/%s", gam_mixer_get_config_name (gam_mixer)); name = gconf_client_get_string (gam_app_get_gconf_client (GAM_APP (priv->app)), @@ -500,7 +500,7 @@ priv = GAM_MIXER_GET_PRIVATE (gam_mixer); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_names/%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/display_names/%s", gam_mixer_get_config_name (gam_mixer)); gconf_client_set_string (gam_app_get_gconf_client (GAM_APP (priv->app)), @@ -526,7 +526,7 @@ priv = GAM_MIXER_GET_PRIVATE (gam_mixer); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_mixers/%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/display_mixers/%s", gam_mixer_get_config_name (gam_mixer)); if (gconf_client_dir_exists (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL)) @@ -549,7 +549,7 @@ priv = GAM_MIXER_GET_PRIVATE (gam_mixer); - key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_mixers/%s", + key = g_strdup_printf ("/apps/gnome-alsamixer/display_mixers/%s", gam_mixer_get_config_name (gam_mixer)); gconf_client_set_bool (gam_app_get_gconf_client (GAM_APP (priv->app)), debian/patches/08-implicit-func-decl.patch0000644000000000000000000001103112170316601015524 0ustar Description: Fix implicit function declarations. Author: Daniel T Chen Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-app.c =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-app.c 2013-07-13 14:32:45.788485257 -0400 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-app.c 2013-07-13 14:32:45.780485217 -0400 @@ -261,7 +261,7 @@ g_signal_connect (G_OBJECT (gam_app), "delete_event", G_CALLBACK (gam_app_delete), NULL); - gnome_window_icon_set_default_from_file (PIXMAP_ICONDIR"/gnome-alsamixer-icon.png"); + gtk_window_set_default_icon_from_file (PIXMAP_ICONDIR"/gnome-alsamixer-icon.png", NULL); // Build the main menu and toolbar gtk_action_group_add_actions (priv->main_action_group, action_entries, Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-mixer.c =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-mixer.c 2013-07-13 14:32:45.788485257 -0400 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-mixer.c 2013-07-13 14:33:34.276725697 -0400 @@ -89,9 +89,9 @@ GValue *value, GParamSpec *pspec); static void gam_mixer_construct_elements (GamMixer *gam_mixer); -static void gam_mixer_refresh (gpointer data, - gint source, - GdkInputCondition condition); +GIOFunc gam_mixer_refresh (GIOChannel *source, + GIOCondition condition, + gpointer data); static gpointer parent_class; static guint signals[LAST_SIGNAL] = { 0 }; @@ -234,7 +234,7 @@ guint input_id; for (input_id = 0; input_id < priv->input_id_count; ++input_id) - gtk_input_remove (priv->input_ids[input_id]); + g_source_remove (priv->input_ids[input_id]); g_free (priv->card_id); g_free (priv->card_name); @@ -327,11 +327,14 @@ const gint source = pollfd->fd; const short events = pollfd->events; - if (events & POLLIN) condition |= GDK_INPUT_READ; - if (events & POLLOUT) condition |= GDK_INPUT_WRITE; - if (events & POLLPRI) condition |= GDK_INPUT_EXCEPTION; + GIOChannel *srcchan; + srcchan = g_io_channel_unix_new (source); - input_ids[input_id] = gtk_input_add_full (source, condition, gam_mixer_refresh, 0, gam_mixer, 0); + if (events & POLLIN) condition |= G_IO_IN; + if (events & POLLOUT) condition |= G_IO_OUT; + if (events & POLLPRI) condition |= G_IO_PRI; + + input_ids[input_id] = g_io_add_watch (srcchan, condition, gam_mixer_refresh, gam_mixer); } priv->input_ids = input_ids; @@ -564,8 +567,8 @@ g_signal_emit (G_OBJECT (gam_mixer), signals[VISIBILITY_CHANGED], 0); } -static void -gam_mixer_refresh (gpointer data, gint source, GdkInputCondition condition) +GIOFunc +gam_mixer_refresh (GIOChannel *source, GIOCondition condition, gpointer data) { GamMixerPrivate *priv; const GamMixer * const gam_mixer = GAM_MIXER (data); Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-props-dlg.c =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-props-dlg.c 2013-07-13 14:32:45.788485257 -0400 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-props-dlg.c 2013-07-13 14:32:45.784485237 -0400 @@ -184,7 +184,9 @@ priv = GAM_PROPS_DLG_GET_PRIVATE (gam_props_dlg); +#if !GTK_CHECK_VERSION(2,21,8) gtk_dialog_set_has_separator (GTK_DIALOG (gam_props_dlg), FALSE); +#endif gtk_dialog_add_button (GTK_DIALOG (gam_props_dlg), GTK_STOCK_CLOSE, @@ -202,7 +204,7 @@ vadjustment = gtk_adjustment_new (0, 0, 101, 5, 5, 5); scrolled_window = gtk_scrolled_window_new (GTK_ADJUSTMENT (hadjustment), GTK_ADJUSTMENT (vadjustment)); - gtk_widget_set_usize (scrolled_window, -1, 350); + gtk_widget_set_size_request (scrolled_window, -1, 350); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (gam_props_dlg)->vbox), debian/patches/05-remove-G_CONST_RETURN.patch0000644000000000000000000001245312167247442015624 0ustar Description: Replace G_CONST_RETURN with const gchar. Author: Unknown. Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-mixer.c =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-mixer.c 2011-09-12 21:01:20.000000000 +0200 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-mixer.c 2011-09-12 21:02:41.000000000 +0200 @@ -439,7 +439,7 @@ NULL); } -G_CONST_RETURN gchar * +const gchar * gam_mixer_get_mixer_name (GamMixer *gam_mixer) { GamMixerPrivate *priv; @@ -451,7 +451,7 @@ return priv->mixer_name; } -G_CONST_RETURN gchar * +const gchar * gam_mixer_get_config_name (GamMixer *gam_mixer) { GamMixerPrivate *priv; Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-mixer.h =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-mixer.h 2011-09-12 21:01:43.000000000 +0200 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-mixer.h 2011-09-12 21:03:36.000000000 +0200 @@ -57,8 +57,8 @@ GType gam_mixer_get_type (void) G_GNUC_CONST; GtkWidget *gam_mixer_new (GamApp *gam_app, const gchar *card_id); -G_CONST_RETURN gchar *gam_mixer_get_mixer_name (GamMixer *gam_mixer); -G_CONST_RETURN gchar *gam_mixer_get_config_name (GamMixer *gam_mixer); +const gchar *gam_mixer_get_mixer_name (GamMixer *gam_mixer); +const gchar *gam_mixer_get_config_name (GamMixer *gam_mixer); gchar *gam_mixer_get_display_name (GamMixer *gam_mixer); void gam_mixer_set_display_name (GamMixer *gam_mixer, const gchar *name); Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-slider.c =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-slider.c 2011-09-12 21:01:49.000000000 +0200 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-slider.c 2011-09-12 21:03:47.000000000 +0200 @@ -440,7 +440,7 @@ g_signal_emit (gam_slider, signals[REFRESH], 0); } -G_CONST_RETURN gchar * +const gchar * gam_slider_get_name (GamSlider *gam_slider) { GamSliderPrivate *priv; @@ -452,7 +452,7 @@ return snd_mixer_selem_get_name (priv->elem); } -G_CONST_RETURN gchar * +const gchar * gam_slider_get_config_name (GamSlider *gam_slider) { GamSliderPrivate *priv; Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-slider.h =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-slider.h 2011-09-12 21:01:28.000000000 +0200 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-slider.h 2011-09-12 21:03:13.000000000 +0200 @@ -58,8 +58,8 @@ #include "gam-mixer.h" GType gam_slider_get_type (void) G_GNUC_CONST; -G_CONST_RETURN gchar *gam_slider_get_name (GamSlider *gam_slider); -G_CONST_RETURN gchar *gam_slider_get_config_name (GamSlider *gam_slider); +const gchar *gam_slider_get_name (GamSlider *gam_slider); +const gchar *gam_slider_get_config_name (GamSlider *gam_slider); gchar *gam_slider_get_display_name (GamSlider *gam_slider); void gam_slider_set_display_name (GamSlider *gam_slider, const gchar *name); Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-toggle.c =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-toggle.c 2011-09-12 21:01:36.000000000 +0200 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-toggle.c 2011-09-12 21:03:26.000000000 +0200 @@ -371,7 +371,7 @@ internal_state); } -G_CONST_RETURN gchar * +const gchar * gam_toggle_get_name (GamToggle *gam_toggle) { GamTogglePrivate *priv; @@ -383,7 +383,7 @@ return snd_mixer_selem_get_name (priv->elem); } -G_CONST_RETURN gchar * +const gchar * gam_toggle_get_config_name (GamToggle *gam_toggle) { GamTogglePrivate *priv; Index: gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-toggle.h =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.ds.1.orig/src/gam-toggle.h 2011-09-12 21:01:55.000000000 +0200 +++ gnome-alsamixer-0.9.7~cvs.20060916.ds.1/src/gam-toggle.h 2011-09-12 21:04:00.000000000 +0200 @@ -55,8 +55,8 @@ gboolean gam_toggle_get_state (GamToggle *gam_toggle); void gam_toggle_set_state (GamToggle *gam_toggle, gboolean state); -G_CONST_RETURN gchar *gam_toggle_get_name (GamToggle *gam_toggle); -G_CONST_RETURN gchar *gam_toggle_get_config_name (GamToggle *gam_toggle); +const gchar *gam_toggle_get_name (GamToggle *gam_toggle); +const gchar *gam_toggle_get_config_name (GamToggle *gam_toggle); gchar *gam_toggle_get_display_name (GamToggle *gam_toggle); void gam_toggle_set_display_name (GamToggle *gam_toggle, const gchar *name); debian/patches/01_icon.diff0000644000000000000000000001175212167247442012716 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 01_icon.dpatch.dpatch by Mohammed Adnène Trojette ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Add a xpm icon to gnome-alsamixer @DPATCH@ --- gnome-alsamixer-0.9.7.cvs20050822.orig/pixmaps/gnome-alsamixer-icon.xpm +++ gnome-alsamixer-0.9.7.cvs20050822/pixmaps/gnome-alsamixer-icon.xpm @@ -0,0 +1,177 @@ +/* XPM */ +static char *gnome-alsamixer-icon[] = { +/* columns rows colors chars-per-pixel */ +"32 32 139 2", +" c #000000", +". c #010101", +"X c #020202", +"o c #030303", +"O c #040404", +"+ c #060606", +"@ c #070707", +"# c #080808", +"$ c #090909", +"% c #0A0A0A", +"& c #0B0B0B", +"* c #0C0C0C", +"= c #0D0D0D", +"- c #0E0E0E", +"; c #121212", +": c #141414", +"> c #151515", +", c #161616", +"< c #181818", +"1 c #1B1B1B", +"2 c #1C1C1C", +"3 c #1F1F1F", +"4 c #202020", +"5 c #212121", +"6 c #252525", +"7 c #282828", +"8 c #292929", +"9 c #2C2C2C", +"0 c #2D2D2D", +"q c #2E2E2E", +"w c #2F2F2F", +"e c #323232", +"r c #333333", +"t c #353535", +"y c #363636", +"u c #383838", +"i c #393939", +"p c #3A3A3A", +"a c #3B3B3B", +"s c #3C3C3C", +"d c #3D3D3D", +"f c #3E3E3E", +"g c #3F3F3F", +"h c #414141", +"j c #424242", +"k c #434343", +"l c #444444", +"z c #454545", +"x c #464646", +"c c #474747", +"v c #484848", +"b c #494949", +"n c #4A4A4A", +"m c #4B4B4B", +"M c #4C4C4C", +"N c #4D4D4D", +"B c #4E4E4E", +"V c #4F4F4F", +"C c #505050", +"Z c #515151", +"A c #525252", +"S c #535353", +"D c #545454", +"F c #555555", +"G c #565656", +"H c #575757", +"J c #585858", +"K c #595959", +"L c #5A5A5A", +"P c #5B5B5B", +"I c #5C5C5C", +"U c #5D5D5D", +"Y c #5E5E5E", +"T c #5F5F5F", +"R c #606060", +"E c #616161", +"W c #626262", +"Q c #636363", +"! c #646464", +"~ c #656565", +"^ c #666666", +"/ c #676767", +"( c #686868", +") c #696969", +"_ c #6A6A6A", +"` c #6B6B6B", +"' c #6C6C6C", +"] c #6D6D6D", +"[ c #6E6E6E", +"{ c #6F6F6F", +"} c #707070", +"| c #717171", +" . c #727272", +".. c #737373", +"X. c #747474", +"o. c #757575", +"O. c #767676", +"+. c #777777", +"@. c #787878", +"#. c #797979", +"$. c #7A7A7A", +"%. c #7B7B7B", +"&. c #7C7C7C", +"*. c #7D7D7D", +"=. c #7E7E7E", +"-. c #7F7F7F", +";. c #808080", +":. c #818181", +">. c #828282", +",. c #838383", +"<. c #848484", +"1. c #858585", +"2. c #868686", +"3. c #878787", +"4. c #888888", +"5. c #898989", +"6. c #8A8A8A", +"7. c #8B8B8B", +"8. c #8C8C8C", +"9. c #8D8D8D", +"0. c #8E8E8E", +"q. c #8F8F8F", +"w. c #909090", +"e. c #919191", +"r. c #929292", +"t. c #939393", +"y. c #949494", +"u. c #969696", +"i. c #979797", +"p. c #989898", +"a. c #999999", +"s. c #9A9A9A", +"d. c #9B9B9B", +"f. c #9C9C9C", +"g. c #9E9E9E", +"h. c #9F9F9F", +"j. c #A0A0A0", +"k. c #A1A1A1", +"l. c None", +/* pixels */ +"l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.", +"l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.", +"l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l. l.l.l.l.l.l.", +"l.l.l.l.l.l.& = = = = ; = = = = = h Q Q P P P 4 l.l.l.l.l.", +", u t t t g %.4.4.4.4.4.4.<.<.<.<.9.u.q.q.9.q.l l.l.l.l.", +"g h.h.f.f.f.f.s.u.s.s.q.<.u.u.:.%.q.9./ <.4.4...= l.l.l.l.", +"g f.h.%.<.s.s.9.! q.u.4.L 4.u.:.Q 4.9.L | 4.<.%.2 l.l.l.l.", +", $.f.[ [ u.s.9.S 4.u.9.L :.q.<.S :.9.$.! <.<.<.M l.l.l.", +" ! f.%.Q q.u.9.Q <.u.q./ | 9.4.! ..4.%.S %.:.<.P & l.l.l.", +" Q f.4.H 9.u.f.q.f.u.q.[ P 9.q.f.s.q.:.P | :.:.$.6 l.l.l.", +" Q s.4.M 4.q.s.$...:.9.| L <.9.9.$.%.<.! P %.%.$.u l.l.", +" Q s.9.S :.u.q.%.| $.4.:.L %.4.4.| ..:.[ L $.$.$.! & l.l.", +" Q s.9.L ..9.9...L ..4.q.%.4.4.%.S / :.%.S | $.$.| < l.l.", +" 7 4.q.Q ! 9.9.:.H $.4.u.s.4.%.<.Q Q %.%.H Q $.....h l.", +" = :.q./ P 4.9.4.S / 4.4.:.$.%.:...M ..%./ H ....$.S + l.", +"l.= :.q./ H 4.4.4.L ! <.<...P | %...n | %...P <...| [ 4 l.", +"l.= :.9.| S :.4.4.! L :.<...M [ %.%.L Q $.q.u.4.| | | e ", +"l.= %.9.$.M $.<.<.| n %.:.%.H Q %.%.L S ..:.$...| [ [ L + ", +"l.= %.4.%.M ..9.<.$.l ..%.:.P S $.$.! M | ..%.! / [ [ ! , ", +"l. n 9.h.q.q.9.:.$.M [ %.%.! M ....| n ! | [ l P [ / / u ", +"l.l.0 9.s.:.....%.%.H P $.$.[ M [ ....l L | [ S P [ [ ! u ", +"l.l.0 <.9.%.$.$.%.:.L S $.$...l Q ..| Q Q | | ! Q M e 2 = ", +"l.l.0 <.4.| Q [ $.%.P n ..$.$.P ! | | | ! S h 6 = + ", +"l.l.0 <.%.! h ..%.$.[ Q | $...| [ ! n 0 2 & ", +"l.l.7 %.:...H ..%.$.$.$...! S h 2 & + ", +"l.l.= P %.%.$.%...[ P g 7 , l.l.l.", +"l. S :...P M e ; & l.l.l.l.l.l.l.", +"l.l. g u 4 & l.l.l.l.l.l.l.l.l.l.", +"l.l. + l.l.l.l.l.l.l.l.l.l.l.l.l.", +"l.l. l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.", +"l.l.l. l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.", +"l.l.l.l. l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l." +}; debian/patches/07-link-libm.patch0000644000000000000000000000113212170310745013735 0ustar Description: Link in libm. Bug-Debian: http://bugs.debian.org/713615 Author: Barry deFreese Index: gnome-alsamixer-0.9.7~cvs.20060916/src/Makefile.am =================================================================== --- gnome-alsamixer-0.9.7~cvs.20060916.orig/src/Makefile.am 2013-07-10 11:19:53.000000000 -0400 +++ gnome-alsamixer-0.9.7~cvs.20060916/src/Makefile.am 2013-07-10 11:20:11.000000000 -0400 @@ -23,4 +23,4 @@ gam-prefs-dlg.c gam-prefs-dlg.h \ gam-props-dlg.c gam-props-dlg.h -gnome_alsamixer_LDADD = @PACKAGE_LIBS@ +gnome_alsamixer_LDADD = @PACKAGE_LIBS@ -lm debian/gnome-alsamixer.menu0000644000000000000000000000053612167247442013161 0ustar ?package(gnome-alsamixer): needs="x11" section="Applications/Sound" \ title="GNOME ALSA Mixer" \ longtitle="ALSA sound mixer for GNOME" \ command="/usr/bin/gnome-alsamixer" \ icon="/usr/share/pixmaps/gnome-alsamixer/gnome-alsamixer-icon.xpm" debian/rules0000755000000000000000000000042412170301007010235 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf override_dh_autoreconf: #Hideous hack for now. cp -f /usr/share/glib-2.0/gettext/po/Makefile.in.in po/ dh_autoreconf override_dh_clean: rm -f INSTALL rm -f mkinstalldirs rm -f po/Makefile.in.in rm -f po/*.gmo dh_clean debian/changelog0000644000000000000000000001074612170306315011046 0ustar gnome-alsamixer (0.9.7~cvs.20060916.ds.1-5) unstable; urgency=low * QA upload. * Update 08-implicit-func-decl.patch to pass correct parameters to g_io_add_watch. (Closes: #716785). -- Barry deFreese Sat, 13 Jul 2013 13:20:55 -0400 gnome-alsamixer (0.9.7~cvs.20060916.ds.1-4) unstable; urgency=low * QA upload. * Set maintainer to Debian QA Group. * Patch to link libm. (Closes: #713615). * Add patch to fix gnome/gtk implicit declaration warnings. + Thanks to Daniel T Chen for the patch. * Update to source format 3.0 (quilt). + Drop build-dep on quilt. * Change build system from CDBS to dh and update rules. * Fix up desktop file. (Closes: #693854). + Remove Application from categories. + Convert file to UTF-8. * Add empty watch file. * Bump debhelper build-dep and compat to 9. -- Barry deFreese Tue, 09 Jul 2013 12:13:24 -0400 gnome-alsamixer (0.9.7~cvs.20060916.ds.1-3) unstable; urgency=low * New 06-use-libgnome-headers.patch. Closes: #646559 -- Mohammed Adnène Trojette Sat, 29 Oct 2011 19:55:10 +0200 gnome-alsamixer (0.9.7~cvs.20060916.ds.1-2.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: gnome-app-helper.h:620:2: error: expected specifier- qualifier-list before 'GtkCallbackMarshal'": add patches from Ubuntu / Julien Lavergne: + debian/patches: - 05-remove-G_CONST_RETURN.patch: Remove usage of G_CONST_RETURN. - 06-use-libgnome-headers.patch: Use correct headers. + debian/rules: - Remove deprecated flags. Closes: #622067, LP: #749291 -- gregor herrmann Fri, 21 Oct 2011 15:42:12 +0200 gnome-alsamixer (0.9.7~cvs.20060916.ds.1-2) unstable; urgency=low * Bump Standards-Version to 3.8.0 and debhelper compat to 7. * Regenerate control from control.in and adjust. * Fix lintian warnings (about the .desktop and .menu files). * Add ',' to accepted delimiters. Thanks Alexis for the patch. (Closes: #400667) -- Mohammed Adnène Trojette Fri, 04 Jan 2008 00:45:57 +0100 gnome-alsamixer (0.9.7~cvs.20060916.ds.1-1) unstable; urgency=low * Redo orig tarball not to include autom4te.cache and remove .gmo files in clean target. (Closes: #424336) -- Mohammed Adnène Trojette Wed, 16 May 2007 01:25:38 +0200 gnome-alsamixer (0.9.7~cvs.20060916-2) unstable; urgency=medium * Rebootstraping to fix FTBFS. -- Mohammed Adnène Trojette Tue, 17 Apr 2007 14:44:17 +0200 gnome-alsamixer (0.9.7~cvs.20060916-1) unstable; urgency=low * New upstream CVS snapshot: + help has been removed. (Closes: #247832) * Switch to cdbs and quilt. * debian/patches: + 01_icon.diff: - gnome-alsamixer-icon.xpm icon. + 02_change_gconf-keys_path.diff: - replace /apps/PAW/gnome-alsamixer with /apps/gnome-alsamixer. + 03_gnome-alsamixer.schemas.diff: - intent to guess gnome-alsamixer's gconf schemas. * Bump Standards-Version to 3.7.2. * Update debian/copyright: + update FSF address. -- Mohammed Adnène Trojette Sat, 16 Sep 2006 02:13:02 +0200 gnome-alsamixer (0.9.6-3) unstable; urgency=low * Really add desktop file thanks to Kevin Locke. -- Mohammed Adnène Trojette Wed, 23 Nov 2005 23:02:54 +0100 gnome-alsamixer (0.9.6-2) unstable; urgency=low * New maintainer. Closes: #322093. * Fix FTBFS. Closes: #323517 (patch courtesy from Roland Stigge ) * Correct Debian menu (Closes: #229803) * Re-added desktop file (Closes: #229798, #294069) * Added a pixmaps/gnome-alsamixer-icon.xpm picture * Switch to new Standards-Version. -- Mohammed Adnène Trojette Mon, 22 Aug 2005 22:28:58 +0200 gnome-alsamixer (0.9.6-1) unstable; urgency=low * New upstream version. * Preferences are now saved correctly; closes: #181179. * Removed warnings at startup; closes: #222986. -- Davide Puricelli (evo) Tue, 20 Jan 2004 17:43:25 +0100 gnome-alsamixer (0.9.3-3) unstable; urgency=low * New maintainer. -- Davide Puricelli (evo) Tue, 18 Feb 2003 12:57:29 +0100 gnome-alsamixer (0.9.3-2) unstable; urgency=low * Rebuild against new gnome libs -- Stefan Schwandter Thu, 30 Jan 2003 09:20:25 +0100 gnome-alsamixer (0.9.3-1) unstable; urgency=low * Initial Release (closes: #174268). -- Stefan Schwandter Wed, 25 Dec 2002 11:19:24 +0100 debian/control.in0000644000000000000000000000210012167247442011200 0ustar Source: gnome-alsamixer Section: sound Priority: optional Maintainer: Mohammed Adnène Trojette Build-Depends: @cdbs@, gnome-pkg-tools, libgnomeui-dev, libasound2-dev, autotools-dev, intltool Standards-Version: 3.8.0 Package: gnome-alsamixer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: ALSA sound mixer for GNOME A "volume control" application. You can use it to adjust the volume of different sound sources of your sound card. . It has a nice graphical user interface and a lot of features: . - access to all of your computers sound cards and audio sources - possibility to give them custom names - only display the mixer controls you need - access to all the extra features some sound cards offer, like 3d enhancement, microphone gain boost... - and more . This application uses the ALSA sound API, you cannot use it if you use the (older) OSS drivers for your sound card(s). In return, it gives you access to all the functionality ALSA provides with the "alsamixer" program, found in the "alsa-utils" package. debian/install0000644000000000000000000000006612167247442010572 0ustar debian/gnome-alsamixer.desktop usr/share/applications debian/gnome-alsamixer.manpages0000644000000000000000000000003112167247442013776 0ustar debian/gnome-alsamixer.1 debian/gnome-alsamixer.10000644000000000000000000000335212167247442012354 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH GNOME-ALSAMIXER 1 "Dezember 25, 2002" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME gnome-alsamixer \- ALSA sound mixer for GNOME .SH SYNOPSIS .B gnome-alsamixer .\" .RI [ options ] " files" ... .\" .br .\" .B bar .\" .RI [ options ] " files" ... .SH DESCRIPTION gnome-alsamixer is a volume control program for gnome and ALSA. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. .\" .SH OPTIONS .\" These programs follow the usual GNU command line syntax, with long .\" options starting with two dashes (`-'). .\" A summary of options is included below. .\" For a complete description, see the Info files. .\".TP .\".B \-h, \-\-help .\"Show summary of options. .\".TP .\".B \-v, \-\-version .\"Show version of program. .\".SH SEE ALSO .\".BR bar (1), .\".BR baz (1). .\".br .\"The programs are documented fully by .\".IR "The Rise and Fall of a Fooish Bar" , .\"available via the Info system. .SH AUTHOR This manual page was written by Stefan Schwandter , for the Debian GNU/Linux system (but may be used by others). debian/compat0000644000000000000000000000000212167247442010375 0ustar 9 debian/copyright0000644000000000000000000000263512167247442011140 0ustar This package was debianized by Stefan Schwandter on Wed, 25 Dec 2002 11:19:24 +0100. The current Debian maintainer is Mohammed Adnène Trojette . It was downloaded from ftp://ftp.paw.co.za/pub/PAW/sources/ Upstream Authors: Derrick J Houy David Fort Ben Liblit Copyright (C) 2001-2006 Derrick J Houy . License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. The current Debian packaging is (C) 2004-2006, Mohammed Adnène Trojette and is licensed under the GPL, see above.