More changes to have a complete MSYS2 version
Extended the copy script, did a deep dependency research and modified installed libraries
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/bin/libtiff-5.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -16,6 +16,7 @@ _ARCH="win64" | ||||
|  | ||||
| test "${INSTALL_SRC_DIR}" = "." && INSTALL_SRC_DIR=${PWD} | ||||
| INSTALL_SRC_BIN="${INSTALL_SRC_DIR}"/bin | ||||
| INSTALL_SRC_LIB="${INSTALL_SRC_DIR}"/lib | ||||
| INSTALL_SRC_MSYS2_BIN=${INSTALL_SRC_MSYS2}/bin | ||||
| INSTALL_SRC_MSYS2_LIB=${INSTALL_SRC_MSYS2}/lib | ||||
|  | ||||
| @@ -85,12 +86,11 @@ cp $INSTALL_SRC_MSYS2_BIN/zlib1.dll $INSTALL_SRC_BIN | ||||
|  | ||||
| # These six additional one seems to me that is needed for my test GTK app, | ||||
| # as I see mainly needed for fontconfig package and dlls  | ||||
| cp $INSTALL_SRC_MSYS2_BIN/libgtk-win32-2.0-0.dll $INSTALL_SRC_BIN | ||||
| cp $INSTALL_SRC_MSYS2_BIN/libgdk-win32-2.0-0.dll $INSTALL_SRC_BIN | ||||
| cp $INSTALL_SRC_MSYS2_BIN/libexpat-1.dll $INSTALL_SRC_BIN | ||||
| cp $INSTALL_SRC_MSYS2_BIN/libbz2-1.dll $INSTALL_SRC_BIN | ||||
| cp $INSTALL_SRC_MSYS2_BIN/libgraphite2.dll $INSTALL_SRC_BIN | ||||
| cp $INSTALL_SRC_MSYS2_BIN/librsvg-2-2.dll $INSTALL_SRC_BIN | ||||
| cp $INSTALL_SRC_MSYS2_BIN/libtiff-5.dll $INSTALL_SRC_BIN | ||||
|  | ||||
| # Standrard MSYS2 libraries | ||||
| cp $INSTALL_SRC_MSYS2_BIN/libstdc++-6.dll $INSTALL_SRC_BIN | ||||
| @@ -112,7 +112,39 @@ cp $INSTALL_SRC_MSYS2_BIN/gspawn-win64-helper-console.exe $INSTALL_SRC_BIN | ||||
| cp $INSTALL_SRC_MSYS2_BIN/gtk-query-immodules-3.0.exe $INSTALL_SRC_BIN | ||||
| cp $INSTALL_SRC_MSYS2_BIN/gtk-update-icon-cache.exe $INSTALL_SRC_BIN | ||||
|  | ||||
| # Should we also include libpixbufloader*. dll files under /lib/gdk-pixbuf-2.0, ie: libpixbufloader-svg.dll | ||||
| # Copy lib/gtk-2.0 folder  | ||||
| cd $INSTALL_SRC_MSYS2_LIB/gtk-2.0 | ||||
| cp -r ./ $INSTALL_SRC_LIB/gtk-2.0 | ||||
| # Delete static libraries | ||||
| find $INSTALL_SRC_LIB/gtk-2.0 -name *.dll.a -type f -delete | ||||
|  | ||||
| # Copy lib/gdk-pixbuf-2.0 folder  | ||||
| cd $INSTALL_SRC_MSYS2_LIB/gdk-pixbuf-2.0 | ||||
| cp -r ./ $INSTALL_SRC_LIB/gdk-pixbuf-2.0 | ||||
| # Delete static libraries | ||||
| find $INSTALL_SRC_LIB/gdk-pixbuf-2.0 -name *.dll.a -type f -delete | ||||
|  | ||||
| # Copy /share/locale/locale.alias | ||||
| cp $INSTALL_SRC_MSYS2/share/locale/locale.alias $INSTALL_SRC_DIR/share/locale | ||||
|  | ||||
| # Copy /share/themes/default | ||||
| cp -r $INSTALL_SRC_MSYS2/share/themes/default/gtk-3.0 $INSTALL_SRC_DIR/share/themes/default/gtk-3.0 | ||||
|  | ||||
| # Copy /share/themes/emacs | ||||
| cp -r $INSTALL_SRC_MSYS2/share/themes/emacs/gtk-3.0 $INSTALL_SRC_DIR/share/themes/emacs/gtk-3.0 | ||||
|  | ||||
| # Copy /share/glib-2.0/schemas | ||||
| cp -r $INSTALL_SRC_MSYS2/share/glib-2.0/schemas $INSTALL_SRC_DIR/share/glib-2.0/schemas | ||||
|  | ||||
| # Copy /share/icons | ||||
| cp -r $INSTALL_SRC_MSYS2/share/icons $INSTALL_SRC_DIR/share/icons | ||||
|  | ||||
| # librsvg depends on: | ||||
| # gdk-pixbuf2  pango  libcroco | ||||
|  | ||||
| # gdk-pixbuf2 package depends on the following: | ||||
| # glib2>=2.37.2  jasper libjpeg-turbo libpng  libtiff | ||||
|  | ||||
|  | ||||
| echo "Done with copying all binary relevant GTK files to the binary destination directory" | ||||
| echo "Now you can initiate the creation of the installer package with NSIS" | ||||
| @@ -239,7 +239,7 @@ SectionIn 1 2 RO | ||||
| 	File bin\libcairomm-1.0-1.dll | ||||
| 	File bin\libepoxy-0.dll | ||||
| 	File bin\libexslt-0.dll | ||||
| 	File bin\libffi-6.dll  ; libffi is required by glib  | ||||
| 	File bin\libffi-6.dll  			; libffi is required by glib2  | ||||
| 	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-3-0.dll	; from gtk | ||||
| @@ -259,9 +259,9 @@ SectionIn 1 2 RO | ||||
| 	File bin\libgtksourceview-3.0-1.dll | ||||
| 	File bin\libgtksourceviewmm-3.0-0.dll | ||||
| 	File bin\libgtkmm-3.0-1.dll | ||||
| 	File bin\libharfbuzz-0.dll | ||||
| 	File bin\libharfbuzz-0.dll 		; required by pango | ||||
| 	File bin\libintl-8.dll  		; gettext, needed by all i18n libs | ||||
| 	File bin\libiconv-2.dll | ||||
| 	File bin\libiconv-2.dll			; required by fontconfig | ||||
| 	File bin\libjson-glib-1.0-0.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 | ||||
| @@ -269,22 +269,21 @@ SectionIn 1 2 RO | ||||
| 	File bin\libpangoft2-1.0-0.dll	; pango, needed by gtk | ||||
| 	File bin\libpangomm-1.4-1.dll | ||||
| 	File bin\libpixman-1-0.dll  	; libpixman, needed by cairo | ||||
| 	File bin\libpng16-16.dll  ; for gdk_pixbuf loader. | ||||
| 	File bin\libpng16-16.dll  		; required by gdk-pixbuf2 | ||||
| 	; File bin\libxml++-2.6-2.dll  ; fontconfig needs this | ||||
| 	; File bin\libxml++-3.0-1.dll | ||||
| 	File bin\libxml2-2.dll			; fontconfig needs this | ||||
| 	File bin\libxslt-1.dll			; fontconfig needs this | ||||
| 	File bin\libpcre-1.dll			; fontconfig needs this | ||||
| 	File bin\zlib1.dll				; png and many others need this | ||||
| 	File bin\libgtk-win32-2.0-0.dll | ||||
| 	File bin\libgdk-win32-2.0-0.dll | ||||
| 	File bin\libexpat-1.dll | ||||
| 	File bin\libbz2-1.dll | ||||
| 	File bin\libgraphite2.dll | ||||
| 	File bin\librsvg-2-2.dll | ||||
| 	File bin\libstdc++-6.dll | ||||
| 	File bin\libgcc_s_seh-1.dll | ||||
| 	File bin\libwinpthread-1.dll | ||||
| 	File bin\libexpat-1.dll			; required by fontconfig | ||||
| 	File bin\libbz2-1.dll			; required by fontconfig | ||||
| 	File bin\libgraphite2.dll		; required by harfbuzz | ||||
| 	File bin\librsvg-2-2.dll		; required by adwaita-icon-theme | ||||
| 	File bin\libtiff-5.dll			; required by gdk-pixbuf2 | ||||
| 	File bin\libstdc++-6.dll		; standard MSYS2 library | ||||
| 	File bin\libgcc_s_seh-1.dll		; standard MSYS2 library | ||||
| 	File bin\libwinpthread-1.dll	; standard MSYS2 library | ||||
|  | ||||
| 	; We install this into the same place as the DLLs to avoid any PATH manipulation. | ||||
| 	SetOutPath "$LIB_INSTDIR" | ||||
| @@ -312,8 +311,8 @@ SectionIn 1 2 RO | ||||
| 	SetOutPath "$INSTDIR\lib\gdk-pixbuf-2.0\2.10.0" | ||||
| 	File lib\gdk-pixbuf-2.0\2.10.0\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\gdk-pixbuf-2.0\2.10.0\" | ||||
| 	File /r lib\gdk-pixbuf-2.0\2.10.0\loaders | ||||
|  | ||||
| 	;SetOutPath "$INSTDIR\lib\gtk-3.0\${GTK_BIN_VERSION}" | ||||
| 	; no longer in gtk as of 2.14.5. | ||||
| @@ -635,12 +634,11 @@ Function un.DeleteDlls | ||||
| 	; Delete $LIB_INSTDIR\libxml++-2.6-2.dll  ; fontconfig needs this | ||||
| 	; Delete $LIB_INSTDIR\libxml++-3.0-1.dll | ||||
| 	Delete $LIB_INSTDIR\zlib1.dll  ; png and many others need this | ||||
| 	Delete $LIB_INSTDIR\libgtk-win32-2.0-0.dll | ||||
| 	Delete $LIB_INSTDIR\libgdk-win32-2.0-0.dll | ||||
| 	Delete $LIB_INSTDIR\libexpat-1.dll | ||||
| 	Delete $LIB_INSTDIR\libbz2-1.dll | ||||
| 	Delete $LIB_INSTDIR\libgraphite2.dll | ||||
| 	Delete $LIB_INSTDIR\librsvg-2-2.dll | ||||
| 	Delete $LIB_INSTDIR\libtiff-5.dll | ||||
| 	Delete $LIB_INSTDIR\libstdc++-6.dll | ||||
| 	Delete $LIB_INSTDIR\libgcc_s_seh-1.dll | ||||
| 	Delete $LIB_INSTDIR\libwinpthread-1.dll | ||||
| @@ -777,7 +775,7 @@ Section Uninstall | ||||
| 	;  RMDir /r "$INSTDIR\lib\pango" | ||||
| 	 | ||||
| 	Delete "$INSTDIR\lib\gdk-pixbuf-2.0\2.10.0\loaders.cache" | ||||
| 	; RMDir "$INSTDIR\lib\gdk-pixbuf-2.0\${GTK_BIN_VERSION}\loaders"  ; not forced | ||||
| 	RMDir /r "$INSTDIR\lib\gdk-pixbuf-2.0\2.10.0\loaders"  ; not forced | ||||
| 	RMDir "$INSTDIR\lib\gdk-pixbuf-2.0\2.10.0"  ; not forced | ||||
| 	RMDir "$INSTDIR\lib\gdk-pixbuf-2.0"  ; not forced | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,13 @@ | ||||
| # GdkPixbuf Image Loader Modules file | ||||
| # Automatically generated file, do not edit | ||||
| # Created by gdk-pixbuf-query-loaders.exe from gdk-pixbuf-2.31.1 | ||||
| # Created by gdk-pixbuf-query-loaders.exe from gdk-pixbuf-2.35.4 | ||||
| # | ||||
| # dynamic loading of modules not supported | ||||
| # LoaderDir = C:\Development\msys64\mingw64/lib/gdk-pixbuf-2.0/2.10.0/loaders | ||||
| # | ||||
| "C:/Development/msys64/mingw64/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll" | ||||
| "svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL" | ||||
| "image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" "" | ||||
| "svg" "svgz" "svg.gz" "" | ||||
| " <svg" "*    " 100 | ||||
| " <!DOCTYPE svg" "*             " 100 | ||||
|  | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libclearlooks.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libcrux-engine.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libglide.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libhcengine.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libindustrial.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libmist.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libredmond95.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/engines/libthinice.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										6
									
								
								gtk-nsis-pack/lib/gtk-2.0/2.10.0/immodules.cache
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,6 @@ | ||||
| # GTK+ Input Method Modules file | ||||
| # Automatically generated file, do not edit | ||||
| # Created by C:\Development\msys64\mingw64\bin\gtk-query-immodules-2.0.exe from gtk+-2.24.28 | ||||
| # | ||||
| # ModulesPath = C:\Development\msys64\home\peter\.gtk-2.0\2.10.0\x86_64-w64-mingw32\immodules;C:\Development\msys64\home\peter\.gtk-2.0\2.10.0\immodules;C:\Development\msys64\home\peter\.gtk-2.0\x86_64-w64-mingw32\immodules;C:\Development\msys64\home\peter\.gtk-2.0\immodules;C:\Development\msys64\mingw64\lib\gtk-2.0\2.10.0\x86_64-w64-mingw32\immodules;C:\Development\msys64\mingw64\lib\gtk-2.0\2.10.0\immodules;C:\Development\msys64\mingw64\lib\gtk-2.0\x86_64-w64-mingw32\immodules;C:\Development\msys64\mingw64\lib\gtk-2.0\immodules | ||||
| # | ||||
							
								
								
									
										34
									
								
								gtk-nsis-pack/lib/gtk-2.0/include/gdkconfig.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,34 @@ | ||||
