diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-misc/xxkb | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-misc/xxkb')
-rw-r--r-- | x11-misc/xxkb/Manifest | 3 | ||||
-rw-r--r-- | x11-misc/xxkb/files/README | 9 | ||||
-rw-r--r-- | x11-misc/xxkb/files/de15.xpm | 22 | ||||
-rw-r--r-- | x11-misc/xxkb/files/de48.xpm | 55 | ||||
-rw-r--r-- | x11-misc/xxkb/files/missing_init.patch | 22 | ||||
-rw-r--r-- | x11-misc/xxkb/files/pl15.xpm | 21 | ||||
-rw-r--r-- | x11-misc/xxkb/files/pl48.xpm | 54 | ||||
-rw-r--r-- | x11-misc/xxkb/files/svg-appdefaults.patch | 30 | ||||
-rw-r--r-- | x11-misc/xxkb/files/svg-flags.patch | 122 | ||||
-rw-r--r-- | x11-misc/xxkb/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/xxkb/xxkb-1.11-r3.ebuild | 79 | ||||
-rw-r--r-- | x11-misc/xxkb/xxkb-1.11.1.ebuild | 77 |
12 files changed, 502 insertions, 0 deletions
diff --git a/x11-misc/xxkb/Manifest b/x11-misc/xxkb/Manifest new file mode 100644 index 000000000000..a0c2b87bc9d7 --- /dev/null +++ b/x11-misc/xxkb/Manifest @@ -0,0 +1,3 @@ +DIST xxkb-1.11-src.tar.gz 37262 SHA256 596d465bd39b2b660c1d19390a82cc5515cbf8f7e9600e82135564469e11bd3c SHA512 12675bee3be5a37b5e471fa763e2f8600859d5621dcf7ea9f004bad8f2200035582661cfb36938e9606582a86570e6de99c30dcf2d988c96604daf1185592c14 WHIRLPOOL da14d3ee40c35efa1dc3eb3b5df17a53540ed9eb007a7b8a42039dbf8bb97052d27ee77d04b3f115c002daebc0a7229aafb855621b057ab294b45cecb5beed87 +DIST xxkb-1.11.1-src.tar.gz 38123 SHA256 ceaa33bed81d8ae5bf77e89787d0736f7564c3de047c35a57bcbf6f4d1888142 SHA512 081629ccee41016cd468bd411c8584298bf64d4d791bf803490f6286a330401b933f895fbff2f4a6d1fcfe86c0490267f86d334436c1cea743ad08d97b26038f WHIRLPOOL 62b4847722ee8f23cc7db6f9bb21b1d01dacd2eb68d5d0db09933b9970c6846bc239d1388bd3d7ada2490a42ce1d56cffa1e1a7e55df029864ae426a0adaf96a +DIST xxkb-flags.tar.bz2 2541 SHA256 f777c676a58ecab97c242efd703c0e8056cc2a93bb5b7a2fdb1f677348d6727c SHA512 c75929bf78a8aa84ffb615c85c2ad70110a9f7b0465891651a57e4772eae5e0ded61d10197f430f9cdd0cf707903af3d0af4250ff1743fdd59d9ff19bc0c33a9 WHIRLPOOL 7c626b2e6ec805b888ebcaeba658978efcbd4528729966a087ac7692b6c2e18ee5deb6dcb5eefea5a31826dce3ebb9c81a87cfc9e01efa5c18d800d8cd0bad6f diff --git a/x11-misc/xxkb/files/README b/x11-misc/xxkb/files/README new file mode 100644 index 000000000000..edac9540b241 --- /dev/null +++ b/x11-misc/xxkb/files/README @@ -0,0 +1,9 @@ +Additional information to the manpage for english speaking users +(written by Patrick Kursawe <phosphan@gentoo.org>): + +The XFree86 documentation (for 4.3 and later) contains the file +/usr/X11R6/lib/X11/doc/README.XKB-Config where you can find +information on how to use mutiple keyboard layouts. + +Xxkb has no own configuration section where you can specify the keymaps - +just configure them for X and let xxkb switch between them. diff --git a/x11-misc/xxkb/files/de15.xpm b/x11-misc/xxkb/files/de15.xpm new file mode 100644 index 000000000000..c0ba71d91934 --- /dev/null +++ b/x11-misc/xxkb/files/de15.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char * de15_xpm[] = { +"15 15 4 1", +" c None", +". c #000000", +"+ c #FF0000", +"@ c #FFE900", +"...............", +"...............", +"...............", +"...............", +"...............", +"+++++++++++++++", +"+++++++++++++++", +"+++++++++++++++", +"+++++++++++++++", +"+++++++++++++++", +"@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@"}; diff --git a/x11-misc/xxkb/files/de48.xpm b/x11-misc/xxkb/files/de48.xpm new file mode 100644 index 000000000000..5cae8928b68d --- /dev/null +++ b/x11-misc/xxkb/files/de48.xpm @@ -0,0 +1,55 @@ +/* XPM */ +static char * de48_xpm[] = { +"48 48 4 1", +" c None", +". c #000000", +"+ c #FF0000", +"@ c #FFE900", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"}; diff --git a/x11-misc/xxkb/files/missing_init.patch b/x11-misc/xxkb/files/missing_init.patch new file mode 100644 index 000000000000..56f9e8ff53a1 --- /dev/null +++ b/x11-misc/xxkb/files/missing_init.patch @@ -0,0 +1,22 @@ +--- a/xxkb.c ++++ b/xxkb.c +@@ -667,12 +667,14 @@ + Window rwin, parent, *children; + int num; + +- XQueryTree(dpy, temp_win, &rwin, &parent, &children, &num); +- AddWindow(temp_win, parent); ++ if (XQueryTree(dpy, temp_win, &rwin, &parent, &children, &num) != 0) ++ { ++ AddWindow(temp_win, parent); + +- if (children != None) { +- XFree(children); +- } ++ if (children != None) { ++ XFree(children); ++ } ++ } + } + break; + diff --git a/x11-misc/xxkb/files/pl15.xpm b/x11-misc/xxkb/files/pl15.xpm new file mode 100644 index 000000000000..709baccacf29 --- /dev/null +++ b/x11-misc/xxkb/files/pl15.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * pl15_xpm[] = { +"15 15 3 1", +" c None", +". c #FFFFFF", +"+ c #FF0000", +"...............", +"...............", +"...............", +"...............", +"...............", +"...............", +"...............", +"+++++++++++++++", +"+++++++++++++++", +"+++++++++++++++", +"+++++++++++++++", +"+++++++++++++++", +"+++++++++++++++", +"+++++++++++++++", +"+++++++++++++++"}; diff --git a/x11-misc/xxkb/files/pl48.xpm b/x11-misc/xxkb/files/pl48.xpm new file mode 100644 index 000000000000..1f3482946b41 --- /dev/null +++ b/x11-misc/xxkb/files/pl48.xpm @@ -0,0 +1,54 @@ +/* XPM */ +static char * pl48_xpm[] = { +"48 48 3 1", +" c None", +". c #FFFFFF", +"+ c #FF0000", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++", +"++++++++++++++++++++++++++++++++++++++++++++++++"}; diff --git a/x11-misc/xxkb/files/svg-appdefaults.patch b/x11-misc/xxkb/files/svg-appdefaults.patch new file mode 100644 index 000000000000..2e8ca3ef0b93 --- /dev/null +++ b/x11-misc/xxkb/files/svg-appdefaults.patch @@ -0,0 +1,30 @@ +--- a/XXkb.ad.var ++++ b/XXkb.ad.var +@@ -4,10 +4,10 @@ + XXkb.group.alt: 2 + + XXkb.mainwindow.enable: yes +-XXkb.mainwindow.geometry: 48x48 +-XXkb.mainwindow.image.1: en48.xpm +-XXkb.mainwindow.image.2: ru48.xpm +-XXkb.mainwindow.image.3: su48.xpm ++XXkb.mainwindow.geometry: 48x48+0+0 ++XXkb.mainwindow.image.1: en.svg ++XXkb.mainwindow.image.2: ru.svg ++XXkb.mainwindow.image.3: su.svg + XXkb.mainwindow.image.4: + XXkb.mainwindow.label.font: -misc-*-r-*-20-* + +@@ -23,9 +23,9 @@ + + XXkb.button.enable: yes + XXkb.button.geometry: 15x15-60+7 +-XXkb.button.image.1: en15.xpm +-XXkb.button.image.2: ru15.xpm +-XXkb.button.image.3: su15.xpm ++XXkb.button.image.1: en.svg ++XXkb.button.image.2: ru.svg ++XXkb.button.image.3: su.svg + XXkb.button.image.4: + XXkb.button.label.font: -misc-*-r-*-13-* + diff --git a/x11-misc/xxkb/files/svg-flags.patch b/x11-misc/xxkb/files/svg-flags.patch new file mode 100644 index 000000000000..971d5d264742 --- /dev/null +++ b/x11-misc/xxkb/files/svg-flags.patch @@ -0,0 +1,122 @@ +--- a/flags/bg.svg ++++ b/flags/bg.svg +@@ -0,0 +1,6 @@ ++<?xml version="1.0" encoding="UTF-8" standalone="no"?> ++<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="600" viewBox="0 0 5 3"> ++<rect width="5" height="3" fill="#fff"/> ++<rect width="5" height="2" y="1" fill="#00966E"/> ++<rect width="5" height="1" y="2" fill="#D62612"/> ++</svg> +--- a/flags/by.svg ++++ b/flags/by.svg +@@ -0,0 +1,20 @@ ++<?xml version="1.0" encoding="UTF-8"?>
++<svg xmlns="http://www.w3.org/2000/svg" width="1200px" height="600px" viewBox="0 0 360 180" xmlns:xlink="http://www.w3.org/1999/xlink">
++<rect fill="#090" width="360" height="180"/>
++<rect fill="#c00" width="360" height="120"/>
++<rect fill="#fff" width="40" height="180"/>
++<g id="g2">
++<g id="g1" fill="#c00">
++<path d="M20,90v-1h-1v-2h-1v-2h-2v2h1v2h1v1z M10,90v-2h-2v-3h-1v-3h-2v-3h-1v-4h2v3h2v3h2v3h1v-3h2v-3h2v-3h2v-3h2v-4h-2v-5h-2v-4h-2v5h1v5h-1v4h-2v4h-1v-4h-2v-4h-2v-5h-1v-4h1v-4h2v-4h1v-4h2v-4h2v4h2v4h2v4h2v5h1v15h-2v3h-2v3h-2v3h-1v3h-2v2z M11,37h2v-4h2v-4h2v-4h2v-4h1v-4h-1v-4h-2v-4h-2v-4h-2v-4h-2v4h-2v4h-2v4h-2v4h-1v4h1v4h2v4h2v4h2v4z M4,9v-4h2v4zM4,33v-4h2v4z M4,52v-4h2v4z M4,74v-4h2v4z M4,90v-2h2v2z M14,90v-2h2v2z M19,84v-4h1v4z M19,52v-4h1v4z M19,33v-4h2v4z M19,9v-4h1v4z"/>
++<path fill="#fff" d="M11,29h2v-4h2v-4h2v-4h-2v-4h-2v-4h-2v4h-2v4h-2v4h2v4h2v4z"/>
++<path d="M11,21h2v-4h-2v4z"/>
++<g id="g3">
++<path d="M17,48h1v-3h1v-3h1v-3h-1v-3h-1v-3h-1v3h-1v3h-1v3h1v3h1v3z"/>
++<path fill="#fff" d="M17,39h1v3h-1v-3z"/>
++</g>
++<use xlink:href="#g3" transform="translate(-10)"/>
++</g>
++<use xlink:href="#g1" transform="rotate(180, 20,90)"/>
++</g>
++<use xlink:href="#g2" transform="translate(0,180) scale(1,-1)"/>
++</svg> +\ Kein Zeilenumbruch am Dateiende. +--- a/flags/de.svg ++++ b/flags/de.svg +@@ -0,0 +1,9 @@ ++<?xml version="1.0" encoding="UTF-8" standalone="no"?>
++<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
++ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
++<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="600" viewBox="0 0 5 3">
++ <desc>Flag of Germany</desc>
++ <rect id="black_stripe" width="5" height="3" y="0" x="0" fill="#000"/>
++ <rect id="red_stripe" width="5" height="2" y="1" x="0" fill="#D00"/>
++ <rect id="gold_stripe" width="5" height="1" y="2" x="0" fill="#FFCE00"/>
++</svg>
+--- a/flags/en.svg ++++ b/flags/en.svg +@@ -0,0 +1,10 @@ ++<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30" width="1200" height="600"> ++<clipPath id="t"> ++ <path d="M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"/> ++</clipPath> ++<path d="M0,0 v30 h60 v-30 z" fill="#00247d"/> ++<path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"/> ++<path d="M0,0 L60,30 M60,0 L0,30" clip-path="url(#t)" stroke="#cf142b" stroke-width="4"/> ++<path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"/> ++<path d="M30,0 v30 M0,15 h60" stroke="#cf142b" stroke-width="6"/> ++</svg> +--- a/flags/il.svg ++++ b/flags/il.svg +@@ -0,0 +1,35 @@ ++<?xml version="1.0" encoding="utf-8"?> ++<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" ++ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> ++<svg xmlns="http://www.w3.org/2000/svg" version="1.1" ++ xmlns:xlink="http://www.w3.org/1999/xlink" ++ width="660" height="480" viewBox="0 0 220 160"> ++ <desc>Flag of Israel</desc> ++ <defs> ++ <!-- Specs are taken from "The Provisional Council of State Proclamation of ++ the Flag of the State of Israel," 25 Tishrei 5709 (28 October 1948) ++ For Magen David, the "Israel Science and Technology Homepage" at ++ http://www.science.co.il/Israel-flag.asp specifies each side as 60 cm. ++ Outer radius is then 30 / cos(30) = 20 * sqrt(3) ++ For equilateral triangles, middle radius = outer radius - width: ++ 20 * sqrt(3) - 5.5 ++ Coordinates for upward-pointing triangle relative to center are then: ++ ( 0,-(20*sqrt(3) - 5.5) ) ++ (-(20*sqrt(3) - 5.5) * cos(30), (20*sqrt(3) - 5.5) * sin(30)) ++ ( (20*sqrt(3) - 5.5) * cos(30), (20*sqrt(3) - 5.5) * sin(30)) --> ++ <polygon id="triangle" points="0,-29.1410161513775421 ++ -25.2368602791855814, 14.5705080756887710 ++ 25.2368602791855814, 14.5705080756887710" ++ stroke="#0038b8" stroke-width="5.5" fill-opacity="0"/> ++ </defs> ++ <!-- "The flag is 220 cm long and 160 cm wide. The background is white" --> ++ <rect width="220" height="160" fill="white"/> ++ <!-- "...two stripes of dark sky-blue, 25 cm broad, over the whole length of ++ the flag, at a distance of 15 cm from the top and from the bottom..." ++ Legislation does not specify exact shade of blue; "#0038b8" is typical of ++ flags used in Israel --> ++ <rect width="220" height="25" fill="#0038b8" y="15"/> ++ <rect width="220" height="25" fill="#0038b8" y="120"/> ++ <use xlink:href="#triangle" transform="translate(110,80)"/> ++ <use xlink:href="#triangle" transform="translate(110,80) rotate(180)"/> ++</svg> +--- a/flags/pl.svg ++++ b/flags/pl.svg +@@ -0,0 +1,6 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> ++<svg width="1280" height="800" id="Flag of Poland" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 10"> ++<rect width="16" height="5" fill="#fff"/> ++<rect width="16" height="5" fill="#dc143c" y="5"/> ++</svg> +--- a/flags/ru.svg ++++ b/flags/ru.svg +@@ -0,0 +1 @@ ++<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6" width="900" height="600"><rect fill="#FFF" width="9" height="3"/><rect fill="#F00" y="3" width="9" height="3"/><rect fill="#00F" y="2" width="9" height="2"/></svg> +\ Kein Zeilenumbruch am Dateiende. +--- a/flags/su.svg ++++ b/flags/su.svg +@@ -0,0 +1 @@ ++<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="600" height="300" viewBox="0 0 600 300"><rect width="600" height="300" style="fill:#c00"/><path d="M 67.8,79.9 L 76.5,88.6 L 83.6,81.3 C 99.4,97.6 115.2,114 131,130.3 C 134.5,129.5 136.4,128.1 137.5,124.1 L 88.8,76.2 L 98.6,67.4 L 84.3,63.5 L 67.8,79.9 L 67.8,79.9 z" id="hammer" style="fill:#ffd700"/><path d="M 95.8,30.7 L 82.3,30.7 L 93.2,38.7 L 89.1,51.5 L 100,43.6 L 110.9,51.5 L 106.8,38.6 L 117.7,30.7 L 104.2,30.7 L 100,17.8008 L 100,17.8 L 95.8,30.7 z M 100,25.8 L 102.4,33.2 L 110.1,33.2 L 103.9,37.7 L 106.26115,45.055357 L 99.99998,40.501778 L 93.73881,45.1 L 96.1,37.7 L 89.9,33.17 L 97.62,33.17 L 100,25.8 L 100,25.8 z" id="star" style="fill:#ffd700"/><path d="M 100.1,55.3 C 121.1,63 134.3,80.6 134.38,93.6 C 134.6,122.3 103.3,136.1 83.1,113 L 81.7,114 L 82,116.5 C 75.9,115.9 70.4,134.6 63.8,129.4 C 57.8,121.8 74.4,118.3 76.1,110.6 L 78.5,110.8 L 80.5,108.7 L 82.4,109 L 84.8,106.5 C 104.5,127.3 129.4,111.2 125.9,90.5 C 123.4,74.6 113.4,65.5 100,55.3 L 100.1,55.3 L 100.1,55.3 L 100.1,55.3 L 100.1,55.3 L 100.1,55.3 L 100.1,55.3 z" id="sichel" style="fill:#ffd700"/></svg>
+--- a/flags/ua.svg ++++ b/flags/ua.svg +@@ -0,0 +1,4 @@ ++<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="800">
++<rect width="1200" height="800" fill="#005BBB"/>
++<rect width="1200" height="400" y="400" fill="#FFD500"/>
++</svg> +\ Kein Zeilenumbruch am Dateiende. diff --git a/x11-misc/xxkb/metadata.xml b/x11-misc/xxkb/metadata.xml new file mode 100644 index 000000000000..37b1d4e5f29c --- /dev/null +++ b/x11-misc/xxkb/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> + <upstream> + <remote-id type="sourceforge">xxkb</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-misc/xxkb/xxkb-1.11-r3.ebuild b/x11-misc/xxkb/xxkb-1.11-r3.ebuild new file mode 100644 index 000000000000..c89979d6a01c --- /dev/null +++ b/x11-misc/xxkb/xxkb-1.11-r3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils multilib + +DESCRIPTION="eXtended XKB - assign different keymaps to different windows" +HOMEPAGE="http://sourceforge.net/projects/xxkb/" +SRC_URI=" + mirror://sourceforge/${PN}/${P}-src.tar.gz + svg? ( https://dev.gentoo.org/~jer/${PN}-flags.tar.bz2 ) +" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="svg" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXt + svg? ( + dev-libs/glib:2 + gnome-base/librsvg:2 + x11-libs/gtk+:2 + ) +" +DEPEND=" + ${RDEPEND} + app-text/rman + svg? ( virtual/pkgconfig ) + x11-misc/imake +" + +S="${WORKDIR}/${PN}" + +src_prepare() { + if use svg; then + mv "${WORKDIR}"/flags . || die + epatch "${FILESDIR}"/svg-flags.patch + epatch "${FILESDIR}"/svg-appdefaults.patch + fi + + epatch "${FILESDIR}"/missing_init.patch +} + +src_configure() { + xmkmf $(usex svg -DWITH_SVG_SUPPORT '') || die +} + +src_compile() { + emake \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LIBRARIES="-lXext" \ + LOCAL_LDFLAGS="${LDFLAGS}" \ + PIXMAPDIR=/usr/share/xxkb \ + PROJECTROOT=/usr +} + +src_install() { + local myopts + if use svg; then + myopts="PIXMAPS=flags/de.svg flags/pl.svg flags/il.svg flags/by.svg \ + flags/ua.svg flags/su.svg flags/ru.svg flags/bg.svg flags/en.svg" + else + myopts="FOOBAR=buzz" + fi + + emake "${myopts}" DESTDIR="${D}" install + rm -r "${D}"/usr/$(get_libdir)/X11/app-defaults || die + + emake DESTDIR="${D}" install.man + + insinto /usr/share/xxkb + use svg || doins "${FILESDIR}"/*.xpm + dodoc README* CHANGES* +} diff --git a/x11-misc/xxkb/xxkb-1.11.1.ebuild b/x11-misc/xxkb/xxkb-1.11.1.ebuild new file mode 100644 index 000000000000..8eea724bbc28 --- /dev/null +++ b/x11-misc/xxkb/xxkb-1.11.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils multilib + +DESCRIPTION="eXtended XKB - assign different keymaps to different windows" +HOMEPAGE="http://sourceforge.net/projects/xxkb/" +SRC_URI=" + mirror://sourceforge/${PN}/${P}-src.tar.gz + svg? ( https://dev.gentoo.org/~jer/${PN}-flags.tar.bz2 ) +" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="svg" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXt + svg? ( + dev-libs/glib:2 + gnome-base/librsvg:2 + x11-libs/gtk+:2 + ) +" +DEPEND=" + ${RDEPEND} + app-text/rman + svg? ( virtual/pkgconfig ) + x11-misc/imake +" + +src_prepare() { + if use svg; then + mv "${WORKDIR}"/flags . || die + epatch "${FILESDIR}"/svg-flags.patch + epatch "${FILESDIR}"/svg-appdefaults.patch + fi + + epatch "${FILESDIR}"/missing_init.patch +} + +src_configure() { + xmkmf $(usex svg -DWITH_SVG_SUPPORT '') || die +} + +src_compile() { + emake \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LIBRARIES="-lXext" \ + LOCAL_LDFLAGS="${LDFLAGS}" \ + PIXMAPDIR=/usr/share/xxkb \ + PROJECTROOT=/usr +} + +src_install() { + local myopts + if use svg; then + myopts="PIXMAPS=flags/de.svg flags/pl.svg flags/il.svg flags/by.svg \ + flags/ua.svg flags/su.svg flags/ru.svg flags/bg.svg flags/en.svg" + else + myopts="FOOBAR=buzz" + fi + + emake "${myopts}" DESTDIR="${D}" install + rm -r "${D}"/usr/$(get_libdir)/X11/app-defaults || die + + emake DESTDIR="${D}" install.man + + insinto /usr/share/xxkb + use svg || doins "${FILESDIR}"/*.xpm + dodoc README* CHANGES* +} |