[gnome-flashback] Bug 647927 LIBPANEL_APPLET_DIR



Hi,

I have tried to understand the problem behind the LIBPANEL_APPLET_DIR macro and the issue discusses in bug #647927 (https://bugzilla.gnome.org/show_bug.cgi?id=647927).

The solution that the bug suggests is to replace LIBPANEL_APPLET_DIR macro by

    appletdir = $(datadir)/gnome-panel/4.0/applets

but then we actually hard code 4.0 in a lot of places. Currently we actually do neither of both in gnome-panel, instead we have:

    appletdir = $(appletsdir)

and appletsdir is defined in configure.ac as:

AC_SUBST([appletsdir],"\$(datadir)/gnome-panel/\$(LIBPANEL_APPLET_API_VERSION)/applets")

LIBPANEL_APPLET_DIR on the otherhand should expand to:

AC_SUBST([appletsdir_pkgconfig],"\${datadir}/gnome-panel/\${libpanel_applet_api_version}/applets")

which is actually almost the same, but I cant find the place where its actually defined? Does anyone on this list have enough automake knowledge to explain whats going on?

See also commit: c45e8043dc107a7dff1c7eb46074f6d85724ad13 (by Vincent Untz in 2011-01-31)

Kind Regards
Sebastian


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]