Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:zSystems
pidgin-indicator
pidgin-indicator-ayatana-appindicator.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pidgin-indicator-ayatana-appindicator.patch of Package pidgin-indicator
--- a/configure.ac +++ b/configure.ac @@ -96,7 +96,20 @@ PKG_CHECK_MODULES(GTK, [gtk+-2.0]) AC_SUBST(GTK_LIBS) AC_SUBST(GTK_CFLAGS) -PKG_CHECK_MODULES(INDICATOR, [appindicator-0.1]) +PKG_CHECK_EXISTS([ayatana-appindicator-0.1], + [have_ayatana_appindicator="yes"], + [have_ayatana_appindicator="no"]) +PKG_CHECK_EXISTS([appindicator-0.1], + [have_ubuntu_appindicator="yes"], + [have_ubuntu_appindicator="no"]) + +if test "x$have_ayatana_appindicator" = "xyes" || + test "x$have_ubuntu_appindicator" = "xno"; then + PKG_CHECK_MODULES(INDICATOR, [ayatana-appindicator-0.1]) + AC_DEFINE(HAVE_AYATANA_APPINDICATOR, 1, [ayatana-appindicator present]) +else + PKG_CHECK_MODULES(INDICATOR, [appindicator-0.1]) +fi AC_SUBST(INDICATOR_LIBS) AC_SUBST(INDICATOR_CFLAGS) --- a/src/pidgin-indicator.c +++ b/src/pidgin-indicator.c @@ -41,7 +41,11 @@ #include <savedstatuses.h> #include <version.h> +#ifdef HAVE_AYATANA_APPINDICATOR +#include <libayatana-appindicator/app-indicator.h> +#else #include <libappindicator/app-indicator.h> +#endif #include "docklet.h"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor