Remove unused marshallers-related files

We don't use gmarshal.list any more, and the generated gmarshal.strings
file is not used after the Python port of glib-genmarshal.

https://bugzilla.gnome.org/show_bug.cgi?id=784528
This commit is contained in:
Emmanuele Bassi
2017-07-05 19:26:26 +01:00
parent f7643a7df7
commit 9c66e65b29
5 changed files with 3 additions and 66 deletions

View File

@@ -297,26 +297,6 @@ def main(argv):
os.path.join(srcroot, 'gobject', 'glib-mkenums'),
mkenums_vars)
#gmarshal.strings
cwd = os.getcwd()
os.chdir(os.path.join(srcroot, 'gobject'))
with open(os.path.join(srcroot, 'gobject', 'gmarshal.strings'), 'w') as d:
with open(os.path.join(srcroot, 'gobject', 'gmarshal.list'), 'r') as s:
for i in s:
if i[0] not in string.ascii_uppercase: #^[A-Z]
continue
line = '"g_cclosure_marshal_' # s/^/"g_cclosure_marshal_/
for c in i:
if c == ':':
line += '__' # s/:/__
elif c == ',':
line += '_' # s/,/_
elif c not in '\r\n':
line += c
d.write(line + '",\n')
#subprocess.Popen([opt.perl, 'marshal-genstrings.pl'], stdout=d).communicate()
os.chdir(cwd)
generate_libgobject_sourcefiles(srcroot,
os.path.join(srcroot, 'win32', 'libgobject.sourcefiles'), '9')
generate_libgobject_sourcefiles(srcroot,