[gnome-music] Install the Python modules in the arch-independent location



commit b240c347d70aaee7dbcef19bb1e4438022efac6f
Author: Mathieu Bridon <bochecha fedoraproject org>
Date:   Sat Jul 27 11:05:20 2013 +0800

    Install the Python modules in the arch-independent location
    
    They are pure Python, and as a result don't need to be installed in an
    arch-specific place.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704967

 gnome-music.in         |    4 ++++
 gnomemusic/Makefile.am |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gnome-music.in b/gnome-music.in
index cf2f1f4..0e9b5f4 100644
--- a/gnome-music.in
+++ b/gnome-music.in
@@ -1,7 +1,11 @@
 #!/usr/bin/env python3
 
 import sys, signal, os, locale, gettext
+
+# Make sure we'll find the pygobject module, even in JHBuild
 sys.path.insert(1, '@pyexecdir@')
+# Make sure we'll find the gnomemusic module, even in JHBuild
+sys.path.insert(1, '@pythondir@')
 
 from gi.repository import Gio, Gtk
 import gnomemusic
diff --git a/gnomemusic/Makefile.am b/gnomemusic/Makefile.am
index f5e7062..5fd6c97 100644
--- a/gnomemusic/Makefile.am
+++ b/gnomemusic/Makefile.am
@@ -1,4 +1,4 @@
-appdir = $(pyexecdir)/gnomemusic/
+appdir = $(pythondir)/gnomemusic/
 
 app_PYTHON = \
        albumArtCache.py \


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