View | Details | Raw Unified | Return to bug 12549
Collapse All | Expand All

(-)a/Makefile.PL (-1 / +9 lines)
Lines 240-245 Directory for external Koha plugins. Link Here
240
240
241
Directory for PazPar2 configuration files.
241
Directory for PazPar2 configuration files.
242
242
243
=item FONT_DIR
244
245
Directory where DejaVu fonts are installed.
246
243
=item NONE
247
=item NONE
244
248
245
This is a dummy target used to explicitly state
249
This is a dummy target used to explicitly state
Lines 442-448 my %config_defaults = ( Link Here
442
  'PATH_TO_ZEBRA' => '',
446
  'PATH_TO_ZEBRA' => '',
443
  'USE_MEMCACHED'     => 'no',
447
  'USE_MEMCACHED'     => 'no',
444
  'MEMCACHED_SERVERS' => '127.0.0.1:11211',
448
  'MEMCACHED_SERVERS' => '127.0.0.1:11211',
445
  'MEMCACHED_NAMESPACE' => 'KOHA'
449
  'MEMCACHED_NAMESPACE' => 'KOHA',
450
	'FONT_DIR'					=> '/usr/share/fonts/truetype/ttf-dejavu'
446
);
451
);
447
452
448
# set some default configuration options based on OS
453
# set some default configuration options based on OS
Lines 1081-1086 Memcached namespace?); Link Here
1081
      $config{'MEMCACHED_NAMESPACE'} = _get_value('MEMCACHED_NAMESPACE', $msg, $defaults->{'MEMCACHED_NAMESPACE'}, $valid_values, $install_log_values);
1086
      $config{'MEMCACHED_NAMESPACE'} = _get_value('MEMCACHED_NAMESPACE', $msg, $defaults->{'MEMCACHED_NAMESPACE'}, $valid_values, $install_log_values);
1082
  }
1087
  }
1083
1088
1089
	$msg = q(
1090
Path to DejaVu fonts?);
1091
		$config{'FONT_DIR'} = _get_value('FONT_DIR', $msg, $defaults->{'FONT_DIR'}, $valid_values, $install_log_values);
1084
1092
1085
1093
1086
  $msg = q(
1094
  $msg = q(
(-)a/etc/koha-conf.xml (-12 / +12 lines)
Lines 118-135 __PAZPAR2_TOGGLE_XML_POST__ Link Here
118
118
119
 <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
119
 <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
120
 <ttf>
120
 <ttf>
121
    <font type="TR" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf</font>
121
    <font type="TR" >__FONT_DIR__/DejaVuSerif.ttf</font>
122
    <font type="TB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf</font>
122
    <font type="TB" >__FONT_DIR__/DejaVuSerif-Bold.ttf</font>
123
    <font type="TI" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf</font>
123
    <font type="TI" >__FONT_DIR__/DejaVuSerif-Italic.ttf</font>
124
    <font type="TBI">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf</font>
124
    <font type="TBI">__FONT_DIR__/DejaVuSerif-BoldItalic.ttf</font>
125
    <font type="C"  >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf</font>
125
    <font type="C"  >__FONT_DIR__/DejaVuSansMono.ttf</font>
126
    <font type="CB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf</font>
126
    <font type="CB" >__FONT_DIR__/DejaVuSansMono-Bold.ttf</font>
127
    <font type="CO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf</font>
127
    <font type="CO" >__FONT_DIR__/DejaVuSansMono-Oblique.ttf</font>
128
    <font type="CBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf</font>
128
    <font type="CBO">__FONT_DIR__/DejaVuSansMono-BoldOblique.ttf</font>
129
    <font type="H"  >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf</font>
129
    <font type="H"  >__FONT_DIR__/DejaVuSans.ttf</font>
130
    <font type="HO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf</font>
130
    <font type="HO" >__FONT_DIR__/DejaVuSans-Oblique.ttf</font>
131
    <font type="HB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf</font>
131
    <font type="HB" >__FONT_DIR__/DejaVuSans-Bold.ttf</font>
132
    <font type="HBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf</font>
132
    <font type="HBO">__FONT_DIR__/DejaVuSans-BoldOblique.ttf</font>
133
 </ttf>
133
 </ttf>
134
134
135
</config>
135
</config>
(-)a/rewrite-config.PL (-1 / +1 lines)
Lines 147-152 $prefix = $ENV{'INSTALL_BASE'} || "/usr"; Link Here
147
  "__USE_MEMCACHED__" => 'no',
147
  "__USE_MEMCACHED__" => 'no',
148
  "__MEMCACHED_SERVERS__" => "",
148
  "__MEMCACHED_SERVERS__" => "",
149
  "__MEMCACHED_NAMESPACE__" => "",
149
  "__MEMCACHED_NAMESPACE__" => "",
150
	"__FONT_DIR__" => "/usr/share/fonts/truetype/ttf-dejavu",
150
);
151
);
151
152
152
# Override configuration from the environment
153
# Override configuration from the environment
153
- 

Return to bug 12549