Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831911 - x11-misc/tint2-17.0.1 should depend on x11-libs/gtk+:3, not x11-libs/gtk+:2
Summary: x11-misc/tint2-17.0.1 should depend on x11-libs/gtk+:3, not x11-libs/gtk+:2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-23 18:48 UTC by gen2dev
Modified: 2022-01-23 21:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gen2dev 2022-01-23 18:48:00 UTC
x11-misc/tint2 version 17.0.1 uses GTK3, not GTK2 like previous versions.
The ebuild still depends on GTK2. The other version dependencies still look correct to me.

Here's the cmake log showing it looking for GTK3.

-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Checking for modules 'x11;xcomposite;xdamage;xinerama;xext;xrender;xrandr>=1.3'
--   Found x11, version 1.7.3
--   Found xcomposite, version 0.4.5
--   Found xdamage, version 1.1.5
--   Found xinerama, version 1.1.4
--   Found xext, version 1.3.4
--   Found xrender, version 0.9.10
--   Found xrandr, version 1.5.2
-- Checking for module 'pangocairo'
--   Found pangocairo, version 1.48.10
-- Checking for module 'pango'
--   Found pango, version 1.48.10
-- Checking for module 'cairo'
--   Found cairo, version 1.16.0
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.68.4
-- Checking for module 'gobject-2.0'
--   Found gobject-2.0, version 2.68.4
-- Checking for module 'imlib2>=1.4.2'
--   Found imlib2, version 1.7.1
-- Performing Test HAS_GENERIC
-- Performing Test HAS_GENERIC - Success
-- Checking for module 'librsvg-2.0>=2.14.0'
--   Found librsvg-2.0, version 2.40.21
-- Checking for module 'libstartup-notification-1.0>=0.12'
--   Found libstartup-notification-1.0, version 0.12
-- Looking for imlib_context_set_display in Imlib2
-- Looking for imlib_context_set_display in Imlib2 - found
CMake Deprecation Warning at src/tint2conf/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Checking for modules 'x11;xcomposite;xdamage;xinerama;xrender;xrandr>=1.3'
--   Found x11, version 1.7.3
--   Found xcomposite, version 0.4.5
--   Found xdamage, version 1.1.5
--   Found xinerama, version 1.1.4
--   Found xrender, version 0.9.10
--   Found xrandr, version 1.5.2
-- Checking for module 'imlib2'
--   Found imlib2, version 1.7.1
-- Checking for module 'gthread-2.0'
--   Found gthread-2.0, version 2.68.4
-- Checking for module 'gtk+-x11-3.0'
--   Found gtk+-x11-3.0, version 3.24.29
-- Checking for module 'librsvg-2.0>=2.36.0'
--   Found librsvg-2.0, version 2.40.21
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- gettext found languages: bs es fr hr pl ru sr
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tint2-v17.0.1/build



Reproducible: Always
Comment 1 Matt Turner gentoo-dev 2022-01-23 21:13:40 UTC
Yep, pretty obvious from a diff of CMakeLists.txt:

-pkg_check_modules( GTK2 REQUIRED gtk+-x11-2.0 )
+pkg_check_modules( GTK3 REQUIRED gtk+-x11-3.0 )
Comment 2 Larry the Git Cow gentoo-dev 2022-01-23 21:15:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb7a7960732a257b4922aaf8a9ea94a92ae51acc

commit bb7a7960732a257b4922aaf8a9ea94a92ae51acc
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-01-23 21:14:35 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-01-23 21:15:31 +0000

    x11-misc/tint2: Depend on x11-libs/gtk+:3
    
    Closes: https://bugs.gentoo.org/831911
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-misc/tint2/{tint2-17.0.1.ebuild => tint2-17.0.1-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)