Opened 14 years ago

Last modified 12 years ago

#492 closed enhancement

packaging resources — at Version 11

Reported by: fabio Owned by:
Priority: If Time Permits Milestone: Alpha 10
Component: Build & Packages Keywords:
Cc: Vincentc1208@… Patch:

Description (last modified by fabio)

I am attaching some files from debian package that may be useful to other distributions and that could eventually included in the 0ad source:

  • 0ad.desktop : desktop file for menu (it assumes the executable is in /usr/lib/games/0ad/system/pyrogenesis )
  • 0ad.png : png icon file (converted from upstream ps.ico and optimized with optipng and advdef)
  • 0ad : script that call /usr/lib/games/0ad/system/pyrogenesis to easily run the game from terminal
  • 0ad.6 : man page with options taken from upstream readme.txt

Update (2012-04-10): 1) an updated png (maybe too big) is available, see http://www.wildfiregames.com/forum/index.php?showtopic=15902 2) updated man page (0ad.6) based on updated and now more complete readme.txt is available at http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/0ad/debian/

Change History (13)

by fabio, 14 years ago

Attachment: 0ad.packaging.tar.gz added

comment:1 by fabio, 14 years ago

If you want to include the man page remove the debian copyright section at the end (last 6 lines, I am the author).

comment:2 by philip, 14 years ago

(In [7882]) Add resources for Linux packages, based on files from fabio (see #492)

by Sergio Fabian Vier, 14 years ago

Attachment: resources.tar.gz added

updated resources

in reply to:  2 comment:3 by Sergio Fabian Vier, 14 years ago

Replying to philip:

(In [7882]) Add resources for Linux packages, based on files from fabio (see #492)

updated resources: updated script file and altas support for desktop files menu.

comment:4 by Philip Taylor, 14 years ago

Hmm, I had wondered about adding an Atlas .desktop entry but I'm not sure it's a good idea - the editor is available fairly prominently from the game's main menu (since a month ago), so another entry point is not really necessary, and it's nice to avoid cluttering the user's programs menu (unlike on Windows where we've already got a whole subfolder to contain whatever we want).

We ideally shouldn't have a shell script wrapper at all - currently it's only there because on some systems we try to detect the executable's location at runtime and fail if it was run via PATH, so we have to run it from an absolute path instead. So I'd prefer to avoid adding any complexity to the script, and features like --help should be added to the C++ code instead (so they'll work when the PATH thing gets fixed).

comment:5 by (none), 14 years ago

Milestone: Unclassified

Milestone Unclassified deleted

comment:6 by Andrew, 14 years ago

Milestone: Backlog

comment:7 by fabio, 14 years ago

Can the man page and the translation of desktop file:

Comment[it]=Videogioco strategico in tempo reale di guerre antiche

be merged?

comment:8 by Philip Taylor, 14 years ago

I skipped the translation since it seemed weird to only have [it] and not any other languages - eventually we'll need to some proper translation process set up for the game, and that can be used for the desktop file too.

But I suppose that's a rubbish reason not to include this translation already.

I skipped the man page since I wasn't sure how accurate it was (it's based on readme.txt which doesn't seem very accurate), so I didn't want to add it yet, but then I didn't get around to checking/updating it. If it's going to list command-line arguments then I'd prefer the list to be much more complete (which probably involves searching the code for all the uses of CmdLineArgs). Ideally it should mention config files too (i.e. where to look for default.cfg, and where to write local.cfg to override settings). Something like that would be great :-)

comment:9 by philip, 14 years ago

(In [8310]) Add translation to desktop file (see #492)

comment:10 by historic_bruno, 12 years ago

Component: Non-game systemsBuild & Packages

comment:11 by fabio, 12 years ago

Description: modified (diff)
Milestone: BacklogAlpha 10

I'll retarget for alpha 10 since updated files that can committed are now available and because an user complained on the forum about low icon quality ( see http://www.wildfiregames.com/forum/index.php?showtopic=15902 ).

Note: See TracTickets for help on using tickets.