diff options
author | Dennis Kasprzyk <onestone@compiz-fusion.org> | 2009-03-15 06:09:18 +0100 |
---|---|---|
committer | Dennis kasprzyk <onestone@compiz-fusion.org> | 2009-03-15 06:09:18 +0100 |
commit | 163f6b6f3c3b7764987cbdf8e03cc355edeaa499 (patch) | |
tree | 4278afde195343dcb8277b0bb0b6efc926ce8907 /metadata | |
parent | 28e45c55c11e20206d3bc9056aea8fc7f1b7a0e7 (diff) | |
download | zcomp-163f6b6f3c3b7764987cbdf8e03cc355edeaa499.tar.gz zcomp-163f6b6f3c3b7764987cbdf8e03cc355edeaa499.tar.bz2 |
New generalized build system.
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/CMakeLists.txt | 103 | ||||
-rw-r--r-- | metadata/blur.xml.in | 111 | ||||
-rw-r--r-- | metadata/commands.xml.in | 225 | ||||
-rw-r--r-- | metadata/composite.xml.in | 34 | ||||
-rw-r--r-- | metadata/copytex.xml.in | 11 | ||||
-rw-r--r-- | metadata/core.xml.in | 4 | ||||
-rw-r--r-- | metadata/decor.xml.in | 74 | ||||
-rw-r--r-- | metadata/fade.xml.in | 81 | ||||
-rw-r--r-- | metadata/gnomecompat.xml.in | 52 | ||||
-rw-r--r-- | metadata/imgpng.xml.in | 8 | ||||
-rw-r--r-- | metadata/imgsvg.xml.in | 8 | ||||
-rw-r--r-- | metadata/ini.xml.in | 6 | ||||
-rw-r--r-- | metadata/inotify.xml.in | 6 | ||||
-rw-r--r-- | metadata/move.xml.in | 46 | ||||
-rw-r--r-- | metadata/obs.xml.in | 161 | ||||
-rw-r--r-- | metadata/opengl.xml.in | 47 | ||||
-rw-r--r-- | metadata/place.xml.in | 116 | ||||
-rw-r--r-- | metadata/regex.xml.in | 6 | ||||
-rw-r--r-- | metadata/resize.xml.in | 107 | ||||
-rw-r--r-- | metadata/scale.xml.in | 158 | ||||
-rw-r--r-- | metadata/schemas.xslt | 412 | ||||
-rw-r--r-- | metadata/switcher.xml.in | 156 | ||||
-rw-r--r-- | metadata/water.xml.in | 60 | ||||
-rw-r--r-- | metadata/zoom.xml.in | 62 |
24 files changed, 44 insertions, 2010 deletions
diff --git a/metadata/CMakeLists.txt b/metadata/CMakeLists.txt index 38c667e..25097bd 100644 --- a/metadata/CMakeLists.txt +++ b/metadata/CMakeLists.txt @@ -1,73 +1,56 @@ -set (_plugin_files - core - annotate - blur - clone - commands - cube - dbus - decor - fade - fs - gconf - glib - gnomecompat - imgpng - imgsvg - ini - inotify - minimize - move - obs - place - regex - resize - rotate - scale - screenshot - switcher - video - water - wobbly - zoom - composite - opengl - copytex +set ( + COMPIZ_DEFAULT_PLUGINS ${COMPIZ_DEFAULT_PLUGINS} CACHE STRING + "Default plugins list that will be added to core metadata file" ) -set (_xml_targets) -set (_schema_targets) +find_program (XSLTPROC_EXECUTABLE xsltproc) +mark_as_advanced (FORCE XSLTPROC_EXECUTABLE) -foreach (_plugin ${_plugin_files}) +if (XSLTPROC_EXECUTABLE) - translate_xml ( - ${CMAKE_CURRENT_SOURCE_DIR}/${_plugin}.xml.in - ${CMAKE_CURRENT_BINARY_DIR}/${_plugin}.xml - ) + if (NOT ${COMPIZ_DEFAULT_PLUGINS}) + set (COMPIZ_DEFAULT_PLUGINS "core") + endif () - install ( - FILES ${CMAKE_CURRENT_BINARY_DIR}/${_plugin}.xml - DESTINATION ${compiz_metadatadir} + add_custom_command ( + OUTPUT ${CMAKE_BINARY_DIR}/generated/core.xml.in + COMMAND ${XSLTPROC_EXECUTABLE} + -o ${CMAKE_BINARY_DIR}/generated/core.xml.in + --param default_plugins "\"'${COMPIZ_DEFAULT_PLUGINS}'\"" + ${CMAKE_SOURCE_DIR}/xslt/default_plugins.xslt + ${CMAKE_CURRENT_SOURCE_DIR}/core.xml.in + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/core.xml.in ) + set (_core_file "${CMAKE_BINARY_DIR}/generated/core.xml.in") +else () + set (_core_file "${CMAKE_CURRENT_SOURCE_DIR}/core.xml.in") +endif () + + +set (_xml_targets) +set (_schema_targets) - if (USE_GCONF) - generate_gconf_schema ( - ${CMAKE_CURRENT_BINARY_DIR}/${_plugin}.xml - ${CMAKE_CURRENT_BINARY_DIR}/compiz-${_plugin}.schemas - ) - install_gconf_schema (${CMAKE_CURRENT_BINARY_DIR}/compiz-${_plugin}.schemas) - set (_schema_targets ${_schema_targets} ${CMAKE_CURRENT_BINARY_DIR}/compiz-${_plugin}.schemas) - endif (USE_GCONF) +compiz_translate_xml ( + ${_core_file} + ${CMAKE_BINARY_DIR}/generated/core.xml +) - set (_xml_targets ${_xml_targets} ${CMAKE_CURRENT_BINARY_DIR}/${_plugin}.xml) -endforeach (_plugin) +install ( + FILES ${CMAKE_BINARY_DIR}/generated/core.xml + DESTINATION ${compiz_metadatadir} +) -add_custom_target (xml-files ALL - DEPENDS ${_xml_targets} +add_custom_target (core-xml-file ALL + DEPENDS ${CMAKE_BINARY_DIR}/generated/core.xml ) if (USE_GCONF) - add_custom_target (gconf-schemas ALL - DEPENDS ${_schema_targets} + compiz_gconf_schema ( + ${CMAKE_BINARY_DIR}/generated/core.xml + ${CMAKE_BINARY_DIR}/generated/compiz-core.schemas + ${SCHEMADIR} + ) + add_custom_target (core-gconf-schema ALL + DEPENDS ${CMAKE_BINARY_DIR}/generated/compiz-core.schemas ) -endif (USE_GCONF) +endif () diff --git a/metadata/blur.xml.in b/metadata/blur.xml.in deleted file mode 100644 index 89a235a..0000000 --- a/metadata/blur.xml.in +++ /dev/null @@ -1,111 +0,0 @@ -<compiz> - <plugin name="blur"> - <_short>Blur Windows</_short> - <_long>Blur windows</_long> - <feature>blur</feature> - <deps> - <relation type="before"> - <plugin>video</plugin> - </relation> - <relation type="after"> - <plugin>decoration</plugin> - </relation> - <requirement> - <plugin>opengl</plugin> - </requirement> - </deps> - <options> - <option name="pulse" type="bell"> - <_short>Pulse</_short> - <_long>Pulse effect</_long> - </option> - <option name="blur_speed" type="float"> - <_short>Blur Speed</_short> - <_long>Window blur speed</_long> - <default>3.5</default> - <min>0.1</min> - <max>10.0</max> - <precision>0.1</precision> - </option> - <option name="focus_blur_match" type="match"> - <_short>Focus blur windows</_short> - <_long>Windows that should be affected by focus blur</_long> - <default>toolbar | menu | utility | normal | dialog | modaldialog</default> - </option> - <option name="focus_blur" type="bool"> - <_short>Focus Blur</_short> - <_long>Blur windows that doesn't have focus</_long> - <default>false</default> - </option> - <option name="alpha_blur_match" type="match"> - <_short>Alpha blur windows</_short> - <_long>Windows that should be use alpha blur by default</_long> - <default></default> - </option> - <option name="alpha_blur" type="bool"> - <_short>Alpha Blur</_short> - <_long>Blur behind translucent parts of windows</_long> - <default>true</default> - </option> - <option name="filter" type="int"> - <_short>Blur Filter</_short> - <_long>Filter method used for blurring</_long> - <default>0</default> - <min>0</min> - <max>2</max> - <desc> - <value>0</value> - <_name>4xBilinear</_name> - </desc> - <desc> - <value>1</value> - <_name>Gaussian</_name> - </desc> - <desc> - <value>2</value> - <_name>Mipmap</_name> - </desc> - </option> - <option name="gaussian_radius" type="int"> - <_short>Gaussian Radius</_short> - <_long>Gaussian radius</_long> - <default>3</default> - <min>1</min> - <max>15</max> - </option> - <option name="gaussian_strength" type="float"> - <_short>Gaussian Strength</_short> - <_long>Gaussian strength</_long> - <default>1.0</default> - <min>0.0</min> - <max>1.0</max> - <precision>0.1</precision> - </option> - <option name="mipmap_lod" type="float"> - <_short>Mipmap LOD</_short> - <_long>Mipmap level-of-detail</_long> - <default>2.5</default> - <min>0.1</min> - <max>5.0</max> - <precision>0.1</precision> - </option> - <option name="saturation" type="int"> - <_short>Blur Saturation</_short> - <_long>Blur saturation</_long> - <default>100</default> - <min>0</min> - <max>100</max> - </option> - <option name="occlusion" type="bool"> - <_short>Blur Occlusion</_short> - <_long>Disable blurring of screen regions obscured by other windows.</_long> - <default>true</default> - </option> - <option name="independent_tex" type="bool"> - <_short>Independent texture fetch</_short> - <_long>Use the available texture units to do as many as possible independent texture fetches.</_long> - <default>false</default> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/commands.xml.in b/metadata/commands.xml.in deleted file mode 100644 index 4b9d283..0000000 --- a/metadata/commands.xml.in +++ /dev/null @@ -1,225 +0,0 @@ -<compiz> - <plugin name="commands"> - <_short>Commands</_short> - <_long>Assigns bindings to arbitrary commands</_long> - <category>General</category> - <options> - <group> - <_short>Commands</_short> - <option name="command0" type="string"> - <_short>Command line 0</_short> - <_long>Command line to be executed in shell when run_command0 is invoked</_long> - <default></default> - </option> - <option name="command1" type="string"> - <_short>Command line 1</_short> - <_long>Command line to be executed in shell when run_command1 is invoked</_long> - <default></default> - </option> - <option name="command2" type="string"> - <_short>Command line 2</_short> - <_long>Command line to be executed in shell when run_command2 is invoked</_long> - <default></default> - </option> - <option name="command3" type="string"> - <_short>Command line 3</_short> - <_long>Command line to be executed in shell when run_command3 is invoked</_long> - <default></default> - </option> - <option name="command4" type="string"> - <_short>Command line 4</_short> - <_long>Command line to be executed in shell when run_command4 is invoked</_long> - <default></default> - </option> - <option name="command5" type="string"> - <_short>Command line 5</_short> - <_long>Command line to be executed in shell when run_command5 is invoked</_long> - <default></default> - </option> - <option name="command6" type="string"> - <_short>Command line 6</_short> - <_long>Command line to be executed in shell when run_command6 is invoked</_long> - <default></default> - </option> - <option name="command7" type="string"> - <_short>Command line 7</_short> - <_long>Command line to be executed in shell when run_command7 is invoked</_long> - <default></default> - </option> - <option name="command8" type="string"> - <_short>Command line 8</_short> - <_long>Command line to be executed in shell when run_command8 is invoked</_long> - <default></default> - </option> - <option name="command9" type="string"> - <_short>Command line 9</_short> - <_long>Command line to be executed in shell when run_command9 is invoked</_long> - <default></default> - </option> - <option name="command10" type="string"> - <_short>Command line 10</_short> - <_long>Command line to be executed in shell when run_command10 is invoked</_long> - <default></default> - </option> - <option name="command11" type="string"> - <_short>Command line 11</_short> - <_long>Command line to be executed in shell when run_command11 is invoked</_long> - <default></default> - </option> - </group> - <group> - <_short>Key Bindings</_short> - <option name="run_command0_key" type="key"> - <_short>Run command 0</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command0</_long> - </option> - <option name="run_command1_key" type="key"> - <_short>Run command 1</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command1</_long> - </option> - <option name="run_command2_key" type="key"> - <_short>Run command 2</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command2</_long> - </option> - <option name="run_command3_key" type="key"> - <_short>Run command 3</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command3</_long> - </option> - <option name="run_command4_key" type="key"> - <_short>Run command 4</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command4</_long> - </option> - <option name="run_command5_key" type="key"> - <_short>Run command 5</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command5</_long> - </option> - <option name="run_command6_key" type="key"> - <_short>Run command 6</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command6</_long> - </option> - <option name="run_command7_key" type="key"> - <_short>Run command 7</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command7</_long> - </option> - <option name="run_command8_key" type="key"> - <_short>Run command 8</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command8</_long> - </option> - <option name="run_command9_key" type="key"> - <_short>Run command 9</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command9</_long> - </option> - <option name="run_command10_key" type="key"> - <_short>Run command 10</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command10</_long> - </option> - <option name="run_command11_key" type="key"> - <_short>Run command 11</_short> - <_long>A keybinding that when invoked, will run the shell command identified by command11</_long> - </option> - </group> - <group> - <_short>Button Bindings</_short> - <option name="run_command0_button" type="button"> - <_short>Run command 0</_short> - <_long>A button binding that when invoked, will run the shell command identified by command0</_long> - </option> - <option name="run_command1_button" type="button"> - <_short>Run command 1</_short> - <_long>A button binding that when invoked, will run the shell command identified by command1</_long> - </option> - <option name="run_command2_button" type="button"> - <_short>Run command 2</_short> - <_long>A button binding that when invoked, will run the shell command identified by command2</_long> - </option> - <option name="run_command3_button" type="button"> - <_short>Run command 3</_short> - <_long>A button binding that when invoked, will run the shell command identified by command3</_long> - </option> - <option name="run_command4_button" type="button"> - <_short>Run command 4</_short> - <_long>A button binding that when invoked, will run the shell command identified by command4</_long> - </option> - <option name="run_command5_button" type="button"> - <_short>Run command 5</_short> - <_long>A button binding that when invoked, will run the shell command identified by command5</_long> - </option> - <option name="run_command6_button" type="button"> - <_short>Run command 6</_short> - <_long>A button binding that when invoked, will run the shell command identified by command6</_long> - </option> - <option name="run_command7_button" type="button"> - <_short>Run command 7</_short> - <_long>A button binding that when invoked, will run the shell command identified by command7</_long> - </option> - <option name="run_command8_button" type="button"> - <_short>Run command 8</_short> - <_long>A button binding that when invoked, will run the shell command identified by command8</_long> - </option> - <option name="run_command9_button" type="button"> - <_short>Run command 9</_short> - <_long>A button binding that when invoked, will run the shell command identified by command9</_long> - </option> - <option name="run_command10_button" type="button"> - <_short>Run command 10</_short> - <_long>A button binding that when invoked, will run the shell command identified by command10</_long> - </option> - <option name="run_command11_button" type="button"> - <_short>Run command 11</_short> - <_long>A button binding that when invoked, will run the shell command identified by command11</_long> - </option> - </group> - <group> - <_short>Edge Bindings</_short> - <option name="run_command0_edge" type="edge"> - <_short>Run command 0</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command0</_long> - </option> - <option name="run_command1_edge" type="edge"> - <_short>Run command 1</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command1</_long> - </option> - <option name="run_command2_edge" type="edge"> - <_short>Run command 2</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command2</_long> - </option> - <option name="run_command3_edge" type="edge"> - <_short>Run command 3</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command3</_long> - </option> - <option name="run_command4_edge" type="edge"> - <_short>Run command 4</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command4</_long> - </option> - <option name="run_command5_edge" type="edge"> - <_short>Run command 5</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command5</_long> - </option> - <option name="run_command6_edge" type="edge"> - <_short>Run command 6</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command6</_long> - </option> - <option name="run_command7_edge" type="edge"> - <_short>Run command 7</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command7</_long> - </option> - <option name="run_command8_edge" type="edge"> - <_short>Run command 8</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command8</_long> - </option> - <option name="run_command9_edge" type="edge"> - <_short>Run command 9</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command9</_long> - </option> - <option name="run_command10_edge" type="edge"> - <_short>Run command 10</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command10</_long> - </option> - <option name="run_command11_edge" type="edge"> - <_short>Run command 11</_short> - <_long>An edge binding that when invoked, will run the shell command identified by command11</_long> - </option> - </group> - </options> - </plugin> -</compiz> diff --git a/metadata/composite.xml.in b/metadata/composite.xml.in deleted file mode 100644 index a2a9fca..0000000 --- a/metadata/composite.xml.in +++ /dev/null @@ -1,34 +0,0 @@ -<compiz> - <plugin name="composite"> - <_short>Composite</_short> - <_long>Composite plugin</_long> - <options> - <option name="slow_animations_key" type="key"> - <_short>Slow Animations</_short> - <_long>Toggle use of slow animations</_long> - </option> - <option name="detect_refresh_rate" type="bool"> - <_short>Detect Refresh Rate</_short> - <_long>Automatic detection of refresh rate</_long> - <default>true</default> - </option> - <option name="refresh_rate" type="int"> - <_short>Refresh Rate</_short> - <_long>The rate at which the screen is redrawn (times/second)</_long> - <default>50</default> - <min>1</min> - <max>200</max> - </option> - <option name="unredirect_fullscreen_windows" type="bool"> - <_short>Unredirect Fullscreen Windows</_short> - <_long>Allow drawing of fullscreen windows to not be redirected to offscreen pixmaps</_long> - <default>false</default> - </option> - <option name="force_independent_output_painting" type="bool"> - <_short>Force independent output painting.</_short> - <_long>Paint each output device independly, even if the output devices overlap</_long> - <default>false</default> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/copytex.xml.in b/metadata/copytex.xml.in deleted file mode 100644 index 96ba59b..0000000 --- a/metadata/copytex.xml.in +++ /dev/null @@ -1,11 +0,0 @@ -<compiz> - <plugin name="copytex"> - <_short>Copy to texture</_short> - <_long>Copy pixmap content to texture</_long> - <deps> - <requirement> - <plugin>opengl</plugin> - </requirement> - </deps> - </plugin> -</compiz>
\ No newline at end of file diff --git a/metadata/core.xml.in b/metadata/core.xml.in index 83b5f6b..e888c42 100644 --- a/metadata/core.xml.in +++ b/metadata/core.xml.in @@ -7,9 +7,7 @@ <_short>Active Plugins</_short> <_long>List of currently active plugins</_long> <type>string</type> - <default> - <value>core</value> - </default> + <default_plugins/> </option> <option name="click_to_focus" type="bool"> <_short>Click To Focus</_short> diff --git a/metadata/decor.xml.in b/metadata/decor.xml.in deleted file mode 100644 index 8c4a36a..0000000 --- a/metadata/decor.xml.in +++ /dev/null @@ -1,74 +0,0 @@ -<compiz> - <plugin name="decor"> - <_short>Window Decoration</_short> - <_long>Window decorations</_long> - <feature>decorations</feature> - <deps> - <relation type="before"> - <plugin>fade</plugin> - <plugin>cube</plugin> - <plugin>scale</plugin> - <plugin>wobbly</plugin> - </relation> - <relation type="after"> - <plugin>composite</plugin> - <plugin>opengl</plugin> - </relation> - </deps> - <options> - <option name="shadow_radius" type="float"> - <_short>Shadow Radius</_short> - <_long>Drop shadow radius</_long> - <default>8.0</default> - <min>0.1</min> - <max>18.0</max> - <precision>0.1</precision> - </option> - <option name="shadow_opacity" type="float"> - <_short>Shadow Opacity</_short> - <_long>Drop shadow opacity</_long> - <default>0.5</default> - <min>0.01</min> - <max>6.0</max> - <precision>0.01</precision> - </option> - <option name="shadow_color" type="color"> - <_short>Shadow Color</_short> - <_long>Drop shadow color</_long> - </option> - <option name="shadow_x_offset" type="int"> - <_short>Shadow Offset X</_short> - <_long>Drop shadow X offset</_long> - <default>1</default> - <min>-16</min> - <max>16</max> - </option> - <option name="shadow_y_offset" type="int"> - <_short>Shadow Offset Y</_short> - <_long>Drop shadow Y offset</_long> - <default>1</default> - <min>-16</min> - <max>16</max> - </option> - <option name="command" type="string"> - <_short>Command</_short> - <_long>Decorator command line that is executed if no decorator is already running</_long> - </option> - <option name="mipmap" type="bool"> - <_short>Mipmap</_short> - <_long>Allow mipmaps to be generated for decoration textures</_long> - <default>false</default> - </option> - <option name="decoration_match" type="match"> - <_short>Decoration windows</_short> - <_long>Windows that should be decorated</_long> - <default>any</default> - </option> - <option name="shadow_match" type="match"> - <_short>Shadow windows</_short> - <_long>Windows that should have a shadow</_long> - <default>any</default> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/fade.xml.in b/metadata/fade.xml.in deleted file mode 100644 index 42bb8fd..0000000 --- a/metadata/fade.xml.in +++ /dev/null @@ -1,81 +0,0 @@ -<compiz> - <plugin name="fade"> - <_short>Fading Windows</_short> - <_long>Fade in windows when mapped and fade out windows when unmapped</_long> - <deps> - <requirement> - <plugin>opengl</plugin> - </requirement> - <relation type="before"> - <plugin>cube</plugin> - <plugin>scale</plugin> - </relation> - </deps> - <options> - <option name="fade_mode" type="int"> - <_short>Fade Mode</_short> - <_long>Window fade mode</_long> - <min>0</min> - <max>1</max> - <default>0</default> - <desc> - <value>0</value> - <_name>Constant speed</_name> - </desc> - <desc> - <value>1</value> - <_name>Constant time</_name> - </desc> - </option> - <option name="fade_speed" type="float"> - <_short>Fade Speed</_short> - <_long>Window fade speed</_long> - <default>5.0</default> - <min>0.1</min> - <max>25.0</max> - <precision>0.1</precision> - </option> - <option name="fade_time" type="int"> - <_short>Fade Time</_short> - <_long>Window fade time (in ms) in "Constant time" mode</_long> - <default>100</default> - <min>1</min> - <max>5000</max> - </option> - <option name="window_match" type="match"> - <_short>Fade windows</_short> - <_long>Windows that should be fading</_long> - <default>any</default> - </option> - <option name="visual_bell" type="bool"> - <_short>Visual Bell</_short> - <_long>Fade effect on system beep</_long> - <default>false</default> - </option> - <option name="fullscreen_visual_bell" type="bool"> - <_short>Fullscreen Visual Bell</_short> - <_long>Fullscreen fade effect on system beep</_long> - <default>false</default> - </option> - <option name="dim_unresponsive" type="bool"> - <_short>Dim Unresponsive Windows</_short> - <_long>Dim windows that are not responding to window manager requests</_long> - <default>true</default> - </option> - <option name="unresponsive_brightness" type="int"> - <_short>Unresponsive Window Brightness</_short> - <_long>Brightness (in %) of unresponsive windows</_long> - <min>0</min> - <max>100</max> - <default>65</default> - </option> - <option name="unresponsive_saturation" type="int"> - <_short>Unresponsive Window Saturation</_short> - <_long>Saturation (in %) of unresponsive windows</_long> - <min>0</min> - <max>100</max> - <default>0</default> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/gnomecompat.xml.in b/metadata/gnomecompat.xml.in deleted file mode 100644 index 122bf83..0000000 --- a/metadata/gnomecompat.xml.in +++ /dev/null @@ -1,52 +0,0 @@ -<compiz> - <plugin name="gnomecompat"> - <_short>Gnome Compatibility</_short> - <_long>Options that keep Compiz compatible to the Gnome desktop environment</_long> - <category>General</category> - <options> - <option name="main_menu_key" type="key"> - <_short>Show Main Menu</_short> - <_long>Show the main menu</_long> - <default><Alt>F1</default> - </option> - <option name="run_key" type="key"> - <_short>Run Dialog</_short> - <_long>Show Run Application dialog</_long> - <default><Alt>F2</default> - </option> - <group> - <_short>Commands</_short> - <option name="command_screenshot" type="string"> - <_short>Screenshot command line</_short> - <_long>Screenshot command line</_long> - <default>gnome-screenshot</default> - </option> - <option name="run_command_screenshot_key" type="key"> - <_short>Take a screenshot</_short> - <_long>Take a screenshot</_long> - <default>Print</default> - </option> - <option name="command_window_screenshot" type="string"> - <_short>Window screenshot command line</_short> - <_long>Window screenshot command line</_long> - <default>gnome-screenshot --window</default> - </option> - <option name="run_command_window_screenshot_key" type="key"> - <_short>Take a screenshot of a window</_short> - <_long>Take a screenshot of a window</_long> - <default><Alt>Print</default> - </option> - <_short>Run terminal command</_short> - <option name="command_terminal" type="string"> - <_short>Terminal command line</_short> - <_long>Terminal command line</_long> - <default></default> - </option> - <option name="run_command_terminal_key" type="key"> - <_short>Open a terminal</_short> - <_long>Open a terminal</_long> - </option> - </group> - </options> - </plugin> -</compiz> diff --git a/metadata/imgpng.xml.in b/metadata/imgpng.xml.in deleted file mode 100644 index f2985da..0000000 --- a/metadata/imgpng.xml.in +++ /dev/null @@ -1,8 +0,0 @@ -<compiz> - <plugin name="imgpng"> - <_short>Png</_short> - <_long>Png image loader</_long> - <feature>imageext:png</feature> - <feature>imagemime:image/png</feature> - </plugin> -</compiz> diff --git a/metadata/imgsvg.xml.in b/metadata/imgsvg.xml.in deleted file mode 100644 index fdb0887..0000000 --- a/metadata/imgsvg.xml.in +++ /dev/null @@ -1,8 +0,0 @@ -<compiz> - <plugin name="imgsvg"> - <_short>Svg</_short> - <_long>Svg image loader</_long> - <feature>imageext:svg</feature> - <feature>imagemime:image/svg+xml</feature> - </plugin> -</compiz> diff --git a/metadata/ini.xml.in b/metadata/ini.xml.in deleted file mode 100644 index 3c3b32b..0000000 --- a/metadata/ini.xml.in +++ /dev/null @@ -1,6 +0,0 @@ -<compiz> - <plugin name="ini"> - <_short>Ini</_short> - <_long>Ini Flat File Backend</_long> - </plugin> -</compiz> diff --git a/metadata/inotify.xml.in b/metadata/inotify.xml.in deleted file mode 100644 index 473251e..0000000 --- a/metadata/inotify.xml.in +++ /dev/null @@ -1,6 +0,0 @@ -<compiz> - <plugin name="inotify"> - <_short>Inotify</_short> - <_long>File change notification plugin</_long> - </plugin> -</compiz> diff --git a/metadata/move.xml.in b/metadata/move.xml.in deleted file mode 100644 index e3a6eb7..0000000 --- a/metadata/move.xml.in +++ /dev/null @@ -1,46 +0,0 @@ -<compiz> - <plugin name="move"> - <_short>Move Window</_short> - <_long>Move window</_long> - <deps> - <relation type="after"> - <plugin>composite</plugin> - <plugin>opengl</plugin> - </relation> - </deps> - <options> - <option name="initiate_button" type="button"> - <_short>Initiate Window Move</_short> - <_long>Start moving window</_long> - <default><Alt>Button1</default> - </option> - <option name="initiate_key" type="key"> - <_short>Initiate Window Move</_short> - <_long>Start moving window</_long> - <default><Alt>F7</default> - </option> - <option name="opacity" type="int"> - <_short>Opacity</_short> - <_long>Opacity level of moving windows</_long> - <default>100</default> - <min>1</min> - <max>100</max> - </option> - <option name="constrain_y" type="bool"> - <_short>Constrain Y</_short> - <_long>Constrain Y coordinate to workspace area</_long> - <default>true</default> - </option> - <option name="snapoff_maximized" type="bool"> - <_short>Snapoff maximized windows</_short> - <_long>Snapoff and auto unmaximized maximized windows when dragging</_long> - <default>true</default> - </option> - <option name="lazy_positioning" type="bool"> - <_short>Lazy Positioning</_short> - <_long>Do not update the server-side position of windows until finished moving</_long> - <default>true</default> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/obs.xml.in b/metadata/obs.xml.in deleted file mode 100644 index 49b4b97..0000000 --- a/metadata/obs.xml.in +++ /dev/null @@ -1,161 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<compiz> - <plugin name="obs"> - <_short>Opacity, Brightness and Saturation</_short> - <_long>Opacity, Brightness and Saturation adjustments</_long> - <category>Accessibility</category> - <deps> - <requirement> - <plugin>opengl</plugin> - </requirement> - <relation type="after"> - <plugin>decoration</plugin> - <plugin>blur</plugin> - </relation> - </deps> - <options> - <group> - <_short>Opacity</_short> - <option name="opacity_increase_key" type="key"> - <_short>Increase</_short> - <_long>Opacity Increase</_long> - <default/> - </option> - <option name="opacity_increase_button" type="button"> - <_short>Increase</_short> - <_long>Opacity Increase</_long> - <default><Alt>Button4</default> - </option> - <option name="opacity_decrease_key" type="key"> - <_short>Decrease</_short> - <_long>Opacity Decrease</_long> - <default/> - </option> - <option name="opacity_decrease_button" type="button"> - <_short>Decrease</_short> - <_long>Opacity Decrease</_long> - <default><Alt>Button5</default> - </option> - <option name="opacity_step" type="int"> - <_short>Step</_short> - <_long>Opacity Step</_long> - <min>1</min> - <max>10</max> - <default>5</default> - </option> - <subgroup> - <_short>Window specific settings</_short> - <option name="opacity_matches" type="list"> - <_short>Windows</_short> - <_long>Windows that should have a different opacity by default</_long> - <type>match</type> - <default/> - </option> - <option name="opacity_values" type="list"> - <_short>Window values</_short> - <_long>Opacity values for windows</_long> - <type>int</type> - <default/> - <min>0</min> - <max>100</max> - </option> - </subgroup> - </group> - <group> - <_short>Brightness</_short> - <option name="brightness_increase_key" type="key"> - <_short>Increase</_short> - <_long>Brightness Increase</_long> - <default/> - </option> - <option name="brightness_increase_button" type="button"> - <_short>Increase</_short> - <_long>Brightness Increase</_long> - <default/> - </option> - <option name="brightness_decrease_key" type="key"> - <_short>Decrease</_short> - <_long>Brightness Decrease</_long> - <default/> - </option> - <option name="brightness_decrease_button" type="button"> - <_short>Decrease</_short> - <_long>Brightness Decrease</_long> - <default/> - </option> - <option name="brightness_step" type="int"> - <_short>Step</_short> - <_long>Brightness Step</_long> - <min>1</min> - <max>10</max> - <default>5</default> - </option> - <subgroup> - <_short>Window specific settings</_short> - <option name="brightness_matches" type="list"> - <_short>Windows</_short> - <_long>Windows that should have a different brightness by default</_long> - <type>match</type> - <default/> - </option> - <option name="brightness_values" type="list"> - <_short>Window values</_short> - <_long>Brightness values for windows</_long> - <type>int</type> - <default/> - <min>0</min> - <max>100</max> - </option> - </subgroup> - </group> - <group> - <_short>Saturation</_short> - <option name="saturation_increase_key" type="key"> - <_short>Increase</_short> - <_long>Saturation Increase</_long> - <default/> - </option> - <option name="saturation_increase_button" type="button"> - <_short>Increase</_short> - <_long>Saturation Increase</_long> - <default/> - </option> - <option name="saturation_decrease_key" type="key"> - <_short>Decrease</_short> - <_long>Saturation Decrease</_long> - <default/> - </option> - <option name="saturation_decrease_button" type="button"> - <_short>Decrease</_short> - <_long>Saturation Decrease</_long> - <default/> - </option> - <option type="int" name="saturation_step"> - <_short>Step</_short> - <_long>Saturation Step</_long> - <min>1</min> - <max>10</max> - <default>5</default> - </option> - <subgroup> - <_short>Window specific settings</_short> - <option name="saturation_matches" type="list"> - <_short>Windows</_short> - <_long>Windows that should have a different saturation by default</_long> - <type>match</type> - <default/> - </option> - <option name="saturation_values" type="list"> - <_short>Window values</_short> - <_long>Saturation values for windows</_long> - <type>int</type> - <default/> - <min>0</min> - <max>100</max> - </option> - </subgroup> - </group> - </options> - </plugin> -</compiz> - diff --git a/metadata/opengl.xml.in b/metadata/opengl.xml.in deleted file mode 100644 index 6a95685..0000000 --- a/metadata/opengl.xml.in +++ /dev/null @@ -1,47 +0,0 @@ -<compiz> - <plugin name="opengl"> - <_short>OpenGL</_short> - <_long>OpenGL Plugin</_long> - <deps> - <requirement> - <plugin>composite</plugin> - </requirement> - </deps> - <options> - <option name="texture_filter" type="int"> - <_short>Texture Filter</_short> - <_long>Texture filtering</_long> - <default>1</default> - <min>0</min> - <max>2</max> - <desc> - <value>0</value> - <_name>Fast</_name> - </desc> - <desc> - <value>1</value> - <_name>Good</_name> - </desc> - <desc> - <value>2</value> - <_name>Best</_name> - </desc> - </option> - <option name="lighting" type="bool"> - <_short>Lighting</_short> - <_long>Use diffuse light when screen is transformed</_long> - <default>true</default> - </option> - <option name="sync_to_vblank" type="bool"> - <_short>Sync To VBlank</_short> - <_long>Only perform screen updates during vertical blanking period</_long> - <default>true</default> - </option> - <option name="texture_compression" type="bool"> - <_short>Texture Compression</_short> - <_long>If available use compression for textures converted from images</_long> - <default>true</default> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/place.xml.in b/metadata/place.xml.in deleted file mode 100644 index addd9c6..0000000 --- a/metadata/place.xml.in +++ /dev/null @@ -1,116 +0,0 @@ -<compiz> - <plugin name="place"> - <_short>Place Windows</_short> - <_long>Place windows at appropriate positions when mapped</_long> - <options> - <option name="workarounds" type="bool"> - <_short>Workarounds</_short> - <_long>Window placement workarounds</_long> - <default>true</default> - </option> - <option name="mode" type="int"> - <_short>Placement Mode</_short> - <_long>Algorithm to use for window placement</_long> - <default>0</default> - <min>0</min> - <max>4</max> - <desc> - <value>0</value> - <_name>Cascade</_name> - </desc> - <desc> - <value>1</value> - <_name>Centered</_name> - </desc> - <desc> - <value>2</value> - <_name>Smart</_name> - </desc> - <desc> - <value>3</value> - <_name>Maximize</_name> - </desc> - <desc> - <value>4</value> - <_name>Random</_name> - </desc> - </option> - <option name="multioutput_mode" type="int"> - <_short>Multi Output Mode</_short> - <_long>Selects how window placement should behave if multiple outputs are selected</_long> - <min>0</min> - <max>3</max> - <default>0</default> - <desc> - <value>0</value> - <_name>Use active output device</_name> - </desc> - <desc> - <value>1</value> - <_name>Use output device with pointer</_name> - </desc> - <desc> - <value>2</value> - <_name>Use output device of focussed window</_name> - </desc> - <desc> - <value>3</value> - <_name>Place across all outputs</_name> - </desc> - </option> - <option name="force_placement_match" type="match"> - <_short>Force Placement Windows</_short> - <_long>Windows that should forcedly be placed, even if they indicate the window manager should avoid placing them.</_long> - <default></default> - </option> - <group> - <_short>Fixed Window Placement</_short> - <subgroup> - <_short>Windows with fixed positions></_short> - <option name="position_matches" type="list"> - <_short>Positioned windows</_short> - <_long>Windows that should be positioned by default</_long> - <type>match</type> - </option> - <option name="position_x_values" type="list"> - <_short>X Positions</_short> - <_long>X position values</_long> - <type>int</type> - </option> - <option name="position_y_values" type="list"> - <_short>Y Positions</_short> - <_long>Y position values</_long> - <type>int</type> - </option> - <option name="position_constrain_workarea" type="list"> - <_short>Keep In Workarea</_short> - <_long>Keep placed window in work area, even if that means that the position might differ from the specified position</_long> - <type>bool</type> - </option> - </subgroup> - <subgroup> - <_short>Windows with fixed viewport</_short> - <option name="viewport_matches" type="list"> - <_short>Viewport positioned windows</_short> - <_long>Windows that should be positioned in specific viewports by default</_long> - <type>match</type> - </option> - <option name="viewport_x_values" type="list"> - <_short>X Viewport Positions</_short> - <_long>Horizontal viewport positions</_long> - <type>int</type> - <min>1</min> - <max>32</max> - </option> - <option name="viewport_y_values" type="list"> - <_short>Y Viewport Positions</_short> - <_long>Vertical viewport positions</_long> - <type>int</type> - <min>1</min> - <max>32</max> - </option> - </subgroup> - </group> - </options> - </plugin> -</compiz> diff --git a/metadata/regex.xml.in b/metadata/regex.xml.in deleted file mode 100644 index 72a7cca..0000000 --- a/metadata/regex.xml.in +++ /dev/null @@ -1,6 +0,0 @@ -<compiz> - <plugin name="regex"> - <_short>Regex Matching</_short> - <_long>Regex window matching</_long> - </plugin> -</compiz> diff --git a/metadata/resize.xml.in b/metadata/resize.xml.in deleted file mode 100644 index e2569b4..0000000 --- a/metadata/resize.xml.in +++ /dev/null @@ -1,107 +0,0 @@ -<compiz> - <plugin name="resize"> - <_short>Resize Window</_short> - <_long>Resize window</_long> - <deps> - <relation type="after"> - <plugin>composite</plugin> - <plugin>opengl</plugin> - </relation> - </deps> - <options> - <option name="initiate_normal_key" type="key"> - <_short>Initiate Normal Window Resize</_short> - <_long>Start resizing window normally</_long> - <default/> - </option> - <option name="initiate_outline_key" type="key"> - <_short>Initiate Outline Window Resize</_short> - <_long>Start resizing window with outline</_long> - <default/> - </option> - <option name="initiate_rectangle_key" type="key"> - <_short>Initiate Rectangle Window Resize</_short> - <_long>Start resizing window with rectangle</_long> - <default/> - </option> - <option name="initiate_stretch_key" type="key"> - <_short>Initiate Stretch Window Resize</_short> - <_long>Start resizing window by stretching it</_long> - <default/> - </option> - <option name="initiate_button" type="button"> - <_short>Initiate Window Resize</_short> - <_long>Start resizing window</_long> - <default><Alt>Button2</default> - </option> - <option name="initiate_key" type="key"> - <_short>Initiate Window Resize</_short> - <_long>Start resizing window</_long> - <default><Alt>F8</default> - </option> - <option name="mode" type="int"> - <_short>Default Resize Mode</_short> - <_long>Default mode used for window resizing</_long> - <default>0</default> - <min>0</min> - <max>3</max> - <desc> - <value>0</value> - <_name>Normal</_name> - </desc> - <desc> - <value>1</value> - <_name>Outline</_name> - </desc> - <desc> - <value>2</value> - <_name>Rectangle</_name> - </desc> - <desc> - <value>3</value> - <_name>Stretch</_name> - </desc> - </option> - <option name="border_color" type="color"> - <_short>Border Color</_short> - <_long>Border color used for outline and rectangle resize modes</_long> - <default> - <red>0x2f2f</red> - <green>0x2f2f</green> - <blue>0x4f4f</blue> - <alpha>0x9f9f</alpha> - </default> - </option> - <option name="fill_color" type="color"> - <_short>Fill Color</_short> - <_long>Fill color used for rectangle resize mode</_long> - <default> - <red>0x2f2f</red> - <green>0x2f2f</green> - <blue>0x4f4f</blue> - <alpha>0x4f4f</alpha> - </default> - </option> - <option name="normal_match" type="match"> - <_short>Normal Resize Windows</_short> - <_long>Windows that normal resize should be used for</_long> - <default/> - </option> - <option name="outline_match" type="match"> - <_short>Outline Resize Windows</_short> - <_long>Windows that outline resize should be used for</_long> - <default/> - </option> - <option name="rectangle_match" type="match"> - <_short>Rectangle Resize Windows</_short> - <_long>Windows that rectangle resize should be used for</_long> - <default/> - </option> - <option name="stretch_match" type="match"> - <_short>Stretch Resize Windows</_short> - <_long>Windows that stretch resize should be used for</_long> - <default/> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/scale.xml.in b/metadata/scale.xml.in deleted file mode 100644 index c4f2ce8..0000000 --- a/metadata/scale.xml.in +++ /dev/null @@ -1,158 +0,0 @@ -<compiz> - <plugin name="scale"> - <_short>Scale</_short> - <_long>Scale windows</_long> - <deps> - <requirement> - <plugin>opengl</plugin> - </requirement> - <relation type="after"> - <plugin>fade</plugin> - </relation> - </deps> - <options> - <option name="initiate_edge" type="edge"> - <_short>Initiate Window Picker</_short> - <_long>Layout and start transforming windows</_long> - <default> - <edge name="TopRight"/> - </default> - <allowed edgednd="true"/> - </option> - <option name="initiate_key" type="key"> - <_short>Initiate Window Picker</_short> - <_long>Layout and start transforming windows</_long> - <default><Shift><Alt>Up</default> - </option> - <option name="initiate_button" type="button"> - <_short>Initiate Window Picker</_short> - <_long>Layout and start transforming windows</_long> - </option> - <option name="initiate_all_edge" type="edge"> - <_short>Initiate Window Picker For All Windows</_short> - <_long>Layout and start transforming all windows</_long> - <allowed edgednd="true"/> - </option> - <option name="initiate_all_button" type="button"> - <_short>Initiate Window Picker For All Windows</_short> - <_long>Layout and start transforming all windows</_long> - </option> - <option name="initiate_all_key" type="key"> - <_short>Initiate Window Picker For All Windows</_short> - <_long>Layout and start transforming all windows</_long> - </option> - <option name="initiate_group_edge" type="edge"> - <_short>Initiate Window Picker For Window Group</_short> - <_long>Layout and start transforming window group</_long> - <allowed edgednd="true"/> - </option> - <option name="initiate_group_button" type="button"> - <_short>Initiate Window Picker For Window Group</_short> - <_long>Layout and start transforming window group</_long> - </option> - <option name="initiate_group_key" type="key"> - <_short>Initiate Window Picker For Window Group</_short> - <_long>Layout and start transforming window group</_long> - </option> - <option name="initiate_output_edge" type="edge"> - <_short>Initiate Window Picker For Windows on Current Output</_short> - <_long>Layout and start transforming windows on current output</_long> - <allowed edgednd="true"/> - </option> - <option name="initiate_output_button" type="button"> - <_short>Initiate Window Picker For Windows on Current Output</_short> - <_long>Layout and start transforming windows on current output</_long> - </option> - <option name="initiate_output_key" type="key"> - <_short>Initiate Window Picker For Windows on Current Output</_short> - <_long>Layout and start transforming windows on current output</_long> - </option> - <option name="show_desktop" type="bool"> - <_short>Click Desktop to Show Desktop</_short> - <_long>Enter Show Desktop mode when Desktop is clicked during Scale</_long> - <default>true</default> - </option> - <option name="spacing" type="int"> - <_short>Spacing</_short> - <_long>Space between windows</_long> - <default>10</default> - <min>0</min> - <max>250</max> - </option> - <option name="speed" type="float"> - <_short>Speed</_short> - <_long>Scale speed</_long> - <default>1.5</default> - <min>0.1</min> - <max>50</max> - <precision>0.1</precision> - </option> - <option name="timestep" type="float"> - <_short>Timestep</_short> - <_long>Scale timestep</_long> - <default>1.2</default> - <min>0.1</min> - <max>50</max> - <precision>0.1</precision> - </option> - <option name="window_match" type="match"> - <_short>Scale Windows</_short> - <_long>Windows that should be scaled in scale mode</_long> - <default>Toolbar | Utility | Dialog | Normal | Unknown</default> - </option> - <option name="darken_back" type="bool"> - <_short>Darken Background</_short> - <_long>Darken background when scaling windows</_long> - <default>true</default> - </option> - <option name="opacity" type="int"> - <_short>Opacity</_short> - <_long>Amount of opacity in percent</_long> - <default>75</default> - <min>0</min> - <max>100</max> - </option> - <option name="overlay_icon" type="int"> - <_short>Overlay Icon</_short> - <_long>Overlay an icon on windows once they are scaled</_long> - <min>0</min> - <max>2</max> - <default>1</default> - <desc> - <value>0</value> - <_name>None</_name> - </desc> - <desc> - <value>1</value> - <_name>Emblem</_name> - </desc> - <desc> - <value>2</value> - <_name>Big</_name> - </desc> - </option> - <option name="hover_time" type="int"> - <_short>Hover Time</_short> - <_long>Time (in ms) before scale mode is terminated when hovering over a window</_long> - <default>750</default> - <min>50</min> - <max>10000</max> - </option> - <option name="multioutput_mode" type="int"> - <_short>Multi Output Mode</_short> - <_long>Selects where windows are scaled if multiple output devices are used.</_long> - <min>0</min> - <max>1</max> - <default>0</default> - <desc> - <value>0</value> - <_name>On current output device</_name> - </desc> - <desc> - <value>1</value> - <_name>On all output devices</_name> - </desc> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/schemas.xslt b/metadata/schemas.xslt deleted file mode 100644 index 4f948de..0000000 --- a/metadata/schemas.xslt +++ /dev/null @@ -1,412 +0,0 @@ -<!-- - Copyright © 2007 Dennis Kasprzyk - - Permission to use, copy, modify, distribute, and sell this software - and its documentation for any purpose is hereby granted without - fee, provided that the above copyright notice appear in all copies - and that both that copyright notice and this permission notice - appear in supporting documentation, and that the name of - Dennis Kasprzyk not be used in advertising or publicity pertaining to - distribution of the software without specific, written prior permission. - Dennis Kasprzyk makes no representations about the suitability of this - software for any purpose. It is provided "as is" without express or - implied warranty. - - DENNIS KASPRZYK DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, - INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN - NO EVENT SHALL DENNIS KASPRZYK BE LIABLE FOR ANY SPECIAL, INDIRECT OR - CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS - OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - Authors: Dennis Kasprzyk <onestone@deltatauchi.de> ---> - -<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' > - <xsl:output method="xml" indent="yes"/> - - <xsl:param name="appName">/apps/compiz</xsl:param> - - <xsl:template match="/compiz"> - <gconfschemafile> - <schemalist> - <xsl:for-each select="/compiz//options/option[not(@read_only='true') and not(@type='action')]"> - <xsl:call-template name="dumpOption"/> - </xsl:for-each> - </schemalist> - </gconfschemafile> - </xsl:template> - - <!-- generates the schema for an option --> - <xsl:template name="dumpOption"> - <schema> - <key>/schemas<xsl:call-template name="printKey"/></key> - <applyto><xsl:call-template name="printKey"/></applyto> - <owner>compiz</owner> - <type><xsl:call-template name="printType"/></type> - <xsl:choose> - <!-- color values need a special handling --> - <xsl:when test="@type = 'color'"> - <default> - <xsl:choose> - <xsl:when test="default"> - <xsl:for-each select="default[1]"> - <xsl:call-template name="printColor"/> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <xsl:text>#000000ff</xsl:text> - </xsl:otherwise> - </xsl:choose> - </default> - </xsl:when> - <xsl:when test="@type = 'edge'"> - <default> - <xsl:call-template name="printEdgeList"/> - </default> - </xsl:when> - <xsl:when test="@type = 'list'"> - <list_type> - <xsl:call-template name="printType"> - <xsl:with-param name="type" select="type/text()"/> - </xsl:call-template> - </list_type> - <xsl:choose> - <xsl:when test="type/text() = 'color'"> - <default>[<xsl:call-template name="printColorList"/>]</default> - </xsl:when> - <xsl:when test="@name = 'active_plugins'"> - <default>[<xsl:value-of select="$defaultPlugins"/>]</default> - </xsl:when> - <xsl:otherwise> - <default>[<xsl:call-template name="printValueList"/>]</default> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <!-- for most option types we can use the default value directly --> - <xsl:otherwise> - <default> - <xsl:choose> - <xsl:when test="default/text()"> - <xsl:value-of select="default/text()"/> - </xsl:when> - <xsl:otherwise> - <!-- if no default value was specified we need to generate one --> - <xsl:choose> - <xsl:when test="contains('bool,bell',@type)"> - <xsl:text>false</xsl:text> - </xsl:when> - <xsl:when test="@type = 'int'"> - <xsl:variable name="num"> - <xsl:call-template name="printNumFallback"/> - </xsl:variable> - <xsl:value-of select="floor($num)"/> - </xsl:when> - <xsl:when test="@type = 'float'"> - <xsl:call-template name="printNumFallback"/> - </xsl:when> - <xsl:when test="contains('key,button',@type)"> - <xsl:text>Disabled</xsl:text> - </xsl:when> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </default> - </xsl:otherwise> - </xsl:choose> - <!-- add the short and long descriptions --> - <xsl:call-template name="printDescription"/> - </schema> - </xsl:template> - - <!-- converts a compiz type to a gconf type --> - <xsl:template name="printType"> - <xsl:param name="type"> - <xsl:value-of select="@type"/> - </xsl:param> - <xsl:choose> - <xsl:when test="$type = 'int'"> - <xsl:text>int</xsl:text> - </xsl:when> - <xsl:when test="$type = 'float'"> - <xsl:text>float</xsl:text> - </xsl:when> - <xsl:when test="$type = 'bool'"> - <xsl:text>bool</xsl:text> - </xsl:when> - <xsl:when test="$type = 'list'"> - <xsl:text>list</xsl:text> - </xsl:when> - <xsl:when test="$type = 'bell'"> - <xsl:text>bool</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>string</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- prints the option long and short descriptions of an option --> - <xsl:template name="printDescription"> - <xsl:param name="info"> - <xsl:call-template name="printInfo"/> - </xsl:param> - <locale name="C"> - <short><xsl:value-of select="short[not(@xml:lang)]/text()"/></short> - <long> - <xsl:value-of select="long[not(@xml:lang)]/text()"/> - <xsl:value-of select="$info"/> - </long> - </locale> - <xsl:for-each select="short[@xml:lang]"> - <xsl:variable name="language" select="@xml:lang"/> - <xsl:variable name="infoTrans"> - <xsl:call-template name="printInfoTrans"> - <xsl:with-param name="language" select="$language"/> - </xsl:call-template> - </xsl:variable> - <locale> - <xsl:attribute name='name'> - <xsl:value-of select="@xml:lang"/> - </xsl:attribute> - <short><xsl:value-of select="text()"/></short> - <long> - <xsl:choose> - <xsl:when test="parent::option/long[lang($language)]"> - <xsl:value-of select="parent::option/long[lang($language)]/text()"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="parent::option/long[not(@xml:lang)]/text()"/> - </xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$infoTrans"/> - </long> - </locale> - </xsl:for-each> - </xsl:template> - - <!-- generates the additional info for the long option description --> - <xsl:template name="printInfo"> - <xsl:variable name="info"> - <xsl:text> (</xsl:text> - <xsl:choose> - <xsl:when test="contains('int,float',@type) and not(desc/value/text())"> - <xsl:value-of select="min/text()"/> - <xsl:value-of select="max/text()"/> - </xsl:when> - <xsl:when test="@type='int' and desc/value/text()"> - <xsl:call-template name="printIntDescList"/> - </xsl:when> - <xsl:when test="@type = 'match'"> - <xsl:text>match</xsl:text> - </xsl:when> - </xsl:choose> - <xsl:text>)</xsl:text> - </xsl:variable> - <xsl:if test="not(contains($info,' ()'))"> - <xsl:value-of select="$info"/> - </xsl:if> - </xsl:template> - - <!-- generates a list of int descriptions --> - <xsl:template name="printIntDescList"> - <xsl:variable name="list"> - <xsl:for-each select="desc"> - <xsl:value-of select="value/text()"/> - <xsl:text> = </xsl:text> - <xsl:value-of select="name/text()"/> - <xsl:text>, </xsl:text> - </xsl:for-each> - </xsl:variable> - <xsl:value-of select="substring($list,1,string-length($list) - 2)"/> - </xsl:template> - - <!-- generates the additional info for the long option description --> - <xsl:template name="printInfoTrans"> - <xsl:param name="language"/> - <xsl:variable name="info"> - <xsl:text> (</xsl:text> - <xsl:choose> - <xsl:when test="contains('int,float',parent::option/@type) and not(parent::option/desc/value/text())"> - <xsl:value-of select="parent::option/min/text()"/> - <xsl:value-of select="parent::option/max/text()"/> - </xsl:when> - <xsl:when test="parent::option/@type='int' and parent::option/desc/value/text()"> - <xsl:call-template name="printIntDescListTrans"> - <xsl:with-param name="language" select="$language"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="parent::option/@type = 'match'"> - <xsl:text>match</xsl:text> - </xsl:when> - </xsl:choose> - <xsl:text>)</xsl:text> - </xsl:variable> - <xsl:if test="not(contains($info,' ()'))"> - <xsl:value-of select="$info"/> - </xsl:if> - </xsl:template> - - <!-- generates a list of int descriptions --> - <xsl:template name="printIntDescListTrans"> - <xsl:param name="language"/> - <xsl:variable name="list"> - <xsl:for-each select="parent::option/desc"> - <xsl:value-of select="value/text()"/> - <xsl:text> = </xsl:text> - <xsl:choose> - <xsl:when test="name[lang($language)]/text()"> - <xsl:value-of select="name[lang($language)]/text()"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="name[not(@xml:lang)]/text()"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>, </xsl:text> - </xsl:for-each> - </xsl:variable> - <xsl:value-of select="substring($list,1,string-length($list) - 2)"/> - </xsl:template> - - <!-- generates a default number out of the min and max values --> - <xsl:template name="printNumFallback"> - <xsl:choose> - <xsl:when test="max/text() and min/text()"> - <xsl:value-of select="(max/text() + min/text()) div 2"/> - </xsl:when> - <xsl:when test="max/text() and not(min/text())"> - <xsl:value-of select="max/text()"/> - </xsl:when> - <xsl:when test="not(max/text()) and min/text()"> - <xsl:value-of select="min/text()"/> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- generates a list of values --> - <xsl:template name="printValueList"> - <xsl:variable name="list"> - <xsl:for-each select="default/value"> - <xsl:value-of select="text()"/> - <xsl:text>,</xsl:text> - </xsl:for-each> - </xsl:variable> - <xsl:value-of select="substring($list,1,string-length($list) - 1)"/> - </xsl:template> - - <!-- generates a list of color string values --> - <xsl:template name="printColorList"> - <xsl:variable name="list"> - <xsl:for-each select="default/value"> - <xsl:call-template name="printColor"/> - <xsl:text>,</xsl:text> - </xsl:for-each> - </xsl:variable> - <xsl:value-of select="substring($list,1,string-length($list) - 1)"/> - </xsl:template> - - <!-- - generates the #00aabbcc color value out of the compiz - metadata color description - --> - <xsl:template name="printColor"> - <xsl:variable name="red"> - <xsl:call-template name="getHexNum"> - <xsl:with-param name="value" select="red/text()"/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="green"> - <xsl:call-template name="getHexNum"> - <xsl:with-param name="value" select="green/text()"/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="blue"> - <xsl:call-template name="getHexNum"> - <xsl:with-param name="value" select="blue/text()"/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="alpha"> - <xsl:choose> - <xsl:when test="alpha/text()"> - <xsl:call-template name="getHexNum"> - <xsl:with-param name="value" select="alpha/text()"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:text>ff</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:value-of select="concat('#',concat($red,concat($green,concat($blue,$alpha))))"/> - </xsl:template> - - <!-- - converts a decimal number in the range of 0-65535 or - a hex number in the range of 0x0000 - 0xffff to a hex number in the - range of 00 - ff - --> - <xsl:template name="getHexNum"> - <xsl:param name="value"/> - <xsl:choose> - <xsl:when test="starts-with($value,'0x')"> - <xsl:variable name="number"> - <xsl:text>0000</xsl:text> - <xsl:value-of select="substring-after($value,'0x')"/> - </xsl:variable> - <xsl:value-of select="substring(concat('000',$number),string-length($number),2)"/> - </xsl:when> - <xsl:when test="string-length($value)"> - <xsl:variable name="number"> - <xsl:call-template name="toHex"> - <xsl:with-param name="decimalNumber" select="$value"/> - </xsl:call-template> - </xsl:variable> - <xsl:value-of select="substring(concat('000',$number),string-length($number),2)"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>00</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- generates a list of selected edges --> - <xsl:template name="printEdgeList"> - <xsl:variable name="list"> - <xsl:for-each select="default/edge"> - <xsl:value-of select="@name"/> - <xsl:text> | </xsl:text> - </xsl:for-each> - </xsl:variable> - <xsl:value-of select="substring($list,1,string-length($list) - 3)"/> - </xsl:template> - - <!-- prints the key path for an option --> - <xsl:template name="printKey"> - <xsl:value-of select="$appName"/> - <xsl:choose> - <xsl:when test="ancestor::plugin"> - <xsl:text>/plugins/</xsl:text> - <xsl:value-of select="ancestor::plugin/@name"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>/general</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:text>/screen0/options/</xsl:text> - <xsl:value-of select="@name"/> - </xsl:template> - - <!-- converts a decimal number to a hex number --> - <xsl:variable name="hexDigits" select="'0123456789abcdef'" /> - - <xsl:template name="toHex"> - <xsl:param name="decimalNumber" /> - <xsl:if test="$decimalNumber >= 16"> - <xsl:call-template name="toHex"> - <xsl:with-param name="decimalNumber" select="floor($decimalNumber div 16)" /> - </xsl:call-template> - </xsl:if> - <xsl:value-of select="substring($hexDigits, ($decimalNumber mod 16) + 1, 1)" /> - </xsl:template> - -</xsl:stylesheet> diff --git a/metadata/switcher.xml.in b/metadata/switcher.xml.in deleted file mode 100644 index dda448a..0000000 --- a/metadata/switcher.xml.in +++ /dev/null @@ -1,156 +0,0 @@ -<compiz> - <plugin name="switcher"> - <_short>Application Switcher</_short> - <_long>Application Switcher</_long> - <deps> - <requirement> - <plugin>opengl</plugin> - </requirement> - </deps> - <options> - <option name="next_button" type="button"> - <_short>Next window</_short> - <_long>Popup switcher if not visible and select next window</_long> - </option> - <option name="next_key" type="key"> - <_short>Next window</_short> - <_long>Popup switcher if not visible and select next window</_long> - <default><Alt>Tab</default> - </option> - <option name="prev_button" type="button"> - <_short>Prev window</_short> - <_long>Popup switcher if not visible and select previous window</_long> - </option> - <option name="prev_key" type="key"> - <_short>Prev window</_short> - <_long>Popup switcher if not visible and select previous window</_long> - <default><Shift><Alt>Tab</default> - </option> - <option name="next_all_button" type="button"> - <_short>Next window (All windows)</_short> - <_long>Popup switcher if not visible and select next window out of all windows</_long> - </option> - <option name="next_all_key" type="key"> - <_short>Next window (All windows)</_short> - <_long>Popup switcher if not visible and select next window out of all windows</_long> - <default><Control><Alt>Tab</default> - </option> - <option name="prev_all_button" type="button"> - <_short>Prev window (All windows)</_short> - <_long>Popup switcher if not visible and select previous window out of all windows</_long> - </option> - <option name="prev_all_key" type="key"> - <_short>Prev window (All windows)</_short> - <_long>Popup switcher if not visible and select previous window out of all windows</_long> - <default><Shift><Control><Alt>Tab</default> - </option> - <option name="next_no_popup_button" type="button"> - <_short>Next window (No popup)</_short> - <_long>Select next window without showing the popup window.</_long> - </option> - <option name="next_no_popup_key" type="key"> - <_short>Next window (No popup)</_short> - <_long>Select next window without showing the popup window.</_long> - </option> - <option name="prev_no_popup_button" type="button"> - <_short>Prev window (No popup)</_short> - <_long>Select previous window without showing the popup window.</_long> - </option> - <option name="prev_no_popup_key" type="key"> - <_short>Prev window (No popup)</_short> - <_long>Select previous window without showing the popup window.</_long> - </option> - <option name="next_panel_button" type="button"> - <_short>Next Panel</_short> - <_long>Select next panel type window.</_long> - </option> - <option name="next_panel_key" type="key"> - <_short>Next Panel</_short> - <_long>Select next panel type window.</_long> - </option> - <option name="prev_panel_button" type="button"> - <_short>Prev Panel</_short> - <_long>Select previous panel type window.</_long> - </option> - <option name="prev_panel_key" type="key"> - <_short>Prev Panel</_short> - <_long>Select previous panel type window.</_long> - </option> - <option name="speed" type="float"> - <_short>Speed</_short> - <_long>Switcher speed</_long> - <default>1.5</default> - <min>0.1</min> - <max>50</max> - <precision>0.1</precision> - </option> - <option name="timestep" type="float"> - <_short>Timestep</_short> - <_long>Switcher timestep</_long> - <default>1.2</default> - <min>0.1</min> - <max>50</max> - <precision>0.1</precision> - </option> - <option name="window_match" type="match"> - <_short>Switcher windows</_short> - <_long>Windows that should be shown in switcher</_long> - <default>Toolbar | Utility | Dialog | Normal | Unknown</default> - </option> - <option name="mipmap" type="bool"> - <_short>Mipmap</_short> - <_long>Generate mipmaps when possible for higher quality scaling</_long> - <default>true</default> - </option> - <option name="saturation" type="int"> - <_short>Saturation</_short> - <_long>Amount of saturation in percent</_long> - <default>100</default> - <min>0</min> - <max>100</max> - </option> - <option name="brightness" type="int"> - <_short>Brightness</_short> - <_long>Amount of brightness in percent</_long> - <default>65</default> - <min>0</min> - <max>100</max> - </option> - <option name="opacity" type="int"> - <_short>Opacity</_short> - <_long>Amount of opacity in percent</_long> - <default>40</default> - <min>0</min> - <max>100</max> - </option> - <option name="bring_to_front" type="bool"> - <_short>Bring To Front</_short> - <_long>Bring selected window to front</_long> - <default>true</default> - </option> - <option name="zoom" type="float"> - <_short>Zoom</_short> - <_long>Distance desktop should be zoom out while switching windows</_long> - <default>1</default> - <min>0</min> - <max>5</max> - <precision>0.1</precision> - </option> - <option name="icon" type="bool"> - <_short>Icon</_short> - <_long>Show icon next to thumbnail</_long> - <default>true</default> - </option> - <option name="minimized" type="bool"> - <_short>Minimized</_short> - <_long>Show minimized windows</_long> - <default>true</default> - </option> - <option name="auto_rotate" type="bool"> - <_short>Auto Rotate</_short> - <_long>Rotate to the selected window while switching</_long> - <default>false</default> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/water.xml.in b/metadata/water.xml.in deleted file mode 100644 index af41bc9..0000000 --- a/metadata/water.xml.in +++ /dev/null @@ -1,60 +0,0 @@ -<compiz> - <plugin name="water"> - <_short>Water Effect</_short> - <_long>Adds water effects to different desktop actions</_long> - <deps> - <relation type="before"> - <plugin>blur</plugin> - <plugin>video</plugin> - </relation> - <requirement> - <plugin>opengl</plugin> - </requirement> - </deps> - <options> - <option name="initiate_key" type="key"> - <_short>Initiate</_short> - <_long>Enable pointer water effects</_long> - <default><Control><Super></default> - </option> - <option name="toggle_rain_key" type="key"> - <_short>Toggle rain</_short> - <_long>Toggle rain effect</_long> - <default><Shift>F9</default> - </option> - <option name="toggle_wiper_key" type="key"> - <_short>Toggle wiper</_short> - <_long>Toggle wiper effect</_long> - <default><Shift>F8</default> - </option> - <option name="offset_scale" type="float"> - <_short>Offset Scale</_short> - <_long>Water offset scale</_long> - <default>1</default> - <min>0</min> - <max>10</max> - <precision>0.1</precision> - </option> - <option name="rain_delay" type="int"> - <_short>Rain Delay</_short> - <_long>Delay (in ms) between each rain-drop</_long> - <default>250</default> - <min>1</min> - <max>3600000</max> - </option> - <option name="title_wave" type="bell"> - <_short>Title wave</_short> - <_long>Wave effect from window title</_long> - <default>false</default> - </option> - <option name="point" type="action"> - <_short>Point</_short> - <_long>Add point</_long> - </option> - <option name="line" type="action"> - <_short>Line</_short> - <_long>Add line</_long> - </option> - </options> - </plugin> -</compiz> diff --git a/metadata/zoom.xml.in b/metadata/zoom.xml.in deleted file mode 100644 index ff8bb5a..0000000 --- a/metadata/zoom.xml.in +++ /dev/null @@ -1,62 +0,0 @@ -<compiz> - <plugin name="zoom"> - <_short>Zoom Desktop</_short> - <_long>Zoom and pan desktop cube</_long> - <deps> - <requirement> - <plugin>opengl</plugin> - </requirement> - </deps> - <options> - <option name="initiate_button" type="button"> - <_short>Initiate</_short> - <_long>Zoom In</_long> - <default><Super>Button3</default> - </option> - <option name="zoom_in_button" type="button"> - <_short>Zoom In</_short> - <_long>Zoom In</_long> - <default><Super>Button4</default> - </option> - <option name="zoom_out_button" type="button"> - <_short>Zoom Out</_short> - <_long>Zoom Out</_long> - <default><Super>Button5</default> - </option> - <option name="zoom_pan_button" type="button"> - <_short>Zoom Pan</_short> - <_long>Zoom pan</_long> - <default><Super>Button2</default> - </option> - <option name="speed" type="float"> - <_short>Speed</_short> - <_long>Zoom Speed</_long> - <default>1.5</default> - <min>0.1</min> - <max>50</max> - <precision>0.1</precision> - </option> - <option name="timestep" type="float"> - <_short>Timestep</_short> - <_long>Zoom Timestep</_long> - <default>1.2</default> - <min>0.1</min> - <max>50</max> - <precision>0.1</precision> - </option> - <option name="zoom_factor" type="float"> - <_short>Zoom factor</_short> - <_long>Zoom factor</_long> - <default>2</default> - <min>1.01</min> - <max>3</max> - <precision>0.01</precision> - </option> - <option name="filter_linear" type="bool"> - <_short>Filter Linear</_short> - <_long>Use linear filter when zoomed in</_long> - <default>false</default> - </option> - </options> - </plugin> -</compiz> |