compiled gtkmm2 and gtkmm3 and all their dependencies
This commit is contained in:
1 parent
c075ed7f2f
commit
61163067dd
1289 files changed
+166
-14
No files matched your search
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+29
-2
@@ -146,8 +146,9 @@ def copy_properties(node, props, prop_dict):
|
|||||||
|
|
||||||
class GtkBuilderConverter(object):
|
class GtkBuilderConverter(object):
|
||||||
|
|
||||||
def __init__(self, skip_windows, root):
|
def __init__(self, skip_windows, target_version, root):
|
||||||
self.skip_windows = skip_windows
|
self.skip_windows = skip_windows
|
||||||
|
self.target_version = target_version
|
||||||
self.root = root
|
self.root = root
|
||||||
self.root_objects = []
|
self.root_objects = []
|
||||||
self.objects = {}
|
self.objects = {}
|
||||||
@@ -295,6 +296,25 @@ class GtkBuilderConverter(object):
|
|||||||
self._convert_menu(node, popup=True)
|
self._convert_menu(node, popup=True)
|
||||||
elif klass in WINDOWS and self.skip_windows:
|
elif klass in WINDOWS and self.skip_windows:
|
||||||
self._remove_window(node)
|
self._remove_window(node)
|
||||||
|
|
||||||
|
if self.target_version == "3.0":
|
||||||
|
if klass == "GtkComboBoxEntry":
|
||||||
|
node.setAttribute("class","GtkComboBox")
|
||||||
|
prop = self._dom.createElement("property")
|
||||||
|
prop.setAttribute("name", "has-entry")
|
||||||
|
prop.appendChild(self._dom.createTextNode("True"))
|
||||||
|
node.appendChild(prop)
|
||||||
|
elif klass == "GtkDialog":
|
||||||
|
for child in node.childNodes:
|
||||||
|
if child.nodeType != Node.ELEMENT_NODE:
|
||||||
|
continue
|
||||||
|
if child.tagName != 'property':
|
||||||
|
continue
|
||||||
|
if (child.getAttribute("name") not in ("has-separator", "has_separator")):
|
||||||
|
continue;
|
||||||
|
node.removeChild(child)
|
||||||
|
break
|
||||||
|
|
||||||
self._default_widget_converter(node)
|
self._default_widget_converter(node)
|
||||||
|
|
||||||
def _default_widget_converter(self, node):
|
def _default_widget_converter(self, node):
|
||||||
@@ -732,7 +752,10 @@ def usage():
|
|||||||
def main(args):
|
def main(args):
|
||||||
try:
|
try:
|
||||||
opts, args = getopt.getopt(args[1:], "hwr:",
|
opts, args = getopt.getopt(args[1:], "hwr:",
|
||||||
["help", "skip-windows", "root="])
|
["help",
|
||||||
|
"skip-windows",
|
||||||
|
"target-version=",
|
||||||
|
"root="])
|
||||||
except getopt.GetoptError:
|
except getopt.GetoptError:
|
||||||
usage()
|
usage()
|
||||||
return 2
|
return 2
|
||||||
@@ -746,6 +769,7 @@ def main(args):
|
|||||||
skip_windows = False
|
skip_windows = False
|
||||||
split = False
|
split = False
|
||||||
root = None
|
root = None
|
||||||
|
target_version = "2.0"
|
||||||
for o, a in opts:
|
for o, a in opts:
|
||||||
if o in ("-h", "--help"):
|
if o in ("-h", "--help"):
|
||||||
usage()
|
usage()
|
||||||
@@ -754,8 +778,11 @@ def main(args):
|
|||||||
root = a
|
root = a
|
||||||
elif o in ("-w", "--skip-windows"):
|
elif o in ("-w", "--skip-windows"):
|
||||||
skip_windows = True
|
skip_windows = True
|
||||||
|
elif o in ("-t", "--target-version"):
|
||||||
|
target_version = a
|
||||||
|
|
||||||
conv = GtkBuilderConverter(skip_windows=skip_windows,
|
conv = GtkBuilderConverter(skip_windows=skip_windows,
|
||||||
|
target_version=target_version,
|
||||||
root=root)
|
root=root)
|
||||||
conv.parse_file(input_filename)
|
conv.parse_file(input_filename)
|
||||||
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Loaded 100 of 1289 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user