From gauret at free.fr Sat Nov 11 10:42:35 2006 From: gauret at free.fr (Aurelien Bompard) Date: Sat, 11 Nov 2006 11:42:35 +0100 Subject: Packaging log files Message-ID: <200611111142.36232.gauret@free.fr> Hey there, I have made a package of Glest (http://www.glest.org). However, something bothers me. I've made the following layout : /usr/libexec/glest/glest (game binary) /usr/share/glest/ (game directory, where the rest of the files are) /usr/share/glest/glest -> /usr/libexec/glest/glest (symlink) /usr/bin/glest (script to run the real binary after cd'ing in the proper directory) This works, but on startup, the executable logs its activity in a log file located in the same directory as the executable (/usr/share/glest) This file has to be writable. Currently, my quick and drity fix was to replace this file with a symlink to /tmp/glest.log. What would the proper fix be ? I could symlink it to a /var/games/glest directory which would be chmod 1777, but how can I make sure that two users on the same machine can play ? I think the proper fix would be to have glest look for a log file in ~/.glest/glest.log instead, but I'm not a C coder (sadly)... Anyone has guidelines on how to do this ? Thanks Aur?lien -- http://aurelien.bompard.org ~~~~ Jabber : abompard at jabber.fr "Make everything as simple as possible, but not simpler." -- Albert Einstein From j.w.r.degoede at hhs.nl Sun Nov 12 00:52:29 2006 From: j.w.r.degoede at hhs.nl (Hans de Goede) Date: Sun, 12 Nov 2006 01:52:29 +0100 Subject: Packaging log files In-Reply-To: <200611111142.36232.gauret@free.fr> References: <200611111142.36232.gauret@free.fr> Message-ID: <4556704D.2000407@hhs.nl> Aurelien Bompard wrote: > Hey there, > > I have made a package of Glest (http://www.glest.org). However, something > bothers me. I've made the following layout : > /usr/libexec/glest/glest (game binary) > /usr/share/glest/ (game directory, where the rest of the files are) > /usr/share/glest/glest -> /usr/libexec/glest/glest (symlink) > /usr/bin/glest (script to run the real binary after cd'ing in the proper > directory) > > This works, but on startup, the executable logs its activity in a log file > located in the same directory as the executable (/usr/share/glest) > This file has to be writable. Currently, my quick and drity fix was to > replace this file with a symlink to /tmp/glest.log. > What would the proper fix be ? I could symlink it to a /var/games/glest > directory which would be chmod 1777, but how can I make sure that two users > on the same machine can play ? > I think the proper fix would be to have glest look for a log file in > ~/.glest/glest.log instead, but I'm not a C coder (sadly)... > Anyone has guidelines on how to do this ? > The fact that this package wants to run from a single dir, and write there too, means it clearly wasn't designed for Linux from scratch. I'm sure I can fix the log file issue at C-code level for you, but I think we then will see similar problems with for example saving settings like resolutions video details, etc. A good solution for this would be to create a bash wrapper which: 1) creates ~/.glest 2) populates it with symlinks to the files under /usr/share/glest and /usr/libexec/glest/glest 3) cd into that dir and run the real binary Then you can also drop the symlinks to /usr/libexec/glest/glest from /usr/share/glest This has 2 advantages: 1) It will also work for any other files glest will try to write to disk to its cwd, like settings 2) Since this can be done in bash you can do it yourself and thus also effectivly maintain it (and 3) then I don't have to write a patch for the C-code) Very good to hear that someone is working on packaging glest BTW! Regards, Hans From gauret at free.fr Sun Nov 12 18:01:48 2006 From: gauret at free.fr (Aurelien Bompard) Date: Sun, 12 Nov 2006 19:01:48 +0100 Subject: Packaging log files In-Reply-To: <4556704D.2000407@hhs.nl> References: <200611111142.36232.gauret@free.fr> <4556704D.2000407@hhs.nl> Message-ID: <200611121901.48848.gauret@free.fr> > A good solution for this would be to create a bash wrapper That is a *great* idea. I'll definitely do that. Would you add this kind of fix to the wiki ? Free games developped primarily for windows and ported to linux are not rare (I'm thinking TA-Spring here, but there are many others) Thanks Aur?lien -- http://aurelien.bompard.org ~~~~ Jabber : abompard at jabber.fr A Black Hole is where God divided by zero. From j.w.r.degoede at hhs.nl Sun Nov 12 18:40:43 2006 From: j.w.r.degoede at hhs.nl (Hans de Goede) Date: Sun, 12 Nov 2006 19:40:43 +0100 Subject: Packaging log files In-Reply-To: <200611121901.48848.gauret@free.fr> References: <200611111142.36232.gauret@free.fr> <4556704D.2000407@hhs.nl> <200611121901.48848.gauret@free.fr> Message-ID: <45576AAB.10701@hhs.nl> Aurelien Bompard wrote: >> A good solution for this would be to create a bash wrapper > > That is a *great* idea. I'll definitely do that. > Would you add this kind of fix to the wiki ? Free games developped primarily > for windows and ported to linux are not rare (I'm thinking TA-Spring here, > but there are many others) > Feel free to add it to the wiki yourself, thats why its a wiki :) Regards, Hans From gauret at free.fr Tue Nov 14 11:20:46 2006 From: gauret at free.fr (Aurelien Bompard) Date: Tue, 14 Nov 2006 12:20:46 +0100 Subject: Licence for game data Message-ID: <200611141220.46174.gauret@free.fr> Hey, As you already know, I'm getting a Glest package in shape for FE. I'm almost done, but I'd like another advice. The license for the game code is GPLv2, but the license for the game data reads : ? This software is provided without any express or implied warranty. In no event shall the author be held liable for any damages arising from the use of this software. This software may be redistributed freely, but all redistributions must retain all occurences of the above copyright notice and web site addresses that are currently in place. ? It doesn't say that I may modify it, but since one of Glest's features is that it can be modified using XML, I'm pretty sure they overlooked it in the licence.txt So I was going to ask the team for clarification, but which licence should I propose for game data ? BSD ? CC-BY ? CC-BY-SA ? Thanks Aur?lien -- http://aurelien.bompard.org ~~~~ Jabber : abompard at jabber.fr One OS to hook them all One browser to find them One word processor to bring them all And in monopoly, bind them... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From j.w.r.degoede at hhs.nl Tue Nov 14 11:51:00 2006 From: j.w.r.degoede at hhs.nl (Hans de Goede) Date: Tue, 14 Nov 2006 12:51:00 +0100 Subject: Licence for game data In-Reply-To: <200611141220.46174.gauret@free.fr> References: <200611141220.46174.gauret@free.fr> Message-ID: <4559ADA4.4050308@hhs.nl> Aurelien Bompard wrote: > Hey, > > As you already know, I'm getting a Glest package in shape for FE. I'm almost > done, but I'd like another advice. The license for the game code is GPLv2, > but the license for the game data reads : > ? This software is provided without any express or implied warranty. In no > event shall the author be held liable for any damages arising from the use > of this software. > This software may be redistributed freely, but all redistributions must > retain all occurences of the above copyright notice and web site addresses > that are currently in place. ? > > It doesn't say that I may modify it, but since one of Glest's features is > that it can be modified using XML, I'm pretty sure they overlooked it in > the licence.txt > > So I was going to ask the team for clarification, but which licence should I > propose for game data ? BSD ? CC-BY ? CC-BY-SA ? > I wouldn't ask for a specific license, the current one is fine for FE, you could ask if modification is allowed and ask them to add a statement explictly stating this to the current license. Regards, Hans From gauret at free.fr Fri Nov 17 13:34:15 2006 From: gauret at free.fr (Aurelien Bompard) Date: Fri, 17 Nov 2006 14:34:15 +0100 Subject: Glest is packaged Message-ID: <200611171434.19103.gauret@free.fr> Hey there, Glest again :) If you guys want to play a nice 3D RTS game, here it is: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=216130 Have fun ! Aur?lien -- http://aurelien.bompard.org ~~~~ Jabber : abompard at jabber.fr "Backups are for wimps. Real men upload their work to an ftp server and have everybody mirror it." -- Linus Torvalds -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From j.w.r.degoede at hhs.nl Sat Nov 18 08:37:16 2006 From: j.w.r.degoede at hhs.nl (Hans de Goede) Date: Sat, 18 Nov 2006 09:37:16 +0100 Subject: Adding submenus to the Games menu Message-ID: <455EC63C.7060300@hhs.nl> HI all, I've been trying to create a .menu file to drop in /etc/xdg/menus/applications.menu which adds submenus to the game menu based on the XxxxGame catagories listed under "Additional Category" here: http://standards.freedesktop.org/menu-spec/latest/apa.html So that people who want to can have a games menu under gnome like the KDE submenu. Unfortunately this seems impossible for now because of: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=216261 I know that others on this list are interested in this too, may I kindly ask that your add yourself to the CC-list of this bug as a subtle hint that I'm not the only one who cares? Thanks & Regards, Hans From chris.stone at gmail.com Sat Nov 18 13:28:21 2006 From: chris.stone at gmail.com (Christopher Stone) Date: Sat, 18 Nov 2006 05:28:21 -0800 Subject: Adding submenus to the Games menu In-Reply-To: <455EC63C.7060300@hhs.nl> References: <455EC63C.7060300@hhs.nl> Message-ID: The last bug I submitted to Ray Strode took an *extremely* long time to get a very simple bug fixed, I eventually had to call upon some higher ups at RedHat in order for him to actually apply a patch and fix the bug. He would not even so much as even reply to the bug report after months of replys and CCs from other people. I have dealt with two other RedHat maintainers who also take the same lackadaisical attitude towards bug fixing. I'm not really sure what the RedHat engineers actually do over there...but that is for another discussion I guess... On 11/18/06, Hans de Goede wrote: > HI all, > > I've been trying to create a .menu file to drop in > /etc/xdg/menus/applications.menu which adds submenus to the game menu > based on the XxxxGame catagories listed under "Additional Category" > here: http://standards.freedesktop.org/menu-spec/latest/apa.html > > So that people who want to can have a games menu under gnome like the > KDE submenu. Unfortunately this seems impossible for now because of: > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=216261 > > I know that others on this list are interested in this too, may I kindly > ask that your add yourself to the CC-list of this bug as a subtle hint > that I'm not the only one who cares? > > Thanks & Regards, > > Hans > > > _______________________________________________ > Fedora-games-list mailing list > Fedora-games-list at redhat.com > http://www.redhat.com/mailman/listinfo/fedora-games-list > From wayward4now at gmail.com Sat Nov 18 23:24:07 2006 From: wayward4now at gmail.com (Ric Moore) Date: Sat, 18 Nov 2006 18:24:07 -0500 Subject: Adding submenus to the Games menu In-Reply-To: References: <455EC63C.7060300@hhs.nl> Message-ID: <1163892247.14877.119.camel@iam.wayward4now.net> On Sat, 2006-11-18 at 05:28 -0800, Christopher Stone wrote: > The last bug I submitted to Ray Strode took an *extremely* long time > to get a very simple bug fixed, I eventually had to call upon some > higher ups at RedHat in order for him to actually apply a patch and > fix the bug. He would not even so much as even reply to the bug > report after months of replys and CCs from other people. > > I have dealt with two other RedHat maintainers who also take the same > lackadaisical attitude towards bug fixing. I'm not really sure what > the RedHat engineers actually do over there...but that is for another > discussion I guess... I would bet that they're running around like chickens with FC6 just out the door and all the bugfixes on packages that would have a higher priority than games. If the kernel is broken, that would certainly come first. Missing config.h is an example of something higher up to resolve, for backwards compatibility. I doubt they're being discourteous, with all hell breaking out around them, I would guess they figure you'll understand where they are presently at. But, months?? That's pretty crucial. A quickie email to you would have been better to explain just what was going on... and, respectful. When I worked there in 2000, we had to have stuff out the door and resolved within a week, as our target goal in the Tech Support Department. While things might not actually gotten totally resolved in a week, there were plenty emails to explain just where the problem was in the resolution path for RedHat issues. If it was deemed a third party issue, then that would have been conveyed in an email explaining that. We weren't 'maintainers'... just a layer of communication between those with the problems and those able to do something about the problem. That was mostly during Bob Youngs days when Mathew was just coming on-board. He's a great guy, but his job is to watch the bottom-line so that everyone there gets paychecks that won't bounce. I wouldn't have that job for all the tea in China. Ric