The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: markp on April 16, 2013, 03:54:07 PM

Title: simutrans-src-112-2.zip missing data
Post by: markp on April 16, 2013, 03:54:07 PM
The simutrans-src-112-2.zip from sourceforge is missing some directories.
The directories config, font, music and text are not in the zip and must be copied from the binary distfiles in order to run simutrans.

Looking in git repository (https://github.com/aburch/simutrans) to download tag 112.2 i am not able to find it either (last tag is v111.3.1).
So currently no possibility to get version 112.2 and compile it from source distribution.
Title: Re: simutrans-src-112-2.zip missing data
Post by: Ters on April 16, 2013, 04:08:53 PM
That's not the official repository, just someone's mirror (someone in here though). The official repository is a subversion repository (which I for some reason always have trouble relocating the URL for online). And the official repository has no labels (or version branches), you just have to look at the commit messages.
Title: Re: simutrans-src-112-2.zip missing data
Post by: markp on April 16, 2013, 04:46:59 PM
As mentioned in http://forum.simutrans.com/index.php?topic=11613.msg114276#msg114276 (http://forum.simutrans.com/index.php?topic=11613.msg114276#msg114276) the correct release should be r6390 ... but in repository the commit with >>Release of 112.2<< is r6389.

Anyhow i try to rewrite the ebuild and use a specific svn revision.
Title: Re: simutrans-src-112-2.zip missing data
Post by: Vonjo on April 16, 2013, 04:49:04 PM
config, font, music, and skin directory are inside simutrans directory. Text directory is at simutranslator.

You should use svn if you just want to compile certain version of simutrans. The revision number is usually available in history.txt or at "download simutrans" section in this forum.

If you need to use git, you need to look at the commit message.
Title: Re: simutrans-src-112-2.zip missing data
Post by: markp on April 16, 2013, 04:54:06 PM
I will use subversion in the ebuild.

Git was only mentioned here to reference a browsable repository. The repository linked above at sourceforge http://sourceforge.net/projects/simutrans/files/simutrans/ (http://sourceforge.net/projects/simutrans/files/simutrans/) is only a binary distribution. An other I do not know yet

[edit]
ok fond the svn repository
[/edit]
Title: Re: simutrans-src-112-2.zip missing data
Post by: Vonjo on April 16, 2013, 05:06:41 PM
Sourceforge svn repository is for some paksets. Simutrans repository is, for historical reason, available at svn://
tron.homeunix.org/simutrans/simutrans/Username: anon, No password.
Title: Re: simutrans-src-112-2.zip missing data
Post by: Ters on April 16, 2013, 05:52:09 PM
But it is odd that the source zip doesn't contain the complete simutrans directory as it is in svn. One should be able to build a complete Simutrans from it and a pak source distribution. (get_lang_files.sh is also missing.) I think those who can should rerelease the source zip.
Title: Re: simutrans-src-112-2.zip missing data
Post by: prissi on April 28, 2013, 10:16:34 PM
The source is paked automatically be a script zipsrc.sh under trunk. I would be happy for adding anything missing there.
Title: Re: simutrans-src-112-2.zip missing data
Post by: markp on May 04, 2013, 07:24:07 AM
Do you need any input or feedback from me for doing so or can I help otherwise?

As written above the directories I copied from the binary releases are:
config, font, music and text
Title: Re: simutrans-src-112-2.zip missing data
Post by: Ters on May 04, 2013, 08:59:48 AM
Quote from: prissi on April 28, 2013, 10:16:34 PM
The source is paked automatically be a script zipsrc.sh under trunk.

I think that script would have been more accessible if it lay in trunk.
Title: Re: simutrans-src-112-2.zip missing data
Post by: markp on May 29, 2013, 08:42:41 PM
Problem fixed with simutrans-src-112-3.zip