[140380] users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins
Revision: 140380 https://trac.macports.org/changeset/140380 Author: devans@macports.org Date: 2015-09-18 10:30:46 -0700 (Fri, 18 Sep 2015) Log Message: ----------- GNOME-3/unstable: grilo-plugins, update to version 0.2.15, increment revision to rebuild with unstable libgdata. Modified Paths: -------------- users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/Portfile Added Paths: ----------- users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/files/patch-lua-factory-with-goa-disabled.diff users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/files/patch-requires-goa-3.17.91.diff Removed Paths: ------------- users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/grilo-plugins/ Property Changed: ---------------- users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/ Property changes on: users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins ___________________________________________________________________ Modified: svn:mergeinfo - /branches/mld-qt-481/dports/gnome/grilo-plugins:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856 /trunk/dports/gnome/grilo-plugins:117700-122659 /users/devans/GNOME-3/stable/dports/gnome/grilo-plugins:132264-136766 /users/rmstonecipher/gnome/grilo-plugins:102363-103172 + /branches/mld-qt-481/dports/gnome/grilo-plugins:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856 /trunk/dports/gnome/grilo-plugins:117700-122659 /users/devans/GNOME-3/stable/dports/gnome/grilo-plugins:132264-140353 /users/rmstonecipher/gnome/grilo-plugins:102363-103172 Modified: users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/Portfile =================================================================== --- users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/Portfile 2015-09-18 17:26:41 UTC (rev 140379) +++ users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/Portfile 2015-09-18 17:30:46 UTC (rev 140380) @@ -5,7 +5,7 @@ PortGroup compiler_blacklist_versions 1.0 name grilo-plugins -version 0.2.14 +version 0.2.15 revision 1 license LGPL-2.1 set branch [join [lrange [split ${version} .] 0 1] .] @@ -21,8 +21,8 @@ use_xz yes -checksums rmd160 8ec4a1f6afe2daeaa392133d3956cdf110d77d90 \ - sha256 d0f18116675058c7e8c178b1fe26d6d73998a0452f85a73b1696df740c83d3ab +checksums rmd160 debff6129149be40b2543448625a95d19ac1a74e \ + sha256 9806a08f9b731f2b092acfc596aef21bf8ba47d8c671c5773d2dc3d65dc89e20 depends_build port:pkgconfig \ port:intltool \ @@ -36,7 +36,6 @@ depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:libxml2 \ port:grilo \ - port:gnome-online-accounts \ port:totem-pl-parser \ port:libgdata \ port:libmediaart \ @@ -47,6 +46,9 @@ port:json-glib \ port:avahi +patchfiles patch-requires-goa-3.17.91.diff \ + patch-lua-factory-with-goa-disabled.diff + # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { @@ -62,37 +64,38 @@ compiler.blacklist *gcc* {clang < 300} configure.args --disable-silent-rules \ + --disable-debug \ --enable-compile-warnings=no \ - --disable-debug \ - --enable-goa \ --enable-filesystem \ --enable-optical-media \ --enable-jamendo \ --enable-lastfm-albumart \ --enable-youtube \ --enable-flickr \ - --disable-pocket \ --enable-podcasts \ - --disable-bookmarks \ --enable-shoutcast \ --enable-apple-trailers \ --enable-magnatune \ --enable-metadata-store \ --enable-vimeo \ --enable-gravatar \ - --disable-tracker \ --enable-bliptv \ --enable-raitv \ --enable-localmetadata \ - --disable-dmap \ --enable-tmdb \ --enable-freebox \ - --disable-dleyna + --disable-dleyna \ + --disable-goa \ + --disable-pocket \ + --disable-bookmarks \ + --disable-dmap \ + --disable-tracker -# --enable-pocket \ # requires goa-1.0 >= 3.11.4 -# --enable-tracker \ # --enable-dmap \ # apparently there is a bug in libdmapsharing # --enable-bookmarks \ # requires gom # --enable-dleyna \ # requires python-dbusmock +# --enable-goa \ # as of grilo-plugins 0.2.15 requires goa-1.0 >= 3.17.91 +# --enable-pocket \ # requires GOA +# --enable-tracker \ livecheck.type gnome-with-unstable Copied: users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/files/patch-lua-factory-with-goa-disabled.diff (from rev 140353, users/devans/GNOME-3/stable/dports/gnome/grilo-plugins/files/patch-lua-factory-with-goa-disabled.diff) =================================================================== --- users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/files/patch-lua-factory-with-goa-disabled.diff (rev 0) +++ users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/files/patch-lua-factory-with-goa-disabled.diff 2015-09-18 17:30:46 UTC (rev 140380) @@ -0,0 +1,91 @@ +From 523fc0ec89c51d5c5c38cb60326ec2f3092fd9e6 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Thu, 10 Sep 2015 15:38:25 +0200 +Subject: [PATCH] lua-factory: Fix compilation with g-o-a disabled + +https://bugzilla.gnome.org/show_bug.cgi?id=754895 +--- + src/lua-factory/grl-lua-factory.c | 8 ++++++++ + src/lua-factory/grl-lua-library.c | 7 +++---- + 2 files changed, 11 insertions(+), 4 deletions(-) + +diff --git a/src/lua-factory/grl-lua-factory.c b/src/lua-factory/grl-lua-factory.c +index 1b18ca4..5d62656 100644 +--- src/lua-factory/grl-lua-factory.c ++++ src/lua-factory/grl-lua-factory.c +@@ -272,7 +272,9 @@ static void + grl_lua_factory_plugin_deinit (GrlPlugin *plugin) + { + GCancellable *cancellable; ++#ifdef GOA_ENABLED + GList *lua_init_sources, *it; ++#endif + + cancellable = g_object_get_data (G_OBJECT (plugin), "cancellable"); + if (cancellable) { +@@ -281,11 +283,13 @@ grl_lua_factory_plugin_deinit (GrlPlugin *plugin) + g_object_set_data (G_OBJECT (plugin), "cancellable", NULL); + } + ++#ifdef GOA_ENABLED + lua_init_sources = g_object_get_data (G_OBJECT (plugin), "lua-init-sources"); + for (it = lua_init_sources; it != NULL; it = it->next) + grl_lua_goa_data_free (it->data); + g_list_free (lua_init_sources); + g_object_set_data (G_OBJECT (plugin), "lua-init-sources", NULL); ++#endif + } + + GRL_PLUGIN_REGISTER (grl_lua_factory_plugin_init, grl_lua_factory_plugin_deinit, LUA_FACTORY_PLUGIN_ID); +@@ -908,7 +912,9 @@ handle_goa_sources (GList *lua_sources, + + for (it = lua_sources; it; it = g_list_next (it)) { + lua_State *L; ++#ifdef GOA_ENABLED + GrlLuaGoaInitData *data; ++#endif + const char *lua_account_provider; + const char *lua_account_feature; + int ret; +@@ -980,12 +986,14 @@ handle_goa_sources (GList *lua_sources, + continue; + } + ++#ifdef GOA_ENABLED + data = g_new0 (GrlLuaGoaInitData, 1); + data->lua_source_path = g_strdup (it->data); + data->lua_account_provider = g_strdup (lua_account_provider); + data->lua_account_feature = g_strdup (lua_account_feature); + + new_goa_sources = g_list_prepend (new_goa_sources, data); ++#endif + + lua_close (L); + } +diff --git a/src/lua-factory/grl-lua-library.c b/src/lua-factory/grl-lua-library.c +index b93260b..ed7130d 100644 +--- src/lua-factory/grl-lua-library.c ++++ src/lua-factory/grl-lua-library.c +@@ -1321,7 +1321,7 @@ static gint + grl_l_goa_consumer_key (lua_State *L) + { + #ifndef GOA_ENABLED +- GRL_WARNING ("Source '%s' is broken as it tries to access gnome-online-accounts " ++ GRL_WARNING ("Source is broken as it tries to access gnome-online-accounts " + "information, but it should not have been created"); + return 0; + #else +@@ -1360,9 +1360,8 @@ static gint + grl_l_goa_access_token (lua_State *L) + { + #ifndef GOA_ENABLED +- GRL_WARNING ("Source '%s' is broken as it tries to access gnome-online-accounts " +- "information, but it should not have been created", +- grl_source_get_id (os->source)); ++ GRL_WARNING ("Source is broken as it tries to access gnome-online-accounts " ++ "information, but it should not have been created"); + return 0; + #else + { +-- +2.4.3 Copied: users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/files/patch-requires-goa-3.17.91.diff (from rev 140353, users/devans/GNOME-3/stable/dports/gnome/grilo-plugins/files/patch-requires-goa-3.17.91.diff) =================================================================== --- users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/files/patch-requires-goa-3.17.91.diff (rev 0) +++ users/devans/GNOME-3/unstable/dports/gnome/grilo-plugins/files/patch-requires-goa-3.17.91.diff 2015-09-18 17:30:46 UTC (rev 140380) @@ -0,0 +1,11 @@ +--- configure.ac.orig 2015-09-12 13:19:33.000000000 -0700 ++++ configure.ac 2015-09-12 13:20:09.000000000 -0700 +@@ -142,7 +142,7 @@ + + PKG_CHECK_MODULES(OAUTH, oauth, HAVE_OAUTH=yes, HAVE_OAUTH=no) + +-PKG_CHECK_MODULES(GOA, [goa-1.0 >= 3.7.2], HAVE_GOA=yes, HAVE_GOA=no) ++PKG_CHECK_MODULES(GOA, [goa-1.0 >= 3.17.91], HAVE_GOA=yes, HAVE_GOA=no) + + PKG_CHECK_MODULES(TOTEM_PL_PARSER, totem-plparser >= 3.4.1, HAVE_TOTEM_PL_PARSER=yes, HAVE_TOTEM_PL_PARSER=no) +
participants (1)
-
devans@macports.org