| /* gdkconfig.h | ||||
|  * | ||||
|  * This is a generated file.  Please modify `configure.in' | ||||
|  */ | ||||
|  | ||||
| #ifndef GDKCONFIG_H | ||||
| #define GDKCONFIG_H | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif /* __cplusplus */ | ||||
|  | ||||
| #ifndef GSEAL | ||||
| /* introduce GSEAL() here for all of Gdk and Gtk+ without the need to modify GLib */ | ||||
| #  ifdef GSEAL_ENABLE | ||||
| #    define GSEAL(ident)      _g_sealed__ ## ident | ||||
| #  else | ||||
| #    define GSEAL(ident)      ident | ||||
| #  endif | ||||
| #endif /* !GSEAL */ | ||||
|  | ||||
|  | ||||
| #define GDK_NATIVE_WINDOW_POINTER | ||||
|  | ||||
| #define GDK_WINDOWING_WIN32 | ||||
|  | ||||
| #define GDK_HAVE_WCHAR_H 1 | ||||
| #define GDK_HAVE_WCTYPE_H 1 | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif /* __cplusplus */ | ||||
|  | ||||
| #endif /* GDKCONFIG_H */ | ||||
							
								
								
									
										73
									
								
								gtk-nsis-pack/share/glib-2.0/schemas/schemas/gschema.dtd
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,73 @@ | ||||
| <!ELEMENT schemalist (schema|enum)* > | ||||
| <!ATTLIST schemalist gettext-domain CDATA #IMPLIED > | ||||
|  | ||||
| <!ELEMENT schema (key|child|override)* > | ||||
| <!ATTLIST schema id             CDATA #REQUIRED | ||||
|                  path           CDATA #IMPLIED | ||||
|                  gettext-domain CDATA #IMPLIED | ||||
|                  extends        CDATA #IMPLIED | ||||
|                  list-of        CDATA #IMPLIED > | ||||
|  | ||||
| <!-- enumerated and flags types --> | ||||
| <!-- each value element maps a nick to a numeric value --> | ||||
| <!ELEMENT enum (value*) > | ||||
| <!ATTLIST enum id CDATA #REQUIRED > | ||||
|  | ||||
| <!ELEMENT flags (value*) > | ||||
| <!ATTLIST flags id CDATA #REQUIRED > | ||||
|  | ||||
| <!ELEMENT value EMPTY > | ||||
| <!-- nick must be at least 2 characters long --> | ||||
| <!-- value must be parsable as a 32-bit integer --> | ||||
| <!ATTLIST value nick  CDATA #REQUIRED | ||||
|                 value CDATA #REQUIRED > | ||||
|  | ||||
| <!ELEMENT key (default|summary?|description?|range?|choices?|aliases?)* > | ||||
| <!-- name can only contain lowercase letters, numbers and '-' --> | ||||
| <!-- type must be a GVariant type string --> | ||||
| <!-- enum must be the id of an enum type that has been defined earlier --> | ||||
| <!-- flags must be the id of a flags type that has been defined earlier --> | ||||
| <!-- exactly one of type, enum or flags must be given --> | ||||
| <!ATTLIST key name  CDATA #REQUIRED | ||||
|               type  CDATA #IMPLIED | ||||
|               enum  CDATA #IMPLIED | ||||
|               flags CDATA #IMPLIED > | ||||
|  | ||||
| <!-- the default value is specified a a serialized GVariant, | ||||
|      i.e. you have to include the quotes when specifying a string --> | ||||
| <!ELEMENT default (#PCDATA) > | ||||
| <!-- the presence of the l10n attribute marks a default value for | ||||
|      translation, its value is the gettext category to use --> | ||||
| <!-- if context is present, it specifies msgctxt to use --> | ||||
| <!ATTLIST default l10n    (messages|time) #IMPLIED | ||||
|                   context CDATA           #IMPLIED > | ||||
|  | ||||
| <!ELEMENT summary (#PCDATA) > | ||||
| <!ELEMENT description (#PCDATA) > | ||||
|  | ||||
| <!-- range is only allowed for keys with numeric type --> | ||||
| <!ELEMENT range EMPTY > | ||||
| <!-- min and max must be parseable as values of the key type and min < max --> | ||||
| <!ATTLIST range min CDATA #REQUIRED | ||||
|                 max CDATA #REQUIRED > | ||||
|  | ||||
| <!-- choices is only allowed for keys with string or string array type --> | ||||
| <!ELEMENT choices (choice+) > | ||||
| <!-- each choice element specifies one possible value --> | ||||
| <!ELEMENT choice EMPTY > | ||||
| <!ATTLIST choice value CDATA #REQUIRED > | ||||
|  | ||||
| <!-- aliases is only allowed for keys with enumerated type or with choices --> | ||||
| <!ELEMENT aliases (alias+) > | ||||
| <!-- each alias element specifies an alias for one of the possible values --> | ||||
| <!ELEMENT alias EMPTY > | ||||
| <!ATTLIST alias value CDATA #REQUIRED > | ||||
|  | ||||
| <!ELEMENT child EMPTY > | ||||
| <!ATTLIST child name   CDATA #REQUIRED | ||||
|                 schema CDATA #REQUIRED > | ||||
|  | ||||
| <!ELEMENT override (#PCDATA) > | ||||
| <!ATTLIST override name    CDATA #REQUIRED | ||||
|                    l10n    CDATA #IMPLIED | ||||
|                    context CDATA #IMPLIED > | ||||
							
								
								
									
										
											BIN
										
									
								
								gtk-nsis-pack/share/glib-2.0/schemas/schemas/gschemas.compiled
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,26 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
|  | ||||
| <schemalist> | ||||
|  | ||||
|   <enum id='org.gtk.Demo.Color'> | ||||
|     <value nick='red'   value='0'/> | ||||
|     <value nick='green' value='1'/> | ||||
|     <value nick='blue'  value='2'/> | ||||
|   </enum> | ||||
|  | ||||
|   <schema id='org.gtk.Demo' path='/org/gtk/Demo/'> | ||||
|     <key name='color' enum='org.gtk.Demo.Color'> | ||||
|       <default>'red'</default> | ||||
|     </key> | ||||
|     <key name='window-size' type='(ii)'> | ||||
|       <default>(-1, -1)</default> | ||||
|     </key> | ||||
|     <key name='maximized' type='b'> | ||||
|       <default>false</default> | ||||
|     </key> | ||||
|     <key name='fullscreen' type='b'> | ||||
|       <default>false</default> | ||||
|     </key> | ||||
|   </schema> | ||||
|  | ||||
| </schemalist> | ||||
| @@ -0,0 +1,26 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <schemalist> | ||||
|  | ||||
|   <schema id='org.gtk.Settings.ColorChooser' path='/org/gtk/settings/color-chooser/'> | ||||
|     <key name='custom-colors' type='a(dddd)'> | ||||
|       <default>[]</default> | ||||
|       <summary>Custom colors</summary> | ||||
|       <description> | ||||
|         An array of custom colors to show in the color chooser. Each color is | ||||
|         specified as a tuple of four doubles, specifying RGBA values between | ||||
|         0 and 1. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='selected-color' type='(bdddd)'> | ||||
|       <default>(false,1.0,1.0,1.0,1.0)</default> | ||||
|       <summary>The selected color</summary> | ||||
|       <description> | ||||
|          The selected color, described as a tuple whose first member is a | ||||
|          boolean that is true if a color was selected, and the remaining | ||||
|          four members are four doubles, specifying RGBA values between | ||||
|          0 and 1. | ||||
|       </description> | ||||
|     </key> | ||||
|   </schema> | ||||
|  | ||||
| </schemalist> | ||||
| @@ -0,0 +1,25 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <schemalist> | ||||
|  | ||||
|   <schema id='org.gtk.Settings.Debug' path='/org/gtk/settings/debug/'> | ||||
|     <key name='enable-inspector-keybinding' type='b'> | ||||
|       <default>false</default> | ||||
|       <summary>Enable inspector keybinding</summary> | ||||
|       <description> | ||||
|         If this setting is true, GTK+ lets the user open an interactive | ||||
|         debugging window with a keybinding. The default shortcuts for | ||||
|         the keybinding are Control-Shift-I and Control-Shift-D. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='inspector-warning' type='b'> | ||||
|       <default>true</default> | ||||
|       <summary>Inspector warning</summary> | ||||
|       <description> | ||||
|         If this setting is true, GTK+ shows a warning before letting | ||||
|         the user use the interactive debugger. | ||||
|       </description> | ||||
|     </key> | ||||
|   </schema> | ||||
|  | ||||
| </schemalist> | ||||
|  | ||||
| @@ -0,0 +1,153 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!-- | ||||
|   Copyright © 2010 Christian Persch | ||||
|  | ||||
|   This library 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.1, or (at your option) | ||||
|   any later version. | ||||
|  | ||||
|   This library 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 Lesser General Public License for more details. | ||||
|  | ||||
|   You should have received a copy of the GNU Lesser General Public License | ||||
|   along with this library. If not, see <http://www.gnu.org/licenses/>. | ||||
| --> | ||||
| <schemalist> | ||||
|  | ||||
|   <enum id='org.gtk.Settings.FileChooser.LocationMode'> | ||||
|     <value nick='path-bar' value='0'/> | ||||
|     <value nick='filename-entry' value='1'/> | ||||
|   </enum> | ||||
|  | ||||
|   <enum id='org.gtk.Settings.FileChooser.SortColumn'> | ||||
|     <value nick='name' value='0'/> | ||||
|     <value nick='size' value='1'/> | ||||
|     <value nick='modified' value='2'/> | ||||
|   </enum> | ||||
|  | ||||
|   <enum id='org.gtk.Settings.FileChooser.SortOrder'> | ||||
|     <value nick='ascending' value='0'/> | ||||
|     <value nick='descending' value='1'/> | ||||
|   </enum> | ||||
|  | ||||
|   <enum id='org.gtk.Settings.FileChooser.StartupMode'> | ||||
|     <value nick='recent' value='0'/> | ||||
|     <value nick='cwd' value='1'/> | ||||
|   </enum> | ||||
|  | ||||
|   <enum id='org.gtk.Settings.FileChooser.ClockFormat'> | ||||
|     <value nick='24h' value='0'/> | ||||
|     <value nick='12h' value='1'/> | ||||
|   </enum> | ||||
|  | ||||
|   <enum id='org.gtk.Settings.FileChooser.DateFormat'> | ||||
|     <value nick='regular' value='0'/> | ||||
|     <value nick='with-time' value='1'/> | ||||
|   </enum> | ||||
|  | ||||
|   <schema id='org.gtk.Settings.FileChooser' path='/org/gtk/settings/file-chooser/'> | ||||
|     <key name='last-folder-uri' type='s'> | ||||
|       <default>""</default> | ||||
|     </key> | ||||
|     <key name='location-mode' enum='org.gtk.Settings.FileChooser.LocationMode'> | ||||
|       <default>'path-bar'</default> | ||||
|       <summary>Location mode</summary> | ||||
|       <description> | ||||
| 	Controls whether the file chooser shows just a path bar, or a visible entry | ||||
|         for the filename as well, for the benefit of typing-oriented users. The | ||||
|         possible values for these modes are "path-bar" and "filename-entry". | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='show-hidden' type='b'> | ||||
|       <default>false</default> | ||||
|       <summary>Show hidden files</summary> | ||||
|       <description> | ||||
| 	Controls whether the file chooser shows hidden files or not. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key type="b" name="sort-directories-first"> | ||||
|       <default>false</default> | ||||
|       <summary>Show folders first</summary> | ||||
|       <description> | ||||
|         If set to true, then folders are shown before files in the list. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='expand-folders' type='b'> | ||||
|       <default>false</default> | ||||
|       <summary>Expand folders</summary> | ||||
|       <description>This key is deprecated; do not use it.</description> | ||||
|     </key> | ||||
|     <key name='show-size-column' type='b'> | ||||
|       <default>true</default> | ||||
|       <summary>Show file sizes</summary> | ||||
|       <description> | ||||
| 	Controls whether the file chooser shows a column with file sizes. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='sort-column' enum='org.gtk.Settings.FileChooser.SortColumn'> | ||||
|       <default>'name'</default> | ||||
|       <summary>Sort column</summary> | ||||
|       <description> | ||||
| 	Can be one of "name", "modified", or "size".  It controls | ||||
| 	which of the columns in the file chooser is used for sorting | ||||
| 	the list of files. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='sort-order' enum='org.gtk.Settings.FileChooser.SortOrder'> | ||||
|       <default>'ascending'</default> | ||||
|       <summary>Sort order</summary> | ||||
|       <description> | ||||
| 	Can be one of the strings "ascending" or "descending". | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='window-position' type='(ii)'> | ||||
|       <default>(-1, -1)</default> | ||||
|       <summary>Window position</summary> | ||||
|       <description> | ||||
| 	The (x, y) coordinates of the upper-left corner of the GtkFileChooserDialog's | ||||
|         window. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='window-size' type='(ii)'> | ||||
|       <default>(-1, -1)</default> | ||||
|       <summary>Window size</summary> | ||||
|       <description> | ||||
| 	The size (width, height) of the GtkFileChooserDialog's window, in pixels. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='startup-mode' enum='org.gtk.Settings.FileChooser.StartupMode'> | ||||
|       <default>'recent'</default> | ||||
|       <summary>Startup mode</summary> | ||||
|       <description> | ||||
| 	Either "recent" or "cwd"; controls whether the file chooser | ||||
| 	starts up showing the list of recently-used files, or the | ||||
| 	contents of the current working directory. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name='sidebar-width' type='i'> | ||||
|       <default>148</default> | ||||
|       <summary>Sidebar width</summary> | ||||
|       <description> | ||||
| 	Width in pixels of the file chooser's places sidebar. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name="clock-format" enum="org.gtk.Settings.FileChooser.ClockFormat"> | ||||
|       <default>'24h'</default> | ||||
|       <summary>Time format</summary> | ||||
|       <description> | ||||
|         Whether the time is shown in 24h or 12h format. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name="date-format" enum="org.gtk.Settings.FileChooser.DateFormat"> | ||||
|       <default>'regular'</default> | ||||
|       <summary>Date format</summary> | ||||
|       <description> | ||||
|         The amount of detail to show in the Modified column. | ||||
|       </description> | ||||
|     </key> | ||||
|   </schema> | ||||
|  | ||||
| </schemalist> | ||||
| @@ -0,0 +1,25 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <schemalist> | ||||
|   <schema path="/org/gtk/exampleapp/" id="org.gtk.exampleapp"> | ||||
|     <key name="font" type="s"> | ||||
|       <default>'Monospace 12'</default> | ||||
|       <summary>Font</summary> | ||||
|       <description>The font to be used for content.</description> | ||||
|     </key> | ||||
|     <key name="transition" type="s"> | ||||
|       <choices> | ||||
|         <choice value='none'/> | ||||
|         <choice value='crossfade'/> | ||||
|         <choice value='slide-left-right'/> | ||||
|       </choices> | ||||
|       <default>'none'</default> | ||||
|       <summary>Transition</summary> | ||||
|       <description>The transition to use when switching tabs.</description> | ||||
|     </key> | ||||
|     <key name="show-words" type="b"> | ||||
|       <default>false</default> | ||||
|       <summary>Show words</summary> | ||||
|       <description>Whether to show a word list in the sidebar</description> | ||||
|     </key> | ||||
|   </schema> | ||||
| </schemalist> | ||||
| After Width: | Height: | Size: 322 B | 
| After Width: | Height: | Size: 299 B | 
| After Width: | Height: | Size: 883 B | 
| After Width: | Height: | Size: 194 B | 
| After Width: | Height: | Size: 781 B | 
| After Width: | Height: | Size: 294 B | 
| After Width: | Height: | Size: 1.0 KiB | 
| After Width: | Height: | Size: 180 B | 
| After Width: | Height: | Size: 720 B | 
| After Width: | Height: | Size: 230 B | 
| After Width: | Height: | Size: 599 B | 
| After Width: | Height: | Size: 272 B | 
| After Width: | Height: | Size: 563 B | 
| After Width: | Height: | Size: 257 B | 
| After Width: | Height: | Size: 224 B | 
| After Width: | Height: | Size: 618 B | 
| After Width: | Height: | Size: 212 B | 
| After Width: | Height: | Size: 185 B | 
| After Width: | Height: | Size: 851 B | 
| After Width: | Height: | Size: 340 B | 
| After Width: | Height: | Size: 1017 B | 
| After Width: | Height: | Size: 210 B | 
| After Width: | Height: | Size: 727 B | 
| After Width: | Height: | Size: 277 B | 
| After Width: | Height: | Size: 910 B | 
| After Width: | Height: | Size: 274 B | 
| After Width: | Height: | Size: 889 B | 
| After Width: | Height: | Size: 147 B | 
| After Width: | Height: | Size: 698 B | 
| After Width: | Height: | Size: 266 B | 
| After Width: | Height: | Size: 927 B | 
| After Width: | Height: | Size: 951 B | 
| After Width: | Height: | Size: 277 B | 
| After Width: | Height: | Size: 276 B | 
| After Width: | Height: | Size: 948 B | 
| After Width: | Height: | Size: 238 B | 
| After Width: | Height: | Size: 689 B | 
| After Width: | Height: | Size: 219 B | 
| After Width: | Height: | Size: 660 B | 
| After Width: | Height: | Size: 250 B | 
| After Width: | Height: | Size: 480 B | 
| After Width: | Height: | Size: 299 B | 
| After Width: | Height: | Size: 773 B | 
| After Width: | Height: | Size: 381 B | 
| After Width: | Height: | Size: 219 B | 
| After Width: | Height: | Size: 227 B | 
| After Width: | Height: | Size: 385 B | 
| After Width: | Height: | Size: 139 B | 
| After Width: | Height: | Size: 549 B | 
| After Width: | Height: | Size: 345 B | 
| After Width: | Height: | Size: 959 B | 
| After Width: | Height: | Size: 287 B | 
| After Width: | Height: | Size: 1.0 KiB | 
| After Width: | Height: | Size: 298 B | 
| After Width: | Height: | Size: 1.0 KiB | 
| After Width: | Height: | Size: 297 B | 
| After Width: | Height: | Size: 949 B | 
| After Width: | Height: | Size: 218 B | 
| After Width: | Height: | Size: 722 B | 
| After Width: | Height: | Size: 656 B | 
| After Width: | Height: | Size: 209 B | 
| After Width: | Height: | Size: 189 B | 
| After Width: | Height: | Size: 647 B | 
| After Width: | Height: | Size: 164 B | 
| After Width: | Height: | Size: 822 B | 
| After Width: | Height: | Size: 163 B | 
| After Width: | Height: | Size: 642 B | 
| After Width: | Height: | Size: 189 B | 
| After Width: | Height: | Size: 209 B | 
| After Width: | Height: | Size: 636 B | 
| After Width: | Height: | Size: 345 B | 
| After Width: | Height: | Size: 224 B | 
| After Width: | Height: | Size: 175 B | 
| After Width: | Height: | Size: 198 B |