GNOME Bugzilla – Bug 634790
libnotify-0.6.0 requires only gtk+3
Last modified: 2020-11-26 15:30:59 UTC
Trying to compile libnotify-0.6.0 and configure ends with the following error: checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes checking for LINKS... yes checking for GTK3... configure: error: Package requirements (gtk+-3.0) were not met: No package 'gtk+-3.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK3_CFLAGS and GTK3_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Error! Configure exited with status: 1 Failed package libnotify In the configure.ac file there is written minimal requirement to be gtk+2 REQ_GTK_VERSION=2.18 Looking in the configure script I do not see the tests for gtk2 only GTK3 tests are in there. Shouldn't there be a possibility to use it with gtk2 also ?
Shouldn't there be an option like --with-gtk=2.0 or --with-gtk=3.0 ? So one can choose.
GTK+ is only used for the tests now. I think I'd prefer to just have a --disable-tests argument to configure. I'd accept a patch for that.
Setting to NEW as per last comment.
Mass-fixing incorrect Default Assignee and QA contact scheme for libnotify so interested people can follow its development. (See 606365#c1 for ref.)
Created attachment 315872 [details] [review] Patch to add --enable-tests
Created attachment 329788 [details] [review] Patch to add --disable-tests Reversed the logic so that tests are still build by default.
Review of attachment 329788 [details] [review]: pushed as da7a6a229b81501a15795d8766731b8523770959
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all older bug reports and feature requests in GNOME Bugzilla which have not seen updates for a while. If you still use libnotify and if you still see this bug / want this feature in a recent and currently supported version, then please feel free to report it at https://gitlab.gnome.org/GNOME/libnotify/-/issues/ by following the guidelines at https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines Thank you for creating this report and we are sorry it could not be implemented so far (volunteer workforce and time is limited).