GNOME Bugzilla – Bug 641357
Remove libdir= from all Makefile.am
Last modified: 2012-04-03 10:42:43 UTC
Created attachment 179995 [details] [review] remove libdir= I have been using this patch for a while now. Removing libdir= makes it possible to cross compile and set GRL_PLUGINS_DIR properly, ie solve a problem I had with GRL_PLUGINS_DIR, where it being different during the build/install and at runtime (/tmp/mybuildroot/usr/lib/grilo-0.1 vs /usr/lib/grilo-0.1) I have tried it with and without cross compilation without a problem.
Checking it, plugins are installed in the wrong place. I guess you need to set up GRL_PLUGINS_DIR properly to install it in the right place. If you don't have it, then it should install plugins on default place. IMO, it would be better to have a --pluginsdir option when configuring plugins, so user can override default place to install plugins.
Comment on attachment 179995 [details] [review] remove libdir= [Setting "patch" flag and correcting mime type so this can actually be queried for.]
Created attachment 210706 [details] [review] plugins: Don't overwrite libdir in Makefile.am
That patch is for 0.1.x. Was fixed in a similar way in master already.
commit 4f3322ea55a468e51644b527880ef88e2c4a1ce5 Author: Bastien Nocera <hadess@hadess.net> Date: Tue Mar 27 17:03:04 2012 +0200 plugins: Don't overwrite libdir in Makefile.am https://bugzilla.gnome.org/show_bug.cgi?id=641357 src/media/apple-trailers/Makefile.am | 4 ++-- src/media/bliptv/Makefile.am | 6 +++--- src/media/bookmarks/Makefile.am | 4 ++-- src/media/filesystem/Makefile.am | 4 ++-- src/media/jamendo/Makefile.am | 4 ++-- src/media/podcasts/Makefile.am | 4 ++-- src/media/shoutcast/Makefile.am | 4 ++-- src/media/tracker/Makefile.am | 4 ++-- src/media/upnp/Makefile.am | 4 ++-- src/media/vimeo/Makefile.am | 4 ++-- src/media/youtube/Makefile.am | 4 ++-- src/metadata/fake-metadata/Makefile.am | 4 ++-- src/metadata/gravatar/Makefile.am | 4 ++-- src/metadata/lastfm-albumart/Makefile.am | 4 ++-- src/metadata/local-metadata/Makefile.am | 4 ++-- src/metadata/metadata-store/Makefile.am | 4 ++-- 16 files changed, 33 insertions(+), 33 deletions(-)