Topic: Help me create a .deb file for volume control applet

Hi,

I don't like the volwheel applet cause it takes a lot of RAM. So I am trying to compile a lightwieght volume control applet. It runs in system tray. But I got all kind of trouble with it.

I found the applet on this page http://www.pcbypaul.com/software/absvolume.shtml

I need System tray Version: AbsVolume-4.3.tar.bz2

Could someone make a .deb file for me, please?


Thank you

http://codepsd.com | We convert PSD to HTML (PSD2HTML)
http://codepsd.si | Razrez PSD, razrez spletnih predlog (PSD v HTML)

Re: Help me create a .deb file for volume control applet

you don't need to make a deb.

just extract it, change to the correct directory and probably just do

./configure
make
sudo make install

there should be a file called 'INSTALL' that will give you specific instructions

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: Help me create a .deb file for volume control applet

I tried that. I tried it with checkinstall too. But it doesnt work. ./configure doesn't work. There is a autogen.sh file. I was able to do it with that file. But now I am stuck at make. Now makefile is giving me some errors. I don't know what it wants. I was trying to compile it for 3-4 hours. I am new to linux. Maybe someone could try to compile a .deb file for me. I would really appreciate it.
Thank you

Last edited by Ventil (2010-02-09 14:46:59)

http://codepsd.com | We convert PSD to HTML (PSD2HTML)
http://codepsd.si | Razrez PSD, razrez spletnih predlog (PSD v HTML)

Re: Help me create a .deb file for volume control applet

`sudo apt-get build essential`

This installs the most commonly used compiling packages, which are necessary if you have to `make` anything.  They're left off of #! and many other Debian derivatives to save space on the Live CD.

while ( ! ( succeed = try() ) );

Re: Help me create a .deb file for volume control applet

^ You missed a hyphen, its "build-essential".

BTW Ventil, what do you consider heavy? Afaik Volwheel is light so Im wondering why you want something even lighter.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Help me create a .deb file for volume control applet

^ Annoyed grunt (e.g. "D'oh!") big_smile

Last edited by pvsage (2010-02-09 15:55:53)

while ( ! ( succeed = try() ) );

Re: Help me create a .deb file for volume control applet

BTW Ventil, what do you consider heavy? Afaik Volwheel is light so Im wondering why you want something even lighter.

When I installed Volwheel I noticed that there was a new process called python or perl(not sure anymore) running. It used over 6MB on my system. When I uninstalled Volwheel the process was gone.

I got build-essential installed. Could someone else compile it, please? It's driving me crazy!

Last edited by Ventil (2010-02-09 16:17:29)

http://codepsd.com | We convert PSD to HTML (PSD2HTML)
http://codepsd.si | Razrez PSD, razrez spletnih predlog (PSD v HTML)

Re: Help me create a .deb file for volume control applet

Here is the error:

