patch-xmcd_d_xmcd_man 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. $OpenBSD: patch-xmcd_d_xmcd_man,v 1.2 2008/10/28 12:09:05 jasper Exp $
  2. --- xmcd_d/xmcd.man.orig Sat Feb 5 08:26:31 2000
  3. +++ xmcd_d/xmcd.man Tue Oct 28 13:06:18 2008
  4. @@ -228,10 +228,9 @@ text labels can also be changed (for example, to anoth
  5. .PP
  6. There are too many resources to list here, but the resource names
  7. and their defaults (plus descriptive comments) can be found in the
  8. -\fBXMCDLIB\fI/app-defaults/XMcd\fR
  9. -file (where XMCDLIB is typically \fI/usr/lib/X11/xmcd\fR).
  10. +\fI@PREFIX@/lib/X11/app-defaults/XMcd\fR file.
  11. It is not recommended
  12. -that you change values in the \fBXMCDLIB\fI/app-defaults/XMcd\fR file,
  13. +that you change values in this file,
  14. unless you want the changes to be forced upon all users of
  15. .I xmcd
  16. on the system. Instead, make a copy of this file, change the copy as you
  17. @@ -432,13 +431,14 @@ per-drive basis. For example, in some cases
  18. must operate the drive differently depending upon the brand
  19. and model of the drive. Thus, there must be a separate
  20. configuration file for these parameters \fIper-device\fR.
  21. -The common parameters file is \fBXMCDLIB\fI/config/common.cfg\fR
  22. +The common parameters file is \fI@SYCONFIGDIR@/xmcd/common.cfg\fR
  23. and the device-specific parameters file is
  24. -\fBXMCDLIB\fI/config/\fBDEVICE\fR
  25. -(where XMCDLIB is typically \fI/usr/lib/X11/xmcd\fR and DEVICE is
  26. +\fI@SYSCONFDIR@/xmcd/\fBDEVICE\fR
  27. +(where DEVICE is
  28. the base name of the raw device special file for the CD-ROM drive
  29. -; e.g., \fI/usr/lib/X11/xmcd/config/rcd0\fR).
  30. -A configuration program \fBXMCDLIB\fI/config/config.sh\fR
  31. +; e.g., \fI/etc/xmcd/rcd0c\fR).
  32. +A configuration program
  33. +.I xmcdconfig
  34. is provided to make maintaining these configuration
  35. file easy (Note: on SCO systems the configuration program can
  36. also be invoked as "\fImkdev xmcd\fR").
  37. @@ -469,7 +469,7 @@ common and device-specific parameters (where HOME is y
  38. directory and DEVICE is as specified above). Parameters found in
  39. this file will override the system defaults (except those
  40. parameters that cannot be overridden; see the comments in the
  41. -\fBXMCDLIB\fI/config/device.cfg\fR for details).
  42. +\fI@SYSCONFDIR@/xmcd/device.cfg\fR for details).
  43. .SH "USING XMCD"
  44. The basic functions of
  45. @@ -566,7 +566,7 @@ The CD database information is stored in text files, o
  46. in a designated directory (category). The path of this
  47. directory is \fBCDDBDIR\fI/\fBCATEGORY\fR, where CDDBDIR
  48. is the top level directory of the local CD database.
  49. -CDDBDIR is typically /usr/lib/X11/xmcd/cddb and
  50. +CDDBDIR is typically /var/db/xmcd/cddb and
  51. CATEGORY is the category name selected when
  52. .B Save
  53. is performed. See the description of XMCD_CDDBPATH in the
  54. @@ -667,12 +667,12 @@ and are described as follows:
  55. .IP \fBXMCD_LIBDIR\fR
  56. This parameter is the directory path under which \fIxmcd\fP's
  57. configuration files, help files, and CD database files are located.
  58. -The default value of XMCD_LIBDIR on most systems
  59. -is \fI/usr/lib/X11/xmcd\fR.
  60. +The default value of XMCD_LIBDIR on modern systems
  61. +is \fI@PREFIX@/share/xmcd\fR.
  62. .IP \fBXMCD_CDDBPATH\fR
  63. This is used to override the \fBcddbPath\fR common configuration parameter,
  64. which is a list of CD database category directories to be
  65. -used under \fB$XMCD_LIBDIR\fI/cddb\fR. Also, remote CD database hosts
  66. +used under \fI/var/db/xmcd/cddb\fR. Also, remote CD database hosts
  67. can be specified.
  68. .sp
  69. .in +4
  70. @@ -684,11 +684,11 @@ This string will cause
  71. to search the following directories for CD database files:
  72. .sp
  73. .in +4
  74. -\fBXMCDLIB\fI/cddb/rock\fR
  75. +\fI/var/db/xmcd/cddb/rock\fR
  76. .br
  77. -\fBXMCDLIB\fI/cddb/classical\fR
  78. +\fI/var/db/xmcd/cddb/classical\fR
  79. .br
  80. -\fBXMCDLIB\fI/cddb/jazz\fR
  81. +\fI/var/db/xmcd/cddb/jazz\fR
  82. .br
  83. etc.
  84. .in -4
  85. @@ -774,29 +774,25 @@ file for each xmcd user.
  86. .SH "FILES"
  87. $HOME/.xmcdcfg/\(**
  88. .br
  89. -XMCDLIB/app-defaults/XMcd
  90. +@SYSCONFDIR@/xmcd/config.sh
  91. .br
  92. -XMCDLIB/cddb/\(**
  93. +@SYSCONFDIR@/xmcd/common.cfg
  94. .br
  95. -XMCDLIB/discog/\(**
  96. +@SYSCONFDIR@/xmcd/device.cfg
  97. .br
  98. -XMCDLIB/doc/\(**
  99. +@SYSCONFDIR@/xmcd/\(**
  100. .br
  101. -XMCDLIB/config/config.sh
  102. +@PREFIX@/lib/X11/app-defaults/XMcd
  103. .br
  104. -XMCDLIB/config/common.cfg
  105. +@PREFIX@/share/doc/xmcd/\(**
  106. .br
  107. -XMCDLIB/config/device.cfg
  108. +@PREFIX@/share/xmcd/help/\(**
  109. .br
  110. -XMCDLIB/config/.tbl/\(**
  111. +@PREFIX@/share/xmcd/tbl/\(**
  112. .br
  113. -XMCDLIB/config/\(**
  114. +/var/db/xmcd/cddb/\(**
  115. .br
  116. -XMCDLIB/help/\(**
  117. -.br
  118. -BINDIR/xmcd
  119. -.br
  120. -MANDIR/xmcd.1
  121. +/var/db/xmcd/discog/\(**
  122. .br
  123. /tmp/.cdaudio/\(**