Can compile full test suite.

pull/356/head
Jussi Pakkanen 9 years ago
parent a5508d3fd3
commit 61cb4ae9ca
  1. 2
      meson/interpreter.py
  2. 8
      meson/modules/gnome.py
  3. 4
      meson/modules/pkgconfig.py
  4. 6
      meson/modules/qt4.py
  5. 6
      meson/modules/qt5.py
  6. 10
      meson/modules/rpm.py
  7. 4
      meson/modules/windows.py
  8. 2
      scripts/symbolextractor.py

@ -1094,7 +1094,7 @@ class Interpreter():
raise InvalidCode('Import takes one argument.') raise InvalidCode('Import takes one argument.')
modname = args[0] modname = args[0]
if not modname in self.environment.coredata.modules: if not modname in self.environment.coredata.modules:
module = importlib.import_module('modules.' + modname).initialize() module = importlib.import_module('meson.modules.' + modname).initialize()
self.environment.coredata.modules[modname] = module self.environment.coredata.modules[modname] = module
return ModuleHolder(modname, self.environment.coredata.modules[modname], self) return ModuleHolder(modname, self.environment.coredata.modules[modname], self)

@ -15,13 +15,13 @@
'''This module provides helper functions for Gnome/GLib related '''This module provides helper functions for Gnome/GLib related
functionality such as gobject-introspection and gresources.''' functionality such as gobject-introspection and gresources.'''
import build from .. import build
import os, sys import os, sys
import subprocess import subprocess
from coredata import MesonException from ..coredata import MesonException
import mlog from .. import mlog
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET
from mesonlib import File from ..mesonlib import File
girwarning_printed = False girwarning_printed = False

@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import coredata, build from .. import coredata, build
import mesonlib from .. import mesonlib
import os import os
class PkgConfigModule: class PkgConfigModule:

@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import dependencies, mlog from .. import dependencies, mlog
import os, subprocess import os, subprocess
import build from .. import build
from coredata import MesonException from ..coredata import MesonException
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET
class Qt4Module(): class Qt4Module():

@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import dependencies, mlog from .. import dependencies, mlog
import os, subprocess import os, subprocess
import build from .. import build
from coredata import MesonException from ..coredata import MesonException
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET
class Qt5Module(): class Qt5Module():

@ -15,11 +15,11 @@
'''This module provides helper functions for RPM related '''This module provides helper functions for RPM related
functionality such as generating template RPM spec file.''' functionality such as generating template RPM spec file.'''
import build from .. import build
import compilers from .. import compilers
import datetime from .. import datetime
import mlog from .. import mlog
import modules.gnome from .. import modules.gnome
import os import os
class RPMModule: class RPMModule:

@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import mesonlib, dependencies, build from .. import mesonlib, dependencies, build
from coredata import MesonException from ..coredata import MesonException
import os import os
class WindowsModule: class WindowsModule:

@ -23,7 +23,7 @@
# http://cgit.freedesktop.org/libreoffice/core/commit/?id=3213cd54b76bc80a6f0516aac75a48ff3b2ad67c # http://cgit.freedesktop.org/libreoffice/core/commit/?id=3213cd54b76bc80a6f0516aac75a48ff3b2ad67c
import sys, subprocess import sys, subprocess
import mesonlib from meson import mesonlib
import argparse import argparse
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()

Loading…
Cancel
Save