make[1]: Entering directory `/home/marko/Desktop/aa'
Making all in src
make[2]: Entering directory `/home/marko/Desktop/aa/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: In function ‘store_filename’:
main.c:131: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
main.c: In function ‘on_mixer’:
main.c:145: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
main.c:165: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c:169: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c:188: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c:193: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c: In function ‘main’:
main.c:381: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c:382: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
main.c:383: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.c
mv -f .deps/actions.Tpo .deps/actions.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -MT callbacks.o -MD -MP -MF .deps/callbacks.Tpo -c -o callbacks.o callbacks.c
mv -f .deps/callbacks.Tpo .deps/callbacks.Po
gcc  -g -O2   -o absvolume main.o actions.o callbacks.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0    
make[2]: Leaving directory `/home/marko/Desktop/aa/src'
Making all in po
make[2]: Entering directory `/home/marko/Desktop/aa/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/marko/Desktop/aa/po'
make[2]: Entering directory `/home/marko/Desktop/aa'
make[2]: Leaving directory `/home/marko/Desktop/aa'
make[1]: Leaving directory `/home/marko/Desktop/aa'
http://codepsd.com | We convert PSD to HTML (PSD2HTML)
http://codepsd.si | Razrez PSD, razrez spletnih predlog (PSD v HTML)

Re: Help me create a .deb file for volume control applet

Ventil wrote:

BTW Ventil, what do you consider heavy? Afaik Volwheel is light so Im wondering why you want something even lighter.

When I installed Volwheel I noticed that there was a new process called python or perl(not sure anymore) running. It used over 6MB on my system. When I uninstalled Volwheel the process was gone.

Well VolWheel is written using perl...

BTW heres some more alternatives:

http://sourceforge.net/projects/gvolwheel/
http://bbs.archlinux.org/viewtopic.php?id=77440

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Help me create a .deb file for volume control applet

Ventil wrote:

When I installed Volwheel I noticed that there was a new process called python or perl(not sure anymore) running. It used over 6MB on my system. When I uninstalled Volwheel the process was gone.

6mb isn't very much ram for an app like perl to be using. Your main concern in terms of lightness is how much of your CPU volwheel uses. Does running volwheel make any significant difference to the amount of CPU your system is using?

11

Re: Help me create a .deb file for volume control applet

anonymous wrote:

BTW heres some more alternatives:
[…]
http://bbs.archlinux.org/viewtopic.php?id=77440

Rooooooooooooooh! Lovely ! Python!
I will may be update this one… to use my preferred mixer wink

Indeed : volwheel seems buggy, to my eyes…

Re: Help me create a .deb file for volume control applet

omns wrote:

6mb isn't very much ram for an app like perl to be using. Your main concern in terms of lightness is how much of your CPU volwheel uses. Does running volwheel make any significant difference to the amount of CPU your system is using?

ABSVolume uses 1,2MB RAM. CPU use shows me 0 in gnome-system-monitor.
I installed ABSVolume v.1.0. But I really want the 4.3 version. Why noone wants to make a .deb file for me?


Thx for the links anonymous.
BTW how do I install that code?? http://bbs.archlinux.org/viewtopic.php?id=77440

http://codepsd.com | We convert PSD to HTML (PSD2HTML)
http://codepsd.si | Razrez PSD, razrez spletnih predlog (PSD v HTML)

Re: Help me create a .deb file for volume control applet

Creating a script:

http://crunchbanglinux.org/forums/post/54662/#p54662

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Help me create a .deb file for volume control applet

Thank you anonymous. I tried it. But its the same thing again. Python process is running again now. Takes 6MB of RAM again.
I think I am gonna stick with Volwheel v.1.0 for now. Maybe someone is gonna make a newer .deb package of it someday.

http://codepsd.com | We convert PSD to HTML (PSD2HTML)
http://codepsd.si | Razrez PSD, razrez spletnih predlog (PSD v HTML)

Re: Help me create a .deb file for volume control applet

Finnaly managed to compiled it! Takes 1,2MB of RAM now. It can load a sound mixer too. I love it! wink

http://file.si/pthumbs/large/8699/10-02-2010--1265803976_1366x768.jpg


Here is the .deb if someone wants to try it
http://www.2shared.com/file/11270447/39 … _i386.html

Last edited by Ventil (2010-02-10 12:18:28)

http://codepsd.com | We convert PSD to HTML (PSD2HTML)
http://codepsd.si | Razrez PSD, razrez spletnih predlog (PSD v HTML)

16

Re: Help me create a .deb file for volume control applet

~HP wrote:
anonymous wrote:

BTW heres some more alternatives:
[…]
http://bbs.archlinux.org/viewtopic.php?id=77440

Rooooooooooooooh! Lovely ! Python!
I will may be update this one… to use my preferred mixer wink

Indeed : volwheel seems buggy, to my eyes…

My own version of volume control, based on the PyGTK Volume slider:

http://img526.imageshack.us/img526/3623/capturevolumcontrolpyt.th.png

With a lot of improvements:

  • using tooltip (hover icon in systray), which is updated each 1.5 seconds

  • using a main icon according to Icon Naming Specification

  • depends on smixer, which is more efficient for my liking than alsamixer

Moreover, "Volume Control" is more stable used in the tint2 systray than volwheel, indeed volwheel disappear from the systray, frequently, but it's still running ! hmm This drawback does not appear with Volume Control… even if tint2 quitting or crashing…

The source code and a download could arrive sooner or later, depending on interest paid to the thing.

Re: Help me create a .deb file for volume control applet

looks good ~HP, if I wasn't using the gnome volume control then I would give it a try.

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.