The Configuration Situation

Everything about development and the OpenMW source code.
User avatar
lgromanowski
Site Admin
Posts: 1191
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Github profile: https://github.com/lgromanowski
Contact:

Re: The Configuration Situation

Post by lgromanowski » 05 Sep 2011, 18:39

Zini wrote:
I think it should be run by dpg/rpm/whatever install scripts.
Sounds difficult. Can cmake handle this task? If it can, I don't know how. Originally the idea was to embed a special escape sequence into the path string, that would be interpreted as a registry key, which then would have been inserted by OpenMW after somehow fetching the matching data from the registry.
Hmm, I don't know if CMake can handle this but I will check.
Zini wrote: I have no fundamental objections to doing it during install instead of during runtime, but if we go down this route we need to have a proper installer for Windows for the next release.
I think preparing Windows installator isn't something hard - there are some "well known" installators like
Nullsoft intaller or Inno setup - they only need some content (OpenMW binaries) and proper settings to which directory install binaries.
best regards,
Lukasz

User avatar
Zini
Posts: 5499
Joined: 06 Aug 2011, 15:16

Re: The Configuration Situation

Post by Zini » 05 Sep 2011, 18:43

AFAIK CPack can generate Windows installer. We just need someone to look into what changes to the cmake scripts are required.

btw. I saw your pull requests. Seems okay, but I don't have the time to look into it right now. Will merge either (much) later this evening or tomorrow.

User avatar
lgromanowski
Site Admin
Posts: 1191
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Github profile: https://github.com/lgromanowski
Contact:

Re: The Configuration Situation

Post by lgromanowski » 05 Sep 2011, 18:46

Zini wrote:AFAIK CPack can generate Windows installer. We just need someone to look into what changes to the cmake scripts are required.
OK.
Zini wrote: btw. I saw your pull requests. Seems okay, but I don't have the time to look into it right now. Will merge either (much) later this evening or tomorrow.
OK, no problem.
best regards,
Lukasz

User avatar
pvdk
Posts: 523
Joined: 12 Aug 2011, 16:34

Re: The Configuration Situation

Post by pvdk » 21 Sep 2011, 14:50

I ran into a problem whilst making an Arch package.

It seems that OpenMW doesn't conform to the freedesktop.org standards. The global path for linux is currently defined as:

Code: Select all

theBasePath = "/etc/"+parApp+"/";
But the freedesktop.org specification says it should be /etc/xdg/"yourapp." At least, that's the standard value for the $XDG_CONFIG_DIRS environment value and it's respected by most distros.

User avatar
lgromanowski
Site Admin
Posts: 1191
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Github profile: https://github.com/lgromanowski
Contact:

Re: The Configuration Situation

Post by lgromanowski » 21 Sep 2011, 16:27

pvdk wrote:I ran into a problem whilst making an Arch package.

It seems that OpenMW doesn't conform to the freedesktop.org standards. The global path for linux is currently defined as:

Code: Select all

theBasePath = "/etc/"+parApp+"/";
But the freedesktop.org specification says it should be /etc/xdg/"yourapp." At least, that's the standard value for the $XDG_CONFIG_DIRS environment value and it's respected by most distros.
Thanks, I missed this. I will fix it in a few moments.

// EDIT: You're probably looking into some old code. "New config" uses /etc/xdg directory, please see:
https://github.com/zinnschlag/openmw/bl ... uxpath.cpp
best regards,
Lukasz

User avatar
Zini
Posts: 5499
Joined: 06 Aug 2011, 15:16

Re: The Configuration Situation

Post by Zini » 21 Sep 2011, 16:37

Yeah, but we are talking about the 0.11.1 release here which still uses the old config system. Can we work around it for now? The new system should fix the problem for 0.12.0 (once it has been a bit more tested).

User avatar
pvdk
Posts: 523
Joined: 12 Aug 2011, 16:34

Re: The Configuration Situation

Post by pvdk » 21 Sep 2011, 18:29

Yeah, I'm just going to install to /etc/openmw for now.

User avatar
Zini
Posts: 5499
Joined: 06 Aug 2011, 15:16

Re: The Configuration Situation

Post by Zini » 26 Sep 2011, 19:44

I added the two missing issues listed above to the OpenMW 0.12 roadmap. How are we progressing?

User avatar
pvdk
Posts: 523
Joined: 12 Aug 2011, 16:34

Re: The Configuration Situation

Post by pvdk » 26 Sep 2011, 21:15

EDIT: nevermind

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests