compiled gtkmm2 and gtkmm3 and all their dependencies
This commit is contained in:
		
							
								
								
									
										4
									
								
								gtk-nsis-pack/README.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								gtk-nsis-pack/README.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| The latest version of this file can be found at | ||||
| http://gtk-win.sourceforge.net | ||||
| and | ||||
| http://sourceforge.net/project/showfiles.php?group_id=71914 | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-cache.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-cache.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-cat.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-cat.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-list.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-list.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-match.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-match.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-pattern.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-pattern.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-query.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-query.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-scan.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-scan.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-validate.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/fc-validate.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gdk-pixbuf-query-loaders.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gdk-pixbuf-query-loaders.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gspawn-win64-helper-console.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gspawn-win64-helper-console.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gspawn-win64-helper.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gspawn-win64-helper.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										799
									
								
								gtk-nsis-pack/bin/gtk-builder-convert
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										799
									
								
								gtk-nsis-pack/bin/gtk-builder-convert
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,799 @@ | ||||
| #!/usr/bin/env python | ||||
| # | ||||
| # Copyright (C) 2006-2008 Async Open Source | ||||
| #                         Henrique Romano <henrique@async.com.br> | ||||
| #                         Johan Dahlin <jdahlin@async.com.br> | ||||
| # | ||||
| # This program is free software; you can redistribute it and/or | ||||
| # modify it under the terms of the GNU Lesser General Public License | ||||
| # as published by the Free Software Foundation; either version 2 | ||||
| # of the License, or (at your option) any later version. | ||||
| # | ||||
| # This program is distributed in the hope that it will be useful, | ||||
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
| # GNU General Public License for more details. | ||||
| # | ||||
| # You should have received a copy of the GNU Lesser General Public License | ||||
| # along with this program; if not, write to the Free Software | ||||
| # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||||
| # | ||||
| # TODO: | ||||
| #  Toolbars | ||||
|  | ||||
| """Usage: gtk-builder-convert [OPTION] [INPUT] [OUTPUT] | ||||
| Converts Glade files into XML files which can be loaded with GtkBuilder. | ||||
| The [INPUT] file is | ||||
|  | ||||
|   -w, --skip-windows     Convert everything but GtkWindow subclasses. | ||||
|   -r, --root             Convert only widget named root and its children | ||||
|   -h, --help             display this help and exit | ||||
|  | ||||
| When OUTPUT is -, write to standard output. | ||||
|  | ||||
| Examples: | ||||
|   gtk-builder-convert preference.glade preferences.ui | ||||
|  | ||||
| Report bugs to http://bugzilla.gnome.org/.""" | ||||
|  | ||||
| import getopt | ||||
| import os | ||||
| import sys | ||||
|  | ||||
| from xml.dom import minidom, Node | ||||
|  | ||||
| DIALOGS = ['GtkDialog', | ||||
|            'GtkFileChooserDialog', | ||||
|            'GtkMessageDialog'] | ||||
| WINDOWS = ['GtkWindow'] + DIALOGS | ||||
|  | ||||
| # The subprocess is only available in Python 2.4+ | ||||
| try: | ||||
|     import subprocess | ||||
|     subprocess # pyflakes | ||||
| except ImportError: | ||||
|     subprocess = None | ||||
|  | ||||
| def get_child_nodes(node): | ||||
|     assert node.tagName == 'object' | ||||
|     nodes = [] | ||||
|     for child in node.childNodes: | ||||
|         if child.nodeType != Node.ELEMENT_NODE: | ||||
|             continue | ||||
|         if child.tagName != 'child': | ||||
|             continue | ||||
|         nodes.append(child) | ||||
|     return nodes | ||||
|  | ||||
| def get_properties(node): | ||||
|     assert node.tagName == 'object' | ||||
|     properties = {} | ||||
|     for child in node.childNodes: | ||||
|         if child.nodeType != Node.ELEMENT_NODE: | ||||
|             continue | ||||
|         if child.tagName != 'property': | ||||
|             continue | ||||
|         value = child.childNodes[0].data | ||||
|         properties[child.getAttribute('name')] = value | ||||
|     return properties | ||||
|  | ||||
| def get_property(node, property_name): | ||||
|     assert node.tagName == 'object' | ||||
|     properties = get_properties(node) | ||||
|     return properties.get(property_name) | ||||
|  | ||||
| def get_property_node(node, property_name): | ||||
|     assert node.tagName == 'object' | ||||
|     properties = {} | ||||
|     for child in node.childNodes: | ||||
|         if child.nodeType != Node.ELEMENT_NODE: | ||||
|             continue | ||||
|         if child.tagName != 'property': | ||||
|             continue | ||||
|         if child.getAttribute('name') == property_name: | ||||
|             return child | ||||
|  | ||||
| def get_signal_nodes(node): | ||||
|     assert node.tagName == 'object' | ||||
|     signals = [] | ||||
|     for child in node.childNodes: | ||||
|         if child.nodeType != Node.ELEMENT_NODE: | ||||
|             continue | ||||
|         if child.tagName == 'signal': | ||||
|             signals.append(child) | ||||
|     return signals | ||||
|  | ||||
| def get_property_nodes(node): | ||||
|     assert node.tagName == 'object' | ||||
|     properties = [] | ||||
|     for child in node.childNodes: | ||||
|         if child.nodeType != Node.ELEMENT_NODE: | ||||
|             continue | ||||
|         # FIXME: handle comments | ||||
|         if child.tagName == 'property': | ||||
|             properties.append(child) | ||||
|     return properties | ||||
|  | ||||
| def get_accelerator_nodes(node): | ||||
|     assert node.tagName == 'object' | ||||
|     accelerators = [] | ||||
|     for child in node.childNodes: | ||||
|         if child.nodeType != Node.ELEMENT_NODE: | ||||
|             continue | ||||
|         if child.tagName == 'accelerator': | ||||
|             accelerators.append(child) | ||||
|     return accelerators | ||||
|  | ||||
| def get_object_node(child_node): | ||||
|     assert child_node.tagName == 'child', child_node | ||||
|     nodes = [] | ||||
|     for node in child_node.childNodes: | ||||
|         if node.nodeType != Node.ELEMENT_NODE: | ||||
|             continue | ||||
|         if node.tagName == 'object': | ||||
|             nodes.append(node) | ||||
|     assert len(nodes) == 1, nodes | ||||
|     return nodes[0] | ||||
|  | ||||
| def copy_properties(node, props, prop_dict): | ||||
|     assert node.tagName == 'object' | ||||
|     for prop_name in props: | ||||
|         child = get_property_node(node, prop_name) | ||||
|         if child is not None: | ||||
|             prop_dict[prop_name] = child | ||||
|  | ||||
|     return node | ||||
|  | ||||
| class GtkBuilderConverter(object): | ||||
|  | ||||
|     def __init__(self, skip_windows, target_version, root): | ||||
|         self.skip_windows = skip_windows | ||||
|         self.target_version = target_version | ||||
|         self.root = root | ||||
|         self.root_objects = [] | ||||
|         self.objects = {} | ||||
|  | ||||
|     # | ||||
|     # Public API | ||||
|     # | ||||
|  | ||||
|     def parse_file(self, file): | ||||
|         self._dom = minidom.parse(file) | ||||
|         self._parse() | ||||
|  | ||||
|     def parse_buffer(self, buffer): | ||||
|         self._dom = minidom.parseString(buffer) | ||||
|         self._parse() | ||||
|  | ||||
|     def to_xml(self): | ||||
|         xml = self._dom.toprettyxml("", "") | ||||
|         return xml.encode('utf-8') | ||||
|  | ||||
|     # | ||||
|     # Private | ||||
|     # | ||||
|  | ||||
|     def _get_object(self, name): | ||||
|         return self.objects.get(name) | ||||
|  | ||||
|     def _get_objects_by_attr(self, attribute, value): | ||||
|         return [w for w in self._dom.getElementsByTagName("object") | ||||
|                       if w.getAttribute(attribute) == value] | ||||
|  | ||||
|     def _create_object(self, obj_class, obj_id, template=None, properties=None): | ||||
|         """ | ||||
|         Creates a new <object> tag. | ||||
|         Optionally a name template can be provided which will be used | ||||
|         to avoid naming collisions. | ||||
|         The properties dictionary can either contain string values or Node | ||||
|         values. If a node is provided the name of the node will be overridden | ||||
|         by the dictionary key. | ||||
|  | ||||
|         @param obj_class: class of the object (class tag) | ||||
|         @param obj_id: identifier of the object (id tag) | ||||
|         @param template: name template to use, for example 'button' | ||||
|         @param properties: dictionary of properties | ||||
|         @type properties: string or Node. | ||||
|         @returns: Newly created node of the object | ||||
|         """ | ||||
|         if template is not None: | ||||
|             count = 1 | ||||
|             while True: | ||||
|                 obj_id = template + str(count) | ||||
|                 widget = self._get_object(obj_id) | ||||
|                 if widget is None: | ||||
|                     break | ||||
|  | ||||
|                 count += 1 | ||||
|  | ||||
|         obj = self._dom.createElement('object') | ||||
|         obj.setAttribute('class', obj_class) | ||||
|         obj.setAttribute('id', obj_id) | ||||
|         if properties: | ||||
|             for name, value in properties.items(): | ||||
|                 if isinstance(value, Node): | ||||
|                     # Reuse the node, so translatable and context still will be | ||||
|                     # set when converting nodes. See also #509153 | ||||
|                     prop = value | ||||
|                 else: | ||||
|                     prop = self._dom.createElement('property') | ||||
|                     prop.appendChild(self._dom.createTextNode(value)) | ||||
|  | ||||
|                 prop.setAttribute('name', str(name)) | ||||
|                 obj.appendChild(prop) | ||||
|         self.objects[obj_id] = obj | ||||
|         return obj | ||||
|  | ||||
|     def _create_root_object(self, obj_class, template, properties=None): | ||||
|         obj = self._create_object(obj_class, None, template, properties) | ||||
|         self.root_objects.append(obj) | ||||
|         return obj | ||||
|  | ||||
|     def _parse(self): | ||||
|         glade_iface = self._dom.getElementsByTagName("glade-interface") | ||||
|         assert glade_iface, ("Badly formed XML, there is " | ||||
|                              "no <glade-interface> tag.") | ||||
|         # Rename glade-interface to interface | ||||
|         glade_iface[0].tagName = 'interface' | ||||
|         self._interface = glade_iface[0] | ||||
|  | ||||
|         # Remove glade-interface doc type | ||||
|         for node in self._dom.childNodes: | ||||
|             if node.nodeType == Node.DOCUMENT_TYPE_NODE: | ||||
|                 if node.name == 'glade-interface': | ||||
|                     self._dom.removeChild(node) | ||||
|  | ||||
|         # Strip unsupported tags | ||||
|         for tag in ['requires', 'requires-version']: | ||||
|             for child in self._dom.getElementsByTagName(tag): | ||||
|                 child.parentNode.removeChild(child) | ||||
|  | ||||
|         if self.root: | ||||
|             self._strip_root(self.root) | ||||
|  | ||||
|         # Rename widget to object | ||||
|         objects = self._dom.getElementsByTagName("widget") | ||||
|         for node in objects: | ||||
|             node.tagName = "object" | ||||
|  | ||||
|         for node in objects: | ||||
|             self._convert(node.getAttribute("class"), node) | ||||
|             if self._get_object(node.getAttribute('id')) is not None: | ||||
| 		print "WARNING: duplicate id \"" + node.getAttribute('id') + "\"" | ||||
|             self.objects[node.getAttribute('id')] = node | ||||
|  | ||||
|         # Convert Gazpachos UI tag | ||||
|         for node in self._dom.getElementsByTagName("ui"): | ||||
|             self._convert_ui(node) | ||||
|  | ||||
|         # Convert accessibility tag | ||||
|         for node in self._dom.getElementsByTagName("accessibility"): | ||||
|             self._convert_accessibility(node) | ||||
|  | ||||
|         # Output the newly created root objects and sort them | ||||
|         # by attribute id | ||||
|         # FIXME: Use sorted(self.root_objects, | ||||
|         #                   key=lambda n: n.getAttribute('id'), | ||||
|         #                   reverse=True): | ||||
|         # when we can depend on python 2.4 or higher | ||||
|         root_objects = self.root_objects[:] | ||||
|         root_objects.sort(lambda a, b: cmp(b.getAttribute('id'), | ||||
|                                            a.getAttribute('id'))) | ||||
|         for obj in root_objects: | ||||
|             self._interface.childNodes.insert(0, obj) | ||||
|  | ||||
|     def _convert(self, klass, node): | ||||
|         if klass == 'GtkNotebook': | ||||
|             self._packing_prop_to_child_attr(node, "type", "tab") | ||||
|         elif klass in ['GtkExpander', 'GtkFrame']: | ||||
|             self._packing_prop_to_child_attr( | ||||
|                 node, "type", "label_item", "label") | ||||
|         elif klass == "GtkMenuBar": | ||||
|             self._convert_menu(node) | ||||
|         elif klass == "GtkMenu": | ||||
|             # Only convert toplevel popups | ||||
|             if node.parentNode == self._interface: | ||||
|                 self._convert_menu(node, popup=True) | ||||
|         elif klass in WINDOWS and self.skip_windows: | ||||
|             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) | ||||
|  | ||||
|     def _default_widget_converter(self, node): | ||||
|         klass = node.getAttribute("class") | ||||
|         for prop in get_property_nodes(node): | ||||
|             prop_name = prop.getAttribute("name") | ||||
|             if prop_name == "sizegroup": | ||||
|                 self._convert_sizegroup(node, prop) | ||||
|             elif prop_name == "tooltip" and klass != "GtkAction": | ||||
|                 prop.setAttribute("name", "tooltip-text") | ||||
|             elif prop_name in ["response_id", 'response-id']: | ||||
|                 # It does not make sense to convert responses when | ||||
|                 # we're not going to output dialogs | ||||
|                 if self.skip_windows: | ||||
|                     continue | ||||
|                 object_id = node.getAttribute('id') | ||||
|                 response = prop.childNodes[0].data | ||||
|                 self._convert_dialog_response(node, object_id, response) | ||||
|                 prop.parentNode.removeChild(prop) | ||||
|             elif prop_name == "adjustment": | ||||
|                 self._convert_adjustment(prop) | ||||
|             elif prop_name == "items" and klass in ['GtkComboBox', | ||||
|                                                     'GtkComboBoxEntry']: | ||||
|                 self._convert_combobox_items(node, prop) | ||||
|             elif prop_name == "text" and klass == 'GtkTextView': | ||||
|                 self._convert_textview_text(prop) | ||||
|  | ||||
|     def _remove_window(self, node): | ||||
|         object_node = get_object_node(get_child_nodes(node)[0]) | ||||
|         parent = node.parentNode | ||||
|         parent.removeChild(node) | ||||
|         parent.appendChild(object_node) | ||||
|  | ||||
|     def _convert_menu(self, node, popup=False): | ||||
|         if node.hasAttribute('constructor'): | ||||
|             return | ||||
|  | ||||
|         uimgr = self._create_root_object('GtkUIManager', | ||||
|                                          template='uimanager') | ||||
|  | ||||
|         if popup: | ||||
|             name = 'popup' | ||||
|         else: | ||||
|             name = 'menubar' | ||||
|  | ||||
|         menu = self._dom.createElement(name) | ||||
|         menu.setAttribute('name', node.getAttribute('id')) | ||||
|         node.setAttribute('constructor', uimgr.getAttribute('id')) | ||||
|  | ||||
|         for child in get_child_nodes(node): | ||||
|             obj_node = get_object_node(child) | ||||
|             item = self._convert_menuitem(uimgr, obj_node) | ||||
|             menu.appendChild(item) | ||||
|             child.removeChild(obj_node) | ||||
|             child.parentNode.removeChild(child) | ||||
|  | ||||
|         ui = self._dom.createElement('ui') | ||||
|         uimgr.appendChild(ui) | ||||
|  | ||||
|         ui.appendChild(menu) | ||||
|  | ||||
|     def _convert_menuitem(self, uimgr, obj_node): | ||||
|         children = get_child_nodes(obj_node) | ||||
|         name = 'menuitem' | ||||
|         if children: | ||||
|             child_node = children[0] | ||||
|             menu_node = get_object_node(child_node) | ||||
|             # Can be GtkImage, which will take care of later. | ||||
|             if menu_node.getAttribute('class') == 'GtkMenu': | ||||
|                 name = 'menu' | ||||
|  | ||||
|         object_class = obj_node.getAttribute('class') | ||||
|         if object_class in ['GtkMenuItem', | ||||
|                             'GtkImageMenuItem', | ||||
|                             'GtkCheckMenuItem', | ||||
|                             'GtkRadioMenuItem']: | ||||
|             menu = self._dom.createElement(name) | ||||
|         elif object_class == 'GtkSeparatorMenuItem': | ||||
|             return self._dom.createElement('separator') | ||||
|         else: | ||||
|             raise NotImplementedError(object_class) | ||||
|  | ||||
|         menu.setAttribute('action', obj_node.getAttribute('id')) | ||||
|         self._add_action_from_menuitem(uimgr, obj_node) | ||||
|         if children: | ||||
|             for child in get_child_nodes(menu_node): | ||||
|                 obj_node = get_object_node(child) | ||||
|                 item = self._convert_menuitem(uimgr, obj_node) | ||||
|                 menu.appendChild(item) | ||||
|                 child.removeChild(obj_node) | ||||
|                 child.parentNode.removeChild(child) | ||||
|         return menu | ||||
|  | ||||
|     def _menuitem_to_action(self, node, properties): | ||||
|         copy_properties(node, ['label', 'tooltip'], properties) | ||||
|  | ||||
|     def _togglemenuitem_to_action(self, node, properties): | ||||
|         self._menuitem_to_action(node, properties) | ||||
|         copy_properties(node, ['active'], properties) | ||||
|  | ||||
|     def _radiomenuitem_to_action(self, node, properties): | ||||
|         self._togglemenuitem_to_action(node, properties) | ||||
|         copy_properties(node, ['group'], properties) | ||||
|  | ||||
|     def _add_action_from_menuitem(self, uimgr, node): | ||||
|         properties = {} | ||||
|         object_class = node.getAttribute('class') | ||||
|         object_id = node.getAttribute('id') | ||||
|         if object_class == 'GtkMenuItem': | ||||
|             name = 'GtkAction' | ||||
|             self._menuitem_to_action(node, properties) | ||||
|         elif object_class == 'GtkCheckMenuItem': | ||||
|             name = 'GtkToggleAction' | ||||
|             self._togglemenuitem_to_action(node, properties) | ||||
|         elif object_class == 'GtkRadioMenuItem': | ||||
|             name = 'GtkRadioAction' | ||||
|             self._radiomenuitem_to_action(node, properties) | ||||
|         elif object_class == 'GtkImageMenuItem': | ||||
|             name = 'GtkAction' | ||||
|             children = get_child_nodes(node) | ||||
|             if (children and | ||||
|                 children[0].getAttribute('internal-child') == 'image'): | ||||
|                 image = get_object_node(children[0]) | ||||
|                 child = get_property_node(image, 'stock') | ||||
|                 if child is not None: | ||||
|                     properties['stock_id'] = child | ||||
|             self._menuitem_to_action(node, properties) | ||||
|         elif object_class == 'GtkSeparatorMenuItem': | ||||
|             return | ||||
|         else: | ||||
|             raise NotImplementedError(object_class) | ||||
|  | ||||
|         if get_property(node, 'use_stock') == 'True': | ||||
|             if 'label' in properties: | ||||
|                 properties['stock_id'] = properties['label'] | ||||
|                 del properties['label'] | ||||
|  | ||||
|         properties['name'] = object_id | ||||
|         action = self._create_object(name, | ||||
|                                      object_id, | ||||
|                                      properties=properties) | ||||
|         for signal in get_signal_nodes(node): | ||||
|             signal_name = signal.getAttribute('name') | ||||
|             if signal_name in ['activate', 'toggled']: | ||||
|                 action.appendChild(signal) | ||||
|             else: | ||||
|                 print 'Unhandled signal %s::%s' % (node.getAttribute('class'), | ||||
|                                                    signal_name) | ||||
|  | ||||
|         if not uimgr.childNodes: | ||||
|             child = self._dom.createElement('child') | ||||
|             uimgr.appendChild(child) | ||||
|  | ||||
|             group = self._create_object('GtkActionGroup', None, | ||||
|                                         template='actiongroup') | ||||
|             child.appendChild(group) | ||||
|         else: | ||||
|             group = uimgr.childNodes[0].childNodes[0] | ||||
|  | ||||
|         child = self._dom.createElement('child') | ||||
|         group.appendChild(child) | ||||
|         child.appendChild(action) | ||||
|  | ||||
|         for accelerator in get_accelerator_nodes(node): | ||||
|             signal_name = accelerator.getAttribute('signal') | ||||
|             if signal_name != 'activate': | ||||
|                 print 'Unhandled accelerator signal for %s::%s' % ( | ||||
|                     node.getAttribute('class'), signal_name) | ||||
|                 continue | ||||
|             accelerator.removeAttribute('signal') | ||||
|             child.appendChild(accelerator) | ||||
|  | ||||
|     def _convert_sizegroup(self, node, prop): | ||||
|         # This is Gazpacho only | ||||
|         node.removeChild(prop) | ||||
|         obj = self._get_object(prop.childNodes[0].data) | ||||
|         if obj is None: | ||||
|             widgets = self._get_objects_by_attr("class", "GtkSizeGroup") | ||||
|             if widgets: | ||||
|                 obj = widgets[-1] | ||||
|             else: | ||||
|                 obj = self._create_root_object('GtkSizeGroup', | ||||
|                                                template='sizegroup') | ||||
|  | ||||
|         widgets = obj.getElementsByTagName("widgets") | ||||
|         if widgets: | ||||
|             assert len(widgets) == 1 | ||||
|             widgets = widgets[0] | ||||
|         else: | ||||
|             widgets = self._dom.createElement("widgets") | ||||
|             obj.appendChild(widgets) | ||||
|  | ||||
|         member = self._dom.createElement("widget") | ||||
|         member.setAttribute("name", node.getAttribute("id")) | ||||
|         widgets.appendChild(member) | ||||
|  | ||||
|     def _convert_dialog_response(self, node, object_name, response): | ||||
|         # 1) Get parent dialog node | ||||
|         while True: | ||||
|             # If we can't find the parent dialog, give up | ||||
|             if node == self._dom: | ||||
|                 return | ||||
|  | ||||
|             if (node.tagName == 'object' and | ||||
|                 node.getAttribute('class') in DIALOGS): | ||||
|                 dialog = node | ||||
|                 break | ||||
|             node = node.parentNode | ||||
|             assert node | ||||
|  | ||||
|         # 2) Get dialogs action-widgets tag, create if not found | ||||
|         for child in dialog.childNodes: | ||||
|             if child.nodeType != Node.ELEMENT_NODE: | ||||
|                 continue | ||||
|             if child.tagName == 'action-widgets': | ||||
|                 actions = child | ||||
|                 break | ||||
|         else: | ||||
|             actions = self._dom.createElement("action-widgets") | ||||
|             dialog.appendChild(actions) | ||||
|  | ||||
|         # 3) Add action-widget tag for the response | ||||
|         action = self._dom.createElement("action-widget") | ||||
|         action.setAttribute("response", response) | ||||
|         action.appendChild(self._dom.createTextNode(object_name)) | ||||
|         actions.appendChild(action) | ||||
|  | ||||
|     def _convert_adjustment(self, prop): | ||||
|         properties = {} | ||||
|         if prop.childNodes: | ||||
|             data = prop.childNodes[0].data | ||||
|             value, lower, upper, step, page, page_size = data.split(' ') | ||||
|             properties.update(value=value, | ||||
|                               lower=lower, | ||||
|                               upper=upper, | ||||
|                               step_increment=step, | ||||
|                               page_increment=page, | ||||
|                               page_size=page_size) | ||||
|         else: | ||||
|             prop.appendChild(self._dom.createTextNode("")) | ||||
|  | ||||
|         adj = self._create_root_object("GtkAdjustment", | ||||
|                                        template='adjustment', | ||||
|                                        properties=properties) | ||||
|         prop.childNodes[0].data = adj.getAttribute('id') | ||||
|  | ||||
|     def _convert_combobox_items(self, node, prop): | ||||
|         parent = prop.parentNode | ||||
|         if not prop.childNodes: | ||||
|             parent.removeChild(prop) | ||||
|             return | ||||
|  | ||||
|         translatable_attr = prop.attributes.get('translatable') | ||||
|         translatable = translatable_attr is not None and translatable_attr.value == 'yes' | ||||
|         has_context_attr = prop.attributes.get('context') | ||||
|         has_context = has_context_attr is not None and has_context_attr.value == 'yes' | ||||
|         comments_attr = prop.attributes.get('comments') | ||||
|         comments = comments_attr is not None and comments_attr.value or None | ||||
|  | ||||
|         value = prop.childNodes[0].data | ||||
|         model = self._create_root_object("GtkListStore", | ||||
|                                          template="model") | ||||
|  | ||||
|         columns = self._dom.createElement('columns') | ||||
|         model.appendChild(columns) | ||||
|  | ||||
|         column = self._dom.createElement('column') | ||||
|         column.setAttribute('type', 'gchararray') | ||||
|         columns.appendChild(column) | ||||
|  | ||||
|         data = self._dom.createElement('data') | ||||
|         model.appendChild(data) | ||||
|  | ||||
|         if value.endswith('\n'): | ||||
|             value = value[:-1] | ||||
|         for item in value.split('\n'): | ||||
|             row = self._dom.createElement('row') | ||||
|             data.appendChild(row) | ||||
|  | ||||
|             col = self._dom.createElement('col') | ||||
|             col.setAttribute('id', '0') | ||||
|             if translatable: | ||||
|                 col.setAttribute('translatable', 'yes') | ||||
|             if has_context: | ||||
|                 splitting = item.split('|', 1) | ||||
|                 if len(splitting) == 2: | ||||
|                     context, item = splitting | ||||
|                     col.setAttribute('context', context) | ||||
|             if comments is not None: | ||||
|                 col.setAttribute('comments', comments) | ||||
|             col.appendChild(self._dom.createTextNode(item)) | ||||
|             row.appendChild(col) | ||||
|  | ||||
|         model_prop = self._dom.createElement('property') | ||||
|         model_prop.setAttribute('name', 'model') | ||||
|         model_prop.appendChild( | ||||
|             self._dom.createTextNode(model.getAttribute('id'))) | ||||
|         parent.appendChild(model_prop) | ||||
|  | ||||
|         parent.removeChild(prop) | ||||
|  | ||||
|         child = self._dom.createElement('child') | ||||
|         node.appendChild(child) | ||||
|         cell_renderer = self._create_object('GtkCellRendererText', None, | ||||
|                                             template='renderer') | ||||
|         child.appendChild(cell_renderer) | ||||
|  | ||||
|         attributes = self._dom.createElement('attributes') | ||||
|         child.appendChild(attributes) | ||||
|  | ||||
|         attribute = self._dom.createElement('attribute') | ||||
|         attributes.appendChild(attribute) | ||||
|         attribute.setAttribute('name', 'text') | ||||
|         attribute.appendChild(self._dom.createTextNode('0')) | ||||
|  | ||||
|     def _convert_textview_text(self, prop): | ||||
|         if not prop.childNodes: | ||||
|             prop.parentNode.removeChild(prop) | ||||
|             return | ||||
|  | ||||
|         data = prop.childNodes[0].data | ||||
|         if prop.hasAttribute('translatable'): | ||||
|             prop.removeAttribute('translatable') | ||||
|         tbuffer = self._create_root_object("GtkTextBuffer", | ||||
|                                            template='textbuffer', | ||||
|                                            properties=dict(text=data)) | ||||
|         prop.childNodes[0].data = tbuffer.getAttribute('id') | ||||
|         prop.setAttribute('name', 'buffer') | ||||
|  | ||||
|     def _packing_prop_to_child_attr(self, node, prop_name, prop_val, | ||||
|                                    attr_val=None): | ||||
|         for child in get_child_nodes(node): | ||||
|             packing_props = [p for p in child.childNodes if p.nodeName == "packing"] | ||||
|             if not packing_props: | ||||
|                 continue | ||||
|             assert len(packing_props) == 1 | ||||
|             packing_prop = packing_props[0] | ||||
|             properties = packing_prop.getElementsByTagName("property") | ||||
|             for prop in properties: | ||||
|                 if (prop.getAttribute("name") != prop_name or | ||||
|                     prop.childNodes[0].data != prop_val): | ||||
|                     continue | ||||
|                 packing_prop.removeChild(prop) | ||||
|                 child.setAttribute(prop_name, attr_val or prop_val) | ||||
|             if len(properties) == 1: | ||||
|                 child.removeChild(packing_prop) | ||||
|  | ||||
|     def _convert_ui(self, node): | ||||
|         cdata = node.childNodes[0] | ||||
|         data = cdata.toxml().strip() | ||||
|         if not data.startswith("<![CDATA[") or not data.endswith("]]>"): | ||||
|             return | ||||
|         data = data[9:-3] | ||||
|         child = minidom.parseString(data).childNodes[0] | ||||
|         nodes = child.childNodes[:] | ||||
|         for child_node in nodes: | ||||
|             node.appendChild(child_node) | ||||
|         node.removeChild(cdata) | ||||
|         if not node.hasAttribute("id"): | ||||
|             return | ||||
|  | ||||
|         # Updating references made by widgets | ||||
|         parent_id = node.parentNode.getAttribute("id") | ||||
|         for widget in self._get_objects_by_attr("constructor", | ||||
|                                                 node.getAttribute("id")): | ||||
|             widget.getAttributeNode("constructor").value = parent_id | ||||
|         node.removeAttribute("id") | ||||
|  | ||||
|     def _convert_accessibility(self, node): | ||||
|         objectNode = node.parentNode | ||||
|         parent_id = objectNode.getAttribute("id") | ||||
|  | ||||
|         properties = {} | ||||
|         for node in node.childNodes: | ||||
|             if node.nodeName == 'atkproperty': | ||||
|                 node.tagName = 'property' | ||||
|                 properties[node.getAttribute('name')] = node | ||||
|                 node.parentNode.removeChild(node) | ||||
|             elif node.nodeName == 'atkrelation': | ||||
|                 node.tagName = 'relation' | ||||
|                 relation_type = node.getAttribute('type') | ||||
|                 relation_type = relation_type.replace('_', '-') | ||||
|                 node.setAttribute('type', relation_type) | ||||
|             elif node.nodeName == 'atkaction': | ||||
|                 node.tagName = 'action' | ||||
|  | ||||
|         if properties: | ||||
|             child = self._dom.createElement('child') | ||||
|             child.setAttribute("internal-child", "accessible") | ||||
|  | ||||
|             atkobject = self._create_object( | ||||
|                 "AtkObject", None, | ||||
|                 template='a11y-%s' % (parent_id,), | ||||
|                 properties=properties) | ||||
|             child.appendChild(atkobject) | ||||
|             objectNode.appendChild(child) | ||||
|  | ||||
|     def _strip_root(self, root_name): | ||||
|         for widget in self._dom.getElementsByTagName("widget"): | ||||
|             if widget.getAttribute('id') == root_name: | ||||
|                 break | ||||
|         else: | ||||
|             raise SystemExit("Could not find an object called `%s'" % ( | ||||
|                 root_name)) | ||||
|  | ||||
|         for child in self._interface.childNodes[:]: | ||||
|             if child.nodeType != Node.ELEMENT_NODE: | ||||
|                 continue | ||||
|             child.parentNode.removeChild(child) | ||||
|  | ||||
|         self._interface.appendChild(widget) | ||||
|  | ||||
|  | ||||
| def _indent(output): | ||||
|     if not subprocess: | ||||
|         return output | ||||
|  | ||||
|     for directory in os.environ['PATH'].split(os.pathsep): | ||||
|         filename = os.path.join(directory, 'xmllint') | ||||
|         if os.path.exists(filename): | ||||
|             break | ||||
|     else: | ||||
|         return output | ||||
|  | ||||
|     s = subprocess.Popen([filename, '--format', '-'], | ||||
|                          stdin=subprocess.PIPE, | ||||
|                          stdout=subprocess.PIPE) | ||||
|     s.stdin.write(output) | ||||
|     s.stdin.close() | ||||
|     return s.stdout.read() | ||||
|  | ||||
| def usage(): | ||||
|     print __doc__ | ||||
|  | ||||
| def main(args): | ||||
|     try: | ||||
|         opts, args = getopt.getopt(args[1:], "hwr:", | ||||
|                                    ["help", | ||||
|                                     "skip-windows", | ||||
|                                     "target-version=", | ||||
|                                     "root="]) | ||||
|     except getopt.GetoptError: | ||||
|         usage() | ||||
|         return 2 | ||||
|  | ||||
|     if len(args) != 2: | ||||
|         usage() | ||||
|         return 2 | ||||
|  | ||||
|     input_filename, output_filename = args | ||||
|  | ||||
|     skip_windows = False | ||||
|     split = False | ||||
|     root = None | ||||
|     target_version = "2.0" | ||||
|     for o, a in opts: | ||||
|         if o in ("-h", "--help"): | ||||
|             usage() | ||||
|             sys.exit() | ||||
|         elif o in ("-r", "--root"): | ||||
|             root = a | ||||
|         elif o in ("-w", "--skip-windows"): | ||||
|             skip_windows = True | ||||
|         elif o in ("-t", "--target-version"): | ||||
|             target_version = a | ||||
|  | ||||
|     conv = GtkBuilderConverter(skip_windows=skip_windows, | ||||
|                                target_version=target_version, | ||||
|                                root=root) | ||||
|     conv.parse_file(input_filename) | ||||
|  | ||||
|     xml = _indent(conv.to_xml()) | ||||
|     if output_filename == "-": | ||||
|         print xml | ||||
|     else: | ||||
|         open(output_filename, 'w').write(xml) | ||||
|         print "Wrote", output_filename | ||||
|  | ||||
|     return 0 | ||||
|  | ||||
| if __name__ == "__main__": | ||||
|     sys.exit(main(sys.argv)) | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gtk-demo.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gtk-demo.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gtk-query-immodules-2.0.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gtk-query-immodules-2.0.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gtk-query-immodules-3.0.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gtk-query-immodules-3.0.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gtk-update-icon-cache.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/gtk-update-icon-cache.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										17
									
								
								gtk-nsis-pack/bin/gtk-update-icon-cache.exe.manifest
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								gtk-nsis-pack/bin/gtk-update-icon-cache.exe.manifest
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||||
| <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||||
|   <assemblyIdentity version="1.0.0.0" | ||||
|      processorArchitecture="AMD64" | ||||
|      name="gtk-update-icon-cache.exe" | ||||
|      type="win32"/> | ||||
|   <!-- Identify the application security requirements. --> | ||||
|   <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> | ||||
|     <security> | ||||
|       <requestedPrivileges> | ||||
|         <requestedExecutionLevel | ||||
|           level="asInvoker" | ||||
|           uiAccess="false"/> | ||||
|         </requestedPrivileges> | ||||
|        </security> | ||||
|   </trustInfo> | ||||
| </assembly> | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libasprintf-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libasprintf-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libatk-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libatk-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libatkmm-1.6-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libatkmm-1.6-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libcairo-2.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libcairo-2.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libcairo-gobject-2.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libcairo-gobject-2.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libcairo-script-interpreter-2.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libcairo-script-interpreter-2.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libcairomm-1.0-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libcairomm-1.0-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libffi-6.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libffi-6.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libfontconfig-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libfontconfig-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libfreetype-6.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libfreetype-6.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgailutil-18.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgailutil-18.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgailutil-3-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgailutil-3-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdk-3-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdk-3-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdk-win32-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdk-win32-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdk_pixbuf-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdk_pixbuf-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdkmm-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdkmm-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdkmm-3.0-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgdkmm-3.0-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgio-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgio-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgiomm-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgiomm-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libglib-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libglib-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libglibmm-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libglibmm-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libglibmm_generate_extra_defs-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libglibmm_generate_extra_defs-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgmodule-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgmodule-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgobject-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgobject-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgthread-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgthread-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgtk-3-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgtk-3-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgtk-win32-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgtk-win32-2.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgtkmm-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgtkmm-2.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgtkmm-3.0-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libgtkmm-3.0-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libharfbuzz-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libharfbuzz-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libintl-8.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libintl-8.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpango-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpango-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpangocairo-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpangocairo-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpangoft2-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpangoft2-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpangomm-1.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpangomm-1.4-1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpangowin32-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpangowin32-1.0-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpixman-1-0.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpixman-1-0.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpng16-16.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libpng16-16.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libxml2-2.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libxml2-2.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/pango-querymodules.exe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/pango-querymodules.exe
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/zlib1.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/zlib1.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										4
									
								
								gtk-nsis-pack/etc/gtk-2.0/gtkrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								gtk-nsis-pack/etc/gtk-2.0/gtkrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| # Auto-written by gtk2-prefs. Do not edit. | ||||
