From 65b48b3bedde90dc7e2a4dc7ab81f5afd200ebd8 Mon Sep 17 00:00:00 2001 From: tobigun Date: Fri, 8 Aug 2008 15:13:48 +0000 Subject: With the global build logs are now stored in ~/.UltraStarDeluxe/logs instead of /var/logs so we do not need special permissions on the log directory. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1242 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Classes/UPlatformLinux.pas | 2 +- Game/Code/config.inc.in | 1 - Game/Code/configure.ac | 13 +------------ 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Game/Code/Classes/UPlatformLinux.pas b/Game/Code/Classes/UPlatformLinux.pas index 7e9cac23..27fb130e 100644 --- a/Game/Code/Classes/UPlatformLinux.pas +++ b/Game/Code/Classes/UPlatformLinux.pas @@ -90,7 +90,7 @@ begin {$IFDEF UseLocalDirs} Result := ExtractFilePath(ParamStr(0)); {$ELSE} - Result := LogPath + PathDelim; + Result := GetGameUserPath() + 'logs' + PathDelim; {$ENDIF} end; diff --git a/Game/Code/config.inc.in b/Game/Code/config.inc.in index e9165c30..90471b8d 100644 --- a/Game/Code/config.inc.in +++ b/Game/Code/config.inc.in @@ -8,7 +8,6 @@ {$@DEFINE_USE_LOCAL_DIRS@ UseLocalDirs} {$IF (not Defined(UseLocalDirs)) and Defined(IncludeConstants)} PathSuffix = WideString('@suffix@'); - LogPath = WideString('@logrootdir@/'+PathSuffix); SharedPath = WideString('@sharerootdir@/'+PathSuffix); {$IFEND} diff --git a/Game/Code/configure.ac b/Game/Code/configure.ac index 3dd1a6c3..cf8d8fb7 100644 --- a/Game/Code/configure.ac +++ b/Game/Code/configure.ac @@ -21,7 +21,7 @@ PACKAGE_IRC="#ultrastardx at quakenet.org" AC_SUBST(PACKAGE_IRC) # Specify a source-file so autoconf can check if the source-dir exists -AC_CONFIG_SRCDIR(UltraStar.lpr) +AC_CONFIG_SRCDIR(UltraStar.dpr) # This one is not used by autoconf at the moment. # When it is used maybe we don't need aclocal's -I parameter anymore. @@ -292,13 +292,6 @@ if [[ x$suffix = xno -o x$suffix = xyes ]] ; then fi AC_SUBST(suffix) -# add logdir option -AC_ARG_WITH([logrootdir], - [AS_HELP_STRING([--with-logrootdir=DIR], - [logging root directory @<:@default=/var/log@:>@])], - [with_logrootdir=$withval], [with_logrootdir="/var/log"]) -AC_SUBST(logrootdir, [$with_logrootdir]) - # print misc options header AC_ARG_WITH([cfg-dummy3], [ Development options:]) @@ -490,10 +483,6 @@ AC_MSG_NOTICE([ !!! If you want to contribute, visit the IRC-Channel instead: !!! $PACKAGE_IRC !!! -!!! Known issues: -!!! - Audio-output and -input are not working yet -!!! - The editor is broken -!!! !!! PLEASE DO NOT SEND BUGREPORTS FOR THIS VERSION. !!! ]) -- cgit v1.2.3