News:

--

Main Menu

build for debian wheezy

Started by markinfo, December 20, 2012, 12:16:48 PM

Previous topic - Next topic

markinfo

I have compiled Avidemux from git. There is a few problems. Just the most important ones:

Why there is no item in toolbar "Audio Output" ?

What should be right of  "Calculator" in Menu? It is empty now.
http://marek.3stars.cz/wiki/lib/exe/fetch.php/programming/avidemux.png

Is something missing in my dev packages? Here is my build.log
http://marek.3stars.cz/wiki/lib/exe/fetch.php/programming/build.log

Jan Gruuthuse



Jan Gruuthuse

Have it your way. Those info were from 2.5 era. Support on GTK is hard in multi OS: windows: os x, linux. You could nearly say it is halted.

markinfo

Hm. That is not optimal for Ubuntu.

Is the main the problem that avidemux GUI is not maintained against GTK version 3?
There are aproximately same amount of commits in source to the avidemux/qt4 and avidemux/gtk in the last months.

Jan Gruuthuse

I'm running QT application on Unity desktop. Try installing avidemux QT application. No idea if this works on debian? Running QT program on GTK?
When you build try this:
bash bootStrap.bash --deb --with-qt4 --with-gtk --with-cliThis should build GTK, QT and CLI applications.
Those updates are mostly to main avidemux core, you should also notice plenty of filters are missing in GTK.
Uninstall:
avidemux3-plugins-GTK-2.6.0-7xxx-Linux
Install:
avidemux3-core-2.6.0-r7xxx-Linux
avidemux3-plugins-COMMON-2.6.0-7xxx-Linux
avidemux3-qt4-2.6.0-7xxx-Linux
avidemux3-plugins-QT4-2.6.0-7xxx-Linux
avidemux3-cli-2.6.0-77xx-Linux


markinfo

QT version seems to work quite good.

I have tried to compile avidemux against GTK v2.24 but build stops with
"avidemux/gtk/ADM_userInterfaces/ui_support.cpp:2:21: fatal error: gtk/gtk.h : File or directory not found"

bootstrap script gives also:

-- Checking for GTK+
-- *****************
-- checking for module 'gdk-pixbuf-2.0'
--   found gdk-pixbuf-2.0, version 2.26.1
-- Found GdkPixBuf
-- Compiler Flags: -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-- Linker Flags  : -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
-- checking for module 'gtk+-3.0'
--   package 'gtk+-3.0' not found
Could not find GTK+

So - GTK3 is necessary for Avidemux GTK gui?

Jan Gruuthuse

