Request changes in Compose.pre

Mihail Konev k.mvc at ya.ru
Mon Oct 10 18:20:23 UTC 2016


On Wed Oct 5 09:40:28 UTC 2016, Victor V. Kustov wrote:
> Sorry for noise, but I'm discouraged by silence. Maybe I need send
> patch by another address or maybe I doing wrong something... Please
> give me a tips how I may do it correctly.

There are the steps supposed to be performed.

http://x.org -> DeveloperStart -> Building X Window System

First, clone the root repo.
$ cd ~
$ git clone git://anongit.freedesktop.org/git/xorg/util/modular xorg
$ cd xorg
$ mkdir b

List the subprojects.
$ sh build.sh -L

Ask it to clone (and build) the lib/libX11 (as the Compose.pre belongs to it).
No problem if build fails.
$ sh build.sh --clone -o lib/libX11 $(pwd)/b
Or clone manually:
$ mkdir lib
$ git clone git://anongit.freedesktop.org/git/xorg/lib/libX11 lib/libX11

Now let's patch it.
$ cd ~/xorg/lib/libX11

Prepare the repository.
$ git checkout -b ruble_sign

Locate the file of interest.
$ find -iname "*compose*"

Apply the changes.
$ vim nls/en_US.UTF-8/Compose.pre

Save them into repository.
$ git status
$ git add nls
$ git diff --staged
$ export EDITOR=vim
$ git commit -e

Follow the Xorg guidelines.
$ git commit --amend --signoff
$ git config --local format.subjectPrefix "PATCH libX11"

Prepare the email.
$ git format-patch HEAD^

Example result below.

---
 nls/en_US.UTF-8/Compose.pre | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.pre
index adc24fb5b5c2..9ea2235b4079 100644
--- a/nls/en_US.UTF-8/Compose.pre
+++ b/nls/en_US.UTF-8/Compose.pre
@@ -190,6 +190,7 @@ XCOMM "₪" U20aa NEW SHEQEL SIGN
 <Multi_key> <equal> <Cyrillic_ES>	: "€"   EuroSign # EURO SIGN
 <Multi_key> <Cyrillic_IE> <equal>	: "€"   EuroSign # EURO SIGN
 <Multi_key> <equal> <Cyrillic_IE>	: "€"   EuroSign # EURO SIGN
+XCOMM <Multi_key> <equal> <P>    	: "₽"   U20bd # RUBLE-CURRENCY SIGN
 XCOMM "₭" U20ad KIP SIGN
 XCOMM "₮" U20ae TUGRIK SIGN
 XCOMM "₯" U20af DRACHMA SIGN
-- 
2.9.2



More information about the xorg-devel mailing list