lazarus/debian/patches/default_config.diff
mazen 591f9e03b3 * Merged modifications from official Debian packaging rules : split packages into lcl-* and ide-*.
* Fixed patches failing to apply due to new components added between 0.9.28 and 0.9.29.

git-svn-id: trunk@27299 -
2010-09-11 13:48:12 +00:00

36 lines
1.1 KiB
Diff

This patch fixes system wide default Lazarus configuration. It adds the needed
configuration to adapt Lazarus to Debian and makes it running out of the box
without need of any user's pre-configuration.
--- lazarus-0.9.28.2.orig/tools/install/linux/helpoptions.xml
+++ lazarus-0.9.28.2/tools/install/linux/helpoptions.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<CONFIG>
+ <HelpOptions>
+ <Version Value="1"/>
+ <FPCDocs>
+ <HTML Directory="/usr/share/doc/fp-docs/$(FPCVER)"/>
+ </FPCDocs>
+ </HelpOptions>
+ <Viewers>
+ <THTMLBrowserHelpViewer>
+ <Browser Path="/usr/bin/x-www-browser"/>
+ </THTMLBrowserHelpViewer>
+ </Viewers>
+ <Databases>
+ <StartPage>
+ <BaseURL Value="file:///usr/share/doc/lazarus/%LazarusVersion%"/>
+ </StartPage>
+ <RTLUnits>
+ <BaseURL Value="file:///usr/share/doc/fp-docs/$(FPCVER)/rtl"/>
+ </RTLUnits>
+ <FCLUnits>
+ <BaseURL Value="file:///usr/share/doc/fp-docs/$(FPCVER)/fcl"/>
+ </FCLUnits>
+ <LCLUnits>
+ <BaseURL Value="file:///usr/share/doc/lazarus/%LazarusVersion%/lcl"/>
+ </LCLUnits>
+ </Databases>
+</CONFIG>