summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tweaker/tcf
diff options
context:
space:
mode:
authorBob Igo <bob@stormlogic.com>2009-01-17 17:53:44 (GMT)
committerBob Igo <bob@stormlogic.com>2009-01-17 17:53:44 (GMT)
commit18b8c17f24b9cd6d9600b212cbd615deb69fe500 (patch)
treece8b68a2277d4d81706c9f71832540a91361919e /abs/core-testing/tweaker/tcf
parente2f581d7a980085e0078e01f1a38886ab88127ec (diff)
downloadlinhes_pkgbuild-18b8c17f24b9cd6d9600b212cbd615deb69fe500.zip
linhes_pkgbuild-18b8c17f24b9cd6d9600b212cbd615deb69fe500.tar.gz
linhes_pkgbuild-18b8c17f24b9cd6d9600b212cbd615deb69fe500.tar.bz2
Expanded Tweaker tar file into individual files, and adjusted installation process to reflect this. Further integration will be required before this is ready for R6.
Diffstat (limited to 'abs/core-testing/tweaker/tcf')
-rw-r--r--abs/core-testing/tweaker/tcf/EXAMPLE.tcf38
-rw-r--r--abs/core-testing/tweaker/tcf/focus.tcf113
-rw-r--r--abs/core-testing/tweaker/tcf/os.tcf10
-rw-r--r--abs/core-testing/tweaker/tcf/tcf.dtd11
-rw-r--r--abs/core-testing/tweaker/tcf/tweaker-core.tcf47
-rw-r--r--abs/core-testing/tweaker/tcf/userland.tcf0
6 files changed, 219 insertions, 0 deletions
diff --git a/abs/core-testing/tweaker/tcf/EXAMPLE.tcf b/abs/core-testing/tweaker/tcf/EXAMPLE.tcf
new file mode 100644
index 0000000..0064fba
--- /dev/null
+++ b/abs/core-testing/tweaker/tcf/EXAMPLE.tcf
@@ -0,0 +1,38 @@
+<!-- This is an example TCF. See TCFProgrammingSpecifications.odt for details.
+ //-->
+<tweak name = "Put a human-readable name for the tweak here. Make sure it's unique."> <!-- REQUIRED //-->
+ <description>Put a human-readable description of the tweak here.</description> <!-- OPTIONAL but usually a good idea, unless the user
+ will never see the description.
+ //-->
+ <complexity>Put a complexity level here.</complexity> <!-- OPTIONAL human-readable assessment of how complex this Tweak is to understand.
+ A complete list of complexity levels is listed in tweaker-core.tcf
+ //-->
+ <script>twk_EXAMPLE.pl</script> <!-- REQUIRED: An executable script in the $PATH of the shell that invoked Tweaker.
+ For consistency, adhere to the naming convention by beginning the script name with
+ 'twk_'. You can make the tweaker script in any language you wish, but Perl is
+ supported well.
+ //-->
+ <alwaysaskuser>boolean</alwaysaskuser> <!-- OPTIONAL field with values: yes, no - not used in Tweaker v0.7
+ //-->
+ <options> <!-- REQUIRED //-->
+ <option name = "Human-readable name for this option"> <!-- REQUIRED: Option names must match those handled in the
+ corresponding tweaker script.
+ //-->
+ <description>Human-readable description of what this option does.</description> <!-- OPTIONAL //-->
+ <complexity>Put a complexity level here.</complexity> <!-- OPTIONAL human-readable assessment of how complex this Tweak is to
+ understand. A complete list of complexity levels is listed in
+ tweaker-core.tcf
+ //-->
+ <recommendationlevel>recommendationlevel</recommendationlevel> <!-- OPTIONAL human-readable recommendation level for this tweak.
+ If this field is absent, the script will be run to acquire
+ the recommendationlevel. The default recommendationlevel
+ is $optional if it cannot otherwise be determined. For a
+ complete list of recommendation levels, see Tweaker/Definitions.pm
+ //-->
+ </option>
+ <!-- Put any additional options here. If you only have one option and it ends up with a recommendationlevel at or above $optional,
+ it will be selected automatically. Otherwise, the option with the highest recommendationlevel above $optional will be selected.
+ //-->
+ </options>
+</tweak>
+<!-- Put any additional tweaks here. //-->
diff --git a/abs/core-testing/tweaker/tcf/focus.tcf b/abs/core-testing/tweaker/tcf/focus.tcf
new file mode 100644
index 0000000..353662c
--- /dev/null
+++ b/abs/core-testing/tweaker/tcf/focus.tcf
@@ -0,0 +1,113 @@
+<tweak name = "SQL table scrubber">
+ <script>twk_scrub_sql.pl</script>
+ <description>Scrubs the sections of mythconverg that KnoppMyth controls, preparing for the Tweaks below.</description>
+ <options>
+ <option name = "scrub">
+ <description>Everyone should run this, or some the Tweaks below may fail.</description>
+ <recommendationlevel>recommended</recommendationlevel>
+ </option>
+ </options>
+</tweak>
+<tweak name = "Audio">
+ <script>twk_audio.pl</script>
+ <description>Configures MythTV, xine, and mplayer to output audio the way you want.</description>
+ <options>
+ <option name = "analogstereo">
+ <description>Suitable for output to headphones, amplified speakers, or analog inputs on a receiver.</description>
+ <recommendationlevel>recommended</recommendationlevel>
+ </option>
+ <option name = "analogsurround">
+ <description>Suitable for direct output to multiple individual speakers.</description>
+ </option>
+ <option name = "digital">
+ <description>The best option if your hardware supports it. Sends audio directly to a reciever to be processed.</description>
+ </option>
+ </options>
+</tweak>
+<tweak name = "CPU">
+ <script>twk_cpu.pl</script>
+ <description>Configures MythTV to use CPU-appropriate features and themes.</description>
+ <options>
+ <option name = "low">
+ <description>Uses the least amount of CPU but enables the fewest extra options.</description>
+ </option>
+ <option name = "medium">
+ <description>Uses a moderate amount of CPU and enables typical extra options.</description>
+ </option>
+ <option name = "high">
+ <description>Uses the most amount of CPU of the above options but enables the most extra options.</description>
+ </option>
+ </options>
+</tweak>
+<tweak name = "RAM">
+ <script>twk_RAM.pl</script>
+ <description>Configures MythTV to use the right-sized RAM cache for various options.</description>
+ <options>
+ <option name = "low">
+ <description>Uses the least amount of RAM but may cause buffering delays.</description>
+ </option>
+ <option name = "medium">
+ <description>Uses a moderate amount of RAM as a tradeoff between buffering and RAM usage.</description>
+ </option>
+ <option name = "high">
+ <description>Uses the most amount of RAM to reduce buffering and improve performance.</description>
+ </option>
+ </options>
+</tweak>
+<tweak name = "graphics">
+ <script>twk_graphics.pl</script>
+ <description>Configures MythTV to use graphical options that are appropriate for your video card.</description>
+ <options>
+ <option name = "low">
+ <description>Puts little stress on the video card.</description>
+ </option>
+ <option name = "medium">
+ <description>Puts the video card to work a bit and enables some eye candy.</description>
+ </option>
+ <option name = "high">
+ <description>Puts the video card hardest to work and enables more eye candy.</description>
+ </option>
+ </options>
+</tweak>
+<tweak name = "localization">
+ <script>twk_localization.pl</script>
+ <description>Configures the system to use your native language, system of measurements, etc.</description>
+ <options>
+ <option name = "US_English">
+ <description>This is for most North Americans. Any units seen are in imperial units, such as Fahrenheit, pounds, feet, etc.</description>
+ </option>
+ <option name = "GB_English">
+ <description>This is for most UK residents. Any units seen are in metric, such as Celsius, kilograms, meters, etc.</description>
+ </option>
+ </options>
+</tweak>
+<tweak name = "Tuner Configuration">
+ <script>twk_tuners.pl</script>
+ <description>Recommended for everyone.</description>
+ <options>
+ <option name = "all">
+ <description>Detects and auto-configures many tuner devices.</description>
+ <recommendationlevel>recommended</recommendationlevel>
+ </option>
+ </options>
+</tweak>
+<tweak name = "KnoppMyth Customizations">
+ <script>twk_general.pl</script>
+ <description>Recommended for everyone.</description>
+ <options>
+ <option name = "all">
+ <description>Changes made to the MythTV and KnoppMyth baseline settings for integration and functionality.</description>
+ <recommendationlevel>recommended</recommendationlevel>
+ </option>
+ </options>
+</tweak>
+<tweak name = "SQL table protecter">
+ <script>twk_scrub_sql.pl</script>
+ <description>Protects the sections of mythconverg that KnoppMyth controls, keeping our changes separate from user-made changes.</description>
+ <options>
+ <option name = "protect">
+ <description>Everyone should run this, or user-made changes might get clobbered.</description>
+ <recommendationlevel>recommended</recommendationlevel>
+ </option>
+ </options>
+</tweak>
diff --git a/abs/core-testing/tweaker/tcf/os.tcf b/abs/core-testing/tweaker/tcf/os.tcf
new file mode 100644
index 0000000..e70f4ee
--- /dev/null
+++ b/abs/core-testing/tweaker/tcf/os.tcf
@@ -0,0 +1,10 @@
+<tweak name = "Linux-related Customizations">
+ <script>twk_linux.pl</script>
+ <description>Recommended for everyone.</description>
+ <options>
+ <option name = "all">
+ <description>Changes made to the Linux baseline settings for integration and functionality.</description>
+ <recommendationlevel>recommended</recommendationlevel>
+ </option>
+ </options>
+</tweak>
diff --git a/abs/core-testing/tweaker/tcf/tcf.dtd b/abs/core-testing/tweaker/tcf/tcf.dtd
new file mode 100644
index 0000000..64ce67e
--- /dev/null
+++ b/abs/core-testing/tweaker/tcf/tcf.dtd
@@ -0,0 +1,11 @@
+<!ELEMENT tcf (tweak+)>
+<!ELEMENT tweak (description?, complexity?, script, alwaysaskuser?, options)>
+ <!ATTLIST tweak name CDATA #REQUIRED>
+<!ELEMENT description (#PCDATA)>
+<!ELEMENT complexity (#PCDATA)>
+<!ELEMENT script (#PCDATA)>
+<!ELEMENT alwaysaskuser (#PCDATA)>
+<!ELEMENT options (option+)>
+<!ELEMENT option (description?, complexity?, recommendationlevel?)>
+ <!ATTLIST option name CDATA #REQUIRED>
+<!ELEMENT recommendationlevel (#PCDATA)>
diff --git a/abs/core-testing/tweaker/tcf/tweaker-core.tcf b/abs/core-testing/tweaker/tcf/tweaker-core.tcf
new file mode 100644
index 0000000..d9c4bb6
--- /dev/null
+++ b/abs/core-testing/tweaker/tcf/tweaker-core.tcf
@@ -0,0 +1,47 @@
+<?xml version="1.0" ?>
+<!DOCTYPE tcf SYSTEM "/usr/LH/tweaker/tcf/tcf.dtd" [
+ <!ENTITY os SYSTEM "/usr/LH/tweaker/tcf/os.tcf">
+<!-- <!ENTITY distro SYSTEM "/usr/LH/tweaker/tcf/distro.tcf"> //-->
+ <!ENTITY focus SYSTEM "/usr/LH/tweaker/tcf/focus.tcf">
+ <!ENTITY userland SYSTEM "/usr/LH/tweaker/tcf/userland.tcf">
+ ]>
+<tcf>
+ <tweak name = "Complexity Level">
+ <description>Some configuration options require more understanding than others.</description>
+ <complexity>basic</complexity>
+ <script>null</script>
+ <options>
+ <option name = "Basic">
+ <description>Show only the most basic configuration options. This is best for new Users.</description>
+ <recommendationlevel>recommended</recommendationlevel>
+ </option>
+ <option name = "Intermediate">
+ <description>Show the basic configuration options as well as the options that veteran Users will understand.</description>
+ </option>
+ <option name = "Advanced">
+ <description>Show all configuration options, including those that only advanced Users will understand.</description>
+ <recommendationlevel>inadvisable</recommendationlevel>
+ </option>
+ </options>
+ </tweak>
+ <tweak name = "Interactivity">
+ <description>Tweaker can guess answers to some configuration options. Interactivity determines whether or not these guesses are used automatically, or whether you have a chance to intervene.</description>
+ <complexity>basic</complexity>
+ <script>null</script>
+ <options>
+ <option name = "Minimal">
+ <description>Show only the most basic configuration options. This is best for new Users.</description>
+ <recommendationlevel>inadvisable</recommendationlevel>
+ </option>
+ <option name = "Guided">
+ <description>Show the basic configuration options as well as the options that veteran Users will understand.</description>
+ <recommendationlevel>recommended</recommendationlevel>
+ </option>
+ </options>
+ </tweak>
+ &os;
+ &distro;
+ &focus;
+ &userland;
+</tcf>
+
diff --git a/abs/core-testing/tweaker/tcf/userland.tcf b/abs/core-testing/tweaker/tcf/userland.tcf
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/abs/core-testing/tweaker/tcf/userland.tcf