camel9,

This was my first patch here. So please don't take my word as
authoritative information. Meaning that this may not be the best way to
do it. Just one way. :-)

As pointed out by gdi2k, this problem had already been fixed by some
other patch, which also fixes additional issues, just before I submitted
the patch for this specific problem. But the fix is yet to be available
in ubuntu repositories. So simple way to get the update for now, would
be to download latest gcalctool from gnome website and install.

But if you just want to know how source patching works, try this:

1. Download the source code with the following command. This will get you 
version 5.22.1 as per this writing: "sudo apt-get source gcalctool"
2. Extract source code from the tar archive to some folder e.g. /tmp
3. Download the patch file and use the patch command to apply the patch to your 
source code e.g.: patch --input=/tmp/thousand_separator_fix_raguanu.patch
4. When asked provide path to display.c and the file will be patched/updated. 
e.g. /tmp/gcalctool-5.22.1/gcalctool/display.c
5. After this is done you need to compile the source code. I suggest you to use 
IDEs (Anjuta) which will make the process easy.

I realized that I didn't prepare the patch file well in order to
facilitate easy applying. I will take this note next time.

Hope this helps,
Ragu

-- 
Too many commas in gcalctool
https://bugs.launchpad.net/bugs/208260
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to