How to build a .deb of 1.5.3 for Ubuntu
Moderator: Forum Moderators
-
- Posts: 33
- Joined: August 25th, 2008, 12:13 pm
Re: How to build a .deb of 1.5.3 for Ubuntu
Ok, this methode worked:
The path must be modified from /usr/share/games to /usr/share/games/wesnoth or to /usr/share/wesnoth because datadir is not the preset but the programm path.
The disadvantage of this methode is that the second line compiles the stuff again, but why?
Code: Select all
scons wesnoth datadir=/usr/share/games/wesnoth
sudo checkinstall --install=no scons install
The disadvantage of this methode is that the second line compiles the stuff again, but why?
- loonycyborg
- Windows Packager
- Posts: 295
- Joined: April 1st, 2008, 4:45 pm
- Location: Russia/Moscow
Re: How to build a .deb of 1.5.3 for Ubuntu
Some weird scons bug causes some files to be recompiled during install. This bug won't occur if you do it like this:Schuttwegraeumer wrote: The disadvantage of this method is that the second line compiles the stuff again, but why?
Code: Select all
scons wesnoth datadir=/usr/share/games/wesnoth
sudo checkinstall --install=no scons install --implicit-deps-unchanged
Code: Select all
sudo checkinstall --install=no scons wesnoth install datadir=/usr/share/games/wesnoth
"meh." - zookeeper
-
- Posts: 33
- Joined: August 25th, 2008, 12:13 pm
Re: How to build a .deb of 1.5.3 for Ubuntu
Ahhhh, perfekt!!11
Ok, its too late for the last line because the compiling is on the way.
But the installing without recompiling won't take much time.
Ok, its too late for the last line because the compiling is on the way.
But the installing without recompiling won't take much time.