project-navigation
Personal tools

Author Topic: Applying patches from the tracker?  (Read 11397 times)

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Applying patches from the tracker?
« on: June 06, 2008, 10:31:51 am »
I was taking a look around the patch tracker and was wondering:
1) What is not currently in 2.2.1
2) how to apply patches to the game

If this in the wrong place, sorry. Its 2:30 AM, and I cant think straight

Offline stevenjackson

  • Rookie
  • ***
  • Posts: 90
    • View Profile
Re: Applying patches from the tracker?
« Reply #1 on: June 06, 2008, 11:58:34 am »

It sounds more like you want a more recent copy of ufo than actually needing to apply patches.

There are several options:

1) get the latest source from subversion for the 2.2 branch and compile.

This will give you basically 2.2.1 plus any other bug fixes and such.

2) download one of the prebuilt trunk releases.  This will be buggy but will give you some of the latest features

3) get the latest source from subversion for trunk and compile.

This will give you the cutting edge changes (including all accepted patches) but wont always work and will sometimes be broken.

Steve

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Re: Applying patches from the tracker?
« Reply #2 on: June 06, 2008, 12:32:51 pm »
k....its 4:30 AM, and I have no idea what your talking about.
What and where?

oh, hey! Look! the SVN! Haha! Lol
still dont really know what to do with it all....
« Last Edit: June 06, 2008, 12:44:35 pm by vedrit »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Applying patches from the tracker?
« Reply #3 on: June 06, 2008, 03:56:01 pm »
read our wiki - there is an article about compiling the game.

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Re: Applying patches from the tracker?
« Reply #4 on: June 07, 2008, 03:56:59 am »
thats turning out to be a pain. There are broken links, and a lack of info.
Cant the patches in the patch tracker just be made to be placed in the game directory, for quick and easy testing?

Offline blondandy

  • Sergeant
  • *****
  • Posts: 391
    • View Profile
Re: Applying patches from the tracker?
« Reply #5 on: June 07, 2008, 08:27:25 am »
I don't think you understand the whole trunk, tags, branches subversion thing. please read the wiki.

the patches are contributions to the game by folk who do not have write access to the repository. or changes that devs just want to store somewhere for a while.

to play the current development version you need a trunk checkout. then compile it. if a specific part of the wiki is confusing or broken, name it, and I will endeavour to fix it.

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Re: Applying patches from the tracker?
« Reply #6 on: June 07, 2008, 08:40:50 am »
to compile, there are programs needed. The link to getting gettext does nothing (Though this is really something that should be braught up with those guys, as it is in their site), and, yes, the wiki is kind of confusing. It mentions some things, like fink, but does nothing to tell you what it is should you decide that you want to try using it. The SVN download links do nothing, aswell (When you click the green button saying "Download", it says you should first read the release notes, but does nothing)

No, I dont understand the whole trunk, tags, branches subversion thing. All I wanted to do was try some submitted patches.


Oh, and on the beta site, there arent any MAC installers. I understand that it will take some time to port them into MAC, as Windows/Linux is probably the native OS, but having a MAC installer for the beta game will go a ways to getting rid of bugs for the MAC when it goes out of beta

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Applying patches from the tracker?
« Reply #7 on: June 07, 2008, 09:37:49 am »
Oh, and on the beta site, there arent any MAC installers. I understand that it will take some time to port them into MAC, as Windows/Linux is probably the native OS, but having a MAC installer for the beta game will go a ways to getting rid of bugs for the MAC when it goes out of beta

True - but the installers are created by me - and i don't own a mac

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Re: Applying patches from the tracker?
« Reply #8 on: June 07, 2008, 09:47:33 am »
ah. Problem. If I knew what the crap I was doing, I would volunteer to help, but as Im more of a "Make this model look fricken kick ass without using allot of poly's!" kinda guy, im kinda useless with porting

Offline blondandy

  • Sergeant
  • *****
  • Posts: 391
    • View Profile
Re: Applying patches from the tracker?
« Reply #9 on: June 07, 2008, 09:49:53 am »
worry about gettext later (to do with translation).

trunk: current development version
tags: (mostly) frozen releases

patches are updates for source files (eg *.c, *.map). they are text. They will only work against the correct source files. most of the patches were made against trunk. so you will not be able to use the patches unless you have a trunk checkout.

get svn client from here
http://subversion.tigris.org/project_packages.html
the windows binary certainly works for me.

then follow the instructions here
http://ufoai.ninex.info/wiki/index.php/Getting_the_source

the syntax listed under linux for a trunk checkout
svn co https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
works under windows, so i expect it will work for mac.

as for compiling, i use code::blocks. you will have to get help from a mac user. there are some around now.

if you want to model, then a trunk checkout is still a good place to start.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Applying patches from the tracker?
« Reply #10 on: June 07, 2008, 09:52:00 am »
you can also just update the models and upload them somewhere where we can download them and add them to the repository. Also new models are fine if the license is compatible (see our wiki/todo list)

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Re: Applying patches from the tracker?
« Reply #11 on: June 07, 2008, 10:15:57 am »
before i do some modeling, i have to get used to Blender (Im used to Maya), and I need to gather the resources (Like special exporter plug-ins)

I downloaded what was listed (the client and fink), but i had no idea what to do about the trunk, and the instructions (listed as the same as Linux) were a bit confusin. "Just create a project directory, cd into it and type" ? Huh?
I suppose finding someone that really knows MACs would make this process a whole lot easyer

Offline blondandy

  • Sergeant
  • *****
  • Posts: 391
    • View Profile
Re: Applying patches from the tracker?
« Reply #12 on: June 07, 2008, 10:23:28 am »
use whatever the console/prompt is called on a mac.

cd means change to the right directory
type the svn... command line (or copy/paste more like)

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Re: Applying patches from the tracker?
« Reply #13 on: June 07, 2008, 10:35:40 am »
what do you mean "change to the right directory"? I made a folder that I intend on storing things in. Do you mean saving the what-ever-it-is-im-doing-in-the-console in there?

Offline stevenjackson

  • Rookie
  • ***
  • Posts: 90
    • View Profile
Re: Applying patches from the tracker?
« Reply #14 on: June 07, 2008, 11:46:24 pm »

My main computer is a mac.  I found it much easier to get compiling working on the mac than in windows.

Other than 2.2 as there is a problem with library conflicts in leopard.

If you get fink its fairly straight forward.

Steve