1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

VDR now uses the default configuration directory as defined in the CONFDIR varable in the Makefile

This commit is contained in:
Klaus Schmidinger 2007-08-25 08:58:44 +02:00
parent a241ad38b8
commit 742f4cc378
5 changed files with 12 additions and 6 deletions

View File

@ -1057,9 +1057,11 @@ Jon Burgess <mplayer@jburgess.uklinux.net>
for reporting a bug in handling the '.update' file in case the video directory is for reporting a bug in handling the '.update' file in case the video directory is
not at the default location not at the default location
Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Thomas Schmidt <tschmidt@debian.org>
for reporting a crash when canceling a newly created timer for reporting a crash when canceling a newly created timer
for making 'diseqc.conf' a required file only if Setup.DiSEqC is activated for making 'diseqc.conf' a required file only if Setup.DiSEqC is activated
for making VDR use the default configuration directory as defined in the CONFDIR
varable in the Makefile
Michael Walle <michael.walle@web.de> Michael Walle <michael.walle@web.de>
for reporting a bug in channel switching after Left/Right has been pressed for reporting a bug in channel switching after Left/Right has been pressed

View File

@ -5380,7 +5380,7 @@ Video Disk Recorder Revision History
name of the plugin. The "newplugin" script has been changed accordingly, and name of the plugin. The "newplugin" script has been changed accordingly, and
plugin authors should change their Makefiles, too. plugin authors should change their Makefiles, too.
2007-08-24: Version 1.5.9 2007-08-25: Version 1.5.9
- Fixed handling locale directories with a large number of entries (thanks to - Fixed handling locale directories with a large number of entries (thanks to
Anssi Hannula). Anssi Hannula).
@ -5399,3 +5399,5 @@ Video Disk Recorder Revision History
- Added the new i18n macro trVDR(), which can be used by plugins to mark - Added the new i18n macro trVDR(), which can be used by plugins to mark
texts they want to reuse from VDR's core translations (suggested by Matthias texts they want to reuse from VDR's core translations (suggested by Matthias
Becker). Becker).
- VDR now uses the default configuration directory as defined in the CONFDIR
varable in the Makefile (thanks to Thomas Schmidt).

View File

@ -6,7 +6,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # how to reach the author.
# #
# $Id: Make.config.template 1.14 2007/08/24 13:23:04 kls Exp $ # $Id: Make.config.template 1.15 2007/08/25 08:53:45 kls Exp $
### The C compiler and options: ### The C compiler and options:
@ -31,6 +31,7 @@ LOCDIR = ./locale
PLUGINDIR= ./PLUGINS PLUGINDIR= ./PLUGINS
PLUGINLIBDIR= $(PLUGINDIR)/lib PLUGINLIBDIR= $(PLUGINDIR)/lib
VIDEODIR = /video VIDEODIR = /video
CONFDIR = $(VIDEODIR)
### The remote control: ### The remote control:

View File

@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # how to reach the author.
# #
# $Id: Makefile 1.105 2007/08/24 13:22:25 kls Exp $ # $Id: Makefile 1.106 2007/08/25 08:52:17 kls Exp $
.DELETE_ON_ERROR: .DELETE_ON_ERROR:
@ -61,6 +61,7 @@ DEFINES += -DLIRC_DEVICE=\"$(LIRC_DEVICE)\" -DRCU_DEVICE=\"$(RCU_DEVICE)\"
DEFINES += -D_GNU_SOURCE DEFINES += -D_GNU_SOURCE
DEFINES += -DVIDEODIR=\"$(VIDEODIR)\" DEFINES += -DVIDEODIR=\"$(VIDEODIR)\"
DEFINES += -DCONFDIR=\"$(CONFDIR)\"
DEFINES += -DPLUGINDIR=\"$(PLUGINLIBDIR)\" DEFINES += -DPLUGINDIR=\"$(PLUGINLIBDIR)\"
DEFINES += -DLOCDIR=\"$(LOCDIR)\" DEFINES += -DLOCDIR=\"$(LOCDIR)\"

4
vdr.c
View File

@ -22,7 +22,7 @@
* *
* The project's page is at http://www.cadsoft.de/vdr * The project's page is at http://www.cadsoft.de/vdr
* *
* $Id: vdr.c 1.298 2007/08/18 13:03:46 kls Exp $ * $Id: vdr.c 1.299 2007/08/25 08:51:13 kls Exp $
*/ */
#include <getopt.h> #include <getopt.h>
@ -536,7 +536,7 @@ int main(int argc, char *argv[])
// Configuration data: // Configuration data:
if (!ConfigDirectory) if (!ConfigDirectory)
ConfigDirectory = VideoDirectory; ConfigDirectory = CONFDIR;
cPlugin::SetConfigDirectory(ConfigDirectory); cPlugin::SetConfigDirectory(ConfigDirectory);
cThemes::SetThemesDirectory(AddDirectory(ConfigDirectory, "themes")); cThemes::SetThemesDirectory(AddDirectory(ConfigDirectory, "themes"));