Summary: | x11-misc/tinymount-0.2.6 USE=-libnotify - Project ERROR: libnotify is not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Current packages | Assignee: | Mike Limansky <limanski> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | desktop-misc, proxy-maint, qt, ssuominen |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeroen Roovers (RETIRED)
2012-11-06 15:26:05 UTC
Looks like the reason that the CONFIG+=with_libnotify is hardcoded in pro file. The patch is: diff --git a/src/src.pro b/src/src.pro index 6a676cd..6b8c2f1 100644 --- a/src/src.pro +++ b/src/src.pro @@ -63,8 +63,6 @@ RESOURCES += tinymount.qrc TRANSLATIONS = translations/tinymount_ru.ts -CONFIG += with_libnotify - with_libnotify { DEFINES += WITH_LIBNOTIFY CONFIG += link_pkgconfig (In reply to comment #1) > Looks like the reason that the CONFIG+=with_libnotify is hardcoded in pro > file. The patch is: > > diff --git a/src/src.pro b/src/src.pro > index 6a676cd..6b8c2f1 100644 > --- a/src/src.pro > +++ b/src/src.pro > @@ -63,8 +63,6 @@ RESOURCES += tinymount.qrc > > TRANSLATIONS = translations/tinymount_ru.ts > > -CONFIG += with_libnotify > - > with_libnotify { > DEFINES += WITH_LIBNOTIFY > CONFIG += link_pkgconfig Does this really fix the problem? It seems like it removes the libnotify support altogether? (In reply to comment #2) > Does this really fix the problem? It seems like it removes the libnotify > support altogether? It should, because of the line is src_configure: use libnotify && params="${params} CONFIG+=with_libnotify" I think as alternative solution, we can use CONFIG-=lib_notify if the USE is not set. (In reply to comment #3) > (In reply to comment #2) > > > Does this really fix the problem? It seems like it removes the libnotify > > support altogether? > > It should, because of the line is src_configure: > > use libnotify && params="${params} CONFIG+=with_libnotify" Ah that seems about right then. +*tinymount-0.2.6-r1 (06 Nov 2012) + + 06 Nov 2012; Markos Chandras <hwoarang@gentoo.org> + +files/tinymount-0.2.6-libnotify.patch, +tinymount-0.2.6-r1.ebuild: + Revbump. Drop -Werror. Bug #442048. Don't build libnotify support + unconditionally. Bug #441986 + |