Debian Package for Ubuntu 10.04 LTS ?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
gypakk
Trained
Trained
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Debian Package for Ubuntu 10.04 LTS ?

Post by gypakk »

Hi! Is there a 2.3.8 package for LTS version of Ubuntu? I couldn't find any up-to-date package in playdeb.net. They only have 2.3.7.

2.3.7 warns my every time I start a multiplayer session. I just would like to update my old version without that compiling stuff.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by vexed »

Compile it yourself if you want the latest package.
That is the only way. :)

Check the compile guide on the wiki. http://developer.wz2100.net/
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Lord Apocalypse
Regular
Regular
Posts: 678
Joined: 29 Jul 2009, 18:01

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by Lord Apocalypse »

Looking under Ubuntu package manager the latest is 2.2 something... how does one get that updated anyway??
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by NoQ »

AFAIK most linux users don't build the package at all, neither they do "make install".
To get the latest version, the easiest way is to
1. install build-time dependencies (sudo apt-get build-dep warzone2100 for ubuntu),
2. download and unpack the source,
3. do ./configure&&make and
4. run the game as src/warzone2100.
Lord Apocalypse
Regular
Regular
Posts: 678
Joined: 29 Jul 2009, 18:01

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by Lord Apocalypse »

I know that, but my question was how to get the listing on package manager updated to install a later version such as 2.3.9 rather than 2.2.X
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by NoQ »

To get the warzone updated via "apt-get upgrade" or something like that, you need to actually update the package in the official ubuntu repositories. You are most likely not the one responsible for doing that, and probably this much change won't ever be allowed in an LTS release.

The alternatives are:
- learn how to make custom repositories (or wait until somebody makes a repository ... wait ... wasn't there one somewhere up here?), add the repository to your sources.list, and then install it via apt-get.
- learn how to make debian packages (or wait until somebody makes a package), then download it as a file and install it via "dpkg -i" or something like that (probably just clicking on the file will do for the default ubuntu desktop).
- don't build any packages, just play it as i said earlier (easiest and works perfectly without any obvious drawbacks)
Lord Apocalypse
Regular
Regular
Posts: 678
Joined: 29 Jul 2009, 18:01

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by Lord Apocalypse »

Well, i know under ubuntu theres the main release with ubuntu, multiverse, and universe... someone should be able to get an update package out into multi/universe. If no one from here is doing so, or someone was but no longer is, its worth finding out. If from here then getting the required info to wait for someone to maintain it would be good. Kinda sucks not having an up to date install repo. Faster to find a binary and install via package manager (synaptic) than compiling a fresh binary all the time, though I think 11.X+ no longer uses synaptic as the primary package manager in ubuntu.. forget what its under now.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by Berg »

I just installed 11.04 and it has by default synaptic package manager
it also has on the main menu ubuntu software centre
I think both these systems run pretty much the same
Im not sure who was maintaining the ubuntu repo
I seem to remember pabs3 talking about debian stuff in dev irc channel

For me its easiest just to download the tarball and compile it.

I do have a simple .sh script for downloading from svn trunk it has all the libs you need in a sudo apt-get command.


Ill just add it here as a zip file have a look at it maybe sone can mod this script to do 2.3.9

better still ill just ad it in a code box

Code: Select all

#!/bin/bash
echo creating ~/warzone
cd ~
mkdir warzone
cd warzone

echo installing libs
sudo apt-get install subversion build-essential automake flex bison \
 libpopt-dev libpng12-dev libsdl1.2-dev libsdl-net1.2-dev \
 libopenal-dev libphysfs-dev libvorbis-dev libtheora-dev libglc-dev \
 libsqlite3-dev libglc-dev

echo downloading trunk
svn co https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk .

echo "autogen&&configure"
./autogen.sh
./configure

echo running make
make
echo DONE!
echo Now run "src/warzone2100" to play.
I dont not do a full install that way i can just remove old release when a new version comes out and replace the folder.

anyway thats all I do.
Last edited by cybersphinx on 05 Nov 2011, 17:42, edited 1 time in total.
Reason: People who need a script to compile shall not run "make install".
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by NoQ »

Kinda sucks not having an up to date install repo. Faster to find a binary and install via package manager (synaptic) than compiling a fresh binary all the time
Compiling is pretty fast. Hardly takes a minute on my pretty-old machine. Rather similar to what we used to do under windows. Compiling openttd takes a lot longer. Warzone's C source code is rather short, most of the magic happens in data and scripts. Anyway, try looking into "maintainers" section.
For me its easiest just to download the tarball and compile it.
Yeah, i suggested it twice already, but he refuses :roll:
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by cybersphinx »

NoQ wrote:- learn how to make debian packages (or wait until somebody makes a package), then download it as a file and install it via "dpkg -i" or something like that (probably just clicking on the file will do for the default ubuntu desktop).
http://developer.wz2100.net/wiki/Compil ... tuPackages
Lord Apocalypse wrote:Kinda sucks not having an up to date install repo.
"Distribution" and "up to date" doesn't match, since they don't usually update versions after a release (e.g. Firefox with its fast releases also suffers from that, and is one reason for loosening that requirement for packages that need it). Ubuntu has PPAs (personal package archives) for that, though a quick search didn't turn up one for Warzone.
We want information... information... information.
Lord Apocalypse
Regular
Regular
Posts: 678
Joined: 29 Jul 2009, 18:01

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by Lord Apocalypse »

NoQ wrote:Yeah, i suggested it twice already, but he refuses :roll:
I think everyone is missing the main point though. I don't think anyone here (myself included) has any problem just compiling from source. The issue is one of idiot users downloading an out of date version then coming here complaining about bugs or (if you use it) filing bug reports in the SF.net tracker for a version that is no longer supported. I've seen it too many times.

Another problem is one of outdated copies getting reviewed on gaming sites. How old is 2.2? How many bugs and other items have been fixed? When there hasn't been a lot of changes this isn't a problem.

RL calls.. will have to finish later
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by vexed »

Whomever does the packages for Ubuntu needs to get poked.
Pabs3 is the Debian maintainer.
No idea who does the other distros, but I assume they have a way to contact them.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
cazfi
New user
Posts: 5
Joined: 05 Sep 2011, 21:12

Re: Debian Package for Ubuntu 10.04 LTS ?

Post by cazfi »

Ubuntu release consist of certain versions of its individual components. It's Ubuntu development where newer versions become available. If you want Ubuntu release with newer components, you should generally take one, and not complain that back in April 2010 released version (there has been 3 releases since) hasn't those.