audio-recorder fails to build on top of GNOME 3.16
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Audio Recorder |
Fix Committed
|
Critical
|
Aylin yarımay |
Bug Description
With the base libraries all updated to the GNOME 3.16 release, audio recorder (up to version 1.6) fails to build.
[ 114s] In file included from /usr/include/
[ 114s] from gtklevelbar.h:6,
[ 114s] from gtklevelbar.c:19:
[ 114s] /usr/include/
[ 114s] G_DEFINE_
[ 114s] ^
[ 114s] In file included from /usr/lib64/
[ 114s] from /usr/include/
[ 114s] from /usr/include/
[ 114s] from /usr/include/
[ 114s] from /usr/include/
[ 114s] from /usr/include/
[ 114s] from /usr/include/
[ 114s] from gtklevelbar.h:6,
[ 114s] from gtklevelbar.c:19:
[ 114s] /usr/include/
Changed in audio-recorder: | |
assignee: | moma (osmoma) → Aylin yarımay (838doruk838) |
Hello,
Audio-recorder and GTK3+ seems to have the same widget class GtkLevelBar. Both does the same thing. I created a GtkLevelBar widget for 4 years ago and added it to the audio-recorder. Now GTK3 provides the same functionality.
Please see: https:/ /developer. gnome.org/ gtk3/stable/ GtkLevelBar. html bazaar. launchpad. net/~audio- recorder/ audio-recorder/ trunk/view/ head:/src/ gtklevelbar. c
And
http://
(gtklevelbar.c and gtklevelbar.h).
You should remove the gtklevelbar.[ch] files from the project and use the standard GtkLevelBar from GTK3+. bazaar. launchpad. net/~audio- recorder/ audio-recorder/ trunk/view/ head:/src/ main.c# L995
You should also remove code for left-click and right-click events on that widget.
Ref: http://
Look for and change all references to "gtk_level". Run this command to find files from the base "audio-recorder" folder.
$ grep -Ri gtklevelbar
Modify also
src/Makefile.am and po/POTFILES.in
Then run:
make clean
aclocal
autoconf
automake -a
./configure
make
Alternative solution is to rename GtkLevelBar in gtklevelbar.c and gtklevelbar.h and then change all references to it.
BTW: The development of audio-recorder has been taken over by Team "Audio-Recorder". /lists. launchpad. net/audio- recorder/ msg00007. html
Please join to the team if you have time. Team members can create their own branches and push changes to the Launchpad.
Ref: https:/
Good luck.