Tremulous Forum

General => Troubleshooting => Topic started by: enigma on January 13, 2007, 08:59:23 pm

Title: Easy fix for brightness in Edgy
Post by: enigma on January 13, 2007, 08:59:23 pm
I just upgraded to Edgy and found that Tremulous had become too dark to play.  Here is a quick and painless fix:

Open a terminal and type
 
Code: [Select]
sudo gedit /etc/apt/sources.list

Find this line
Code: [Select]
deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse

and change it to this
Code: [Select]
deb http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse

Save it and start up Synaptic, Adept, or whatever you use.  Hit the reload button.  When it's done updating, search for libsdl1.2debian.  Right-click the package with that name and select upgrade.  Synaptic will also want to upgrade a few other packages.  Click apply.  When the update is complete, put your sources.list back the way it was and start playing Trem!
Title: Easy fix for brightness in Edgy
Post by: kevlarman on January 13, 2007, 09:34:31 pm
or you could just enable backports instead of risking something like edgy's early X breakage.
Title: Easy fix for brightness in Edgy
Post by: enigma on January 14, 2007, 11:07:05 pm
it didn't show up in the backports
Title: Easy fix for brightness in Edgy
Post by: Odin on January 15, 2007, 03:24:18 am
It might be better to apt-get source libsdl1.2debian after you change to the feisty repos. This will fetch the sources and will allow you to change back to edgy, so you can backport it yourself.

In fact, I just did that, and it works. Here's what I did:

In terminal: sudo apt-get build-dep libsdl1.2debian
Then I changed the repo location to feisty, as you said.
In terminal: sudo apt-get update && sudo apt-get source libsdl1.2debian
In terminal: cd libsdl1.2-1.2.11/
In terminal: sudo fakeroot debian/rules binary
After the build was done, I changed the repo back to edgy. I then installed(with dpkg -i) the built package of my choice(libsdl1.2debian-alsa where you downloaded the sources.
To fix unmet dependencies, install the built libsdl1.2-dev and libsdl1.2debian(base package) along with your libsdl1.2debian-soundprovider package. You should have no problems with dependencies with the edgy repo later on.
Title: Easy fix for brightness in Edgy
Post by: Caveman on January 15, 2007, 09:26:18 am
why not just do a apt-get install libsdl1.2debian? That would give you version 1.2.11-7 w/o the hassle to compile?

NO ONE using debian should add any repository to his apt-source that are not made for his flavor debian.
Title: Easy fix for brightness in Edgy
Post by: yo mama! on January 15, 2007, 04:57:25 pm
why cant you just push teh menu button on the monitor? THats what i did.
Title: Easy fix for brightness in Edgy
Post by: Odin on January 16, 2007, 01:21:07 am
Quote from: "Caveman"
why not just do a apt-get install libsdl1.2debian? That would give you version 1.2.11-7 w/o the hassle to compile?

NO ONE using debian should add any repository to his apt-source that are not made for his flavor debian.
Because backporting it allows you to keep the edgy repositories. If you keep it as feisty, then it will attempt to upgrade everything else that is a higher version in feisty. It will also build libsdl1.2debian 1.2.11-7 with your current system libraries/etc and not the feisty ones.
Title: Easy fix for brightness in Edgy
Post by: kevlarman on January 16, 2007, 01:36:27 am
why are you going through this effort anyway? fresh installs of edgy should have this fixed (so it's either in the backports repository, or the main one)
Title: Easy fix for brightness in Edgy
Post by: Odin on January 16, 2007, 01:55:11 am
Maybe we want the stability/surefire fixed version of 1.2.11? You tell me why people backport things.
Title: Easy fix for brightness in Edgy
Post by: Caveman on January 16, 2007, 02:39:50 am
Odin, I was talking about DEBIAN .)
And in DEBIAN you just don't add sources that are not made for the flavor installed, else it _will_ break the system. And yes even backported stuff can break your system if you are a newbie and have not been warned of the dangers.
Title: Easy fix for brightness in Edgy
Post by: enigma on January 16, 2007, 02:44:02 am
Alternatively, you could just brave libsdl.org and download the latest source.  The feisty version worked fine, but I like to be on the cutting edge.  The only problem is that the download speed was reminiscent of the days when I connected to the internet via a 2400 baud modem and thought it was fast.