Network Manager Patch
Matthew Flaschen
matthew.flaschen at gatech.edu
Fri Mar 23 00:58:09 UTC 2007
Patton Echols wrote:
> 1. Is this patch going to show up in Edgy?
> 2. Feisty?
Dunno.
> 3. How does one "easily" (or not so easily) apply such a thing?
>
> If the answer to this last is RTFM, could someone point to the correct
> "FM?" Understand, I look at the patch, I see source code, and wonder
> WTF do I do with that?
Okay, that's understandable. It's a source code diff. A diff is
basically just that, the "difference" between two versions of the source
code. That means with the old version and the patch, you can make the
new version. The program you need for this conversion is patch. The
real problem is finding the right source code to start from. I tried
this with (on the command-line). It might not work (it didn't for me),
so don't get discouraged.:
mkdir NetworkManager
cd NetworkManager
apt-get source network-manager
That gets the version of the source code used for network-manager (in
Dapper in my case).
Then, I put the diff (at the bottom of the page you linked to) into a
file (which I've attached) into the NetworkManager directory.
Then, (starting in the NetworkManager directory)
cd network-manager-*
cp ../atheros.patch .
patch -p0 < atheros.patch
In my case, this didn't work, but you might have better luck. If you
get any questions, it probably won't work for you either. If it goes
through without questions, run:
sudo apt-get build-dep network-manager
It will want to download a lot of development libraries.
Then,
sudo dpkg-buildpackage -uc
If it works
cd..
dpkg -i *.deb
> I don't mind a "double black diamond" learning
> curve (*) but it'd be nice to know where the mountain is.
Try man patch and man diff .
Best,
Matt Flaschen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: atheros.patch
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070322/74430f80/attachment.ksh>
More information about the ubuntu-users
mailing list