Wesnoth for Linux

General feedback and discussion of the game.

Moderator: Forum Moderators

Tux2B
Posts: 1217
Joined: March 29th, 2005, 8:18 pm
Location: Toulouse (South of France)
Contact:

Post by Tux2B »

I've just installed Kubuntu on my computer, and noticed that the current version on the kynaptic repositories was version 1.0 . Has anyone any idea of how to update this?
"There are two kind of campaign strategies : the good and the bad ones. The good ones almost always fail because of unforeseen consequences that make the bad ones succeed." -- Napoleon
Soliton
Site Administrator
Posts: 1733
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Post by Soliton »

Mith wrote:
irrevenant wrote:(It's a bit annoying actually; I'd prefer to have both stable and development installed simultaneously).
emmm...
type as user (if you need root powers somewhere, something went wrong):
mkdir tmp/wesnoth
cd /tmp/wesnoth
tar zxf wesnoth-1.0.tar.gz
cd wesnoth-1.0
./configure --prefix=~/path/to/wesnoth
make
make install

then you've your own wesnoth stable somewhere in your home directory, easy to remove (rm -rf ~/path/to/wesnoth)

All the dependencies are (likely) met, since wesnoth itself is running as well. (OK, you need gcc etc.)
That is unlikely as on most distributions you need the appropriate development (*-dev) packages to compile programs.

Using '~' in --prefix= doesn't work but you can use $HOME.

If you install several versions of Wesnoth simultaneously I strongly recommend to use --with-preferences-dir= as well.

Tux2B wrote:I've just installed Kubuntu on my computer, and noticed that the current version on the kynaptic repositories was version 1.0 . Has anyone any idea of how to update this?
Same thing I said to irrevenant in case you don't want to update the whole distribution.
"If gameplay requires it, they can be made to live on Venus." -- scott
User avatar
db0
Posts: 400
Joined: January 3rd, 2006, 8:39 pm
Location: Somewhere Far Beyond...
Contact:

Post by db0 »

Someone must get around to packaging it. I have Ubuntu and I find most programs are always behind in version. When I want bleeding edge I usually compile myself.

Klik however usually has the latest stable versions ready
martenzo
Posts: 564
Joined: August 8th, 2004, 9:01 am
Location: Northern Europe, Estonia, Kardla

Post by martenzo »

Mith wrote:
irrevenant wrote:(It's a bit annoying actually; I'd prefer to have both stable and development installed simultaneously).
emmm...
type as user (if you need root powers somewhere, something went wrong):
mkdir tmp/wesnoth
cd /tmp/wesnoth
tar zxf wesnoth-1.0.tar.gz
cd wesnoth-1.0
./configure --prefix=~/path/to/wesnoth
make
make install

then you've your own wesnoth stable somewhere in your home directory, easy to remove (rm -rf ~/path/to/wesnoth)

All the dependencies are (likely) met, since wesnoth itself is running as well. (OK, you need gcc etc.)
However, if you leave out --perfix=/home/path/to/wesnoth/ You will require root rights, as by default, It'll try to install to /usr/local/share/wesnoth/, and only root has write access to usr and it's subdirectories.
me: Welcome to the real world. If everyone says your art and opinions suck, it's because they DO suck. Even if you're too damned proud/stupid/both to realize it.
danny_california: yep keep telling fairy tales.
Soliton
Site Administrator
Posts: 1733
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Post by Soliton »

db0 wrote:Someone must get around to packaging it. I have Ubuntu and I find most programs are always behind in version. When I want bleeding edge I usually compile myself.

Klik however usually has the latest stable versions ready
The Debian package, which is what Ubuntu uses as well afaik, is always the first package available.

If you want more bleeding edge than Ubuntu gives you you need to think about switching distributions or convince your favourite distribution to change their packaging philosophy.
"If gameplay requires it, they can be made to live on Venus." -- scott
Florob
Posts: 6
Joined: February 27th, 2006, 11:09 pm

Post by Florob »

Ubuntu is VERY cutting edge when the stable releases come out, but of course it ages within the 6 month until the next release.
This is why current stable (aka. 5.10 aka. breezy badger) has 1.0.
Current development branche (aka. dapper drake and will be 6.04) has 1.1 and considers upgrading to 1.1.1 because online gaming is broken with 1.1 because your server only supports the latest release (If I understood it correctly). That actually has them considering shipping with 1.0.2 because stable is not released as frequently.
https://lists.ubuntu.com/archives/ubunt ... 00506.html

(just pure information)
Tux2B
Posts: 1217
Joined: March 29th, 2005, 8:18 pm
Location: Toulouse (South of France)
Contact:

Post by Tux2B »

Would you know where to find the adres of the new ubuntu synaptic repositories?
"There are two kind of campaign strategies : the good and the bad ones. The good ones almost always fail because of unforeseen consequences that make the bad ones succeed." -- Napoleon
Florob
Posts: 6
Joined: February 27th, 2006, 11:09 pm

Post by Florob »

Tux2B wrote:Would you know where to find the adres of the new ubuntu synaptic repositories?
There is no such thing as "synaptic repositories".
If you mean the repositorys used by the apt system (including synaptic) they are the same as the stable release ones, but with"breezy" substituted by "dapper".
You can just do:
sudo sed -i -e 's/breezy/dapper/g' /etc/apt/sources.list ("-i" is to edit the files in place)
in a terminal.
Remember this is a unstable/experimental version (even if it is quite stable already).
Post Reply