[meld] build_helpers: Place gschemas elsewhere if frozen
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] build_helpers: Place gschemas elsewhere if frozen
- Date: Fri, 21 Mar 2014 23:25:49 +0000 (UTC)
commit f8a6587cc5fc34cce6ae0b3524e5c31b8554bafa
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Mar 22 08:17:13 2014 +1000
build_helpers: Place gschemas elsewhere if frozen
This still doesn't actually compile gschemas; for now that remains a
manual process on Windows.
meld/build_helpers.py | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/meld/build_helpers.py b/meld/build_helpers.py
index 747b048..0ebceb7 100644
--- a/meld/build_helpers.py
+++ b/meld/build_helpers.py
@@ -58,6 +58,10 @@ class build_data(distutils.cmd.Command):
('share/glib-2.0/schemas', ['data/org.gnome.meld.gschema.xml'])
]
+ frozen_gschemas = [
+ ('share/meld', ['data/gschemas.compiled']),
+ ]
+
def initialize_options(self):
pass
@@ -65,7 +69,10 @@ class build_data(distutils.cmd.Command):
pass
def get_data_files(self):
- return self.gschemas
+ if os.name == 'nt':
+ return self.frozen_gschemas
+ else:
+ return self.gschemas
def run(self):
data_files = self.distribution.data_files
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]