Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510794 - x11-misc/xmonad-log-applet-2.0.0-r300 fails to build when no applet is enabled
Summary: x11-misc/xmonad-log-applet-2.0.0-r300 fails to build when no applet is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2-mask
  Show dependency tree
 
Reported: 2014-05-19 18:54 UTC by Pacho Ramos
Modified: 2014-06-02 11:29 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 Pacho Ramos gentoo-dev 2014-05-19 18:54:38 UTC
And, then, this is a problem as we need to drop gnome-panel applet support to drop dependency on obsolete gnome-panel. 

The error I get when compiling with USE="-gnome" and no xfce support enabled:
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for DBUS_GLIB... yes
checking for LIBPANEL... no
configure: error: Package requirements (libpanelapplet-3.0 >= 2.32.0) were not met:

No package 'libpanelapplet-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 LIBPANEL_CFLAGS
and LIBPANEL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2014-05-20 06:55:30 UTC
Yeah, our ebuild lies a bit about what is available for user:

> AS_IF(
>     [test "x$panel" = xgnome2],
>         [PKG_CHECK_MODULES(LIBPANEL, libpanelapplet-3.0 >= 2.32.0)]
>         LIBPANEL_APPLET_DIR=`$PKG_CONFIG --variable=prefix libpanelapplet-3.0`/share/gnome-panel/applets
>         [AC_DEFINE(PANEL_GNOME2, 1, [panel version])]
>         ,
>     [test "x$panel" = xgnome3],
>         [PKG_CHECK_MODULES(LIBPANEL, libpanelapplet-4.0 >= 3.0.0)]
>         LIBPANEL_APPLET_DIR=`$PKG_CONFIG --variable=libpanel_applet_dir libpanelapplet-4.0`
>         [AC_DEFINE(PANEL_GNOME3, 1, [panel version])]
>         ,
>     [test "x$panel" = xxfce4],
>         [PKG_CHECK_MODULES(LIBPANEL, libxfce4panel-1.0 >= 4.6.0)]
>         LIBPANEL_APPLET_DIR=`$PKG_CONFIG --variable=prefix libxfce4panel-1.0`/share/xfce4/panel-plugins
>         [AC_DEFINE(PANEL_XFCE4, 1, [panel version])]
>         ,
>     [AC_MSG_ERROR([Unknown panel type, use gnome2, gnome3 or xfce4])]
> )

Is gnome-panel-3.8.0 planned to be removed as well?

If it does then I'd suggest we'll make ${PN} xfce-only.
Comment 2 Pacho Ramos gentoo-dev 2014-05-20 18:55:08 UTC
Yes it will be dropped also.  3.8 gnome-panel was released for gnome-flashback project but, later, its development stopped and it isn't compatible with 3.10 even
Comment 3 Pacho Ramos gentoo-dev 2014-06-01 18:22:13 UTC
+*xmonad-log-applet-2.0.0-r301 (01 Jun 2014)
+
+  01 Jun 2014; Pacho Ramos <pacho@gentoo.org>
+  +xmonad-log-applet-2.0.0-r301.ebuild:
+  Drop support for gnome-panel (#510794)
+