1. 30 6月, 2017 1 次提交
  2. 13 4月, 2014 6 次提交
    • T
      Correction to enable compilation on platform with only GTK2 libs · 265148b9
      Tony 提交于
      	modified:   CMakeLists.txt
      	modified:   cmake/OpenCVFindLibsGUI.cmake
      265148b9
    • T
      Fix logic error in OpenCVFindLibsGUI.cmake · cb4fffc7
      Tony 提交于
      When with_gtk is selected but GTK3 is not present the current logic
      fails to check for GTK2. This edit corrects this.
      cb4fffc7
    • T
      Correct error with GTK3 not found selection · c0dbc083
      Tony 提交于
      When GTK3 is not found, HAVE_GTK was being set to TRUE. This edit
      ensures that HAVE_GTK is only set if GTK3 or GTK2 (meeting minimum
      version requirements) is present.
      Selection logic for printing 'GTK: No' when the libraries are not found
      has also been removed so the message is printed when GTK is not found or
      selected in common with other libraries.
      
      Changes committed:
      	modified:   CMakeLists.txt
      	modified:   cmake/OpenCVFindLibsGUI.cmake
      c0dbc083
    • T
      Improve GTK+ library selection logic. · f318b5bc
      Tony 提交于
      The new logic will select GTK+3 by default if WITH_GTK is selected. If
      the GTK+3 libraries are not found, then GTK+2 libraries will be selected
      if found.
      This can be overridden by using WITH_GTK_2_X to force selection of GTK+2
      (if found).
      f318b5bc
    • T
      Use GTK_VERSION_MAJOR to switch between GTK+ version two and three · 16383412
      Tony 提交于
      specific code. As a result of this, HAVE_GTK3 no longer needs to be
      exposed.
      
      The use of HAVE_GTK, and HAVE_ GTK3 have been changed to mirror the
      method used by HAVE_QT and HAVE_QT5.
       On branch gtk3
       Changes to be committed:
              modified:   CMakeLists.txt
              modified:   cmake/OpenCVFindLibsGUI.cmake
              modified:   cmake/templates/cvconfig.h.in
              modified:   modules/highgui/src/window.cpp
              modified:   modules/highgui/src/window_gtk.cpp
      16383412
    • T
      Correction to enable compilation on platform with only GTK2 libs · 512cb4fc
      Tony 提交于
      	modified:   CMakeLists.txt
      	modified:   cmake/OpenCVFindLibsGUI.cmake
      512cb4fc
  3. 11 4月, 2014 1 次提交
  4. 10 4月, 2014 1 次提交
    • T
      Correct error with GTK3 not found selection · 2f9dad5c
      Tony 提交于
      When GTK3 is not found, HAVE_GTK was being set to TRUE. This edit
      ensures that HAVE_GTK is only set if GTK3 or GTK2 (meeting minimum
      version requirements) is present.
      Selection logic for printing 'GTK: No' when the libraries are not found
      has also been removed so the message is printed when GTK is not found or
      selected in common with other libraries.
      
      Changes committed:
      	modified:   CMakeLists.txt
      	modified:   cmake/OpenCVFindLibsGUI.cmake
      2f9dad5c
  5. 02 4月, 2014 1 次提交
    • T
      Improve GTK+ library selection logic. · 7daec9e9
      Tony 提交于
      The new logic will select GTK+3 by default if WITH_GTK is selected. If
      the GTK+3 libraries are not found, then GTK+2 libraries will be selected
      if found.
      This can be overridden by using WITH_GTK_2_X to force selection of GTK+2
      (if found).
      7daec9e9
  6. 01 4月, 2014 1 次提交
    • T
      Use GTK_VERSION_MAJOR to switch between GTK+ version two and three · 7f671406
      Tony 提交于
      specific code. As a result of this, HAVE_GTK3 no longer needs to be
      exposed.
      
      The use of HAVE_GTK, and HAVE_ GTK3 have been changed to mirror the
      method used by HAVE_QT and HAVE_QT5.
       On branch gtk3
       Changes to be committed:
              modified:   CMakeLists.txt
              modified:   cmake/OpenCVFindLibsGUI.cmake
              modified:   cmake/templates/cvconfig.h.in
              modified:   modules/highgui/src/window.cpp
              modified:   modules/highgui/src/window_gtk.cpp
      7f671406
  7. 24 2月, 2014 1 次提交
  8. 27 11月, 2013 1 次提交
    • T
      mprove Gtk2/3 options in cmake · 69dc8405
      Tony 提交于
      Update to cmake files for to include minimum versions, and tidy up gtk operation.
      
      Files updated:
      CMakeLists.txt:
        WITH_GTK now uses Gtk3 by default. If not found then Gtk2 is used.
        WITH_GTK_2_X forces Gtk2.x use
      
      cmake/OpenCVFindLibsGUI.cmake
        Updated selection logic to implement methodology described above.
        Implemented warning if Gtk3 not found (and not overridden)
        Implemented error if Gtk does not meet minimum required version
      
      cmake/OpenCVMinDepVersions.cmake
        Added minimum Gtk version of 2.18.0
      69dc8405
  9. 05 10月, 2013 1 次提交
    • T
      Disable OpenGL when Gtk3 is selected · c1cd70e2
      Tony 提交于
      The OpenGL library is not supported on Gtk3 which uses the cairo
      library for rendering. Cairo, in turn uses hardware acceleration when
      supported by the underlying system. Some improvement to performance
      may be gained by useing the cairo-gl and cairo-glx libraries included
      on modern Gtk3 systems.
      
      See the cairo documentation for further information. The following
      link may also be of interest.
      
      http://lists.cairographics.org/archives/cairo/2012-October/023609.html
      c1cd70e2
  10. 03 10月, 2013 1 次提交
    • T
      These changes introduce Gtk3 support into the highgui module. · 81d6842b
      Tony 提交于
      A new option WITH_GTK3 has been added to the cmake configure system to enable compilation under Gtk version 3.The flag HAVE_GTK3 is also introduced to select the new Gtk3 code in the source files. (Gtk2 is disbled when Gtk3 is selected).
      
      window_gtk.cpp has been modified to remove obsolete (and deleted from libgtk 3) and introduce new Gtk3 code in its place when compiled for Gtk3.
      
      To compile for Gtk2, disable WITH_GTK3 in cmake. To build for Gtk3 both WITH_GTK and WITH_GTK3 must be selected.
      81d6842b
  11. 22 8月, 2013 1 次提交
    • R
      Fix errors in usages of try_compile · a9e9ce85
      Roman Donchenko 提交于
      * There's no OPENCV_BINARY_DIR variable;
      * No need to append CMakeFiles/CMakeTmp, as CMake does it for you;
      * Output variables are unused;
      * Wrong usage of CMAKE_FLAGS;
      * Small quoting and style issues.
      a9e9ce85
  12. 14 8月, 2013 2 次提交
  13. 13 8月, 2013 1 次提交
  14. 08 8月, 2013 1 次提交
  15. 10 7月, 2013 1 次提交
    • R
      Refactored detecting several Apple-related technologies. · ca8b621b
      Roman Donchenko 提交于
      Now the HAVE_* macros are set using cvconfig.h. Previously most
      of them already were there, but were always undefined. One,
      HAVE_COCOA, I had to add.
      
      This also makes the CMake code more consistent; now, WITH_* variables
      are always checked in cmake/*, while HAVE_* variables are checked in
      modules/highgui/CMakeLists.txt.
      ca8b621b
  16. 19 6月, 2013 1 次提交
  17. 06 6月, 2013 1 次提交
  18. 13 5月, 2013 1 次提交
  19. 04 4月, 2013 1 次提交
  20. 27 3月, 2013 1 次提交
  21. 30 5月, 2012 1 次提交
  22. 25 5月, 2012 1 次提交