|  | ||||
| gtk-theme-name = "MS-Windows" | ||||
|  | ||||
							
								
								
									
										4
									
								
								gtk-nsis-pack/etc/gtk-2.0/gtkrc.default
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								gtk-nsis-pack/etc/gtk-2.0/gtkrc.default
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| # Auto-written by gtk2-prefs. Do not edit. | ||||
|  | ||||
| gtk-theme-name = "MS-Windows" | ||||
|  | ||||
							
								
								
									
										3
									
								
								gtk-nsis-pack/gtk-engine/info.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								gtk-nsis-pack/gtk-engine/info.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| This is a dll from gtk 2.14. It is installed by themes package only if the | ||||
| original third-party gtk installation didn't contain it. | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/gtk-engine/libpixmap.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/gtk-engine/libpixmap.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										622
									
								
								gtk-nsis-pack/gtk-themes.ash.nsi
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										622
									
								
								gtk-nsis-pack/gtk-themes.ash.nsi
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,622 @@ | ||||
|  | ||||
| ; NSIS2 Script for GTK2-Themes | ||||
| ; by Alexander Shaduri | ||||
| ; Compatible with NSIS 2.40 | ||||
|  | ||||
|  | ||||
| !define PRODUCT_VERSION "2009-09-07-ash" | ||||
| !define GTK_BIN_VERSION "2.10.0" | ||||
| !define PRODUCT_NAME "GTK2-Themes" | ||||
| !define PRODUCT_PUBLISHER "Alexander Shaduri" | ||||
| !define PRODUCT_WEB_SITE "http://gtk-win.sourceforge.net" | ||||
|  | ||||
| ;!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\AppMainExe.exe" | ||||
| !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" | ||||
| !define PRODUCT_UNINST_ROOT_KEY "HKLM" | ||||
|  | ||||
| !define REGISTRY_APP_PATHS "Software\Microsoft\Windows\CurrentVersion\App Paths" | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; --------------- General Settings | ||||
|  | ||||
|  | ||||
| ; This compressor gives us the best results | ||||
| SetCompressor /SOLID lzma | ||||
|  | ||||
| ; Do a CRC check before installing | ||||
| CRCCheck On | ||||
|  | ||||
| ; This is used in titles | ||||
| Name "${PRODUCT_NAME}"  ;  ${PRODUCT_VERSION} | ||||
|  | ||||
| ; Output File Name | ||||
| OutFile "gtk2-themes-${PRODUCT_VERSION}.exe" | ||||
|  | ||||
|  | ||||
|  | ||||
| ;The Default Installation Directory | ||||
| ; try to install to the same directory as runtime. | ||||
| ; InstallDir "$PROGRAMFILES\GTK2-Runtime\" | ||||
| InstallDir "$COMMONFILES\GTK\2.0\"  ; gimp-installer gtk runtime compat. | ||||
| ; If our installer is present, install there | ||||
| InstallDirRegKey HKLM "Software\GTK2-Runtime" "InstallationDirectory" | ||||
|  | ||||
|  | ||||
| ShowInstDetails show | ||||
| ShowUnInstDetails show | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; --------------------- MUI INTERFACE | ||||
|  | ||||
| ; MUI 2.0 compatible install | ||||
| !include "MUI2.nsh" | ||||
|  | ||||
| ;Backgound Colors. uncomment to enable fullscreen. | ||||
| ; BGGradient 0000FF 000000 FFFFFF | ||||
|  | ||||
| ; MUI Settings | ||||
| !define MUI_ABORTWARNING | ||||
| !define MUI_ICON "nsi_install.ico" | ||||
| !define MUI_UNICON "nsi_uninstall.ico" | ||||
|  | ||||
|  | ||||
| ;Things that need to be extracted on first (keep these lines before any File command!) | ||||
| ;Only useful for BZIP2 compression | ||||
| !insertmacro MUI_RESERVEFILE_LANGDLL | ||||
| ; !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS | ||||
|  | ||||
|  | ||||
| ; Language Selection Dialog Settings | ||||
| !define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}" | ||||
| !define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" | ||||
| !define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language" | ||||
|  | ||||
|  | ||||
| ; Pages to show during installation | ||||
| !insertmacro MUI_PAGE_WELCOME | ||||
| !insertmacro MUI_PAGE_LICENSE "license_themes.txt" | ||||
| !insertmacro MUI_PAGE_COMPONENTS | ||||
| !insertmacro MUI_PAGE_DIRECTORY | ||||
| !insertmacro MUI_PAGE_INSTFILES | ||||
|  | ||||
| ;!define MUI_FINISHPAGE_RUN "$INSTDIR\gtk2-runtime\gtk2_prefs.exe" | ||||
| ;!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\Example.file" | ||||
| ;!define MUI_FINISHPAGE_RUN_NOTCHECKED | ||||
| !define MUI_FINISHPAGE_NOAUTOCLOSE | ||||
| !define MUI_FINISHPAGE_NOREBOOTSUPPORT | ||||
| !insertmacro MUI_PAGE_FINISH | ||||
|  | ||||
|  | ||||
|  | ||||
| ; Uninstaller page | ||||
| !insertmacro MUI_UNPAGE_CONFIRM | ||||
| !insertmacro MUI_UNPAGE_INSTFILES | ||||
|  | ||||
|  | ||||
|  | ||||
| ; Language files | ||||
| !insertmacro MUI_LANGUAGE "English" | ||||
| !insertmacro MUI_LANGUAGE "Russian" | ||||
|  | ||||
|  | ||||
| ; --------------- END MUI | ||||
|  | ||||
|  | ||||
| ;Description | ||||
| LangString DESC_SecCopyUI ${LANG_ENGLISH} "GTK2 Themes" | ||||
| LangString DESC_SecCopyUI ${LANG_RUSSIAN} "GTK2 Themes" | ||||
|  | ||||
| LangString TEXT_IO_TITLE ${LANG_ENGLISH} "GTK2 Themes" | ||||
| LangString TEXT_IO_TITLE ${LANG_RUSSIAN} "GTK2 Themes" | ||||
|  | ||||
| LangString TEXT_IO_SUBTITLE ${LANG_ENGLISH} "Additional options" | ||||
| LangString TEXT_IO_SUBTITLE ${LANG_RUSSIAN} "Additional options" | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; --------------- START INSTALLATION | ||||
|  | ||||
|  | ||||
| Function .onInit | ||||
|  | ||||
|   !insertmacro MUI_LANGDLL_DISPLAY | ||||
|  | ||||
|   Call PreventMultipleInstances | ||||
|  | ||||
|   Push 2 ;F ;22 = number of languages, F = change font | ||||
|  | ||||
|   ;Language selection | ||||
|   LangDLL::LangDialog "Installer Language" "Please select a language." | ||||
|  | ||||
|   Pop $LANGUAGE | ||||
|   StrCmp $LANGUAGE "cancel" 0 +2 | ||||
|   Abort | ||||
|  | ||||
|  | ||||
| 	; detect previous installation | ||||
| 	ReadRegStr $R0 HKLM "${PRODUCT_UNINST_KEY}" "UninstallString" | ||||
| 	StrCmp $R0 "" done | ||||
|  | ||||
| 	MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \ | ||||
| 		"${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the \ | ||||
| 		previous version or `Cancel` to continue anyway." \ | ||||
| 		/SD IDOK IDOK uninst | ||||
| 		; Abort | ||||
| 	goto done | ||||
|  | ||||
|   ;Run the uninstaller | ||||
|   uninst: | ||||
|   ClearErrors | ||||
|   ExecWait '$R0 _?=$INSTDIR'  ;Do not copy the uninstaller to a temp file | ||||
|  | ||||
|   IfErrors no_remove_uninstaller | ||||
|  | ||||
|   ;You can either use Delete /REBOOTOK in the uninstaller or add some code | ||||
|   ;here to remove to remove the uninstaller. Use a registry key to check | ||||
|   ;whether the user has chosen to uninstall. If you are using an uninstaller | ||||
|   ;components page, make sure all sections are uninstalled. | ||||
|   no_remove_uninstaller: | ||||
|  | ||||
|   done: | ||||
|   ; old installation not found | ||||
|  | ||||
|  | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; ----------------- INSTALLATINO TYPES | ||||
|  | ||||
| ; InstType "Recommended" | ||||
| InstType "Full" | ||||
| ;InstType "Minimal" | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| Section "Themes" SecThemes | ||||
| SectionIn 1 | ||||
|   SetOutPath "$INSTDIR" | ||||
|   SetOverwrite On | ||||
|  | ||||
|   SetOutPath "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines" | ||||
| ;  File /r lib\gtk-2.0\${GTK_BIN_VERSION}\engines | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libanachron.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libaurora.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libbluecurve.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libblueprint.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libcandido.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libcleanice.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libclearlooks.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libcrux-engine.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libdyndyn.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libexcelsior.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libgflat.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libglide.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libhcengine.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libindustrial.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\liblighthouseblue.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libmetal.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libmgicchikn.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libmist.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libmurrine.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libnimbus.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libnodoka.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libredmond95.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\librezlooks.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libsmooth.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libthinice.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libubuntulooks.dll" | ||||
|   File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libxfce.dll" | ||||
|  | ||||
|  | ||||
|   ; this file is optional. it may be installed by gtk runtime, or may be not. | ||||
|   SetOverwrite Off | ||||
|   ; gtk 2.14-bundled: | ||||
|   File "gtk-engine\libpixmap.dll" | ||||
|   ; gtk-bundled: | ||||
| ;  File "lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libpixmap.dll" | ||||
|   SetOverwrite On | ||||
|  | ||||
|  | ||||
|   SetOutPath "$INSTDIR\share\themes" | ||||
| ;  File /r share\themes | ||||
|  | ||||
| File /r "share\themes\Amaranth" | ||||
| File /r "share\themes\AnachronAna" | ||||
| File /r "share\themes\Aurora" | ||||
| File /r "share\themes\Bluecurve" | ||||
| File /r "share\themes\Bluecurve-BerriesAndCream" | ||||
| File /r "share\themes\Bluecurve-Gnome" | ||||
| File /r "share\themes\Bluecurve-Grape" | ||||
| File /r "share\themes\Bluecurve-Lime" | ||||
| File /r "share\themes\Bluecurve-Slate" | ||||
| File /r "share\themes\Bluecurve-Strawberry" | ||||
| File /r "share\themes\Bluecurve-Tangerine" | ||||
| File /r "share\themes\Blueprint" | ||||
| File /r "share\themes\Blueprint-Green" | ||||
| File /r "share\themes\Blueprint-Ice" | ||||
| File /r "share\themes\Blueprint-Sand" | ||||
| File /r "share\themes\Blueprint-no-color" | ||||
| File /r "share\themes\Candido-Calm" | ||||
| File /r "share\themes\Candido-Candy" | ||||
| File /r "share\themes\Candido-DarkOrange" | ||||
| File /r "share\themes\Candido-Hybrid" | ||||
| File /r "share\themes\Candido-NeoGraphite" | ||||
| File /r "share\themes\CleanIce" | ||||
| File /r "share\themes\CleanIce-Dark" | ||||
| File /r "share\themes\CleanIce-Debian" | ||||
| File /r "share\themes\Clearlooks" | ||||
| File /r "share\themes\ClearlooksClassic" | ||||
| File /r "share\themes\ClearlooksTest" | ||||
| File /r "share\themes\Crux" | ||||
| File /r "share\themes\Darklooks" | ||||
| File /r "share\themes\Delightfully-Smooth" | ||||
| File /r "share\themes\DyndynBlueGray" | ||||
| File /r "share\themes\DyndynPinkGray" | ||||
| File /r "share\themes\G26" | ||||
| File /r "share\themes\Glider" | ||||
| File /r "share\themes\Glossy" | ||||
| File /r "share\themes\Gorilla" | ||||
| File /r "share\themes\HighContrast" | ||||
| File /r "share\themes\HighContrastInverse" | ||||
| File /r "share\themes\HighContrastLargePrint" | ||||
| File /r "share\themes\HighContrastLargePrintInverse" | ||||
| File /r "share\themes\Human" | ||||
| File /r "share\themes\Industrial" | ||||
| File /r "share\themes\Inverted" | ||||
| File /r "share\themes\LargePrint" | ||||
| File /r "share\themes\LighthouseBlue" | ||||
| File /r "share\themes\LowContrast" | ||||
| File /r "share\themes\LowContrastLargePrint" | ||||
| File /r "share\themes\Lush" | ||||
| File /r "share\themes\Metal" | ||||
| File /r "share\themes\Mist" | ||||
| File /r "share\themes\MurrinaAquaIsh" | ||||
| File /r "share\themes\MurrinaAzul" | ||||
| File /r "share\themes\MurrinaBleu" | ||||
| File /r "share\themes\MurrinaBlue" | ||||
| File /r "share\themes\MurrinaCandido" | ||||
| File /r "share\themes\MurrinaCandy" | ||||
| File /r "share\themes\MurrinaCappuccino" | ||||
| File /r "share\themes\MurrinaChrome" | ||||
| File /r "share\themes\MurrinaCream" | ||||
| File /r "share\themes\MurrinaEalm" | ||||
| File /r "share\themes\MurrinaFancyCandy" | ||||
| File /r "share\themes\MurrinaGilouche" | ||||
| File /r "share\themes\MurrinaLoveGray" | ||||
| File /r "share\themes\MurrinaNeoGraphite" | ||||
| File /r "share\themes\MurrinaVerdeOlivo" | ||||
| File /r "share\themes\Nimbus" | ||||
| File /r "share\themes\Nimbus-Dark" | ||||
| File /r "share\themes\Nimbus-Light" | ||||
| File /r "share\themes\Nodoka" | ||||
| File /r "share\themes\Nodoka-Aqua" | ||||
| File /r "share\themes\Nodoka-Gilouche" | ||||
| File /r "share\themes\Nodoka-Looks" | ||||
| File /r "share\themes\Nodoka-Midnight" | ||||
| File /r "share\themes\Nodoka-Rounded" | ||||
| File /r "share\themes\Nodoka-Silver" | ||||
| File /r "share\themes\Nodoka-Squared" | ||||
| File /r "share\themes\Nuvola" | ||||
| File /r "share\themes\Redmond" | ||||
| File /r "share\themes\Rezlooks-Gilouche" | ||||
| File /r "share\themes\Rezlooks-Snow" | ||||
| File /r "share\themes\Rezlooks-candy" | ||||
| File /r "share\themes\Rezlooks-dark" | ||||
| File /r "share\themes\Rezlooks-graphite" | ||||
| File /r "share\themes\Simple" | ||||
| File /r "share\themes\Smooth-Funky-Monkey" | ||||
| File /r "share\themes\Smooth-Line" | ||||
| File /r "share\themes\Smooth-Okayish" | ||||
| File /r "share\themes\Smooth-Sea-Ice" | ||||
| File /r "share\themes\Smooth-Tangerine-Dream" | ||||
| File /r "share\themes\Smooth-Winter" | ||||
| File /r "share\themes\ThinIce" | ||||
| File /r "share\themes\Unity" | ||||
| File /r "share\themes\Wasp" | ||||
| File /r "share\themes\Xcl-aqua" | ||||
| File /r "share\themes\Xcl-aqua-dark" | ||||
| File /r "share\themes\Xcl-bubblegum" | ||||
| File /r "share\themes\Xcl-bubblegum-dark" | ||||
| File /r "share\themes\Xcl-clarius" | ||||
| File /r "share\themes\Xcl-clarius-dark" | ||||
| File /r "share\themes\Xcl-flat" | ||||
| File /r "share\themes\Xcl-flat-dark" | ||||
| File /r "share\themes\Xcl-inverted" | ||||
| File /r "share\themes\Xcl-inverted-dark" | ||||
| File /r "share\themes\Xfce" | ||||
| File /r "share\themes\Xfce-4.0" | ||||
| File /r "share\themes\Xfce-4.2" | ||||
| File /r "share\themes\Xfce-4.4" | ||||
|  | ||||
| SectionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| Section "GTK2 Preference Utility" SecGtkPrefs | ||||
| SectionIn 1 | ||||
|  | ||||
|   SetOverwrite On | ||||
|   SetOutPath "$INSTDIR" | ||||
|  | ||||
|   File gtk2_prefs.exe | ||||
|   File gtk.ico | ||||
|  | ||||
|  | ||||
|   ; set a special path for this exe, as GTK may not be in a global path. | ||||
|   ReadRegStr $R3 HKLM "SOFTWARE\GTK\2.0" "DllPath" | ||||
|   WriteRegStr HKLM "${REGISTRY_APP_PATHS}\gtk2_prefs.exe" "Path" "$R3" | ||||
|  | ||||
|  | ||||
|   CreateDirectory "$SMPROGRAMS\GTK2 Runtime" | ||||
|   CreateShortCut "$SMPROGRAMS\GTK2 Runtime\Change GTK2 Appearance.lnk" "$INSTDIR\gtk2_prefs.exe" "" "$INSTDIR\gtk.ico" "" | ||||
|  | ||||
| SectionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN | ||||
|   !insertmacro MUI_DESCRIPTION_TEXT ${SecThemes} "GTK2 theme engines and themes to improve its look" | ||||
|   !insertmacro MUI_DESCRIPTION_TEXT ${SecGtkPrefs} "GTK2 Preference Utility to change the theme and font of GTK2 applications" | ||||
| !insertmacro MUI_FUNCTION_DESCRIPTION_END | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; ------------------ POST INSTALL | ||||
|  | ||||
|  | ||||
| !define TEMP $R0 | ||||
|  | ||||
| Section -post | ||||
|  | ||||
|   WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "InstallationDirectory" "$INSTDIR" | ||||
|   WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "Vendor" "Alex Shaduri" | ||||
|  | ||||
|   WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "DisplayName" "${PRODUCT_NAME}" | ||||
|   WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\gtk2_themes_uninst.exe" | ||||
|  | ||||
|   ; We don't need this, MUI takes care for us | ||||
|   WriteRegStr HKCU "Software\${PRODUCT_NAME}" "Installer Language" $LANGUAGE | ||||
|  | ||||
|   ; uninstall shortcut | ||||
|   CreateDirectory "$SMPROGRAMS\GTK2 Runtime" | ||||
|   CreateShortCut "$SMPROGRAMS\GTK2 Runtime\Uninstall GTK2 Themes.lnk" "$INSTDIR\gtk2_themes_uninst.exe" "" "" | ||||
|  | ||||
|  | ||||
|   ; write out uninstaller | ||||
|   WriteUninstaller "$INSTDIR\gtk2_themes_uninst.exe" | ||||
|  | ||||
| SectionEnd ; post | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; ---------------- UNINSTALL | ||||
|  | ||||
|  | ||||
|  | ||||
| Function un.onUninstSuccess | ||||
|   HideWindow | ||||
|   MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." /SD IDOK | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| Section Uninstall | ||||
|  | ||||
|   SetAutoClose false | ||||
|  | ||||
|   ; add delete commands to delete whatever files/registry keys/etc you installed here. | ||||
|   Delete "$INSTDIR\gtk2_themes_uninst.exe" | ||||
|  | ||||
|   DeleteRegKey HKLM "SOFTWARE\${PRODUCT_NAME}" | ||||
|   DeleteRegKey HKLM "${PRODUCT_UNINST_KEY}" | ||||
|  | ||||
|   ; FIXME: Do we have this registry key? | ||||
|   DeleteRegKey HKCU "Software\${PRODUCT_NAME}" | ||||
|  | ||||
|   DeleteRegKey HKLM "${REGISTRY_APP_PATHS}\gtk2_prefs.exe" | ||||
|  | ||||
|   Delete "$INSTDIR\gtk2_prefs.exe" | ||||
|   Delete "$INSTDIR\gtk.ico" | ||||
|  | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libanachron.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libaurora.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libbluecurve.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libblueprint.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libcandido.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libcleanice.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libclearlooks.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libcrux-engine.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libdyndyn.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libexcelsior.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libgflat.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libglide.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libhcengine.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libindustrial.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\liblighthouseblue.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libmetal.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libmgicchikn.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libmist.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libmurrine.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libnimbus.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libnodoka.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libredmond95.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\librezlooks.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libsmooth.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libthinice.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libubuntulooks.dll" | ||||
|   Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libxfce.dll" | ||||
|  | ||||
|  | ||||
|   ; FIXME: STALE FILE! | ||||
|   ; we should not delete this, it may be owned by gtk-runtime. | ||||
|   ; Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libpixmap.dll" | ||||
|  | ||||
|   RMDir "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines" | ||||
|   RMDir "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}"  ; not forced | ||||
|   RMDir "$INSTDIR\lib\gtk-2.0"  ; not forced | ||||
|   RMDir "$INSTDIR\lib" | ||||
|  | ||||
| ;  RMDir /r  "$INSTDIR\share" | ||||
|  | ||||
| RMDir /r "$INSTDIR\share\themes\Amaranth" | ||||
| RMDir /r "$INSTDIR\share\themes\AnachronAna" | ||||
| RMDir /r "$INSTDIR\share\themes\Aurora" | ||||
| RMDir /r "$INSTDIR\share\themes\Bluecurve" | ||||
| RMDir /r "$INSTDIR\share\themes\Bluecurve-BerriesAndCream" | ||||
| RMDir /r "$INSTDIR\share\themes\Bluecurve-Gnome" | ||||
| RMDir /r "$INSTDIR\share\themes\Bluecurve-Grape" | ||||
| RMDir /r "$INSTDIR\share\themes\Bluecurve-Lime" | ||||
| RMDir /r "$INSTDIR\share\themes\Bluecurve-Slate" | ||||
| RMDir /r "$INSTDIR\share\themes\Bluecurve-Strawberry" | ||||
| RMDir /r "$INSTDIR\share\themes\Bluecurve-Tangerine" | ||||
| RMDir /r "$INSTDIR\share\themes\Blueprint" | ||||
| RMDir /r "$INSTDIR\share\themes\Blueprint-Green" | ||||
| RMDir /r "$INSTDIR\share\themes\Blueprint-Ice" | ||||
| RMDir /r "$INSTDIR\share\themes\Blueprint-Sand" | ||||
| RMDir /r "$INSTDIR\share\themes\Blueprint-no-color" | ||||
| RMDir /r "$INSTDIR\share\themes\Candido-Calm" | ||||
| RMDir /r "$INSTDIR\share\themes\Candido-Candy" | ||||
| RMDir /r "$INSTDIR\share\themes\Candido-DarkOrange" | ||||
| RMDir /r "$INSTDIR\share\themes\Candido-Hybrid" | ||||
| RMDir /r "$INSTDIR\share\themes\Candido-NeoGraphite" | ||||
| RMDir /r "$INSTDIR\share\themes\CleanIce" | ||||
| RMDir /r "$INSTDIR\share\themes\CleanIce-Dark" | ||||
| RMDir /r "$INSTDIR\share\themes\CleanIce-Debian" | ||||
| RMDir /r "$INSTDIR\share\themes\Clearlooks" | ||||
| RMDir /r "$INSTDIR\share\themes\ClearlooksClassic" | ||||
| RMDir /r "$INSTDIR\share\themes\ClearlooksTest" | ||||
| RMDir /r "$INSTDIR\share\themes\Crux" | ||||
| RMDir /r "$INSTDIR\share\themes\Darklooks" | ||||
| RMDir /r "$INSTDIR\share\themes\Delightfully-Smooth" | ||||
| RMDir /r "$INSTDIR\share\themes\DyndynBlueGray" | ||||
| RMDir /r "$INSTDIR\share\themes\DyndynPinkGray" | ||||
| RMDir /r "$INSTDIR\share\themes\G26" | ||||
| RMDir /r "$INSTDIR\share\themes\Glider" | ||||
| RMDir /r "$INSTDIR\share\themes\Glossy" | ||||
| RMDir /r "$INSTDIR\share\themes\Gorilla" | ||||
| RMDir /r "$INSTDIR\share\themes\HighContrast" | ||||
| RMDir /r "$INSTDIR\share\themes\HighContrastInverse" | ||||
| RMDir /r "$INSTDIR\share\themes\HighContrastLargePrint" | ||||
| RMDir /r "$INSTDIR\share\themes\HighContrastLargePrintInverse" | ||||
| RMDir /r "$INSTDIR\share\themes\Human" | ||||
| RMDir /r "$INSTDIR\share\themes\Industrial" | ||||
| RMDir /r "$INSTDIR\share\themes\Inverted" | ||||
| RMDir /r "$INSTDIR\share\themes\LargePrint" | ||||
| RMDir /r "$INSTDIR\share\themes\LighthouseBlue" | ||||
| RMDir /r "$INSTDIR\share\themes\LowContrast" | ||||
| RMDir /r "$INSTDIR\share\themes\LowContrastLargePrint" | ||||
| RMDir /r "$INSTDIR\share\themes\Lush" | ||||
| RMDir /r "$INSTDIR\share\themes\Metal" | ||||
| RMDir /r "$INSTDIR\share\themes\Mist" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaAquaIsh" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaAzul" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaBleu" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaBlue" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaCandido" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaCandy" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaCappuccino" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaChrome" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaCream" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaEalm" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaFancyCandy" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaGilouche" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaLoveGray" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaNeoGraphite" | ||||
| RMDir /r "$INSTDIR\share\themes\MurrinaVerdeOlivo" | ||||
| RMDir /r "$INSTDIR\share\themes\Nimbus" | ||||
| RMDir /r "$INSTDIR\share\themes\Nimbus-Dark" | ||||
| RMDir /r "$INSTDIR\share\themes\Nimbus-Light" | ||||
| RMDir /r "$INSTDIR\share\themes\Nodoka" | ||||
| RMDir /r "$INSTDIR\share\themes\Nodoka-Aqua" | ||||
| RMDir /r "$INSTDIR\share\themes\Nodoka-Gilouche" | ||||
| RMDir /r "$INSTDIR\share\themes\Nodoka-Looks" | ||||
| RMDir /r "$INSTDIR\share\themes\Nodoka-Midnight" | ||||
| RMDir /r "$INSTDIR\share\themes\Nodoka-Rounded" | ||||
| RMDir /r "$INSTDIR\share\themes\Nodoka-Silver" | ||||
| RMDir /r "$INSTDIR\share\themes\Nodoka-Squared" | ||||
| RMDir /r "$INSTDIR\share\themes\Nuvola" | ||||
| RMDir /r "$INSTDIR\share\themes\Redmond" | ||||
| RMDir /r "$INSTDIR\share\themes\Rezlooks-Gilouche" | ||||
| RMDir /r "$INSTDIR\share\themes\Rezlooks-Snow" | ||||
| RMDir /r "$INSTDIR\share\themes\Rezlooks-candy" | ||||
| RMDir /r "$INSTDIR\share\themes\Rezlooks-dark" | ||||
| RMDir /r "$INSTDIR\share\themes\Rezlooks-graphite" | ||||
| RMDir /r "$INSTDIR\share\themes\Simple" | ||||
| RMDir /r "$INSTDIR\share\themes\Smooth-Funky-Monkey" | ||||
| RMDir /r "$INSTDIR\share\themes\Smooth-Line" | ||||
| RMDir /r "$INSTDIR\share\themes\Smooth-Okayish" | ||||
| RMDir /r "$INSTDIR\share\themes\Smooth-Sea-Ice" | ||||
| RMDir /r "$INSTDIR\share\themes\Smooth-Tangerine-Dream" | ||||
| RMDir /r "$INSTDIR\share\themes\Smooth-Winter" | ||||
| RMDir /r "$INSTDIR\share\themes\ThinIce" | ||||
| RMDir /r "$INSTDIR\share\themes\Unity" | ||||
| RMDir /r "$INSTDIR\share\themes\Wasp" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-aqua" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-aqua-dark" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-bubblegum" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-bubblegum-dark" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-clarius" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-clarius-dark" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-flat" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-flat-dark" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-inverted" | ||||
| RMDir /r "$INSTDIR\share\themes\Xcl-inverted-dark" | ||||
| RMDir /r "$INSTDIR\share\themes\Xfce" | ||||
| RMDir /r "$INSTDIR\share\themes\Xfce-4.0" | ||||
| RMDir /r "$INSTDIR\share\themes\Xfce-4.2" | ||||
| RMDir /r "$INSTDIR\share\themes\Xfce-4.4" | ||||
|  | ||||
|   RMDir "$INSTDIR\share\themes"  ; not forced | ||||
|   RMDir "$INSTDIR\share"  ; not forced | ||||
|  | ||||
|   ; only delete if empty | ||||
|   RMDir "$INSTDIR" | ||||
|  | ||||
|   ; FIXME: do we need this after deletion of instdir? | ||||
| ;  RMDir /r "$SMPROGRAMS\GTK2 Runtime" | ||||
|   Delete "$SMPROGRAMS\GTK2 Runtime\Change GTK2 Appearance.lnk" | ||||
|   Delete "$SMPROGRAMS\GTK2 Runtime\Uninstall GTK2 Themes.lnk" | ||||
|  | ||||
|   RMDir "$SMPROGRAMS\GTK2 Runtime"  ; gtk-runtime may still be there | ||||
|  | ||||
|  | ||||
| SectionEnd ; end of uninstall section | ||||
|  | ||||
|  | ||||
|  | ||||
| ; Prevent running multiple instances of the installer | ||||
| Function PreventMultipleInstances | ||||
|   Push $R0 | ||||
|   System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${PRODUCT_NAME}") ?e' | ||||
|   Pop $R0 | ||||
|   StrCmp $R0 0 +3 | ||||
|     MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running." /SD IDOK | ||||
|     Abort | ||||
|   Pop $R0 | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
| ; eof | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/gtk.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/gtk.ico
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 22 KiB | 
							
								
								
									
										896
									
								
								gtk-nsis-pack/gtk2-runtime.ts.nsi
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										896
									
								
								gtk-nsis-pack/gtk2-runtime.ts.nsi
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,896 @@ | ||||
|  | ||||
| ; NSIS2 Script for GTK2-Runtime | ||||
| ; by Alexander Shaduri <ashaduri 'at' gmail.com>. | ||||
| ; Compatible with NSIS Unicode 2.45. | ||||
| ; Public Domain | ||||
|  | ||||
| ; The naming convention is: | ||||
| ; Product: GTK2-Runtime; | ||||
| ; Directory and package names: gtk2-runtime. | ||||
| ; The reason for this is that when gtk3 comes out, it | ||||
| ; should be installable side by side with this package. | ||||
|  | ||||
|  | ||||
| !define GTK_VERSION "2.24.24" | ||||
| !define GTK_BIN_VERSION "2.10.0" | ||||
| !define PRODUCT_VERSION "${GTK_VERSION}-2014-09-28-ts-win64" | ||||
| !define PRODUCT_NAME "GTK2-Runtime Win64" | ||||
| !define PRODUCT_PUBLISHER "Tom Schoonjans" | ||||
| !define PRODUCT_WEB_SITE "http://gtk-win.sourceforge.net" | ||||
| !define INSTALLER_OUTPUT_FILE "gtk2-runtime-${PRODUCT_VERSION}.exe" | ||||
|  | ||||
| ;!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\AppMainExe.exe" | ||||
| !define PRODUCT_UNINST_ROOT_KEY "HKLM" | ||||
| !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" | ||||
|  | ||||
| !define REGISTRY_APP_PATHS "Software\Microsoft\Windows\CurrentVersion\App Paths" | ||||
|  | ||||
|  | ||||
| ; AddToPath and friends should work with all users | ||||
| !define ALL_USERS | ||||
|  | ||||
| !include nsi_env_var_update.nsh  ; EnvVar* functions | ||||
| !include "FileFunc.nsh"  ; GetOptions | ||||
| !include "x64.nsh" | ||||
| !include "LogicLib.nsh" | ||||
|  | ||||
|  | ||||
| ; --------------- General Settings | ||||
|  | ||||
|  | ||||
| ; this is needed for proper start menu item manipulation (for all users) in vista | ||||
| RequestExecutionLevel admin | ||||
|  | ||||
| ; This compressor gives us the best results | ||||
| SetCompressor /SOLID lzma | ||||
|  | ||||
| ; Do a CRC check before installing | ||||
| CRCCheck On | ||||
|  | ||||
| ; This is used in titles | ||||
| Name "${PRODUCT_NAME}"  ;  ${PRODUCT_VERSION} | ||||
|  | ||||
| ; Output File Name | ||||
| OutFile "${INSTALLER_OUTPUT_FILE}" | ||||
|  | ||||
|  | ||||
| ; The Default Installation Directory | ||||
| InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}" | ||||
| ;InstallDir "$WINDIR" | ||||
| ; Detect the old installation | ||||
| InstallDirRegKey HKLM "SOFTWARE\${PRODUCT_NAME}" "" | ||||
| ;InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" | ||||
|  | ||||
| ShowInstDetails show | ||||
| ShowUnInstDetails show | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; --------------------- MUI INTERFACE | ||||
|  | ||||
| ; MUI 2.0 compatible install | ||||
| !include "MUI2.nsh" | ||||
| !include "InstallOptions.nsh" | ||||
|  | ||||
| ; Icon "gtk.ico" | ||||
| ; UninstallIcon "gtk.ico" | ||||
|  | ||||
| ; MUI Settings | ||||
| !define MUI_ABORTWARNING | ||||
| ;!define MUI_ICON "nsi_install.ico" | ||||
| !define MUI_ICON "gtk.ico" | ||||
| ;!define MUI_UNICON "nsi_uninstall.ico" | ||||
| !define MUI_UNICON "gtk.ico" | ||||
|  | ||||
|  | ||||
| ; Things that need to be extracted on first (keep these lines before any File command!) | ||||
| ; Only useful for BZIP2 compression | ||||
| ReserveFile "nsi_pathpage.ini" | ||||
| ReserveFile "nsi_configpage.ini" | ||||
| ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll" | ||||
|  | ||||
|  | ||||
| ; Pages to show during installation | ||||
| !insertmacro MUI_PAGE_WELCOME | ||||
| !insertmacro MUI_PAGE_LICENSE "license.txt" | ||||
| !insertmacro MUI_PAGE_COMPONENTS | ||||
| Page custom PathPage PathPageExit ; Custom page | ||||
| !define MUI_PAGE_CUSTOMFUNCTION_LEAVE DirectoryPageExit | ||||
| !insertmacro MUI_PAGE_DIRECTORY | ||||
| !insertmacro MUI_PAGE_INSTFILES | ||||
|  | ||||
| ;!define MUI_FINISHPAGE_RUN "$INSTDIR\gtk2-runtime\gtk2_prefs.exe" | ||||
| ;!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\Example.file" | ||||
| ;!define MUI_FINISHPAGE_RUN_NOTCHECKED | ||||
| !define MUI_FINISHPAGE_NOAUTOCLOSE | ||||
| ;!define MUI_FINISHPAGE_NOREBOOTSUPPORT | ||||
| !insertmacro MUI_PAGE_FINISH | ||||
|  | ||||
|  | ||||
|  | ||||
| ; Uninstaller page | ||||
| !insertmacro MUI_UNPAGE_CONFIRM | ||||
| UninstPage custom un.DeleteConfig  ;Custom page | ||||
| !insertmacro MUI_UNPAGE_INSTFILES | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| Function PathPage | ||||
| 	!insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "$(TEXT_IO_SUBTITLE)" | ||||
| 	!insertmacro INSTALLOPTIONS_DISPLAY "nsi_pathpage.ini" | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
| ; Note: These options are unsupported unless the installer is launched in silent mode (/S). | ||||
| ; e.g. /setpath=no /dllpath=root /sideeffects=no | ||||
| var install_option_setpath  ; set PATH: yes (default), no | ||||
| var install_option_dllpath  ; bin (default), lib, root | ||||
| var install_option_sideeffects  ; yes (default), no. no = don't write to registry, PATH or start menu. | ||||
| var install_option_translations  ; install translations: yes, no (default) | ||||
| var install_option_removeold  ; uninstall the old version first (if present): yes (default), no. | ||||
|  | ||||
| var LIB_INSTDIR | ||||
| var DLL_DIR_NAME | ||||
| var DLL_TMP | ||||
|  | ||||
|  | ||||
| ; Executed when leaving PathPage page. | ||||
| ; Sets DLL_DIR_NAME to dll directory name. | ||||
| Function PathPageExit | ||||
| 	 | ||||
| 	IfSilent dllpath_silent | ||||
| 		; if not silent, show a page with radiobuttons | ||||
| 		!insertmacro INSTALLOPTIONS_READ $DLL_TMP "nsi_pathpage.ini" "Field 3" "State" | ||||
| 		StrCmp $DLL_TMP "1" goto_dll_bin | ||||
| 		!insertmacro INSTALLOPTIONS_READ $DLL_TMP "nsi_pathpage.ini" "Field 4" "State" | ||||
| 		StrCmp $DLL_TMP "1" goto_dll_lib | ||||
| 		!insertmacro INSTALLOPTIONS_READ $DLL_TMP "nsi_pathpage.ini" "Field 5" "State" | ||||
| 		StrCmp $DLL_TMP "1" goto_dll_none | ||||
| 		goto dllpath_exit | ||||
| 	dllpath_silent: | ||||
| 		; if silent, use the /dllpath= option | ||||
| 		StrCmp $install_option_dllpath "bin" goto_dll_bin | ||||
| 		StrCmp $install_option_dllpath "lib" goto_dll_lib | ||||
| 		StrCmp $install_option_dllpath "root" goto_dll_none goto_dll_bin  ; default to bin if not matched | ||||
| 	dllpath_exit: | ||||
|  | ||||
| 	goto_dll_none: | ||||
| 		StrCpy $DLL_DIR_NAME "" | ||||
| 		goto goto_dll_exit | ||||
| 	goto_dll_lib: | ||||
| 		StrCpy $DLL_DIR_NAME "lib" | ||||
| 		goto goto_dll_exit | ||||
| 	goto_dll_bin: | ||||
| 		StrCpy $DLL_DIR_NAME "bin" | ||||
| 		goto goto_dll_exit | ||||
| 	goto_dll_exit: | ||||
|  | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
| ; Set $LIB_INSTDIR to <instpath>\bin, <instpath>\lib or <instpath>\ . | ||||
| ; Must be after the directory selection page. | ||||
| Function DirectoryPageExit | ||||
| 	StrCpy $LIB_INSTDIR "$INSTDIR" | ||||
| 	StrCmp $DLL_DIR_NAME "" no_dll_append | ||||
| 		StrCpy $LIB_INSTDIR "$INSTDIR\$DLL_DIR_NAME" | ||||
| 	no_dll_append: | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
| Function un.DeleteConfig | ||||
| 	; !insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "$(TEXT_IO_SUBTITLE)" | ||||
| 	!insertmacro INSTALLOPTIONS_DISPLAY "nsi_configpage.ini" | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
| ; Language files | ||||
| !insertmacro MUI_LANGUAGE "English" | ||||
|  | ||||
|  | ||||
| ; --------------- END MUI | ||||
|  | ||||
|  | ||||
|  | ||||
| ;Description | ||||
| LangString DESC_SecCopyUI ${LANG_ENGLISH} "GTK2 Runtime" | ||||
| LangString TEXT_IO_TITLE ${LANG_ENGLISH} "GTK2 Runtime" | ||||
| LangString TEXT_IO_SUBTITLE ${LANG_ENGLISH} "Additional options" | ||||
|  | ||||
|  | ||||
| ;License page Introduction | ||||
| ;LicenseText "You must agree to this license before installing." | ||||
| ;License text | ||||
| ;LicenseData /LANG=${LANG_ENGLISH} "license.txt" | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; ----------------- INSTALLATION TYPES | ||||
|  | ||||
| InstType "Recommended"  ; 1 | ||||
| InstType "Full"  ; 2 | ||||
|  | ||||
|  | ||||
| var SEC_TRANSLATIONS_INSTALLED | ||||
|  | ||||
|  | ||||
| Section "GTK+ libraries (required)" SecGTK | ||||
| SectionIn 1 2 RO | ||||
| 	SetShellVarContext all  ; use all user variables as opposed to current user | ||||
| 	SetOverwrite On | ||||
|  | ||||
| 	SetOutPath "$LIB_INSTDIR" | ||||
|  | ||||
| 	; NOTE: If you add or remove any of these, | ||||
| 	; be sure to do the same in the uninstall section. | ||||
|  | ||||
| 	File bin\libatk-1.0-0.dll  ; atk | ||||
| 	File bin\libcairo-2.dll  ; cairo, needed by gtk | ||||
| 	File bin\libcairo-gobject-2.dll  ; cairo. Doesn't seem to be required, but since we're distributing cairo... | ||||
| 	File bin\libcairo-script-interpreter-2.dll  ; cairo. Doesn't seem to be required, but since we're distributing cairo... | ||||
| 	File bin\libffi-6.dll  ; libffi is required by glib  | ||||
| 	File bin\libfontconfig-1.dll  ; fontconfig is needed for ft2 pango backend | ||||
| 	File bin\libfreetype-6.dll  ; freetype is needed for ft2 pango backend | ||||
| 	File bin\libgailutil-18.dll  ; from gtk | ||||
| 	File bin\libgdk_pixbuf-2.0-0.dll  ; from gtk | ||||
| 	File bin\libgdk-win32-2.0-0.dll  ; from gtk | ||||
| 	File bin\libgio-2.0-0.dll  ; from glib | ||||
| 	File bin\libglib-2.0-0.dll  ; glib | ||||
| 	File bin\libgmodule-2.0-0.dll  ; from glib | ||||
| 	File bin\libgobject-2.0-0.dll  ; from glib | ||||
| 	File bin\libgthread-2.0-0.dll  ; from glib | ||||
| 	File bin\libgtk-win32-2.0-0.dll  ; gtk | ||||
| 	File bin\libharfbuzz-0.dll  ; harfbuzz | ||||
| 	File bin\libintl-8.dll  ; gettext, needed by all i18n libs | ||||
| 	File bin\libpango-1.0-0.dll  ; pango, needed by gtk | ||||
| 	File bin\libpangocairo-1.0-0.dll  ; pango, needed by gtk | ||||
| 	File bin\libpangoft2-1.0-0.dll  ; pango, needed by gtk | ||||
| 	File bin\libpangowin32-1.0-0.dll  ; pango, needed by gtk | ||||
| 	File bin\libpixman-1-0.dll  ; libpixman, needed by cairo | ||||
| 	File bin\libpng16-16.dll  ; for gdk_pixbuf loader. | ||||
| 	File bin\libxml2-2.dll  ; fontconfig needs this | ||||
| 	File bin\zlib1.dll  ; png and many others need this | ||||
|  | ||||
|  | ||||
| 	; We install this into the same place as the DLLs to avoid any PATH manipulation. | ||||
| 	SetOutPath "$LIB_INSTDIR" | ||||
| 	File bin\fc-cache.exe | ||||
| 	File bin\fc-list.exe | ||||
| 	File bin\gdk-pixbuf-query-loaders.exe  ; from gdk_pixbuf | ||||
| 	File bin\gspawn-win64-helper.exe | ||||
| 	File bin\gspawn-win64-helper-console.exe | ||||
| 	File bin\gtk-query-immodules-2.0.exe | ||||
| 	File bin\gtk-update-icon-cache.exe | ||||
| 	File bin\gtk-update-icon-cache.exe.manifest | ||||
| 	File bin\pango-querymodules.exe | ||||
| 	 | ||||
| 	 | ||||
| 	SetOutPath "$INSTDIR" | ||||
| 	SetOverwrite off | ||||
| 	File /r etc  ; don't overwrite config files | ||||
| 	SetOverwrite On | ||||
|  | ||||
|  | ||||
| 	SetOutPath "$INSTDIR\lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}" | ||||
| 	File lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}\loaders.cache | ||||
|  | ||||
| 	; SetOutPath "$INSTDIR\lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}\loaders" | ||||
| 	; File /r lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}\loaders | ||||
|  | ||||
| 	SetOutPath "$INSTDIR\lib\gtk-2.0\modules" | ||||
| 	File /r lib\gtk-2.0\modules | ||||
|  | ||||
| 	SetOutPath "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}" | ||||
| 	; no longer in gtk as of 2.14.5. | ||||
| 	; File /r lib\gtk-2.0\${GTK_BIN_VERSION}\immodules | ||||
| 	; gone as of gtk 2.16.6-2. | ||||
| 	; File /r lib\gtk-2.0\${GTK_BIN_VERSION}\loaders | ||||
|  | ||||
| 	; wimp | ||||
| 	SetOutPath "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines" | ||||
| 	File lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libwimp*.dll | ||||
| 	; We install this, but other installers may not have it. | ||||
| 	File lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libpixmap*.dll | ||||
|  | ||||
| 	SetOutPath "$INSTDIR\share\locale" | ||||
| 	File share\locale\locale.alias  ; from gettext | ||||
|  | ||||
| 	; Default theme | ||||
| 	SetOutPath "$INSTDIR\share\themes" | ||||
| 	; Why have two dirs with the same content? disable "Default". | ||||
| 	; File /r share\themes\Default | ||||
| 	File /r share\themes\Emacs | ||||
| 	File /r share\themes\MS-Windows | ||||
| 	File /r share\themes\Raleigh | ||||
|  | ||||
|  | ||||
| 	SetOutPath "$INSTDIR\gtk2-runtime" | ||||
| 	; File gtk-postinstall.bat ; this file is generated now | ||||
| 	File license.txt | ||||
| 	File license_gpl.txt | ||||
| 	File license_lgpl.txt | ||||
| 	File license_jpeg.txt | ||||
| 	File license_png.txt | ||||
| 	File license_zlib.txt | ||||
| 	File gtk.ico  ; needed for "add/remove programs" | ||||
|  | ||||
|  | ||||
| 	; this script updates some config files, but it's unsafe | ||||
| 	; (gtk or pango may not work afterwards), so don't call it. | ||||
| 	Push $INSTDIR\gtk2-runtime\gtk-postinstall.bat | ||||
| 	Call WritePostInstall | ||||
| 	; update pango.modules, not working for now | ||||
| 	; Exec '$INSTDIR\gtk2-runtime\gtk-postinstall.bat' | ||||
|  | ||||
| SectionEnd ; end of gtk section | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| Section "Translations" SecTranslations | ||||
| SectionIn 2 | ||||
| 	SetShellVarContext all  ; use all user variables as opposed to current user | ||||
| 	StrCpy $SEC_TRANSLATIONS_INSTALLED "1" | ||||
| 	SetOutPath "$INSTDIR" | ||||
| 	SetOverwrite On | ||||
|  | ||||
| 	; SetOutPath "$INSTDIR\lib" | ||||
| 	; File /r lib\locale | ||||
|  | ||||
| 	; gtk (beginning with 2.12.3) uses share\locale | ||||
| 	SetOutPath "$INSTDIR\share" | ||||
| 	File /r share\locale | ||||
|  | ||||
| SectionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
| ; Section descriptions | ||||
| !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN | ||||
| 	!insertmacro MUI_DESCRIPTION_TEXT ${SecGTK} "GTK+ 64-bit Runtime Libraries" | ||||
| 	!insertmacro MUI_DESCRIPTION_TEXT ${SecTranslations} "Additional translations (some are incomplete)" | ||||
| !insertmacro MUI_FUNCTION_DESCRIPTION_END | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; Executed on installer run | ||||
| Function .onInit | ||||
| 	SetShellVarContext all  ; use all user variables as opposed to current user | ||||
| 	${IfNot} ${RunningX64}  | ||||
| 		MessageBox MB_OK|MB_ICONEXCLAMATION "This installation requires a 64-bit Windows system" /SD IDOK | ||||
| 		Abort | ||||
| 	${EndIf} | ||||
|  | ||||
| 	SetRegView 64 | ||||
| 		 | ||||
| 	 | ||||
|  | ||||
| 	!insertmacro INSTALLOPTIONS_EXTRACT "nsi_pathpage.ini" | ||||
|  | ||||
| 	StrCpy $SEC_TRANSLATIONS_INSTALLED "0"  ; set to 1 in appropriate section | ||||
|  | ||||
| 	${GetOptions} "$CMDLINE" "/setpath=" $install_option_setpath | ||||
| 	${GetOptions} "$CMDLINE" "/dllpath=" $install_option_dllpath | ||||
| 	${GetOptions} "$CMDLINE" "/sideeffects=" $install_option_sideeffects | ||||
| 	${GetOptions} "$CMDLINE" "/translations=" $install_option_translations | ||||
| 	${GetOptions} "$CMDLINE" "/removeold=" $install_option_removeold | ||||
|  | ||||
| 	; Debug stuff | ||||
| 	; MessageBox MB_ICONINFORMATION|MB_OK "/setpath=$install_option_setpath \ | ||||
| 	;	/dllpath=$install_option_dllpath /sideeffects=$install_option_sideeffects \ | ||||
| 	;	INSTDIR: $INSTDIR" /SD IDOK | ||||
|  | ||||
| 	; if we're using /sideeffects=no, set /setpath=no, because we can't | ||||
| 	; revert it during uninstall (there's no dllpath in registry). | ||||
| 	StrCmp $install_option_sideeffects "no" "" init_sideeffects | ||||
| 		StrCpy $install_option_setpath "no"  ; set /setpath=no | ||||
| 		goto init_sideeffects_exit | ||||
| 	init_sideeffects: | ||||
| 		Call PreventMultipleInstances  ; in no-sideeffects mode this has no purpose | ||||
| 		Call DetectPrevInstallation  ; we don't want local installations to interfere with global ones. | ||||
| 	init_sideeffects_exit: | ||||
|  | ||||
|  | ||||
| 	; enable translations if requested through command line | ||||
| 	StrCmp $install_option_translations "yes" "" no_translations | ||||
| 		push $R0 | ||||
| 		SectionGetFlags ${SecTranslations} $R0 | ||||
| 		IntOp $R0 $R0 | ${SF_SELECTED} | ||||
| 		SectionSetFlags ${SecTranslations} $R0 | ||||
| 		pop $R0 | ||||
| 	no_translations: | ||||
|  | ||||
| 	; Page callbacks are not called if in silent mode, so call these manually | ||||
| 	IfSilent "" +3 | ||||
| 		Call PathPageExit | ||||
| 		Call DirectoryPageExit | ||||
|  | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
| ; ------------------ POST INSTALL | ||||
|  | ||||
|  | ||||
| var ADD_TO_PATH | ||||
|  | ||||
|  | ||||
| Section -post | ||||
| 	SetShellVarContext all  ; use all user variables as opposed to current user | ||||
|  | ||||
| 	IfSilent PATH_silent | ||||
| 		; Read a value from an InstallOptions INI File | ||||
| 		!insertmacro INSTALLOPTIONS_READ $ADD_TO_PATH "nsi_pathpage.ini" "Field 1" "State" | ||||
| 		StrCmp $ADD_TO_PATH "1" goto_set_path_yes goto_set_path_no | ||||
| 		goto PATH_exit | ||||
| 	PATH_silent: | ||||
| 		; if silent, use the /setpath= option | ||||
| 		StrCmp $install_option_setpath "no" goto_set_path_no goto_set_path_yes | ||||
| 	PATH_exit: | ||||
|  | ||||
|  | ||||
| 	goto_set_path_yes: | ||||
| 		; The user requested to add the libdir to $PATH. | ||||
| 		StrCpy $ADD_TO_PATH "1" | ||||
| 		; Push $LIB_INSTDIR | ||||
| 		; Call AddToPath  ; add $LIB_INSTDIR to system $PATH | ||||
| 		Push $0  ; result PATH | ||||
| 		${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$LIB_INSTDIR" ; Append | ||||
| 		Pop $0 | ||||
| 		; MessageBox MB_ICONINFORMATION|MB_OK "$LIB_INSTDIR added to path" | ||||
| 		goto goto_set_path_exit | ||||
| 	goto_set_path_no: | ||||
| 		StrCpy $ADD_TO_PATH "0" | ||||
| 		goto goto_set_path_exit | ||||
| 	goto_set_path_exit: | ||||
|  | ||||
|  | ||||
| 	; write out uninstaller | ||||
| 	WriteUninstaller "$INSTDIR\gtk2_runtime_uninst.exe" | ||||
|  | ||||
| 	StrCmp $install_option_sideeffects "no" no_sideeffects | ||||
| 		WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "InstallationDirectory" "$INSTDIR" | ||||
| 		WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "DllPath" "$LIB_INSTDIR" | ||||
| 		WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "Vendor" "${PRODUCT_PUBLISHER}" | ||||
| 		WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "PackageVersion" "${PRODUCT_VERSION}" | ||||
| 		WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "Version" "${GTK_VERSION}" | ||||
| 		WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "BinVersion" "${GTK_BIN_VERSION}" | ||||
|  | ||||
| 		WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "DllDirName" "$DLL_DIR_NAME"  ; lib, bin, or "" | ||||
| 		WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "UsingSystemPath" $ADD_TO_PATH | ||||
| 		WriteRegStr HKLM "SOFTWARE\${PRODUCT_NAME}" "TranslationsInstalled" $SEC_TRANSLATIONS_INSTALLED | ||||
|  | ||||
| 		; compat with installer from http://gimp-win.sourceforge.net/ | ||||
| 		WriteRegStr HKLM "SOFTWARE\GTK\2.0" "Path" "$INSTDIR" | ||||
| 		WriteRegStr HKLM "SOFTWARE\GTK\2.0" "Version" "${GTK_VERSION}" | ||||
| 		; compat with Dropline's GTK | ||||
| 		WriteRegStr HKLM "SOFTWARE\GTK\2.0" "DllPath" "$LIB_INSTDIR" | ||||
|  | ||||
| 		; Information for the uninstall component in "add/remove programs" | ||||
| 		WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "DisplayName" "${PRODUCT_NAME}" | ||||
| 		WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\gtk2_runtime_uninst.exe" | ||||
| 		WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "InstallLocation" "$INSTDIR" | ||||
| 		WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}" | ||||
| 		WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\gtk2-runtime\gtk.ico" | ||||
| 		WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}" | ||||
| 		WriteRegStr HKLM "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" | ||||
| 		WriteRegDWORD HKLM "${PRODUCT_UNINST_KEY}" "NoModify" 1 | ||||
| 		WriteRegDWORD HKLM "${PRODUCT_UNINST_KEY}" "NoRepair" 1 | ||||
|  | ||||
| 		; uninstall shortcut | ||||
| 		CreateDirectory "$SMPROGRAMS\GTK2 Runtime" | ||||
| 		CreateShortCut "$SMPROGRAMS\GTK2 Runtime\Uninstall GTK2 Runtime.lnk" "$INSTDIR\gtk2_runtime_uninst.exe" "" "" | ||||
| 		WriteIniStr "$SMPROGRAMS\GTK2 Runtime\Go to the website.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}" | ||||
|  | ||||
|  | ||||
| 		; Write $INSTDIR\gtk2-runtime\gtk2r-env.bat | ||||
| 		; This script sets the GTK environment variables | ||||
| 		DetailPrint "Generating $INSTDIR\gtk2-runtime\gtk2r-env.bat" | ||||
| 		Push $INSTDIR\gtk2-runtime\gtk2r-env.bat | ||||
| 		Call WriteEnvBat | ||||
| 		DetailPrint "Done" | ||||
|  | ||||
| 	no_sideeffects: | ||||
|  | ||||
| SectionEnd ; post | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; ---------------- UNINSTALL | ||||
|  | ||||
|  | ||||
| ; Note: These options are unsupported unless the uninstaller is launched in silent mode (/S). | ||||
| var uninstall_option_remove_config  ; yes, no (default). | ||||
| var uninstall_option_sideeffects  ; yes (default), no. Use if it was installed with this option. | ||||
| ; These are used only if /sideffects=no : | ||||
| var uninstall_option_dllpath  ; uninstall dlls from: bin (default), lib, root. | ||||
| var uninstall_option_translations  ; uninstall translations: yes, no (default) | ||||
|  | ||||
|  | ||||
| Function un.onInit | ||||
| 	${GetOptions} "$CMDLINE" "/remove_config=" $uninstall_option_remove_config | ||||
| 	${GetOptions} "$CMDLINE" "/sideeffects=" $uninstall_option_sideeffects | ||||
| 	${GetOptions} "$CMDLINE" "/dllpath=" $uninstall_option_dllpath | ||||
| 	${GetOptions} "$CMDLINE" "/translations=" $uninstall_option_translations | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
| Function un.onUninstSuccess | ||||
| 	HideWindow | ||||
| 	MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." /SD IDOK | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| var leave_config  ; don't remove global gtk config (uninstall page option) | ||||
| ;var INST_DIR_REG  ; installation dir from registry (uninstall stage) | ||||
|  | ||||
|  | ||||
| ; This is a separate function to allow multiple calls to it | ||||
| Function un.DeleteDlls | ||||
| 	SetShellVarContext all  ; use all user variables as opposed to current user | ||||
|  | ||||
| 	StrCpy $LIB_INSTDIR "$INSTDIR" | ||||
| 	StrCmp $DLL_DIR_NAME "" un_no_dll_append | ||||
| 		StrCpy $LIB_INSTDIR "$INSTDIR\$DLL_DIR_NAME" | ||||
| 	un_no_dll_append: | ||||
|  | ||||
| 	; bin stuff (they are in the same directory) | ||||
| 	Delete $LIB_INSTDIR\fc-cache.exe | ||||
| 	Delete $LIB_INSTDIR\fc-list.exe | ||||
| 	Delete $LIB_INSTDIR\gdk-pixbuf-query-loaders.exe | ||||
| 	Delete $LIB_INSTDIR\gspawn-win64-helper.exe | ||||
| 	Delete $LIB_INSTDIR\gspawn-win64-helper-console.exe | ||||
| 	Delete $LIB_INSTDIR\gtk-query-immodules-2.0.exe | ||||
| 	Delete $LIB_INSTDIR\gtk-update-icon-cache.exe | ||||
| 	Delete $LIB_INSTDIR\gtk-update-icon-cache.exe.manifest | ||||
| 	Delete $LIB_INSTDIR\pango-querymodules.exe | ||||
|  | ||||
| 	; dlls | ||||
| 	Delete $LIB_INSTDIR\libatk-1.0-0.dll  ; atk | ||||
| 	Delete $LIB_INSTDIR\libcairo-2.dll  ; cairo, needed by gtk | ||||
| 	Delete $LIB_INSTDIR\libcairo-gobject-2.dll  ; cairo. Doesn't seem to be required, but since we're distributing cairo... | ||||
| 	Delete $LIB_INSTDIR\libcairo-script-interpreter-2.dll  ; cairo. Doesn't seem to be required, but since we're distributing cairo... | ||||
| 	Delete $LIB_INSTDIR\libffi-6.dll  ; libffi is required by glib  | ||||
| 	Delete $LIB_INSTDIR\libfontconfig-1.dll  ; fontconfig is needed for ft2 pango backend | ||||
| 	Delete $LIB_INSTDIR\libfreetype-6.dll  ; freetype is needed for ft2 pango backend | ||||
| 	Delete $LIB_INSTDIR\libgailutil-18.dll  ; from gtk | ||||
| 	Delete $LIB_INSTDIR\libgdk_pixbuf-2.0-0.dll  ; from gtk | ||||
| 	Delete $LIB_INSTDIR\libgdk-win32-2.0-0.dll  ; from gtk | ||||
| 	Delete $LIB_INSTDIR\libgio-2.0-0.dll  ; from glib | ||||
| 	Delete $LIB_INSTDIR\libglib-2.0-0.dll  ; glib | ||||
| 	Delete $LIB_INSTDIR\libgmodule-2.0-0.dll  ; from glib | ||||
| 	Delete $LIB_INSTDIR\libgobject-2.0-0.dll  ; from glib | ||||
| 	Delete $LIB_INSTDIR\libgthread-2.0-0.dll  ; from glib | ||||
| 	Delete $LIB_INSTDIR\libgtk-win32-2.0-0.dll  ; gtk | ||||
| 	Delete $LIB_INSTDIR\libharfbuzz-0.dll  ; harfbuzz | ||||
| 	Delete $LIB_INSTDIR\libintl-8.dll  ; gettext, needed by all i18n libs | ||||
| 	Delete $LIB_INSTDIR\libpango-1.0-0.dll  ; pango, needed by gtk | ||||
| 	Delete $LIB_INSTDIR\libpangocairo-1.0-0.dll  ; pango, needed by gtk | ||||
| 	Delete $LIB_INSTDIR\libpangoft2-1.0-0.dll  ; pango, needed by gtk | ||||
| 	Delete $LIB_INSTDIR\libpangowin32-1.0-0.dll  ; pango, needed by gtk | ||||
| 	Delete $LIB_INSTDIR\libpixman-1-0.dll  ; libpixman, needed by cairo | ||||
| 	Delete $LIB_INSTDIR\libpng16-16.dll  ; for gdk_pixbuf loader. | ||||
| 	Delete $LIB_INSTDIR\libxml2-2.dll  ; fontconfig needs this | ||||
| 	Delete $LIB_INSTDIR\zlib1.dll  ; png and many others need this | ||||
|  | ||||
|  | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
| var found_dir | ||||
| var find_handle_lang_dir | ||||
|  | ||||
|  | ||||
| Section Uninstall | ||||
| 	SetShellVarContext all  ; use all user variables as opposed to current user | ||||
| 	SetAutoClose false | ||||
|  | ||||
| 	; Note: Checking if there is a registry key present, and using it to determine | ||||
| 	; if this is a private installation will not work, as it will break if a parallel | ||||
| 	; shared installation is present. | ||||
|  | ||||
| 	; ReadRegStr $INST_DIR_REG HKLM "SOFTWARE\${PRODUCT_NAME}" "InstallationDirectory" | ||||
| 	; StrCmp $INST_DIR_REG "" uninst_no_sideeffects | ||||
| 	StrCmp $uninstall_option_sideeffects "no" uninst_no_sideeffects | ||||
| 		; For PATH removal | ||||
| 		ReadRegStr $LIB_INSTDIR HKLM "SOFTWARE\${PRODUCT_NAME}" "DllPath" | ||||
| 		ReadRegStr $DLL_DIR_NAME HKLM "SOFTWARE\${PRODUCT_NAME}" "DllDirName" | ||||
| 		ReadRegStr $ADD_TO_PATH HKLM "SOFTWARE\${PRODUCT_NAME}" "UsingSystemPath" | ||||
| 		ReadRegStr $SEC_TRANSLATIONS_INSTALLED HKLM "SOFTWARE\${PRODUCT_NAME}" "TranslationsInstalled" | ||||
|  | ||||
| 		DeleteRegKey HKLM "SOFTWARE\GTK\2.0"  ; dropline, etc... | ||||
| 		DeleteRegKey /ifempty HKLM "SOFTWARE\GTK"  ; don't damage other installations | ||||
|  | ||||
| 		DeleteRegKey HKLM "SOFTWARE\${PRODUCT_NAME}" | ||||
| 		DeleteRegKey HKLM "${PRODUCT_UNINST_KEY}" | ||||
|  | ||||
| 		; FIXME: Do we have this registry key? | ||||
| 		; DeleteRegKey HKCU "Software\${PRODUCT_NAME}" | ||||
|  | ||||
| 		Delete "$SMPROGRAMS\GTK2 Runtime\Uninstall GTK2 Runtime.lnk" | ||||
| 		Delete "$SMPROGRAMS\GTK2 Runtime\Go to the website.url" | ||||
| 		RMDir "$SMPROGRAMS\GTK2 Runtime"  ; only if empty, theme selector may still be there | ||||
|  | ||||
| 		; Remove GTK from $PATH | ||||
| 		StrCmp $ADD_TO_PATH "0" un_nopath  ; Setting $PATH was not requested during installation | ||||
| 		; Push $LIB_INSTDIR | ||||
| 		; Call un.RemoveFromPath | ||||
| 		Push $0  ; result PATH | ||||
| 		${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$LIB_INSTDIR" ; remove | ||||
| 		Pop $0 | ||||
| 		; MessageBox MB_OK "$LIB_INSTDIR removed from PATH" /SD IDOK | ||||
| 		un_nopath: | ||||
|  | ||||
| 		; $DLL_DIR_NAME is from the registry here | ||||
| 		Call un.DeleteDlls | ||||
|  | ||||
| 		goto delete_dlls_exit | ||||
|  | ||||
|  | ||||
| 	uninst_no_sideeffects: | ||||
|  | ||||
|  | ||||
| 		Strcpy $SEC_TRANSLATIONS_INSTALLED "0" | ||||
| 		StrCmp $uninstall_option_translations "yes" "" nodelete_translations | ||||
| 			Strcpy $SEC_TRANSLATIONS_INSTALLED "1" | ||||
| 		nodelete_translations: | ||||
|  | ||||
|  | ||||
| 		; All dll files. We delete them before /bin and /lib, so that | ||||
| 		; the directories are empty afterwards. | ||||
|  | ||||
| 		; Since we have no registry, we have to remove dlls from all possible locations | ||||
| 		; StrCpy $DLL_DIR_NAME "" | ||||
| 		; Call un.DeleteDlls | ||||
| 		; StrCpy $DLL_DIR_NAME "bin" | ||||
| 		; Call un.DeleteDlls | ||||
| 		; StrCpy $DLL_DIR_NAME "lib" | ||||
| 		; Call un.DeleteDlls | ||||
| 		 | ||||
| 		; Force users to use the command-line argument instead: | ||||
| 		; if silent, use the /dllpath= option | ||||
| 		StrCmp $uninstall_option_dllpath "bin" goto_undll_bin | ||||
| 		StrCmp $uninstall_option_dllpath "lib" goto_undll_lib | ||||
| 		StrCmp $uninstall_option_dllpath "root" goto_undll_none goto_undll_bin  ; default to bin if not matched | ||||
|  | ||||
| 		goto_undll_none: | ||||
| 			StrCpy $DLL_DIR_NAME "" | ||||
| 			goto goto_undll_exit | ||||
| 		goto_undll_lib: | ||||
| 			StrCpy $DLL_DIR_NAME "lib" | ||||
| 			goto goto_undll_exit | ||||
| 		goto_undll_bin: | ||||
| 			StrCpy $DLL_DIR_NAME "bin" | ||||
| 			goto goto_undll_exit | ||||
|  | ||||
| 		goto_undll_exit: | ||||
| 		    Call un.DeleteDlls | ||||
|  | ||||
| 	delete_dlls_exit: | ||||
|  | ||||
|  | ||||
| 	; Delete config file? | ||||
| 	IfSilent "" read_config_page | ||||
| 		StrCmp $uninstall_option_remove_config "yes" delete_config skip_config | ||||
|  | ||||
| 	read_config_page: | ||||
| 		!insertmacro INSTALLOPTIONS_READ $leave_config "nsi_configpage.ini" "Field 1" "State" | ||||
| 		StrCmp $leave_config "1" skip_config | ||||
|  | ||||
| 	delete_config: | ||||
| 		Delete "$INSTDIR\etc\gtk-2.0\gtkrc" | ||||
| 	skip_config: | ||||
|  | ||||
|  | ||||
| 	Delete "$INSTDIR\etc\fonts\fonts.conf" | ||||
| 	RMDir "$INSTDIR\etc\fonts"  ; only if empty | ||||
| 	Delete "$INSTDIR\etc\pango\pango.modules" | ||||
| 	RMDir "$INSTDIR\etc\pango"  ; only if empty | ||||
| 	; Delete "$INSTDIR\etc\gtk-2.0\gdk-pixbuf.loaders" | ||||
| 	Delete "$INSTDIR\etc\gtk-2.0\gtk.immodules" | ||||
| 	Delete "$INSTDIR\etc\gtk-2.0\gtkrc.default" | ||||
| 	Delete "$INSTDIR\etc\gtk-2.0\im-multipress.conf" | ||||
| 	RMDir "$INSTDIR\etc\gtk-2.0" ; only if empty | ||||
| 	RMDir "$INSTDIR\etc" ; only if empty | ||||
|  | ||||
| 	; some helper files here | ||||
| 	RMDir /r "$INSTDIR\gtk2-runtime" | ||||
|  | ||||
| 	RMDir "$INSTDIR\bin"  ; only if empty | ||||
|  | ||||
| 	; RMDir /r "$INSTDIR\lib" | ||||
| 	; pango modules are gone as of gtk 2.10 | ||||
| 	;  RMDir /r "$INSTDIR\lib\pango" | ||||
| 	 | ||||
| 	Delete "$INSTDIR\lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}\loaders.cache" | ||||
| 	; RMDir "$INSTDIR\lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}\loaders"  ; not forced | ||||
| 	RMDir "$INSTDIR\lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}"  ; not forced | ||||
| 	RMDir "$INSTDIR\lib\gdk-pixbuf-2.0"  ; not forced | ||||
|  | ||||
|  | ||||
| 	RMDir /r "$INSTDIR\lib\gtk-2.0\modules" | ||||
|  | ||||
| 	; no longer in gtk as of 2.14.5 | ||||
| 	; RMDir /r "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\immodules" | ||||
| 	; gone as of gtk 2.16.6-2 | ||||
| 	;RMDir /r "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\loaders" | ||||
|  | ||||
| 	Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libwimp*.dll" | ||||
| 	; there should be no problem deleting this | ||||
| 	Delete "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines\libpixmap*.dll" | ||||
|  | ||||
| 	RMDir "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}\engines"  ; not forced | ||||
| 	RMDir "$INSTDIR\lib\gtk-2.0\${GTK_BIN_VERSION}"  ; not forced | ||||
| 	RMDir "$INSTDIR\lib\gtk-2.0"  ; not forced | ||||
|  | ||||
| 	RMDir "$INSTDIR\lib"  ; not forced | ||||
|  | ||||
| 	Delete "$INSTDIR\share\locale\locale.alias"  ; gettext | ||||
|  | ||||
| 	; Remove our translations only | ||||
| 	StrCmp $SEC_TRANSLATIONS_INSTALLED "1" "" un_notranslations | ||||
| 		FindFirst $find_handle_lang_dir $found_dir "$INSTDIR\share\locale\*" | ||||
| 		find_lang_dir_next: | ||||
| 		; DetailPrint "LOC: $found_dir" | ||||
| 		StrCmp $found_dir "" find_lang_dir_done | ||||
| 		; check if it's a directory | ||||
| 		IfFileExists "$INSTDIR\share\locale\$found_dir\*.*" "" find_lang_dir_continue | ||||
| 		IfFileExists "$INSTDIR\share\locale\$found_dir\LC_MESSAGES\*.*" "" find_lang_dir_continue | ||||
|  | ||||
| 		Delete "$INSTDIR\share\locale\$found_dir\LC_MESSAGES\atk10.mo" | ||||
| 		Delete "$INSTDIR\share\locale\$found_dir\LC_MESSAGES\gdk-pixbuf.mo" | ||||
| 		Delete "$INSTDIR\share\locale\$found_dir\LC_MESSAGES\glib20.mo" | ||||
| 		Delete "$INSTDIR\share\locale\$found_dir\LC_MESSAGES\gtk20.mo" | ||||
| 		Delete "$INSTDIR\share\locale\$found_dir\LC_MESSAGES\gtk20-properties.mo" | ||||
|  | ||||
| 		RmDir "$INSTDIR\share\locale\$found_dir\LC_MESSAGES"  ; only if empty | ||||
| 		RmDir "$INSTDIR\share\locale\$found_dir" | ||||
|  | ||||
| 		find_lang_dir_continue: | ||||
| 		FindNext $find_handle_lang_dir $found_dir | ||||
| 		goto find_lang_dir_next | ||||
| 		find_lang_dir_done: | ||||
| 		FindClose $find_handle_lang_dir | ||||
|  | ||||
| 		RMDir "$INSTDIR\share\locale"  ; only if empty, not to remove the other programs' translations | ||||
| 	un_notranslations: | ||||
|  | ||||
|  | ||||
| 	RMDir /r "$INSTDIR\share\themes\Raleigh" | ||||
| 	RMDir /r "$INSTDIR\share\themes\MS-Windows" | ||||
| 	RMDir /r "$INSTDIR\share\themes\Emacs" | ||||
|  | ||||
| 	RMDir "$INSTDIR\share\themes"  ; not forced | ||||
| 	RMDir "$INSTDIR\share"  ; not forced | ||||
|  | ||||
| 	Delete "$INSTDIR\gtk2_runtime_uninst.exe" | ||||
|  | ||||
| 	RMDir "$INSTDIR"  ; delete only if empty | ||||
|  | ||||
| SectionEnd ; end of uninstall section | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; --------------- Helpers | ||||
|  | ||||
|  | ||||
| ; WriteEnvBat | ||||
| Function WriteEnvBat | ||||
| 	Pop $R0 ; Output file | ||||
| 	Push $R9 | ||||
| 		FileOpen $R9 $R0 w | ||||
| 		FileWrite $R9 "@set GTK2R_PREFIX=$LIB_INSTDIR$\r$\n" | ||||
| 		FileWrite $R9 "$\r$\n" | ||||
| 		FileWrite $R9 "@echo Setting environment variables for GTK2-Runtime.$\r$\n" | ||||
| 		FileWrite $R9 "@echo.$\r$\n" | ||||
| 		FileWrite $R9 "$\r$\n" | ||||
| 		FileWrite $R9 "@echo set PATH=%GTK2R_PREFIX%;%%PATH%%$\r$\n" | ||||
| 		FileWrite $R9 "@set PATH=%GTK2R_PREFIX%;%PATH%$\r$\n" | ||||
| 		FileWrite $R9 "$\r$\n" | ||||
| 		FileWrite $R9 "@echo.$\r$\n" | ||||
| 		FileClose $R9 | ||||
| 	Pop $R9 | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
| ; WritePostInstall | ||||
| Function WritePostInstall | ||||
| 	SetShellVarContext all  ; use all user variables as opposed to current user | ||||
| 	Pop $R0 ; Output file | ||||
| 	Push $R9 | ||||
| 		FileOpen $R9 $R0 w | ||||
| 		FileWrite $R9 "@echo off$\r$\n" | ||||
| 		FileWrite $R9 "$\"$INSTDIR\bin\pango-querymodules.exe$\" > $\"$INSTDIR\etc\pango\pango.modules$\"$\r$\n" | ||||
| 		FileWrite $R9 "rem $\"$INSTDIR\bin\gdk-pixbuf-query-loaders.exe$\" > $\"$INSTDIR\etc\gtk-2.0\gdk-pixbuf.loaders$\"$\r$\n" | ||||
| 		FileWrite $R9 "$\"$INSTDIR\bin\gtk-query-immodules-2.0.exe$\" > $\"$INSTDIR\etc\gtk-2.0\gtk.immodules$\"$\r$\n" | ||||
| 		FileWrite $R9 "rem $\"$INSTDIR\bin\gtk-update-icon-cache.exe$\"$\r$\n" | ||||
| 		FileClose $R9 | ||||
| 	Pop $R9 | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; Detect previous installation | ||||
| Function DetectPrevInstallation | ||||
| 	; if /removeold=no option is given, don't check anything. | ||||
| 	StrCmp $install_option_removeold "no" old_detect_done | ||||
|  | ||||
| 	SetShellVarContext all  ; use all user variables as opposed to current user | ||||
| 	push $R0 | ||||
|  | ||||
| 	; detect previous installation | ||||
| 	ReadRegStr $R0 HKLM "${PRODUCT_UNINST_KEY}" "UninstallString" | ||||
| 	StrCmp $R0 "" old_detect_done | ||||
|  | ||||
| 	MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \ | ||||
| 		"${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the \ | ||||
| 		previous version or `Cancel` to continue anyway." \ | ||||
| 		/SD IDOK IDOK old_uninst | ||||
| 		; Abort | ||||
| 		goto old_detect_done | ||||
|  | ||||
| 	; Run the old uninstaller | ||||
| 	old_uninst: | ||||
| 		ClearErrors | ||||
| 		IfSilent old_silent_uninst old_nosilent_uninst | ||||
|  | ||||
| 		old_nosilent_uninst: | ||||
| 			ExecWait '$R0' | ||||
| 			goto old_uninst_continue | ||||
|  | ||||
| 		old_silent_uninst: | ||||
| 			; We assume it's an NSIS-generated uninstaller. | ||||
| 			ExecWait '$R0 /S _?=$INSTDIR' | ||||
|  | ||||
| 		old_uninst_continue: | ||||
|  | ||||
| 		IfErrors old_no_remove_uninstaller | ||||
|  | ||||
| 		; You can either use Delete /REBOOTOK in the uninstaller or add some code | ||||
| 		; here to remove to remove the uninstaller. Use a registry key to check | ||||
| 		; whether the user has chosen to uninstall. If you are using an uninstaller | ||||
| 		; components page, make sure all sections are uninstalled. | ||||
| 		old_no_remove_uninstaller: | ||||
|  | ||||
| 	old_detect_done: ; old installation not found, all ok | ||||
|  | ||||
| 	pop $R0 | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
| ; Prevent running multiple instances of the installer | ||||
| Function PreventMultipleInstances | ||||
| 	Push $R0 | ||||
| 	System::Call 'kernel32::CreateMutexA(i 0, i 0, t ${PRODUCT_NAME}) ?e' | ||||
| 	Pop $R0 | ||||
| 	StrCmp $R0 0 +3 | ||||
| 		MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running." /SD IDOK | ||||
| 		Abort | ||||
| 	Pop $R0 | ||||
| FunctionEnd | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ; eof | ||||
							
								
								
									
										6
									
								
								gtk-nsis-pack/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								gtk-nsis-pack/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| # GdkPixbuf Image Loader Modules file | ||||
| # Automatically generated file, do not edit | ||||
| # Created by gdk-pixbuf-query-loaders.exe from gdk-pixbuf-2.31.1 | ||||
| # | ||||
| # dynamic loading of modules not supported | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libpixmap.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libpixmap.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libwimp.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libwimp.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/modules/libgail.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/modules/libgail.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										30
									
								
								gtk-nsis-pack/license.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								gtk-nsis-pack/license.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
|  | ||||
| You can find the latest version of this software at http://gtk-win.sourceforge.net. | ||||
| You may reach the packager (Alexander Shaduri) by email at ashaduri 'at' gmail.com | ||||
|  | ||||
| The authors make NO WARRANTY or representation, either express or implied, with respect to this software, its quality, accuracy, merchantability, or fitness for a particular purpose.  This software is provided "AS IS", and you, its user, assume the entire risk as to its quality and accuracy. | ||||
|  | ||||
| This package contains the following software (or pieces of it): | ||||
| GTK+, ATK, Pango, GLib, gdk_pixbuf: http://www.gtk.org/; | ||||
| Cairo: http://cairographics.org/; | ||||
| Expat: http://expat.sourceforge.net/; | ||||
| Fontconfig: http://www.fontconfig.org/; | ||||
| Freetype2: http://www.freetype.org/; | ||||
| intl library (from gettext): http://www.gnu.org/software/gettext/; | ||||
| JPEG library: http://www.ijg.org/; | ||||
| libiconv: http://www.gnu.org/software/libiconv/; | ||||
| libpng: http://www.libpng.org/pub/png/libpng.html; | ||||
| LibTIFF: http://www.libtiff.org/; | ||||
| zlib: http://www.zlib.net/. | ||||
|  | ||||
| You may obtain the respective sources at the URLs listed above. | ||||
|  | ||||
| The binaries distributed with this package come from either their official sites (listed above), or from the following locations: | ||||
| GTK+, ATK, Pango, GLib, gdk_pixbuf, Cairo and their dependencies can be obtained from http://ftp.gnome.org/pub/gnome/binaries/win32/. | ||||
| Most other binaries can be obtained from http://gnuwin32.sourceforge.net/. | ||||
|  | ||||
| This package contains the licenses of libraries distributed in it: | ||||
| license_lgpl.txt contains a license for GTK+, ATK, Pango, GLib, gdk_pixbuf, Cairo, Expat, Fontconfig, Freetype2, intl, libiconv, LibTIFF; | ||||
| license_jpeg.txt contains a license for libjpeg; | ||||
| license_png.txt contains a license for libpng; | ||||
| license_zlib.txt contains a license for zlib. | ||||
							
								
								
									
										340
									
								
								gtk-nsis-pack/license_gpl.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										340
									
								
								gtk-nsis-pack/license_gpl.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,340 @@ | ||||
| 		    GNU GENERAL PUBLIC LICENSE | ||||
| 		       Version 2, June 1991 | ||||
|  | ||||
|  Copyright (C) 1989, 1991 Free Software Foundation, Inc. | ||||
|      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA | ||||
|  Everyone is permitted to copy and distribute verbatim copies | ||||
|  of this license document, but changing it is not allowed. | ||||
|  | ||||
| 			    Preamble | ||||
|  | ||||
|   The licenses for most software are designed to take away your | ||||
| freedom to share and change it.  By contrast, the GNU General Public | ||||
| License is intended to guarantee your freedom to share and change free | ||||
| software--to make sure the software is free for all its users.  This | ||||
| General Public License applies to most of the Free Software | ||||
| Foundation's software and to any other program whose authors commit to | ||||
| using it.  (Some other Free Software Foundation software is covered by | ||||
| the GNU Library General Public License instead.)  You can apply it to | ||||
| your programs, too. | ||||
|  | ||||
|   When we speak of free software, we are referring to freedom, not | ||||
| price.  Our General Public Licenses are designed to make sure that you | ||||
| have the freedom to distribute copies of free software (and charge for | ||||
| this service if you wish), that you receive source code or can get it | ||||
| if you want it, that you can change the software or use pieces of it | ||||
| in new free programs; and that you know you can do these things. | ||||
|  | ||||
|   To protect your rights, we need to make restrictions that forbid | ||||
| anyone to deny you these rights or to ask you to surrender the rights. | ||||
| These restrictions translate to certain responsibilities for you if you | ||||
| distribute copies of the software, or if you modify it. | ||||
|  | ||||
|   For example, if you distribute copies of such a program, whether | ||||
| gratis or for a fee, you must give the recipients all the rights that | ||||
| you have.  You must make sure that they, too, receive or can get the | ||||
| source code.  And you must show them these terms so they know their | ||||
| rights. | ||||
|  | ||||
|   We protect your rights with two steps: (1) copyright the software, and | ||||
| (2) offer you this license which gives you legal permission to copy, | ||||
| distribute and/or modify the software. | ||||
|  | ||||
|   Also, for each author's protection and ours, we want to make certain | ||||
| that everyone understands that there is no warranty for this free | ||||
| software.  If the software is modified by someone else and passed on, we | ||||
| want its recipients to know that what they have is not the original, so | ||||
| that any problems introduced by others will not reflect on the original | ||||
| authors' reputations. | ||||
|  | ||||
|   Finally, any free program is threatened constantly by software | ||||
| patents.  We wish to avoid the danger that redistributors of a free | ||||
| program will individually obtain patent licenses, in effect making the | ||||
| program proprietary.  To prevent this, we have made it clear that any | ||||
| patent must be licensed for everyone's free use or not licensed at all. | ||||
|  | ||||
|   The precise terms and conditions for copying, distribution and | ||||
| modification follow. | ||||
|  | ||||
| 		    GNU GENERAL PUBLIC LICENSE | ||||
|    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||||
|  | ||||
|   0. This License applies to any program or other work which contains | ||||
| a notice placed by the copyright holder saying it may be distributed | ||||
| under the terms of this General Public License.  The "Program", below, | ||||
| refers to any such program or work, and a "work based on the Program" | ||||
| means either the Program or any derivative work under copyright law: | ||||
| that is to say, a work containing the Program or a portion of it, | ||||
| either verbatim or with modifications and/or translated into another | ||||
| language.  (Hereinafter, translation is included without limitation in | ||||
| the term "modification".)  Each licensee is addressed as "you". | ||||
|  | ||||
| Activities other than copying, distribution and modification are not | ||||
| covered by this License; they are outside its scope.  The act of | ||||
| running the Program is not restricted, and the output from the Program | ||||
| is covered only if its contents constitute a work based on the | ||||
| Program (independent of having been made by running the Program). | ||||
| Whether that is true depends on what the Program does. | ||||
|  | ||||
|   1. You may copy and distribute verbatim copies of the Program's | ||||
| source code as you receive it, in any medium, provided that you | ||||
| conspicuously and appropriately publish on each copy an appropriate | ||||
| copyright notice and disclaimer of warranty; keep intact all the | ||||
| notices that refer to this License and to the absence of any warranty; | ||||
| and give any other recipients of the Program a copy of this License | ||||
| along with the Program. | ||||
|  | ||||
| You may charge a fee for the physical act of transferring a copy, and | ||||
| you may at your option offer warranty protection in exchange for a fee. | ||||
|  | ||||
|   2. You may modify your copy or copies of the Program or any portion | ||||
| of it, thus forming a work based on the Program, and copy and | ||||
| distribute such modifications or work under the terms of Section 1 | ||||
| above, provided that you also meet all of these conditions: | ||||
|  | ||||
|     a) You must cause the modified files to carry prominent notices | ||||
|     stating that you changed the files and the date of any change. | ||||
|  | ||||
|     b) You must cause any work that you distribute or publish, that in | ||||
|     whole or in part contains or is derived from the Program or any | ||||
|     part thereof, to be licensed as a whole at no charge to all third | ||||
|     parties under the terms of this License. | ||||
|  | ||||
|     c) If the modified program normally reads commands interactively | ||||
|     when run, you must cause it, when started running for such | ||||
|     interactive use in the most ordinary way, to print or display an | ||||
|     announcement including an appropriate copyright notice and a | ||||
|     notice that there is no warranty (or else, saying that you provide | ||||
|     a warranty) and that users may redistribute the program under | ||||
|     these conditions, and telling the user how to view a copy of this | ||||
|     License.  (Exception: if the Program itself is interactive but | ||||
|     does not normally print such an announcement, your work based on | ||||
|     the Program is not required to print an announcement.) | ||||
|  | ||||
| These requirements apply to the modified work as a whole.  If | ||||
| identifiable sections of that work are not derived from the Program, | ||||
| and can be reasonably considered independent and separate works in | ||||
| themselves, then this License, and its terms, do not apply to those | ||||
| sections when you distribute them as separate works.  But when you | ||||
| distribute the same sections as part of a whole which is a work based | ||||
| on the Program, the distribution of the whole must be on the terms of | ||||
| this License, whose permissions for other licensees extend to the | ||||
| entire whole, and thus to each and every part regardless of who wrote it. | ||||
|  | ||||
| Thus, it is not the intent of this section to claim rights or contest | ||||
| your rights to work written entirely by you; rather, the intent is to | ||||
| exercise the right to control the distribution of derivative or | ||||
| collective works based on the Program. | ||||
|  | ||||
| In addition, mere aggregation of another work not based on the Program | ||||
| with the Program (or with a work based on the Program) on a volume of | ||||
| a storage or distribution medium does not bring the other work under | ||||
| the scope of this License. | ||||
|  | ||||
|   3. You may copy and distribute the Program (or a work based on it, | ||||
| under Section 2) in object code or executable form under the terms of | ||||
| Sections 1 and 2 above provided that you also do one of the following: | ||||
|  | ||||
|     a) Accompany it with the complete corresponding machine-readable | ||||
|     source code, which must be distributed under the terms of Sections | ||||
|     1 and 2 above on a medium customarily used for software interchange; or, | ||||
|  | ||||
|     b) Accompany it with a written offer, valid for at least three | ||||
|     years, to give any third party, for a charge no more than your | ||||
|     cost of physically performing source distribution, a complete | ||||
|     machine-readable copy of the corresponding source code, to be | ||||
|     distributed under the terms of Sections 1 and 2 above on a medium | ||||
|     customarily used for software interchange; or, | ||||
|  | ||||
|     c) Accompany it with the information you received as to the offer | ||||
|     to distribute corresponding source code.  (This alternative is | ||||
|     allowed only for noncommercial distribution and only if you | ||||
|     received the program in object code or executable form with such | ||||
|     an offer, in accord with Subsection b above.) | ||||
|  | ||||
| The source code for a work means the preferred form of the work for | ||||
| making modifications to it.  For an executable work, complete source | ||||
| code means all the source code for all modules it contains, plus any | ||||
| associated interface definition files, plus the scripts used to | ||||
| control compilation and installation of the executable.  However, as a | ||||
| special exception, the source code distributed need not include | ||||
| anything that is normally distributed (in either source or binary | ||||
| form) with the major components (compiler, kernel, and so on) of the | ||||
| operating system on which the executable runs, unless that component | ||||
| itself accompanies the executable. | ||||
|  | ||||
| If distribution of executable or object code is made by offering | ||||
| access to copy from a designated place, then offering equivalent | ||||
| access to copy the source code from the same place counts as | ||||
| distribution of the source code, even though third parties are not | ||||
| compelled to copy the source along with the object code. | ||||
|  | ||||
|   4. You may not copy, modify, sublicense, or distribute the Program | ||||
| except as expressly provided under this License.  Any attempt | ||||
| otherwise to copy, modify, sublicense or distribute the Program is | ||||
| void, and will automatically terminate your rights under this License. | ||||
| However, parties who have received copies, or rights, from you under | ||||
| this License will not have their licenses terminated so long as such | ||||
| parties remain in full compliance. | ||||
|  | ||||
|   5. You are not required to accept this License, since you have not | ||||
| signed it.  However, nothing else grants you permission to modify or | ||||
| distribute the Program or its derivative works.  These actions are | ||||
| prohibited by law if you do not accept this License.  Therefore, by | ||||
| modifying or distributing the Program (or any work based on the | ||||
| Program), you indicate your acceptance of this License to do so, and | ||||
| all its terms and conditions for copying, distributing or modifying | ||||
| the Program or works based on it. | ||||
|  | ||||
|   6. Each time you redistribute the Program (or any work based on the | ||||
| Program), the recipient automatically receives a license from the | ||||
| original licensor to copy, distribute or modify the Program subject to | ||||
| these terms and conditions.  You may not impose any further | ||||
| restrictions on the recipients' exercise of the rights granted herein. | ||||
| You are not responsible for enforcing compliance by third parties to | ||||
| this License. | ||||
|  | ||||
|   7. If, as a consequence of a court judgment or allegation of patent | ||||
| infringement or for any other reason (not limited to patent issues), | ||||
| conditions are imposed on you (whether by court order, agreement or | ||||
| otherwise) that contradict the conditions of this License, they do not | ||||
| excuse you from the conditions of this License.  If you cannot | ||||
| distribute so as to satisfy simultaneously your obligations under this | ||||
| License and any other pertinent obligations, then as a consequence you | ||||
| may not distribute the Program at all.  For example, if a patent | ||||
| license would not permit royalty-free redistribution of the Program by | ||||
| all those who receive copies directly or indirectly through you, then | ||||
| the only way you could satisfy both it and this License would be to | ||||
| refrain entirely from distribution of the Program. | ||||
|  | ||||
| If any portion of this section is held invalid or unenforceable under | ||||
| any particular circumstance, the balance of the section is intended to | ||||
| apply and the section as a whole is intended to apply in other | ||||
| circumstances. | ||||
|  | ||||
| It is not the purpose of this section to induce you to infringe any | ||||
| patents or other property right claims or to contest validity of any | ||||
| such claims; this section has the sole purpose of protecting the | ||||
| integrity of the free software distribution system, which is | ||||
| implemented by public license practices.  Many people have made | ||||
| generous contributions to the wide range of software distributed | ||||
| through that system in reliance on consistent application of that | ||||
| system; it is up to the author/donor to decide if he or she is willing | ||||
| to distribute software through any other system and a licensee cannot | ||||
| impose that choice. | ||||
|  | ||||
| This section is intended to make thoroughly clear what is believed to | ||||
| be a consequence of the rest of this License. | ||||
|  | ||||
|   8. If the distribution and/or use of the Program is restricted in | ||||
| certain countries either by patents or by copyrighted interfaces, the | ||||
| original copyright holder who places the Program under this License | ||||
| may add an explicit geographical distribution limitation excluding | ||||
| those countries, so that distribution is permitted only in or among | ||||
| countries not thus excluded.  In such case, this License incorporates | ||||
| the limitation as if written in the body of this License. | ||||
|  | ||||
|   9. The Free Software Foundation may publish revised and/or new versions | ||||
| of the General Public License from time to time.  Such new versions will | ||||
| be similar in spirit to the present version, but may differ in detail to | ||||
| address new problems or concerns. | ||||
|  | ||||
| Each version is given a distinguishing version number.  If the Program | ||||
| specifies a version number of this License which applies to it and "any | ||||
| later version", you have the option of following the terms and conditions | ||||
| either of that version or of any later version published by the Free | ||||
| Software Foundation.  If the Program does not specify a version number of | ||||
| this License, you may choose any version ever published by the Free Software | ||||
| Foundation. | ||||
|  | ||||
|   10. If you wish to incorporate parts of the Program into other free | ||||
| programs whose distribution conditions are different, write to the author | ||||
| to ask for permission.  For software which is copyrighted by the Free | ||||
| Software Foundation, write to the Free Software Foundation; we sometimes | ||||
| make exceptions for this.  Our decision will be guided by the two goals | ||||
| of preserving the free status of all derivatives of our free software and | ||||
| of promoting the sharing and reuse of software generally. | ||||
|  | ||||
| 			    NO WARRANTY | ||||
|  | ||||
|   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY | ||||
| FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN | ||||
| OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | ||||
| PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED | ||||
| OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||||
| MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS | ||||
| TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE | ||||
| PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, | ||||
| REPAIR OR CORRECTION. | ||||
|  | ||||
|   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||||
| WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR | ||||
| REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, | ||||
| INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING | ||||
| OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | ||||
| TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY | ||||
| YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER | ||||
| PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | ||||
| POSSIBILITY OF SUCH DAMAGES. | ||||
|  | ||||
| 		     END OF TERMS AND CONDITIONS | ||||
|  | ||||
| 	    How to Apply These Terms to Your New Programs | ||||
|  | ||||
|   If you develop a new program, and you want it to be of the greatest | ||||
| possible use to the public, the best way to achieve this is to make it | ||||
| free software which everyone can redistribute and change under these terms. | ||||
|  | ||||
|   To do so, attach the following notices to the program.  It is safest | ||||
| to attach them to the start of each source file to most effectively | ||||
| convey the exclusion of warranty; and each file should have at least | ||||
| the "copyright" line and a pointer to where the full notice is found. | ||||
|  | ||||
|     <one line to give the program's name and a brief idea of what it does.> | ||||
|     Copyright (C) <year>  <name of author> | ||||
|  | ||||
|     This program is free software; you can redistribute it and/or modify | ||||
|     it under the terms of the GNU General Public License as published by | ||||
|     the Free Software Foundation; either version 2 of the License, or | ||||
|     (at your option) any later version. | ||||
|  | ||||
|     This program is distributed in the hope that it will be useful, | ||||
|     but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|     GNU General Public License for more details. | ||||
|  | ||||
|     You should have received a copy of the GNU General Public License | ||||
|     along with this program; if not, write to the Free Software | ||||
|     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA | ||||
|  | ||||
|  | ||||
| Also add information on how to contact you by electronic and paper mail. | ||||
|  | ||||
| If the program is interactive, make it output a short notice like this | ||||
| when it starts in an interactive mode: | ||||
|  | ||||
|     Gnomovision version 69, Copyright (C) year  name of author | ||||
|     Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||||
|     This is free software, and you are welcome to redistribute it | ||||
|     under certain conditions; type `show c' for details. | ||||
|  | ||||
| The hypothetical commands `show w' and `show c' should show the appropriate | ||||
| parts of the General Public License.  Of course, the commands you use may | ||||
| be called something other than `show w' and `show c'; they could even be | ||||
| mouse-clicks or menu items--whatever suits your program. | ||||
|  | ||||
| You should also get your employer (if you work as a programmer) or your | ||||
| school, if any, to sign a "copyright disclaimer" for the program, if | ||||
| necessary.  Here is a sample; alter the names: | ||||
|  | ||||
|   Yoyodyne, Inc., hereby disclaims all copyright interest in the program | ||||
|   `Gnomovision' (which makes passes at compilers) written by James Hacker. | ||||
|  | ||||
|   <signature of Ty Coon>, 1 April 1989 | ||||
|   Ty Coon, President of Vice | ||||
|  | ||||
| This General Public License does not permit incorporating your program into | ||||
| proprietary programs.  If your program is a subroutine library, you may | ||||
| consider it more useful to permit linking proprietary applications with the | ||||
| library.  If this is what you want to do, use the GNU Library General | ||||
| Public License instead of this License. | ||||
							
								
								
									
										50
									
								
								gtk-nsis-pack/license_jpeg.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								gtk-nsis-pack/license_jpeg.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,50 @@ | ||||
|  | ||||
| LEGAL ISSUES | ||||
| ============ | ||||
|  | ||||
| In plain English: | ||||
|  | ||||
| 1. We don't promise that this software works.  (But if you find any bugs, | ||||
|    please let us know!) | ||||
| 2. You can use this software for whatever you want.  You don't have to pay us. | ||||
| 3. You may not pretend that you wrote this software.  If you use it in a | ||||
|    program, you must acknowledge somewhere in your documentation that | ||||
|    you've used the IJG code. | ||||
|  | ||||
| In legalese: | ||||
|  | ||||
| The authors make NO WARRANTY or representation, either express or implied, | ||||
| with respect to this software, its quality, accuracy, merchantability, or | ||||
| fitness for a particular purpose.  This software is provided "AS IS", and you, | ||||
| its user, assume the entire risk as to its quality and accuracy. | ||||
|  | ||||
| This software is copyright (C) 1991-1998, Thomas G. Lane. | ||||
| All Rights Reserved except as specified below. | ||||
|  | ||||
| Permission is hereby granted to use, copy, modify, and distribute this | ||||
| software (or portions thereof) for any purpose, without fee, subject to these | ||||
| conditions: | ||||
| (1) If any part of the source code for this software is distributed, then this | ||||
| README file must be included, with this copyright and no-warranty notice | ||||
| unaltered; and any additions, deletions, or changes to the original files | ||||
| must be clearly indicated in accompanying documentation. | ||||
| (2) If only executable code is distributed, then the accompanying | ||||
| documentation must state that "this software is based in part on the work of | ||||
| the Independent JPEG Group". | ||||
| (3) Permission for use of this software is granted only if the user accepts | ||||
| full responsibility for any undesirable consequences; the authors accept | ||||
| NO LIABILITY for damages of any kind. | ||||
|  | ||||
| These conditions apply to any software derived from or based on the IJG code, | ||||
| not just to the unmodified library.  If you use our work, you ought to | ||||
| acknowledge us. | ||||
|  | ||||
| Permission is NOT granted for the use of any IJG author's name or company name | ||||
| in advertising or publicity relating to this software or products derived from | ||||
| it.  This software may be referred to only as "the Independent JPEG Group's | ||||
| software". | ||||
|  | ||||
| We specifically permit and encourage the use of this software as the basis of | ||||
| commercial products, provided that all warranty or liability claims are | ||||
| assumed by the product vendor. | ||||
|  | ||||
							
								
								
									
										437
									
								
								gtk-nsis-pack/license_lgpl.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										437
									
								
								gtk-nsis-pack/license_lgpl.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,437 @@ | ||||
| 		  GNU LIBRARY GENERAL PUBLIC LICENSE | ||||
| 		       Version 2, June 1991 | ||||
|  | ||||
|  Copyright (C) 1991 Free Software Foundation, Inc. | ||||
|     		    59 Temple Place, Suite 330, Boston, MA  02111-1307  USA | ||||
|  Everyone is permitted to copy and distribute verbatim copies | ||||
|  of this license document, but changing it is not allowed. | ||||
|  | ||||
| [This is the first released version of the library GPL.  It is | ||||
|  numbered 2 because it goes with version 2 of the ordinary GPL.] | ||||
|  | ||||
| 			    Preamble | ||||
|  | ||||
|   The licenses for most software are designed to take away your | ||||
| freedom to share and change it.  By contrast, the GNU General Public | ||||
| Licenses are intended to guarantee your freedom to share and change | ||||
| free software--to make sure the software is free for all its users. | ||||
|  | ||||
|   This license, the Library General Public License, applies to some | ||||
| specially designated Free Software Foundation software, and to any | ||||
| other libraries whose authors decide to use it.  You can use it for | ||||
| your libraries, too. | ||||
|  | ||||
|   When we speak of free software, we are referring to freedom, not | ||||
| price.  Our General Public Licenses are designed to make sure that you | ||||
| have the freedom to distribute copies of free software (and charge for | ||||
| this service if you wish), that you receive source code or can get it | ||||
| if you want it, that you can change the software or use pieces of it | ||||
| in new free programs; and that you know you can do these things. | ||||
|  | ||||
|   To protect your rights, we need to make restrictions that forbid | ||||
| anyone to deny you these rights or to ask you to surrender the rights. | ||||
| These restrictions translate to certain responsibilities for you if | ||||
| you distribute copies of the library, or if you modify it. | ||||
|  | ||||
|   For example, if you distribute copies of the library, whether gratis | ||||
| or for a fee, you must give the recipients all the rights that we gave | ||||
| you.  You must make sure that they, too, receive or can get the source | ||||
| code.  If you link a program with the library, you must provide | ||||
| complete object files to the recipients so that they can relink them | ||||
| with the library, after making changes to the library and recompiling | ||||
| it.  And you must show them these terms so they know their rights. | ||||
|  | ||||
|   Our method of protecting your rights has two steps: (1) copyright | ||||
| the library, and (2) offer you this license which gives you legal | ||||
| permission to copy, distribute and/or modify the library. | ||||
|  | ||||
|   Also, for each distributor's protection, we want to make certain | ||||
| that everyone understands that there is no warranty for this free | ||||
| library.  If the library is modified by someone else and passed on, we | ||||
| want its recipients to know that what they have is not the original | ||||
| version, so that any problems introduced by others will not reflect on | ||||
| the original authors' reputations. | ||||
|  | ||||
|   Finally, any free program is threatened constantly by software | ||||
| patents.  We wish to avoid the danger that companies distributing free | ||||
| software will individually obtain patent licenses, thus in effect | ||||
| transforming the program into proprietary software.  To prevent this, | ||||
| we have made it clear that any patent must be licensed for everyone's | ||||
| free use or not licensed at all. | ||||
|  | ||||
|   Most GNU software, including some libraries, is covered by the ordinary | ||||
| GNU General Public License, which was designed for utility programs.  This | ||||
| license, the GNU Library General Public License, applies to certain | ||||
| designated libraries.  This license is quite different from the ordinary | ||||
| one; be sure to read it in full, and don't assume that anything in it is | ||||
| the same as in the ordinary license. | ||||
|  | ||||
|   The reason we have a separate public license for some libraries is that | ||||
| they blur the distinction we usually make between modifying or adding to a | ||||
| program and simply using it.  Linking a program with a library, without | ||||
| changing the library, is in some sense simply using the library, and is | ||||
| analogous to running a utility program or application program.  However, in | ||||
| a textual and legal sense, the linked executable is a combined work, a | ||||
| derivative of the original library, and the ordinary General Public License | ||||
| treats it as such. | ||||
|  | ||||
|   Because of this blurred distinction, using the ordinary General | ||||
| Public License for libraries did not effectively promote software | ||||
| sharing, because most developers did not use the libraries.  We | ||||
| concluded that weaker conditions might promote sharing better. | ||||
|  | ||||
|   However, unrestricted linking of non-free programs would deprive the | ||||
| users of those programs of all benefit from the free status of the | ||||
| libraries themselves.  This Library General Public License is intended to | ||||
| permit developers of non-free programs to use free libraries, while | ||||
| preserving your freedom as a user of such programs to change the free | ||||
| libraries that are incorporated in them.  (We have not seen how to achieve | ||||
| this as regards changes in header files, but we have achieved it as regards | ||||
| changes in the actual functions of the Library.)  The hope is that this | ||||
| will lead to faster development of free libraries. | ||||
|  | ||||
|   The precise terms and conditions for copying, distribution and | ||||
| modification follow.  Pay close attention to the difference between a | ||||
| "work based on the library" and a "work that uses the library".  The | ||||
| former contains code derived from the library, while the latter only | ||||
| works together with the library. | ||||
|  | ||||
|   Note that it is possible for a library to be covered by the ordinary | ||||
| General Public License rather than by this special one. | ||||
|  | ||||
| 		  GNU LIBRARY GENERAL PUBLIC LICENSE | ||||
|    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||||
|  | ||||
|   0. This License Agreement applies to any software library which | ||||
| contains a notice placed by the copyright holder or other authorized | ||||
| party saying it may be distributed under the terms of this Library | ||||
| General Public License (also called "this License").  Each licensee is | ||||
| addressed as "you". | ||||
|  | ||||
|   A "library" means a collection of software functions and/or data | ||||
| prepared so as to be conveniently linked with application programs | ||||
| (which use some of those functions and data) to form executables. | ||||
|  | ||||
|   The "Library", below, refers to any such software library or work | ||||
| which has been distributed under these terms.  A "work based on the | ||||
| Library" means either the Library or any derivative work under | ||||
| copyright law: that is to say, a work containing the Library or a | ||||
| portion of it, either verbatim or with modifications and/or translated | ||||
| straightforwardly into another language.  (Hereinafter, translation is | ||||
| included without limitation in the term "modification".) | ||||
|  | ||||
|   "Source code" for a work means the preferred form of the work for | ||||
| making modifications to it.  For a library, complete source code means | ||||
| all the source code for all modules it contains, plus any associated | ||||
| interface definition files, plus the scripts used to control compilation | ||||
| and installation of the library. | ||||
|  | ||||
|   Activities other than copying, distribution and modification are not | ||||
| covered by this License; they are outside its scope.  The act of | ||||
| running a program using the Library is not restricted, and output from | ||||
| such a program is covered only if its contents constitute a work based | ||||
| on the Library (independent of the use of the Library in a tool for | ||||
| writing it).  Whether that is true depends on what the Library does | ||||
| and what the program that uses the Library does. | ||||
|    | ||||
|   1. You may copy and distribute verbatim copies of the Library's | ||||
| complete source code as you receive it, in any medium, provided that | ||||
| you conspicuously and appropriately publish on each copy an | ||||
| appropriate copyright notice and disclaimer of warranty; keep intact | ||||
| all the notices that refer to this License and to the absence of any | ||||
| warranty; and distribute a copy of this License along with the | ||||
| Library. | ||||
|  | ||||
|   You may charge a fee for the physical act of transferring a copy, | ||||
| and you may at your option offer warranty protection in exchange for a | ||||
| fee. | ||||
|  | ||||
|   2. You may modify your copy or copies of the Library or any portion | ||||
| of it, thus forming a work based on the Library, and copy and | ||||
| distribute such modifications or work under the terms of Section 1 | ||||
| above, provided that you also meet all of these conditions: | ||||
|  | ||||
|     a) The modified work must itself be a software library. | ||||
|  | ||||
|     b) You must cause the files modified to carry prominent notices | ||||
|     stating that you changed the files and the date of any change. | ||||
|  | ||||
|     c) You must cause the whole of the work to be licensed at no | ||||
|     charge to all third parties under the terms of this License. | ||||
|  | ||||
|     d) If a facility in the modified Library refers to a function or a | ||||
|     table of data to be supplied by an application program that uses | ||||
|     the facility, other than as an argument passed when the facility | ||||
|     is invoked, then you must make a good faith effort to ensure that, | ||||
|     in the event an application does not supply such function or | ||||
|     table, the facility still operates, and performs whatever part of | ||||
|     its purpose remains meaningful. | ||||
|  | ||||
|     (For example, a function in a library to compute square roots has | ||||
|     a purpose that is entirely well-defined independent of the | ||||
|     application.  Therefore, Subsection 2d requires that any | ||||
|     application-supplied function or table used by this function must | ||||
|     be optional: if the application does not supply it, the square | ||||
|     root function must still compute square roots.) | ||||
|  | ||||
| These requirements apply to the modified work as a whole.  If | ||||
| identifiable sections of that work are not derived from the Library, | ||||
| and can be reasonably considered independent and separate works in | ||||
| themselves, then this License, and its terms, do not apply to those | ||||
| sections when you distribute them as separate works.  But when you | ||||
| distribute the same sections as part of a whole which is a work based | ||||
| on the Library, the distribution of the whole must be on the terms of | ||||
| this License, whose permissions for other licensees extend to the | ||||
| entire whole, and thus to each and every part regardless of who wrote | ||||
| it. | ||||
|  | ||||
| Thus, it is not the intent of this section to claim rights or contest | ||||
| your rights to work written entirely by you; rather, the intent is to | ||||
| exercise the right to control the distribution of derivative or | ||||
| collective works based on the Library. | ||||
|  | ||||
| In addition, mere aggregation of another work not based on the Library | ||||
| with the Library (or with a work based on the Library) on a volume of | ||||
| a storage or distribution medium does not bring the other work under | ||||
| the scope of this License. | ||||
|  | ||||
|   3. You may opt to apply the terms of the ordinary GNU General Public | ||||
| License instead of this License to a given copy of the Library.  To do | ||||
| this, you must alter all the notices that refer to this License, so | ||||
| that they refer to the ordinary GNU General Public License, version 2, | ||||
| instead of to this License.  (If a newer version than version 2 of the | ||||
| ordinary GNU General Public License has appeared, then you can specify | ||||
| that version instead if you wish.)  Do not make any other change in | ||||
| these notices. | ||||
|  | ||||
|   Once this change is made in a given copy, it is irreversible for | ||||
| that copy, so the ordinary GNU General Public License applies to all | ||||
| subsequent copies and derivative works made from that copy. | ||||
|  | ||||
|   This option is useful when you wish to copy part of the code of | ||||
| the Library into a program that is not a library. | ||||
|  | ||||
|   4. You may copy and distribute the Library (or a portion or | ||||
| derivative of it, under Section 2) in object code or executable form | ||||
| under the terms of Sections 1 and 2 above provided that you accompany | ||||
| it with the complete corresponding machine-readable source code, which | ||||
| must be distributed under the terms of Sections 1 and 2 above on a | ||||
| medium customarily used for software interchange. | ||||
|  | ||||
|   If distribution of object code is made by offering access to copy | ||||
| from a designated place, then offering equivalent access to copy the | ||||
| source code from the same place satisfies the requirement to | ||||
| distribute the source code, even though third parties are not | ||||
| compelled to copy the source along with the object code. | ||||
|  | ||||
|   5. A program that contains no derivative of any portion of the | ||||
| Library, but is designed to work with the Library by being compiled or | ||||
| linked with it, is called a "work that uses the Library".  Such a | ||||
| work, in isolation, is not a derivative work of the Library, and | ||||
| therefore falls outside the scope of this License. | ||||
|  | ||||
|   However, linking a "work that uses the Library" with the Library | ||||
| creates an executable that is a derivative of the Library (because it | ||||
| contains portions of the Library), rather than a "work that uses the | ||||
| library".  The executable is therefore covered by this License. | ||||
| Section 6 states terms for distribution of such executables. | ||||
|  | ||||
|   When a "work that uses the Library" uses material from a header file | ||||
| that is part of the Library, the object code for the work may be a | ||||
| derivative work of the Library even though the source code is not. | ||||
| Whether this is true is especially significant if the work can be | ||||
| linked without the Library, or if the work is itself a library.  The | ||||
| threshold for this to be true is not precisely defined by law. | ||||
|  | ||||
|   If such an object file uses only numerical parameters, data | ||||
| structure layouts and accessors, and small macros and small inline | ||||
| functions (ten lines or less in length), then the use of the object | ||||
| file is unrestricted, regardless of whether it is legally a derivative | ||||
| work.  (Executables containing this object code plus portions of the | ||||
| Library will still fall under Section 6.) | ||||
|  | ||||
|   Otherwise, if the work is a derivative of the Library, you may | ||||
| distribute the object code for the work under the terms of Section 6. | ||||
| Any executables containing that work also fall under Section 6, | ||||
| whether or not they are linked directly with the Library itself. | ||||
|  | ||||
|   6. As an exception to the Sections above, you may also compile or | ||||
| link a "work that uses the Library" with the Library to produce a | ||||
| work containing portions of the Library, and distribute that work | ||||
| under terms of your choice, provided that the terms permit | ||||
| modification of the work for the customer's own use and reverse | ||||
| engineering for debugging such modifications. | ||||
|  | ||||
|   You must give prominent notice with each copy of the work that the | ||||
| Library is used in it and that the Library and its use are covered by | ||||
| this License.  You must supply a copy of this License.  If the work | ||||
| during execution displays copyright notices, you must include the | ||||
| copyright notice for the Library among them, as well as a reference | ||||
| directing the user to the copy of this License.  Also, you must do one | ||||
| of these things: | ||||
|  | ||||
|     a) Accompany the work with the complete corresponding | ||||
|     machine-readable source code for the Library including whatever | ||||
|     changes were used in the work (which must be distributed under | ||||
|     Sections 1 and 2 above); and, if the work is an executable linked | ||||
|     with the Library, with the complete machine-readable "work that | ||||
|     uses the Library", as object code and/or source code, so that the | ||||
|     user can modify the Library and then relink to produce a modified | ||||
|     executable containing the modified Library.  (It is understood | ||||
|     that the user who changes the contents of definitions files in the | ||||
|     Library will not necessarily be able to recompile the application | ||||
|     to use the modified definitions.) | ||||
|  | ||||
|     b) Accompany the work with a written offer, valid for at | ||||
|     least three years, to give the same user the materials | ||||
|     specified in Subsection 6a, above, for a charge no more | ||||
|     than the cost of performing this distribution. | ||||
|  | ||||
|     c) If distribution of the work is made by offering access to copy | ||||
|     from a designated place, offer equivalent access to copy the above | ||||
|     specified materials from the same place. | ||||
|  | ||||
|     d) Verify that the user has already received a copy of these | ||||
|     materials or that you have already sent this user a copy. | ||||
|  | ||||
|   For an executable, the required form of the "work that uses the | ||||
| Library" must include any data and utility programs needed for | ||||
| reproducing the executable from it.  However, as a special exception, | ||||
| the source code distributed need not include anything that is normally | ||||
| distributed (in either source or binary form) with the major | ||||
| components (compiler, kernel, and so on) of the operating system on | ||||
| which the executable runs, unless that component itself accompanies | ||||
| the executable. | ||||
|  | ||||
|   It may happen that this requirement contradicts the license | ||||
| restrictions of other proprietary libraries that do not normally | ||||
| accompany the operating system.  Such a contradiction means you cannot | ||||
| use both them and the Library together in an executable that you | ||||
| distribute. | ||||
|  | ||||
|   7. You may place library facilities that are a work based on the | ||||
| Library side-by-side in a single library together with other library | ||||
| facilities not covered by this License, and distribute such a combined | ||||
| library, provided that the separate distribution of the work based on | ||||
| the Library and of the other library facilities is otherwise | ||||
| permitted, and provided that you do these two things: | ||||
|  | ||||
|     a) Accompany the combined library with a copy of the same work | ||||
|     based on the Library, uncombined with any other library | ||||
|     facilities.  This must be distributed under the terms of the | ||||
|     Sections above. | ||||
|  | ||||
|     b) Give prominent notice with the combined library of the fact | ||||
|     that part of it is a work based on the Library, and explaining | ||||
|     where to find the accompanying uncombined form of the same work. | ||||
|  | ||||
|   8. You may not copy, modify, sublicense, link with, or distribute | ||||
| the Library except as expressly provided under this License.  Any | ||||
| attempt otherwise to copy, modify, sublicense, link with, or | ||||
| distribute the Library is void, and will automatically terminate your | ||||
| rights under this License.  However, parties who have received copies, | ||||
| or rights, from you under this License will not have their licenses | ||||
| terminated so long as such parties remain in full compliance. | ||||
|  | ||||
|   9. You are not required to accept this License, since you have not | ||||
| signed it.  However, nothing else grants you permission to modify or | ||||
| distribute the Library or its derivative works.  These actions are | ||||
| prohibited by law if you do not accept this License.  Therefore, by | ||||
| modifying or distributing the Library (or any work based on the | ||||
| Library), you indicate your acceptance of this License to do so, and | ||||
| all its terms and conditions for copying, distributing or modifying | ||||
| the Library or works based on it. | ||||
|  | ||||
|   10. Each time you redistribute the Library (or any work based on the | ||||
| Library), the recipient automatically receives a license from the | ||||
| original licensor to copy, distribute, link with or modify the Library | ||||
| subject to these terms and conditions.  You may not impose any further | ||||
| restrictions on the recipients' exercise of the rights granted herein. | ||||
| You are not responsible for enforcing compliance by third parties to | ||||
| this License. | ||||
|  | ||||
|   11. If, as a consequence of a court judgment or allegation of patent | ||||
| infringement or for any other reason (not limited to patent issues), | ||||
| conditions are imposed on you (whether by court order, agreement or | ||||
| otherwise) that contradict the conditions of this License, they do not | ||||
| excuse you from the conditions of this License.  If you cannot | ||||
| distribute so as to satisfy simultaneously your obligations under this | ||||
| License and any other pertinent obligations, then as a consequence you | ||||
| may not distribute the Library at all.  For example, if a patent | ||||
| license would not permit royalty-free redistribution of the Library by | ||||
| all those who receive copies directly or indirectly through you, then | ||||
| the only way you could satisfy both it and this License would be to | ||||
| refrain entirely from distribution of the Library. | ||||
|  | ||||
| If any portion of this section is held invalid or unenforceable under any | ||||
| particular circumstance, the balance of the section is intended to apply, | ||||
| and the section as a whole is intended to apply in other circumstances. | ||||
|  | ||||
| It is not the purpose of this section to induce you to infringe any | ||||
| patents or other property right claims or to contest validity of any | ||||
| such claims; this section has the sole purpose of protecting the | ||||
| integrity of the free software distribution system which is | ||||
| implemented by public license practices.  Many people have made | ||||
| generous contributions to the wide range of software distributed | ||||
| through that system in reliance on consistent application of that | ||||
| system; it is up to the author/donor to decide if he or she is willing | ||||
| to distribute software through any other system and a licensee cannot | ||||
| impose that choice. | ||||
|  | ||||
| This section is intended to make thoroughly clear what is believed to | ||||
| be a consequence of the rest of this License. | ||||
|  | ||||
|   12. If the distribution and/or use of the Library is restricted in | ||||
| certain countries either by patents or by copyrighted interfaces, the | ||||
| original copyright holder who places the Library under this License may add | ||||
| an explicit geographical distribution limitation excluding those countries, | ||||
| so that distribution is permitted only in or among countries not thus | ||||
| excluded.  In such case, this License incorporates the limitation as if | ||||
| written in the body of this License. | ||||
|  | ||||
|   13. The Free Software Foundation may publish revised and/or new | ||||
| versions of the Library General Public License from time to time. | ||||
| Such new versions will be similar in spirit to the present version, | ||||
| but may differ in detail to address new problems or concerns. | ||||
|  | ||||
| Each version is given a distinguishing version number.  If the Library | ||||
| specifies a version number of this License which applies to it and | ||||
| "any later version", you have the option of following the terms and | ||||
| conditions either of that version or of any later version published by | ||||
| the Free Software Foundation.  If the Library does not specify a | ||||
| license version number, you may choose any version ever published by | ||||
| the Free Software Foundation. | ||||
|  | ||||
|   14. If you wish to incorporate parts of the Library into other free | ||||
| programs whose distribution conditions are incompatible with these, | ||||
| write to the author to ask for permission.  For software which is | ||||
| copyrighted by the Free Software Foundation, write to the Free | ||||
| Software Foundation; we sometimes make exceptions for this.  Our | ||||
| decision will be guided by the two goals of preserving the free status | ||||
| of all derivatives of our free software and of promoting the sharing | ||||
| and reuse of software generally. | ||||
|  | ||||
| 			    NO WARRANTY | ||||
|  | ||||
|   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO | ||||
| WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. | ||||
| EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR | ||||
| OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY | ||||
| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE | ||||
| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||||
| PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE | ||||
| LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME | ||||
| THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | ||||
|  | ||||
|   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN | ||||
| WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY | ||||
| AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU | ||||
| FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR | ||||
| CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE | ||||
| LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING | ||||
| RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A | ||||
| FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF | ||||
| SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH | ||||
| DAMAGES. | ||||
|  | ||||
| 		     END OF TERMS AND CONDITIONS | ||||
							
								
								
									
										98
									
								
								gtk-nsis-pack/license_png.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										98
									
								
								gtk-nsis-pack/license_png.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,98 @@ | ||||
|  | ||||
| COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: | ||||
|  | ||||
| If you modify libpng you may insert additional notices immediately following | ||||
| this sentence. | ||||
|  | ||||
| libpng versions 1.0.7, July 1, 2000, through 1.0.8, July 24, 2000, are | ||||
| Copyright (c) 2000 Glenn Randers-Pehrson | ||||
| and are distributed according to the same disclaimer and license as libpng-1.0.6 | ||||
| with the following individuals added to the list of Contributing Authors | ||||
|  | ||||
|    Simon-Pierre Cadieux | ||||
|    Eric S. Raymond | ||||
|    Gilles Vollant | ||||
|  | ||||
| and with the following additions to the disclaimer: | ||||
|  | ||||
|    There is no warranty against interference with your enjoyment of the | ||||
|    library or against infringement.  There is no warranty that our | ||||
|    efforts or the library will fulfill any of your particular purposes | ||||
|    or needs.  This library is provided with all faults, and the entire | ||||
|    risk of satisfactory quality, performance, accuracy, and effort is with | ||||
|    the user. | ||||
|  | ||||
| libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are | ||||
| Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are | ||||
| distributed according to the same disclaimer and license as libpng-0.96, | ||||
| with the following individuals added to the list of Contributing Authors: | ||||
|  | ||||
|    Tom Lane | ||||
|    Glenn Randers-Pehrson | ||||
|    Willem van Schaik | ||||
|  | ||||
| libpng versions 0.89, June 1996, through 0.96, May 1997, are | ||||
| Copyright (c) 1996, 1997 Andreas Dilger | ||||
| Distributed according to the same disclaimer and license as libpng-0.88, | ||||
| with the following individuals added to the list of Contributing Authors: | ||||
|  | ||||
|    John Bowler | ||||
|    Kevin Bracey | ||||
|    Sam Bushell | ||||
|    Magnus Holmgren | ||||
|    Greg Roelofs | ||||
|    Tom Tanner | ||||
|  | ||||
| libpng versions 0.5, May 1995, through 0.88, January 1996, are | ||||
| Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. | ||||
|  | ||||
| For the purposes of this copyright and license, "Contributing Authors" | ||||
| is defined as the following set of individuals: | ||||
|  | ||||
|    Andreas Dilger | ||||
|    Dave Martindale | ||||
|    Guy Eric Schalnat | ||||
|    Paul Schmidt | ||||
|    Tim Wegner | ||||
|  | ||||
| The PNG Reference Library is supplied "AS IS".  The Contributing Authors | ||||
| and Group 42, Inc. disclaim all warranties, expressed or implied, | ||||
| including, without limitation, the warranties of merchantability and of | ||||
| fitness for any purpose.  The Contributing Authors and Group 42, Inc. | ||||
| assume no liability for direct, indirect, incidental, special, exemplary, | ||||
| or consequential damages, which may result from the use of the PNG | ||||
| Reference Library, even if advised of the possibility of such damage. | ||||
|  | ||||
| Permission is hereby granted to use, copy, modify, and distribute this | ||||
| source code, or portions hereof, for any purpose, without fee, subject | ||||
| to the following restrictions: | ||||
|  | ||||
| 1. The origin of this source code must not be misrepresented. | ||||
|  | ||||
| 2. Altered versions must be plainly marked as such and must not | ||||
|    be misrepresented as being the original source. | ||||
|  | ||||
| 3. This Copyright notice may not be removed or altered from any | ||||
|    source or altered source distribution. | ||||
|  | ||||
| The Contributing Authors and Group 42, Inc. specifically permit, without | ||||
| fee, and encourage the use of this source code as a component to | ||||
| supporting the PNG file format in commercial products.  If you use this | ||||
| source code in a product, acknowledgment is not required but would be | ||||
| appreciated. | ||||
|  | ||||
|  | ||||
| A "png_get_copyright" function is available, for convenient use in "about" | ||||
| boxes and the like: | ||||
|  | ||||
|    printf("%s",png_get_copyright(NULL)); | ||||
|  | ||||
| Also, the PNG logo (in PNG format, of course) is supplied in the | ||||
| files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). | ||||
|  | ||||
| Libpng is OSI Certified Open Source Software.  OSI Certified Open Source is a | ||||
| certification mark of the Open Source Initiative. | ||||
|  | ||||
| Glenn Randers-Pehrson | ||||
| randeg@alum.rpi.edu | ||||
| July 24, 2000 | ||||
							
								
								
									
										194
									
								
								gtk-nsis-pack/license_themes.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										194
									
								
								gtk-nsis-pack/license_themes.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,194 @@ | ||||
|  | ||||
| You can find the latest version of this software at http://gtk-win.sourceforge.net. | ||||
| You may reach the packager (Alexander Shaduri) by email at ashaduri 'at' gmail.com | ||||
|  | ||||
| The authors make NO WARRANTY or representation, either express or implied, with respect to this software, its quality, accuracy, merchantability, or fitness for a particular purpose.  This software is provided "AS IS", and you, its user, assume the entire risk as to its quality and accuracy. | ||||
|  | ||||
| This package contains the following software (or pieces of it): | ||||
|  | ||||
| GTK+ Preference tool from http://gtk-win.sourceforge.net. | ||||
|  | ||||
| GTK+ theme engines and themes: | ||||
|  | ||||
| Themes from gnome-themes 2.26.3 http://ftp.gnome.org/pub/gnome/sources/gnome-themes/2.26/ | ||||
| 	ClearlooksClassic (clearlooks engine) | ||||
| 	ClearlooksTest (clearlooks engine) | ||||
| 	Glider (glide engine) | ||||
| 	Glossy (clearlooks engine) | ||||
| 	HighContrast (accessibility theme, HighContrast (HC) engine) | ||||
| 	HighContrastInverse (accessibility theme, HighContrast (HC) engine) | ||||
| 	HighContrastLargePrint (accessibility theme, HighContrast (HC) engine) | ||||
| 	HighContrastLargePrintInverse (accessibility theme, HighContrast (HC) engine) | ||||
| 	Inverted (clearlooks engine) | ||||
| 	LargePrint (accessibility theme, default engine) | ||||
| 	LowContrast (accessibility theme, default engine) | ||||
| 	LowContrastLargePrint (accessibility theme, default engine) | ||||
| 	Simple (thinice engine) | ||||
|  | ||||
| Themes from gnome-themes-extras 2.22.0 http://ftp.gnome.org/pub/gnome/sources/gnome-themes-extras/2.22/ | ||||
| 	Darklooks (clearlooks engine) | ||||
| 	Unity (clearlooks engine) | ||||
|  | ||||
| Themes from gnome-themes-extras 0.9 http://ftp.gnome.org/pub/gnome/sources/gnome-themes-extras/0.9/ | ||||
| 	Amaranth (smooth engine) | ||||
| 	Gorilla (industrial engine) | ||||
| 	Lush (smooth engine) | ||||
| 	Nuvola (smooth engine) | ||||
| 	Wasp (smooth engine) | ||||
|  | ||||
| Anachron 0.1 http://www.gnome-look.org/content/show.php/anachron-engine?content=20370 | ||||
| 	AnachronAna | ||||
|  | ||||
| Aurora 1.5.1 http://www.gnome-look.org/content/show.php/Aurora+Gtk+Engine?content=56438 | ||||
| 	Aurora | ||||
|  | ||||
| Bluecurve 1.0.0 (aka Wonderland) http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/bluecurve-gtk-themes-1.0.0-4.fc12.src.rpm | ||||
| 	Bluecurve (Red Hat style) | ||||
| 	Bluecurve-BerriesAndCream | ||||
| 	Bluecurve-Gnome | ||||
| 	Bluecurve-Grape | ||||
| 	Bluecurve-Lime | ||||
| 	Bluecurve-Slate | ||||
| 	Bluecurve-Strawberry | ||||
| 	Bluecurve-Tangerine | ||||
|  | ||||
| Blueprint 0.9.20 http://dlc.sun.com/osol/jds/downloads/extras/ | ||||
| 	Blueprint | ||||
| 	Blueprint-Green | ||||
| 	Blueprint-Ice | ||||
| 	Blueprint-Sand | ||||
| 	Blueprint-no-color | ||||
|  | ||||
| Candido 0.9.1 http://candido.berlios.de/pages/engine.php . The themes come from the same location. | ||||
| 	Candido-Calm | ||||
| 	Candido-Candy | ||||
| 	Candido-DarkOrange | ||||
| 	Candido-Hybrid | ||||
| 	Candido-NeoGraphite | ||||
|  | ||||
| CleanIce 2.4.1 http://sourceforge.net/projects/elysium-project/ . The themes come from Debian patches at http://packages.debian.org/unstable/graphics/gtk2-engines-cleanice . | ||||
| 	Cleanice | ||||
| 	Cleanice-Dark | ||||
| 	Cleanice-Debian | ||||
|  | ||||
| Clearlooks from gtk-engines 2.18.2 http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/ | ||||
| 	Clearlooks | ||||
|  | ||||
| Crux from gtk-engines 2.18.2 http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/ | ||||
| 	Crux | ||||
|  | ||||
| Dyndyn 0.1 http://dyndyn-engine.sourceforge.net/ . The themes come from the same location. | ||||
| 	DyndynBlueGray | ||||
| 	DyndynPinkGray | ||||
|  | ||||
| Excelsior 4.1.0 http://www.gnome-look.org/content/show.php/Excelsior+(Engine)?content=76486 | ||||
| 	Xcl-aqua | ||||
| 	Xcl-aqua-dark | ||||
| 	Xcl-bubblegum | ||||
| 	Xcl-bubblegum-dark | ||||
| 	Xcl-clarius | ||||
| 	Xcl-clarius-dark | ||||
| 	Xcl-flat | ||||
| 	Xcl-flat-dark | ||||
| 	Xcl-inverted | ||||
| 	Xcl-inverted-dark | ||||
|  | ||||
| gFlat 0.3 http://www.gnome-look.org/content/show.php/gFlat+gtk+engine?content=39916 | ||||
| 	Gflat-graphite | ||||
| 	Gflat-quicksilver | ||||
|  | ||||
| Glide from gtk-engines 2.18.2 http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/ | ||||
|  | ||||
| HighContrast (HC) from gtk-engines 2.18.2 http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/ | ||||
|  | ||||
| Industrial from gtk-engines 2.18.2 http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/ | ||||
| 	Industrial | ||||
|  | ||||
| LighthouseBlue from gtk-engines-2.6.11, http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.6/ | ||||
| 	LighthouseBlue | ||||
|  | ||||
| Metal from gtk-engines-2.6.11, http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.6/ | ||||
| 	Metal (Java Swing style) | ||||
|  | ||||
| MagicChicken 1.1.1 http://packages.debian.org/source/sid/gtk2-engines-magicchicken | ||||
| 	CortlandChicken (MacOS 9 style) | ||||
| 	MagicChicken | ||||
| 	OkayishChicken | ||||
|  | ||||
| Mist from gtk-engines 2.18.2 http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/ | ||||
| 	Mist | ||||
|  | ||||
| Murrine 0.90.3 http://www.cimitan.com/pages/murrine.php . The themes come from http://packages.debian.org/sid/murrine-themes . | ||||
| 	MurrinaAquaIsh | ||||
| 	MurrinaAzul | ||||
| 	MurrinaBleu | ||||
| 	MurrinaBlue | ||||
| 	MurrinaCandido | ||||
| 	MurrinaCandy | ||||
| 	MurrinaCappuccino | ||||
| 	MurrinaChrome | ||||
| 	MurrinaCream | ||||
| 	MurrinaEalm | ||||
| 	MurrinaFancyCandy | ||||
| 	MurrinaGilouche | ||||
| 	MurrinaLoveGray | ||||
| 	MurrinaNeoGraphite | ||||
| 	MurrinaVerdeOlivo | ||||
| 	MurrineRounded | ||||
| 	MurrineRoundedIcon | ||||
| 	MurrineRoundedLessFramed | ||||
| 	MurrineRoundedLessFramedIcon | ||||
|  | ||||
| Nimbus 0.1.3 http://dlc.sun.com/osol/jds/downloads/extras/nimbus/ | ||||
| 	Nimbus | ||||
| 	Nimbus-Dark | ||||
| 	Nimbus-Light | ||||
|  | ||||
| Nodoka 0.7.2 https://fedorahosted.org/nodoka/ | ||||
| 	Nodoka (FC8 theme) | ||||
| 	Nodoka-Aqua | ||||
| 	Nodoka-Gilouche | ||||
| 	Nodoka-Looks | ||||
| 	Nodoka-Midnight | ||||
| 	Nodoka-Rounded | ||||
| 	Nodoka-Silver | ||||
| 	Nodoka-Squared | ||||
|  | ||||
| Redmond95 from gtk-engines 2.18.2 http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/ | ||||
| 	Redmond (Win9x style) | ||||
|  | ||||
| Rezlooks 0.6 http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/gtk-rezlooks-engine-0.6-9.fc12.src.rpm | ||||
| 	Rezlooks-Gilouche | ||||
| 	Rezlooks-Snow | ||||
| 	Rezlooks-candy | ||||
| 	Rezlooks-dark | ||||
| 	Rezlooks-graphite | ||||
|  | ||||
| Smooth 2.14.3 http://packages.debian.org/source/sid/gtk-smooth-engine . The themes come from smooth-themes 0.5.8 at http://packages.debian.org/sid/gtk-smooth-themes . | ||||
| 	Delightfully-Smooth | ||||
| 	G26 | ||||
| 	Smooth-Funky-Monkey | ||||
| 	Smooth-Line | ||||
| 	Smooth-Okayish | ||||
| 	Smooth-Sea-Ice | ||||
| 	Smooth-Tangerine-Dream | ||||
| 	Smooth-Winter | ||||
|  | ||||
| ThinIce from gtk-engines 2.18.2 http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/ | ||||
| 	ThinIce | ||||
|  | ||||
| Ubuntulooks 0.9.12 http://packages.ubuntu.com/karmic/gtk2-engines-ubuntulooks | ||||
| 	Human (Ubuntu theme) | ||||
|  | ||||
| XFCE 2.6.0 http://mocha.xfce.org/archive/xfce-4.6.1/src/ | ||||
| 	Xfce | ||||
| 	Xfce-4.0 | ||||
| 	Xfce-4.2 | ||||
| 	Xfce-4.4 | ||||
| 	(many more themes are distributed with xfce-engine but not included here) | ||||
|  | ||||
| Unless indicated otherwise, all themes come with their respective engine packages. | ||||
|  | ||||
| You may obtain the respective sources at the URLs listed above. | ||||
|  | ||||
| The combined package (engines, themes, GTK+ Preference Tool) is licensed under GNU GPLv2. See license_gpl.txt file for details. | ||||
							
								
								
									
										32
									
								
								gtk-nsis-pack/license_zlib.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								gtk-nsis-pack/license_zlib.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,32 @@ | ||||
|  | ||||
| Copyright notice: | ||||
|  | ||||
|  (C) 1995-1998 Jean-loup Gailly and Mark Adler | ||||
|  | ||||
|   This software is provided 'as-is', without any express or implied | ||||
|   warranty.  In no event will the authors be held liable for any damages | ||||
|   arising from the use of this software. | ||||
|  | ||||
|   Permission is granted to anyone to use this software for any purpose, | ||||
|   including commercial applications, and to alter it and redistribute it | ||||
|   freely, subject to the following restrictions: | ||||
|  | ||||
|   1. The origin of this software must not be misrepresented; you must not | ||||
|      claim that you wrote the original software. If you use this software | ||||
|      in a product, an acknowledgment in the product documentation would be | ||||
|      appreciated but is not required. | ||||
|   2. Altered source versions must be plainly marked as such, and must not be | ||||
|      misrepresented as being the original software. | ||||
|   3. This notice may not be removed or altered from any source distribution. | ||||
|  | ||||
|   Jean-loup Gailly        Mark Adler | ||||
|   jloup@gzip.org          madler@alumni.caltech.edu | ||||
|  | ||||
| If you use the zlib library in a product, we would appreciate *not* | ||||
| receiving lengthy legal documents to sign. The sources are provided | ||||
| for free but without warranty of any kind.  The library has been | ||||
| entirely written by Jean-loup Gailly and Mark Adler; it does not | ||||
| include third-party code. | ||||
|  | ||||
| If you redistribute modified sources, we would appreciate that you include | ||||
| in the file ChangeLog history information documenting your changes. | ||||
							
								
								
									
										15
									
								
								gtk-nsis-pack/nsi_configpage.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								gtk-nsis-pack/nsi_configpage.ini
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| [Settings] | ||||
| NumFields=1 | ||||
|  | ||||
| [Field 1] | ||||
| Type=checkbox | ||||
| Text=Save global GTK+ settings for future installations | ||||
| Left=0 | ||||
| Right=-1 | ||||
| Top=10 | ||||
| Bottom=40 | ||||
| State=1 | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
							
								
								
									
										327
									
								
								gtk-nsis-pack/nsi_env_var_update.nsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										327
									
								
								gtk-nsis-pack/nsi_env_var_update.nsh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,327 @@ | ||||
| /** | ||||
|  *  EnvVarUpdate.nsh | ||||
|  *    : Environmental Variables: append, prepend, and remove entries | ||||
|  * | ||||
|  *     WARNING: If you use StrFunc.nsh header then include it before this file | ||||
|  *              with all required definitions. This is to avoid conflicts | ||||
|  * | ||||
|  *  Usage: | ||||
|  *    ${EnvVarUpdate} "ResultVar" "EnvVarName" "Action" "RegLoc" "PathString" | ||||
|  * | ||||
|  *  Credits: | ||||
|  *  Version 1.0  | ||||
|  *  * Cal Turney (turnec2) | ||||
|  *  * Amir Szekely (KiCHiK) and e-circ for developing the forerunners of this | ||||
|  *    function: AddToPath, un.RemoveFromPath, AddToEnvVar, un.RemoveFromEnvVar, | ||||
|  *    WriteEnvStr, and un.DeleteEnvStr | ||||
|  *  * Diego Pedroso (deguix) for StrTok | ||||
|  *  * Kevin English (kenglish_hi) for StrContains | ||||
|  *  * Hendri Adriaens (Smile2Me), Diego Pedroso (deguix), and Dan Fuhry   | ||||
|  *    (dandaman32) for StrReplace | ||||
|  * | ||||
|  *  Version 1.1 (compatibility with StrFunc.nsh) | ||||
|  *  * techtonik | ||||
|  * | ||||
|  *  http://nsis.sourceforge.net/Environmental_Variables:_append%2C_prepend%2C_and_remove_entries | ||||
|  * | ||||
|  */ | ||||
|  | ||||
|  | ||||
| !ifndef ENVVARUPDATE_FUNCTION | ||||
| !define ENVVARUPDATE_FUNCTION | ||||
| !verbose push | ||||
| !verbose 3 | ||||
| !include "LogicLib.nsh" | ||||
| !include "WinMessages.NSH" | ||||
| !include "StrFunc.nsh" | ||||
|  | ||||
| ; ---- Fix for conflict if StrFunc.nsh is already includes in main file ----------------------- | ||||
| !macro _IncludeStrFunction StrFuncName | ||||
|   !ifndef ${StrFuncName}_INCLUDED | ||||
|     ${${StrFuncName}} | ||||
|   !endif | ||||
|   !ifndef Un${StrFuncName}_INCLUDED | ||||
|     ${Un${StrFuncName}} | ||||
|   !endif | ||||
|   !define un.${StrFuncName} "${Un${StrFuncName}}" | ||||
| !macroend | ||||
|  | ||||
| !insertmacro _IncludeStrFunction StrTok | ||||
| !insertmacro _IncludeStrFunction StrStr | ||||
| !insertmacro _IncludeStrFunction StrRep | ||||
|  | ||||
| ; ---------------------------------- Macro Definitions ---------------------------------------- | ||||
| !macro _EnvVarUpdateConstructor ResultVar EnvVarName Action Regloc PathString | ||||
|   Push "${EnvVarName}" | ||||
|   Push "${Action}" | ||||
|   Push "${RegLoc}" | ||||
|   Push "${PathString}" | ||||
|     Call EnvVarUpdate | ||||
|   Pop "${ResultVar}" | ||||
| !macroend | ||||
| !define EnvVarUpdate '!insertmacro "_EnvVarUpdateConstructor"' | ||||
|   | ||||
| !macro _unEnvVarUpdateConstructor ResultVar EnvVarName Action Regloc PathString | ||||
|   Push "${EnvVarName}" | ||||
|   Push "${Action}" | ||||
|   Push "${RegLoc}" | ||||
|   Push "${PathString}" | ||||
|     Call un.EnvVarUpdate | ||||
|   Pop "${ResultVar}" | ||||
| !macroend | ||||
| !define un.EnvVarUpdate '!insertmacro "_unEnvVarUpdateConstructor"' | ||||
| ; ---------------------------------- Macro Definitions end------------------------------------- | ||||
|   | ||||
| ;----------------------------------- EnvVarUpdate start---------------------------------------- | ||||
| !define hklm_all_users     'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"' | ||||
| !define hkcu_current_user  'HKCU "Environment"' | ||||
|   | ||||
| !macro EnvVarUpdate UN | ||||
|   | ||||
| Function ${UN}EnvVarUpdate | ||||
|   | ||||
|   Push $0 | ||||
|   Exch 4 | ||||
|   Exch $1 | ||||
|   Exch 3 | ||||
|   Exch $2 | ||||
|   Exch 2 | ||||
|   Exch $3 | ||||
|   Exch | ||||
|   Exch $4 | ||||
|   Push $5 | ||||
|   Push $6 | ||||
|   Push $7 | ||||
|   Push $8 | ||||
|   Push $9 | ||||
|   Push $R0 | ||||
|   | ||||
|   /* After this point: | ||||
|   ------------------------- | ||||
|      $0 = ResultVar     (returned) | ||||
|      $1 = EnvVarName    (input) | ||||
|      $2 = Action        (input) | ||||
|      $3 = RegLoc        (input) | ||||
|      $4 = PathString    (input) | ||||
|      $5 = Orig EnvVar   (read from registry) | ||||
|      $6 = Len of $0     (temp) | ||||
|      $7 = tempstr1      (temp) | ||||
|      $8 = Entry counter (temp) | ||||
|      $9 = tempstr2      (temp) | ||||
|      $R0 = tempChar     (temp)  */ | ||||
|   | ||||
|   ; Step 1:  Read contents of EnvVarName from RegLoc | ||||
|   ; | ||||
|   ; Check for empty EnvVarName | ||||
|   ${If} $1 == "" | ||||
|     SetErrors | ||||
|     DetailPrint "ERROR: EnvVarName is blank" | ||||
|     Goto EnvVarUpdate_Restore_Vars | ||||
|   ${EndIf} | ||||
|   | ||||
|   ; Check for valid Action | ||||
|   ${If}    $2 != "A" | ||||
|   ${AndIf} $2 != "P" | ||||
|   ${AndIf} $2 != "R" | ||||
|     SetErrors | ||||
|     DetailPrint "ERROR: Invalid Action - must be A, P, or R" | ||||
|     Goto EnvVarUpdate_Restore_Vars | ||||
|   ${EndIf} | ||||
|   | ||||
|   ${If} $3 == HKLM | ||||
|     ReadRegStr $5 ${hklm_all_users} $1     ; Get EnvVarName from all users into $5 | ||||
|   ${ElseIf} $3 == HKCU | ||||
|     ReadRegStr $5 ${hkcu_current_user} $1  ; Read EnvVarName from current user into $5 | ||||
|   ${Else} | ||||
|     SetErrors | ||||
|     DetailPrint 'ERROR: Action is [$3] but must be "HKLM" or HKCU"' | ||||
|     Goto EnvVarUpdate_Restore_Vars | ||||
|   ${EndIf} | ||||
|   | ||||
|   ; Check for empty PathString | ||||
|   ${If} $4 == "" | ||||
|     SetErrors | ||||
|     DetailPrint "ERROR: PathString is blank" | ||||
|     Goto EnvVarUpdate_Restore_Vars | ||||
|   ${EndIf} | ||||
|   | ||||
|   ; Make sure we've got some work to do | ||||
|   ${If} $5 == "" | ||||
|   ${AndIf} $2 == "R" | ||||
|     SetErrors | ||||
|     DetailPrint "$1 is empty - Nothing to remove" | ||||
|     Goto EnvVarUpdate_Restore_Vars | ||||
|   ${EndIf} | ||||
|   | ||||
|   ; Step 2: Scrub EnvVar | ||||
|   ; | ||||
|   StrCpy $0 $5                             ; Copy the contents to $0 | ||||
|   ; Remove spaces around semicolons (NOTE: spaces before the 1st entry or | ||||
|   ; after the last one are not removed here but instead in Step 3) | ||||
|   ${If} $0 != ""                           ; If EnvVar is not empty ... | ||||
|     ${Do} | ||||
|       ${${UN}StrStr} $7 $0 " ;" | ||||
|       ${If} $7 == "" | ||||
|         ${ExitDo} | ||||
|       ${EndIf} | ||||
|       ${${UN}StrRep} $0  $0 " ;" ";"         ; Remove '<space>;' | ||||
|     ${Loop} | ||||
|     ${Do} | ||||
|       ${${UN}StrStr} $7 $0 "; " | ||||
|       ${If} $7 == "" | ||||
|         ${ExitDo} | ||||
|       ${EndIf} | ||||
|       ${${UN}StrRep} $0  $0 "; " ";"         ; Remove ';<space>' | ||||
|     ${Loop} | ||||
|     ${Do} | ||||
|       ${${UN}StrStr} $7 $0 ";;"  | ||||
|       ${If} $7 == "" | ||||
|         ${ExitDo} | ||||
|       ${EndIf} | ||||
|       ${${UN}StrRep} $0  $0 ";;" ";" | ||||
|     ${Loop} | ||||
|   | ||||
|     ; Remove a leading or trailing semicolon from EnvVar | ||||
|     StrCpy  $7  $0 1 0 | ||||
|     ${If} $7 == ";" | ||||
|       StrCpy $0  $0 "" 1                   ; Change ';<EnvVar>' to '<EnvVar>' | ||||
|     ${EndIf} | ||||
|     StrLen $6 $0 | ||||
|     IntOp $6 $6 - 1 | ||||
|     StrCpy $7  $0 1 $6 | ||||
|     ${If} $7 == ";" | ||||
|      StrCpy $0  $0 $6                      ; Change ';<EnvVar>' to '<EnvVar>' | ||||
|     ${EndIf} | ||||
|     ; DetailPrint "Scrubbed $1: [$0]"      ; Uncomment to debug | ||||
|   ${EndIf} | ||||
|   | ||||
|   /* Step 3. Remove all instances of the target path/string (even if "A" or "P") | ||||
|      $6 = bool flag (1 = found and removed PathString) | ||||
|      $7 = a string (e.g. path) delimited by semicolon(s) | ||||
|      $8 = entry counter starting at 0 | ||||
|      $9 = copy of $0 | ||||
|      $R0 = tempChar      */ | ||||
|   | ||||
|   ${If} $5 != ""                           ; If EnvVar is not empty ... | ||||
|     StrCpy $9 $0 | ||||
|     StrCpy $0 "" | ||||
|     StrCpy $8 0 | ||||
|     StrCpy $6 0 | ||||
|   | ||||
|     ${Do} | ||||
|       ${${UN}StrTok} $7 $9 ";" $8 "0"      ; $7 = next entry, $8 = entry counter | ||||
|   | ||||
|       ${If} $7 == ""                       ; If we've run out of entries, | ||||
|         ${ExitDo}                          ;    were done | ||||
|       ${EndIf}                             ; | ||||
|   | ||||
|       ; Remove leading and trailing spaces from this entry (critical step for Action=Remove) | ||||
|       ${Do} | ||||
|         StrCpy $R0  $7 1 | ||||
|         ${If} $R0 != " " | ||||
|           ${ExitDo} | ||||
|         ${EndIf} | ||||
|         StrCpy $7   $7 "" 1                ;  Remove leading space | ||||
|       ${Loop} | ||||
|       ${Do} | ||||
|         StrCpy $R0  $7 1 -1 | ||||
|         ${If} $R0 != " " | ||||
|           ${ExitDo} | ||||
|         ${EndIf} | ||||
|         StrCpy $7   $7 -1                  ;  Remove trailing space | ||||
|       ${Loop} | ||||
|       ${If} $7 == $4                       ; If string matches, remove it by not appending it | ||||
|         StrCpy $6 1                        ; Set 'found' flag | ||||
|       ${ElseIf} $7 != $4                   ; If string does NOT match | ||||
|       ${AndIf}  $0 == ""                   ;    and the 1st string being added to $0, | ||||
|         StrCpy $0 $7                       ;    copy it to $0 without a prepended semicolon | ||||
|       ${ElseIf} $7 != $4                   ; If string does NOT match | ||||
|       ${AndIf}  $0 != ""                   ;    and this is NOT the 1st string to be added to $0, | ||||
|         StrCpy $0 $0;$7                    ;    append path to $0 with a prepended semicolon | ||||
|       ${EndIf}                             ; | ||||
|   | ||||
|       IntOp $8 $8 + 1                      ; Bump counter | ||||
|     ${Loop}                                ; Check for duplicates until we run out of paths | ||||
|   ${EndIf} | ||||
|   | ||||
|   ; Step 4:  Perform the requested Action | ||||
|   ; | ||||
|   ${If} $2 != "R"                          ; If Append or Prepend | ||||
|     ${If} $6 == 1                          ; And if we found the target | ||||
|       DetailPrint "Target is already present in $1. It will be removed and" | ||||
|     ${EndIf} | ||||
|     ${If} $0 == ""                         ; If EnvVar is (now) empty | ||||
|       StrCpy $0 $4                         ;   just copy PathString to EnvVar | ||||
|       ${If} $6 == 0                        ; If found flag is either 0 | ||||
|       ${OrIf} $6 == ""                     ; or blank (if EnvVarName is empty) | ||||
|         DetailPrint "$1 was empty and has been updated with the target" | ||||
|       ${EndIf} | ||||
|     ${ElseIf} $2 == "A"                    ;  If Append (and EnvVar is not empty), | ||||
|       StrCpy $0 $0;$4                      ;     append PathString | ||||
|       ${If} $6 == 1 | ||||
|         DetailPrint "appended to $1" | ||||
|       ${Else} | ||||
|         DetailPrint "Target was appended to $1" | ||||
|       ${EndIf} | ||||
|     ${Else}                                ;  If Prepend (and EnvVar is not empty), | ||||
|       StrCpy $0 $4;$0                      ;     prepend PathString | ||||
|       ${If} $6 == 1 | ||||
|         DetailPrint "prepended to $1" | ||||
|       ${Else} | ||||
|         DetailPrint "Target was prepended to $1" | ||||
|       ${EndIf} | ||||
|     ${EndIf} | ||||
|   ${Else}                                  ; If Action = Remove | ||||
|     ${If} $6 == 1                          ;   and we found the target | ||||
|       DetailPrint "Target was found and removed from $1" | ||||
|     ${Else} | ||||
|       DetailPrint "Target was NOT found in $1 (nothing to remove)" | ||||
|     ${EndIf} | ||||
|     ${If} $0 == "" | ||||
|       DetailPrint "$1 is now empty" | ||||
|     ${EndIf} | ||||
|   ${EndIf} | ||||
|   | ||||
|   ; Step 5:  Update the registry at RegLoc with the updated EnvVar and announce the change | ||||
|   ; | ||||
|   ClearErrors | ||||
|   ${If} $3  == HKLM | ||||
|     WriteRegExpandStr ${hklm_all_users} $1 $0     ; Write it in all users section | ||||
|   ${ElseIf} $3 == HKCU | ||||
|     WriteRegExpandStr ${hkcu_current_user} $1 $0  ; Write it to current user section | ||||
|   ${EndIf} | ||||
|   | ||||
|   IfErrors 0 +4 | ||||
|     MessageBox MB_OK|MB_ICONEXCLAMATION "Could not write updated $1 to $3" | ||||
|     DetailPrint "Could not write updated $1 to $3" | ||||
|     Goto EnvVarUpdate_Restore_Vars | ||||
|   | ||||
|   ; "Export" our change | ||||
|   SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000 | ||||
|   | ||||
|   EnvVarUpdate_Restore_Vars: | ||||
|   ; | ||||
|   ; Restore the user's variables and return ResultVar | ||||
|   Pop $R0 | ||||
|   Pop $9 | ||||
|   Pop $8 | ||||
|   Pop $7 | ||||
|   Pop $6 | ||||
|   Pop $5 | ||||
|   Pop $4 | ||||
|   Pop $3 | ||||
|   Pop $2 | ||||
|   Pop $1 | ||||
|   Push $0  ; Push my $0 (ResultVar) | ||||
|   Exch | ||||
|   Pop $0   ; Restore his $0 | ||||
|   | ||||
| FunctionEnd | ||||
|   | ||||
| !macroend   ; EnvVarUpdate UN | ||||
| !insertmacro EnvVarUpdate "" | ||||
| !insertmacro EnvVarUpdate "un." | ||||
| ;----------------------------------- EnvVarUpdate end---------------------------------------- | ||||
|   | ||||
| !verbose pop | ||||
| !endif | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/nsi_install.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/nsi_install.ico
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 766 B | 
							
								
								
									
										48
									
								
								gtk-nsis-pack/nsi_pathpage.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								gtk-nsis-pack/nsi_pathpage.ini
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| [Settings] | ||||
| NumFields=5 | ||||
|  | ||||
| [Field 1] | ||||
| Type=CheckBox | ||||
| Text=Set up PATH environment variable to include GTK+ (recommended) | ||||
| Left=0 | ||||
| Right=-1 | ||||
| Top=10 | ||||
| Bottom=30 | ||||
| State=1 | ||||
|  | ||||
| [Field 2] | ||||
| Type=Label | ||||
| Text=Install DLL files to: | ||||
| Left=0 | ||||
| Right=-1 | ||||
| Top=50 | ||||
| Bottom=65 | ||||
|  | ||||
| [Field 3] | ||||
| Type=RadioButton | ||||
| Text=<instdir>\bin (recommended) | ||||
| Flags=Group | ||||
| State=1 | ||||
| Left=0 | ||||
| Right=-1 | ||||
| Top=65 | ||||
| Bottom=80 | ||||
|  | ||||
| [Field 4] | ||||
| Type=RadioButton | ||||
| Text=<instdir>\lib (required for compatibility with some packages) | ||||
| State=0 | ||||
| Left=0 | ||||
| Right=-1 | ||||
| Top=80 | ||||
| Bottom=95 | ||||
|  | ||||
| [Field 5] | ||||
| Type=RadioButton | ||||
| Text=<instdir> | ||||
| State=0 | ||||
| Left=0 | ||||
| Right=-1 | ||||
| Top=95 | ||||
| Bottom=110 | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/nsi_uninstall.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/nsi_uninstall.ico
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 766 B | 
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/atk10.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/atk10.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/glib20.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/glib20.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gtk20-properties.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gtk20-properties.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gtk20.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gtk20.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gtk30-properties.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gtk30-properties.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gtk30.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/af/LC_MESSAGES/gtk30.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/atk10.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/atk10.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/glib20.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/glib20.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/gtk20-properties.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/gtk20-properties.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/gtk20.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/gtk20.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/gtk30-properties.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/gtk30-properties.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/gtk30.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/am/LC_MESSAGES/gtk30.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/an/LC_MESSAGES/atk10.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/an/LC_MESSAGES/atk10.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/an/LC_MESSAGES/glib20.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/an/LC_MESSAGES/glib20.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/an/LC_MESSAGES/gtk30-properties.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/an/LC_MESSAGES/gtk30-properties.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/an/LC_MESSAGES/gtk30.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/an/LC_MESSAGES/gtk30.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user