summaryrefslogtreecommitdiff
path: root/Master/tlpkg/installer/installer-options.txt
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-07-03 15:27:37 +0000
committerNorbert Preining <preining@logic.at>2009-07-03 15:27:37 +0000
commit9167358afb2bd622448cf97615899cba00556bc5 (patch)
tree941e6c12cbc2bcfbc51f5097b67ac9e8d9ba7faf /Master/tlpkg/installer/installer-options.txt
parente14a9d60c5f2c2734d18d1d5e4f8464633ab9a60 (diff)
the "Tokyo-Vienna-cramped-flight-commit":
- unify installer keys of the %vars hash to always use option_ prefix if it is an option - unify the layout of things in 00texlive.installation so that user settable things look like opt_$key:vallue, and internal things setting_$key:vale - add list of supported options to TLConfig, with type definitions - use a unified option call $tlpdb->option($key [, $value, $value]) instead of many different $tlpdb->option_foo_bar - adapt install-tl, uninstall-w32, tlmgr, tlpkg/bin, TeXLive::*, installer plugins, to use this new function instead - make the setting_platform:XXXXX (formerly platform:XXXXX) in 00texlive.installation only optional. It is not saved into the TLPDB if the *default* platform as returned by TeXLive::TLUtils::platform() (thus calling config.guess on unix). Only if you override the platform in the installer with -force-arch then this value is set in the TLPDB - implement TLMedia->platform that checks first the included TLPDB for option("platform"), and if that is not given determines the platform using TLUtils::platform(). - move the add_symlinks and remove_symlinks from TLPDB to TLMedia - sanatize the installer modules: perltk is now equivalent to text - tlmgr: . output of tlmgr option [show] does now show all the set options, but ignores irrelevant ones for the respective platform (sys_bin/man/info for win32, desktop_integration etc for unix) . option handling rewritten in a general way so that we only have to add new options to TLConfig::%TLPDBOptionXXXXX . setting an option is verified against the types of the options . implement tlmgr option showall that shows also options that are currently not set/saved in the TLPDB - TLUtils: honor the w32_multi_user setting also for shortcuts and menu items - tlmgrgui: . implement support for most options that are set in the TLPDB . add buttons to remove/add symlinks git-svn-id: svn://tug.org/texlive/trunk@14083 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/installer/installer-options.txt')
-rw-r--r--Master/tlpkg/installer/installer-options.txt72
1 files changed, 45 insertions, 27 deletions
diff --git a/Master/tlpkg/installer/installer-options.txt b/Master/tlpkg/installer/installer-options.txt
index 521ff375d1c..1e8ff56b8cd 100644
--- a/Master/tlpkg/installer/installer-options.txt
+++ b/Master/tlpkg/installer/installer-options.txt
@@ -1,61 +1,79 @@
(last status change 2009-07-02)
%vars key default text perltk wizard
+ $tlpdb->option("key")
description
+ used in install-tl/tlmgr/TLMedia
----------------------------------------------------------------------------
option_doc 1 x x
+ option("install_docfiles")
install doc files
+ install-tl: sub do_install_packages
+ TLMedia.pm: sub install_package
option_src 1 x x
+ option("install_srcfiles")
install src files
+ install-tl: sub do_install_packages
+ TLMedia.pm: sub install_package
option_fmt 1 x x
+ option("create_formats")
create all formats
-
-option_letter 0 x x x
- use letter
+ install-tl: sub do_postinst_stuff
+ tlmgr: sub handle_execute_actions
option_file_assocs 0 w32 w32 w32
+ option("file_assocs")
file associations postaction
+ install-tl: sub do_tlpdb_postactions
+ TLMedia: remove_package, install_package
option_desktop_integration 0 (1 w32) w32 w32 w32
+ option("desktop_integration")
shortcuts etc
currently effects w32 only
+ install-tl: sub do_tlpdb_postactions
+ TLMedia: remove_package, install_package
option_post_code 1
+ option("post_code")
postaction code
+ install-tl: sub do_tlpdb_postactions
+ TLMedia: remove_package, install_package
+
+option_sys_bin/man/info /u/l/... unix unix
+ option("sys_bin") ...
+ unix link dests (if option_path == 1)
+ TLPDB add/remove_symlinks
+ (via tlmgr action_symlinks and install-tl do_path_adjustments)
-option_w32_multi_user 1 w32 w32 ??
+option_w32_multi_user 1 w32 w32 w32
+ option("w32_multi_user")
sysadmin as multi user
+ install-tl: sub do_path_adjustments
+ TLMedia: remove_package, install_package
+
+option_letter 0 x x x
+ not saved into the local TLPDB
+ only for install time setting
+ use letter
+ install-tl: sub do_postinst_stuff
option_path 0 x x w32??
path adjustment
+ not saved into the local TLPDB
+ only for install time setting
(unix symlinks, w32 reg)
-sys_bin/man/info /u/l/... x x
- unix link dests (if option_path == 1)
-
addon_editor 0 w32 w32 -
+ not saved into the local TLPDB
+ only for install time setting
install texworks
-w32 are things only visible on w32
-(x) are things that should be done
-?? are things I am not sure
-- are things that are not relevant
-
-Comments:
-1) in perltk mode the desktop_integration is shown for all, but on unix
- it triggers the link destination (so option_path)
-
-
-Question/Statements:
-- perltk is wrong to mix desktop_integration with path_adjustments!
- it should have separate questions
-- perltk should show desktop_integration only for w32 (as long as we
- only support actions there)
-- wizard should not ask for texworks
- done
-- wizard should ask for file_assocs, desktop_integration, path
- done
-- should the wizard ask for w32_multi_user?
+unix are things only visible on unix
+w32 are things only visible on w32
+(x) are things that should be done
+?? are things I am not sure
+- are things that are not relevant