yes, have libgtk-3-dev also installed.
dpkg -l build-essential cmake fakeroot g++ gcc gettext liba52-0.7.4-dev libaften-dev libasound2-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libglib2.0-dev libgtk-3-dev libgtk2.0-dev libmad0-dev libmp3lame-dev libpng12-dev libqt4-dev libqt4-opengl libqt4-opengl-dev libqt4-script libsdl-sound1.2-dev libsqlite3-dev libvdpau-dev libvorbis-dev libx264-dev libxml2-dev libxv-dev libxvidcore-dev make libopencore-amrwb-dev libopencore-amrnb-dev libvpx-dev pkg-config subversion yasmDesired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  build-essentia 11.5ubuntu2.1  Informational list of build-essential packag
un  cmake          <none>         (no description available)
ii  fakeroot       1.18.2-1       tool for simulating superuser privileges
ii  g++            4:4.6.3-1ubunt GNU C++ compiler
ii  gcc            4:4.6.3-1ubunt GNU C compiler
ii  gettext        0.18.1.1-5ubun GNU Internationalization utilities
ii  liba52-0.7.4-d 0.7.4-16build1 library for decoding ATSC A/52 streams (deve
ii  libaften-dev   0.0.8+git20100 audio AC3 encoder - development files
ii  libasound2-dev 1.0.25-1ubuntu shared library for ALSA applications -- deve
ii  libdca-dev     0.0.5-5        decoding library for DTS Coherent Acoustics
ii  libdts-dev     0.0.5-5        backward compatibility place-holder for libd
ii  libfaac-dev    1.28-0ubuntu2  AAC audio encoder (development)
ii  libfaad-dev    2.7-7          freeware Advanced Audio Decoder - developmen
ii  libglib2.0-dev 2.32.3-0ubuntu Development files for the GLib library
ii  libgtk-3-dev   3.4.2-0ubuntu0 development files for the GTK+ library
ii  libgtk2.0-dev  2.24.10-0ubunt development files for the GTK+ library
ii  libmad0-dev    0.15.1b-7ubunt MPEG audio decoder development library
ii  libmp3lame-dev 3.99.3+repack1 MP3 encoding library (development)
ii  libopencore-am 0.1.2-1        Adaptive Multi Rate speech codec - developme
ii  libopencore-am 0.1.2-1        Adaptive Multi-Rate - Wideband speech codec
ii  libpng12-dev   1.2.46-3ubuntu PNG library - development
ii  libqt4-dev     4:4.8.1-0ubunt Qt 4 development files
ii  libqt4-opengl  4:4.8.1-0ubunt Qt 4 OpenGL module
ii  libqt4-opengl- 4:4.8.1-0ubunt Qt 4 OpenGL library development files
ii  libqt4-script  4:4.8.1-0ubunt Qt 4 script module
ii  libsdl-sound1. 1.0.3-4        Development files for SDL_sound
ii  libsqlite3-dev 3.7.9-2ubuntu1 SQLite 3 development files
ii  libvdpau-dev   0.4.1-3ubuntu1 Video Decode and Presentation API for Unix (
ii  libvorbis-dev  1.3.2-1ubuntu3 The Vorbis General Audio Compression Codec (
ii  libvpx-dev     1.0.0-1        VP8 video codec (development files)
ii  libx264-dev    2:0.120.2151+g development files for libx264
ii  libxml2-dev    2.7.8.dfsg-5.1 Development files for the GNOME XML library
ii  libxv-dev      2:1.0.6-2build X11 Video extension library (development hea
ii  libxvidcore-de 2:1.3.2-6      Open source MPEG-4 video codec (development)
ii  make           3.81-8.1ubuntu An utility for Directing compilation.
ii  pkg-config     0.26-1ubuntu1  manage compile and link flags for libraries
ii  subversion     1.6.17dfsg-3ub Advanced version control system
ii  yasm           1.1.0-1        modular assembler with multiple syntaxes sup

and cmake was replaced to: cmake version 2.8.10.2
vdpau if nvidia supported card

markinfo

Thanks for useful tip. My building system:

dpkg -l build-essential cmake fakeroot g++ gcc gettext liba52-0.7.4-dev libaften-dev libasound2-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libglib2.0-dev libgtk-3-dev libgtk2.0-dev libmad0-dev libmp3lame-dev libpng12-dev libqt4-dev libqt4-opengl libqt4-opengl-dev libqt4-script libsdl-sound1.2-dev libsqlite3-dev libvdpau-dev libvorbis-dev libx264-dev libxml2-dev libxv-dev libxvidcore-dev make libopencore-amrwb-dev libopencore-amrnb-dev libvpx-dev pkg-config subversion yasm
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                  Version                         Architecture                    Description
+++-=====================================================-===============================-===============================-===============================================================================================================
ii  build-essential                                       11.5                            amd64                           Informational list of build-essential packages
ii  cmake                                                 2.8.9-1                         amd64                           cross-platform, open-source make system
ii  fakeroot                                              1.18.4-2                        amd64                           tool for simulating superuser privileges
ii  g++                                                   4:4.7.2-1                       amd64                           GNU C++ compiler
ii  gcc                                                   4:4.7.2-1                       amd64                           GNU C compiler
ii  gettext                                               0.18.1.1-9                      amd64                           GNU Internationalization utilities
ii  liba52-0.7.4-dev                                      0.7.4-16                        amd64                           library for decoding ATSC A/52 streams (development)
ii  libaften-dev:amd64                                    0.0.8svn20100103-dmo1           amd64                           audio AC3 encoder - development files
ii  libasound2-dev:amd64                                  1.0.25-4                        amd64                           shared library for ALSA applications -- development files
ii  libdca-dev                                            0.0.5-5                         amd64                           decoding library for DTS Coherent Acoustics streams (development)
ii  libdts-dev                                            0.0.5-5                         amd64                           backward compatibility place-holder for libdca
ii  libfaac-dev:amd64                                     1:1.28-dmo3                     amd64                           AAC audio encoder - devel files.
ii  libfaad-dev:amd64                                     2.7-8                           amd64                           freeware Advanced Audio Decoder - development files
ii  libglib2.0-dev                                        2.33.12+really2.32.4-3          amd64                           Development files for the GLib library
ii  libgtk-3-dev                                          3.4.2-4                         amd64                           development files for the GTK+ library
ii  libgtk2.0-dev                                         2.24.10-2                       amd64                           development files for the GTK+ library
ii  libmad0-dev                                           0.15.1b-7                       amd64                           MPEG audio decoder development library
ii  libmp3lame-dev:amd64                                  3.99.5+repack1-3                amd64                           MP3 encoding library (development)
ii  libopencore-amrnb-dev:amd64                           0.1.3-2                         amd64                           Adaptive Multi Rate speech codec - development files
ii  libopencore-amrwb-dev:amd64                           0.1.3-2                         amd64                           Adaptive Multi-Rate - Wideband speech codec - development files
ii  libpng12-dev                                          1.2.49-1                        amd64                           PNG library - development
ii  libqt4-dev                                            4:4.8.2+dfsg-2                  amd64                           Qt 4 development files
ii  libqt4-opengl:amd64                                   4:4.8.2+dfsg-2                  amd64                           Qt 4 OpenGL module
ii  libqt4-opengl-dev                                     4:4.8.2+dfsg-2                  amd64                           Qt 4 OpenGL library development files
ii  libqt4-script:amd64                                   4:4.8.2+dfsg-2                  amd64                           Qt 4 script module
ii  libsdl-sound1.2-dev:amd64                             1.0.3-6                         amd64                           Sound library for Simple DirectMedia Layer 1.2, development files
ii  libsqlite3-dev                                        3.7.13-1                        amd64                           SQLite 3 development files
ii  libvdpau-dev:amd64                                    0.4.1-7                         amd64                           Video Decode and Presentation API for Unix (development files)
ii  libvorbis-dev:amd64                                   1.3.2-1.3                       amd64                           The Vorbis General Audio Compression Codec (development files)
ii  libvpx-dev:amd64                                      1.1.0-1                         amd64                           VP8 video codec (development files)
ii  libx264-dev:amd64                                     2:0.123.2189+git35cf912-1       amd64                           development files for libx264
ii  libxml2-dev:amd64                                     2.8.0+dfsg1-7                   amd64                           Development files for the GNOME XML library
ii  libxv-dev:amd64                                       2:1.0.7-1                       amd64                           X11 Video extension library (development headers)
ii  libxvidcore-dev:amd64                                 2:1.3.2-9                       amd64                           Open source MPEG-4 video codec (development)
ii  make                                                  3.81-8.2                        amd64                           An utility for Directing compilation.
ii  pkg-config                                            0.26-1                          amd64                           manage compile and link flags for libraries
ii  yasm                                                  1.1.0-1                         amd64                           modular assembler with multiple syntaxes support
dpkg-query: no packages found matching subversion


GTK gui has many problems. Some part are not shown at all. For example it is even not possible to close the program by closing the window. Nothing happens. Only File >> Quit works. Also setting markers does not shows any Ticks on the timeline. Menu Tools is empty and so on. Should be opened separate bugreports about that things?

Jan Gruuthuse

You could try, you never know developers change their mind on this? Would not have high hopes on this.