Package Details: dwarftherapist-git 2:40.0.0_r0_g4d399d76-1

Git Clone URL: https://aur.archlinux.org/dwarftherapist-git.git (read-only, click to copy)
Package Base: dwarftherapist-git
Description: Heavily modified version of the original Dwarf Therapist.
Upstream URL: https://github.com/Dwarf-Therapist/Dwarf-Therapist
Licenses: MIT
Conflicts: dwarftherapist
Provides: dwarftherapist
Submitter: kiryl
Maintainer: WorMzy
Last Packager: WorMzy
Votes: 96
Popularity: 0.001081
First Submitted: 2014-07-07 14:17 (UTC)
Last Updated: 2018-05-15 16:56 (UTC)

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 Next › Last »

daenyth commented on 2010-07-28 15:35 (UTC)

Put it in the same games-writable directory that saves/ is in.

schuay commented on 2010-07-27 22:03 (UTC)

Added v0.31.12.ini in pkgrel 3. Bad news about the maintainer :( Daenyth: which saves, the ones belonging to df itself?

<deleted-account> commented on 2010-07-27 20:53 (UTC)

Also, chmod is no longer continuing with the project, and they are looking for another maintainer: http://code.google.com/p/dwarftherapist/wiki/HelpWanted If you want to apply, head there.

<deleted-account> commented on 2010-07-27 20:41 (UTC)

The v0.31.12.ini file is in the lionk to get this working with the newest version: http://greatred-dwarftherapist.googlecode.com/hg/etc/memory_layouts/linux/v0.31.12.ini you should be able to just save it off of the link. It is working on my computer now (Arch 64bit)

daenyth commented on 2010-07-25 12:34 (UTC)

Why not just put it with the saves

schuay commented on 2010-07-25 08:19 (UTC)

IMO if we do that, then it should be a hidden file at least to avoid visually cluttering the home dir. Or we could use XDG_CONFIG_HOME. As long as the code changes stay minimal I'm fine with it :) I'll apply it when the next version comes out.

<deleted-account> commented on 2010-07-24 20:35 (UTC)

In order to place the log file in the user's home directory you can use Qt's builtin QDir class. --- dwarftherapist/src/dwarftherapist.cpp 2010-07-24 14:05:16.247078509 -0400 +++ dwarftherapist-build/src/dwarftherapist.cpp 2010-07-24 16:01:50.019307157 -0400 @@ -91,7 +91,7 @@ //setup logging m_log_mgr = new LogManager(this); - TruncatingFileLogger *log = m_log_mgr->add_logger("log/run.log"); + TruncatingFileLogger *log = m_log_mgr->add_logger(QDir::homePath() + "/dwarftherapist.log"); if (log) { LogAppender *app = m_log_mgr->add_appender("core", log, LL_TRACE); if (app) {

<deleted-account> commented on 2010-07-24 20:11 (UTC)

True, but in my opinion /var/log is just as unacceptable, it should be reserved for daemon/system-wide log files and some users may not have the proper permissions. I'd suggest just using the individual user's home directory instead.

daenyth commented on 2010-07-24 19:10 (UTC)

Don't put data like that in /usr/share. May people have a read-only /usr partition. /var/log/ is where it should go.

<deleted-account> commented on 2010-07-24 18:56 (UTC)

Works as expected. My other suggestion at the moment is to add the following to the fix_file_path.diff: --- dwarftherapist/src/dwarftherapist.cpp 2010-07-24 14:05:16.247078509 -0400 +++ dwarftherapist-build/src/dwarftherapist.cpp 2010-07-24 14:26:51.776955589 -0400 @@ -91,7 +91,7 @@ //setup logging m_log_mgr = new LogManager(this); - TruncatingFileLogger *log = m_log_mgr->add_logger("log/run.log"); + TruncatingFileLogger *log = m_log_mgr->add_logger("/usr/share/dwarftherapist/run.log"); if (log) { LogAppender *app = m_log_mgr->add_appender("core", log, LL_TRACE); if (app) { And of course then update the md5 checksum and deal with creating/setting permissions on the file in the PKGBUILD. This will get the log file working correctly in case someone encounters a problem. I found using a system-wide log file works for me, but it may be smarter to have the log file created in the users home directory. Thanks for being so damned fast updating the package too. :)