avatar
vladi105 has added 7cf5422185
updated to version 0.5.1
... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,2 +1,2 @@
1 1
sources:
2
  volumeicon-0.4.3.tar.gz: 81bfff9ba0c707765365a004170e79335c598b66
2
  "volumeicon-0.5.1.tar.gz": 920cad24859692b92d69bd42158a102f7ba53fc6
view file @ ae50adc149
... ... --- a/volumeicon-0.4.3-rosa-glib.patch
... ... +++ /dev/null
... ... @@ -1,16 +0,0 @@
0
Index: volumeicon-0.4.3/src/alsa_backend.c
1
===================================================================
2
--- volumeicon-0.4.3.orig/src/alsa_backend.c
3
+++ volumeicon-0.4.3/src/alsa_backend.c
4
@@ -22,10 +22,8 @@
5
 //##############################################################################
6
 
7
 #include <alsa/asoundlib.h>
8
-#include <glib/gstring.h>
9
+#include <glib.h>
10
 #include <glib/gstdio.h>
11
-#include <glib/glist.h>
12
-#include <glib/giochannel.h>
13
 
14
 #include "alsa_backend.h"
15
 
view file @ 7cf5422185
... ... --- a/volumeicon.spec
... ... +++ b/volumeicon.spec
... ... @@ -1,16 +1,14 @@
1 1
Summary:	Lightweight volume control
2 2
Name:		volumeicon
3
Version:	0.4.3
4
Release:	9
3
Version:	0.5.1
4
Release:	1
5 5
License:	GPLv3+
6 6
Group:		Graphical desktop/Other
7
Url:		http://http://code.google.com/p/mandriva-lxde/
8
Source0:	http://mandriva-lxde.googlecode.com/files/%{name}-%{version}.tar.gz
9
Patch0:		volumeicon_lxde.patch
10
Patch1:		volumeicon-0.4.3-rosa-glib.patch
7
Url:		https://github.com/Maato/volumeicon
8
Source0:	https://github.com/Maato/%{name}/archive/0.5.1.tar.gz
11 9
BuildRequires:	intltool
12 10
BuildRequires:	pkgconfig(alsa)
13
BuildRequires:	pkgconfig(gtk+-2.0)
11
BuildRequires:	pkgconfig(gtk+-3.0)
14 12
BuildRequires:	pkgconfig(libnotify)
15 13
16 14
%description
... ... @@ -37,13 +35,12 @@ This is localized fork from Mandriva LXDE project.
35 35
36 36
%prep
37 37
%setup -q
38
%patch0 -p1
39
%patch1 -p1
40 38
41 39
%build
42
aclocal
43
automake --add-missing
44
%configure2_5x
40
./autogen.sh
41
./configure --prefix=/usr \
42
	--enable-notify \
43
45 44
%make
46 45
47 46
%install
view file @ ae50adc149
... ... --- a/volumeicon_lxde.patch
... ... +++ /dev/null
... ... @@ -1,36 +0,0 @@
0
--- volumeicon-0.4.3/src/config.c.old	2011-08-06 11:29:22.000000000 +0400
1
+++ volumeicon-0.4.3/src/config.c	2011-12-23 12:39:53.982938554 +0400
2
@@ -45,11 +45,11 @@
3
 static gchar * m_hotkey_down = NULL;
4
 static gchar * m_hotkey_mute = NULL;
5
 static int m_stepsize = 0;
6
-static gboolean m_lmb_slider = FALSE;
7
+static gboolean m_lmb_slider = TRUE;
8
 static gboolean m_mmb_mute = FALSE;
9
-static gboolean m_hotkey_up_enabled = FALSE;
10
-static gboolean m_hotkey_down_enabled = FALSE;
11
-static gboolean m_hotkey_mute_enabled = FALSE;
12
+static gboolean m_hotkey_up_enabled = TRUE;
13
+static gboolean m_hotkey_down_enabled = TRUE;
14
+static gboolean m_hotkey_mute_enabled = TRUE;
15
 
16
 //##############################################################################
17
 // Static functions
18
@@ -57,7 +57,7 @@
19
 static void config_load_default()
20
 {
21
 	if(!m_helper_program)
22
-		config_set_helper("xterm -e 'alsamixer'");
23
+		config_set_helper("lxterminal -e 'alsamixer'");
24
 	if(!m_channel)
25
 		config_set_channel(NULL);
26
 	if(!m_card)
27
@@ -65,7 +65,7 @@
28
 	if(!m_stepsize)
29
 		config_set_stepsize(5);
30
 	if(!m_theme)
31
-		config_set_theme("Default");
32
+		config_set_theme("White Gnome");
33
 	if(!m_hotkey_up)
34
 		config_set_hotkey_up("XF86AudioRaiseVolume");
35
 	if(!m_hotkey_down)

Comments