extra packages for default illume keyboards
Hello all,
For SHR we want to be able to remove illumes default keyboard as most people don't like it. To be able to do this nicely via the package manager we need to have them in extra packages.
The first patch just moves a bunch of custom illume keyboards to the correct place (at least I think so :)
The second patch patches e-wm to not install the three default keyboards. Common images used by all (or at least more) keyboards will still be installed though.
The third patch adds a recipe with three subpackages - one for each default keyboard.
Note: this is just a draft. I did not even try if it parses, builds or even works ;) I will do that, if something like this is acceptable.
What do you think?
Klaus 'mrmoku' Kurzmann
PATCH 1/3 illume-keboard-*: move from efl1 to e17 where they belong to
From: Klaus Kurzmann <[email protected]>
--- recipes/e17/illume-keyboard-arabic_git.bb | 12 ++++++++++ recipes/e17/illume-keyboard-browse_git.bb | 20 ++++++++++++++++++ recipes/e17/illume-keyboard-danish_git.bb | 12 ++++++++++ recipes/e17/illume-keyboard-default-alt_git.bb | 12 ++++++++++ recipes/e17/illume-keyboard-dutch_git.bb | 22 ++++++++++++++++++++ recipes/e17/illume-keyboard-dvorak_git.bb | 12 ++++++++++ recipes/e17/illume-keyboard-french_git.bb | 11 ++++++++++ recipes/e17/illume-keyboard-german_git.bb | 12 ++++++++++ recipes/e17/illume-keyboard-hebrew_git.bb | 12 ++++++++++ recipes/e17/illume-keyboard-numeric-alt_git.bb | 19 +++++++++++++++++ .../e17/illume-keyboard-russian-terminal_git.bb | 10 +++++++++ recipes/e17/illume-keyboard-russian_git.bb | 12 ++++++++++ recipes/e17/illume-keyboard.inc | 14 ++++++++++++ recipes/efl1/illume-keyboard-arabic_git.bb | 12 ---------- recipes/efl1/illume-keyboard-browse_git.bb | 20 ------------------ recipes/efl1/illume-keyboard-danish_git.bb | 12 ---------- recipes/efl1/illume-keyboard-default-alt_git.bb | 12 ---------- recipes/efl1/illume-keyboard-dutch_git.bb | 22 -------------------- recipes/efl1/illume-keyboard-dvorak_git.bb | 12 ---------- recipes/efl1/illume-keyboard-french_git.bb | 11 ---------- recipes/efl1/illume-keyboard-german_git.bb | 12 ---------- recipes/efl1/illume-keyboard-hebrew_git.bb | 12 ---------- recipes/efl1/illume-keyboard-numeric-alt_git.bb | 19 ----------------- .../efl1/illume-keyboard-russian-terminal_git.bb | 10 --------- recipes/efl1/illume-keyboard-russian_git.bb | 12 ---------- recipes/efl1/illume-keyboard.inc | 14 ------------ 26 files changed, 180 insertions(+), 180 deletions(-) create mode 100644 recipes/e17/illume-keyboard-arabic_git.bb create mode 100644 recipes/e17/illume-keyboard-browse_git.bb create mode 100644 recipes/e17/illume-keyboard-danish_git.bb create mode 100644 recipes/e17/illume-keyboard-default-alt_git.bb create mode 100644 recipes/e17/illume-keyboard-dutch_git.bb create mode 100644 recipes/e17/illume-keyboard-dvorak_git.bb create mode 100644 recipes/e17/illume-keyboard-french_git.bb create mode 100644 recipes/e17/illume-keyboard-german_git.bb create mode 100644 recipes/e17/illume-keyboard-hebrew_git.bb create mode 100644 recipes/e17/illume-keyboard-numeric-alt_git.bb create mode 100644 recipes/e17/illume-keyboard-russian-terminal_git.bb create mode 100644 recipes/e17/illume-keyboard-russian_git.bb create mode 100644 recipes/e17/illume-keyboard.inc delete mode 100644 recipes/efl1/illume-keyboard-arabic_git.bb delete mode 100644 recipes/efl1/illume-keyboard-browse_git.bb delete mode 100644 recipes/efl1/illume-keyboard-danish_git.bb delete mode 100644 recipes/efl1/illume-keyboard-default-alt_git.bb delete mode 100644 recipes/efl1/illume-keyboard-dutch_git.bb delete mode 100644 recipes/efl1/illume-keyboard-dvorak_git.bb delete mode 100644 recipes/efl1/illume-keyboard-french_git.bb delete mode 100644 recipes/efl1/illume-keyboard-german_git.bb delete mode 100644 recipes/efl1/illume-keyboard-hebrew_git.bb delete mode 100644 recipes/efl1/illume-keyboard-numeric-alt_git.bb delete mode 100644 recipes/efl1/illume-keyboard-russian-terminal_git.bb delete mode 100644 recipes/efl1/illume-keyboard-russian_git.bb delete mode 100644 recipes/efl1/illume-keyboard.inc
recipes/e17/illume-keyboard-arabic_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +AUTHOR = "Mohammad Fahmi / Tom Hacohen" +DESCRIPTION = "Illume keyboard with arabic layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "arabic" +INSTFILES = "Arabic.kbd Arabic.png" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-browse_git.bb new file +20 -0
@@ -0,0 +1,20 @@ +AUTHOR = "Pander" +DESCRIPTION = "Illume keyboard with a layout optimized for browsing" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "browse" +INSTFILES = "\ +Browse.kbd \ +end-browse.png \ +pagedown-browse.png \ +browse.png \ +home-browse.png \ +pageup-browse.png \ +space-browse.png \ +" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-danish_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +AUTHOR = "Esben Damgaard" +DESCRIPTION = "Illume keyboard with danish layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "danish" +INSTFILES = "Danish.kbd danish.png" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-default-alt_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +AUTHOR = "Pander" +DESCRIPTION = "Illume keyboard with an alternative default layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "default-alt" +INSTFILES = "Default-alt.kbd" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-dutch_git.bb new file +22 -0
@@ -0,0 +1,22 @@ +AUTHOR = "Pander" +DESCRIPTION = "Illume keyboard with dutch layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "dutch" +INSTFILES = "\ +capslock-negative.png \ +end.png \ +pagedown.png \ +qwerty-dutch-nl.png \ +Terminal-dutch-nl.kbd \ +capslock.png \ +home.png \ +pageup.png \ +space.png \ +" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-dvorak_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +AUTHOR = "Gabor Adam TOTH" +DESCRIPTION = "Illume keyboard with dvorak layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "dvorak" +INSTFILES = "Dvorak.kbd dvorak.png" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-french_git.bb new file +11 -0
@@ -0,0 +1,11 @@ +DESCRIPTION = "Illume keyboard with french layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "french" +INSTFILES = "Azerty.kbd Azerty.png" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-german_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +AUTHOR = "Florian Hackenberger" +DESCRIPTION = "Illume keyboard with german layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "german" +INSTFILES = "German.kbd German.png" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-hebrew_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +AUTHOR = "Tom Hacohen" +DESCRIPTION = "Illume keyboard with hebrew layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "hebrew" +INSTFILES = "Hebrew.kbd Alpha-hebrew-il.png" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-numeric-alt_git.bb new file +19 -0
@@ -0,0 +1,19 @@ +AUTHOR = "Pander" +DESCRIPTION = "Illume keyboard with an alternative numeric layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "numeric-alt" +INSTFILES = "\ +end-alt.png \ +home-alt.png \ +Numbers-alt.kbd \ +numeric-alt.png \ +pagedown-alt.png \ +pageup-alt.png \ +" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard-russian-terminal_git.bb new file +10 -0
@@ -0,0 +1,10 @@ +AUTHOR = "lucky" +DESCRIPTION = "Illume keyboard with russian layout for the Terminal" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "russian-terminal" +INSTFILES = "Terminal_Russian.kbd Terminal-russian-ru.png" + +require illume-keyboard.inc
recipes/e17/illume-keyboard-russian_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +AUTHOR = "lucky" +DESCRIPTION = "Illume keyboard with russian layout" +PV = "0.0+gitr${SRCREV}" +PE = "1" +PR = "r0" + +BASEDIR = "russian" +INSTFILES = "X8_Russian.kbd X8-russian-ru.png" + +require illume-keyboard.inc + +
recipes/e17/illume-keyboard.inc new file +14 -0
@@ -0,0 +1,14 @@ +SECTION = "x11/data" + +SRC_URI = "git://git.shr-project.org/repo/illume-keyboards.git;protocol=http;branch=master" +S = "${WORKDIR}/git" + +FILES_${PN} = "${libdir}/enlightenment/modules/illume/keyboards/*" +PACKAGE_ARCH = "all" + +do_install() { + install -d ${D}${libdir}/enlightenment/modules/illume/keyboards + for f in ${INSTFILES}; do + install -m 0644 ${S}/${BASEDIR}/${f} ${D}${libdir}/enlightenment/modules/illume/keyboards/ + done +}
recipes/efl1/illume-keyboard-arabic_git.bb deleted +0 -12
@@ -1,12 +0,0 @@ -AUTHOR = "Mohammad Fahmi / Tom Hacohen" -DESCRIPTION = "Illume keyboard with arabic layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "arabic" -INSTFILES = "Arabic.kbd Arabic.png" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-browse_git.bb deleted +0 -20
@@ -1,20 +0,0 @@ -AUTHOR = "Pander" -DESCRIPTION = "Illume keyboard with a layout optimized for browsing" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "browse" -INSTFILES = "\ -Browse.kbd \ -end-browse.png \ -pagedown-browse.png \ -browse.png \ -home-browse.png \ -pageup-browse.png \ -space-browse.png \ -" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-danish_git.bb deleted +0 -12
@@ -1,12 +0,0 @@ -AUTHOR = "Esben Damgaard" -DESCRIPTION = "Illume keyboard with danish layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "danish" -INSTFILES = "Danish.kbd danish.png" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-default-alt_git.bb deleted +0 -12
@@ -1,12 +0,0 @@ -AUTHOR = "Pander" -DESCRIPTION = "Illume keyboard with an alternative default layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "default-alt" -INSTFILES = "Default-alt.kbd" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-dutch_git.bb deleted +0 -22
@@ -1,22 +0,0 @@ -AUTHOR = "Pander" -DESCRIPTION = "Illume keyboard with dutch layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "dutch" -INSTFILES = "\ -capslock-negative.png \ -end.png \ -pagedown.png \ -qwerty-dutch-nl.png \ -Terminal-dutch-nl.kbd \ -capslock.png \ -home.png \ -pageup.png \ -space.png \ -" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-dvorak_git.bb deleted +0 -12
@@ -1,12 +0,0 @@ -AUTHOR = "Gabor Adam TOTH" -DESCRIPTION = "Illume keyboard with dvorak layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "dvorak" -INSTFILES = "Dvorak.kbd dvorak.png" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-french_git.bb deleted +0 -11
@@ -1,11 +0,0 @@ -DESCRIPTION = "Illume keyboard with french layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "french" -INSTFILES = "Azerty.kbd Azerty.png" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-german_git.bb deleted +0 -12
@@ -1,12 +0,0 @@ -AUTHOR = "Florian Hackenberger" -DESCRIPTION = "Illume keyboard with german layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "german" -INSTFILES = "German.kbd German.png" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-hebrew_git.bb deleted +0 -12
@@ -1,12 +0,0 @@ -AUTHOR = "Tom Hacohen" -DESCRIPTION = "Illume keyboard with hebrew layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "hebrew" -INSTFILES = "Hebrew.kbd Alpha-hebrew-il.png" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-numeric-alt_git.bb deleted +0 -19
@@ -1,19 +0,0 @@ -AUTHOR = "Pander" -DESCRIPTION = "Illume keyboard with an alternative numeric layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "numeric-alt" -INSTFILES = "\ -end-alt.png \ -home-alt.png \ -Numbers-alt.kbd \ -numeric-alt.png \ -pagedown-alt.png \ -pageup-alt.png \ -" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard-russian-terminal_git.bb deleted +0 -10
@@ -1,10 +0,0 @@ -AUTHOR = "lucky" -DESCRIPTION = "Illume keyboard with russian layout for the Terminal" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "russian-terminal" -INSTFILES = "Terminal_Russian.kbd Terminal-russian-ru.png" - -require illume-keyboard.inc
recipes/efl1/illume-keyboard-russian_git.bb deleted +0 -12
@@ -1,12 +0,0 @@ -AUTHOR = "lucky" -DESCRIPTION = "Illume keyboard with russian layout" -PV = "0.0+gitr${SRCREV}" -PE = "1" -PR = "r0" - -BASEDIR = "russian" -INSTFILES = "X8_Russian.kbd X8-russian-ru.png" - -require illume-keyboard.inc - -
recipes/efl1/illume-keyboard.inc deleted +0 -14
@@ -1,14 +0,0 @@ -SECTION = "x11/data" - -SRC_URI = "git://git.shr-project.org/repo/illume-keyboards.git;protocol=http;branch=master" -S = "${WORKDIR}/git" - -FILES_${PN} = "${libdir}/enlightenment/modules/illume/keyboards/*" -PACKAGE_ARCH = "all" - -do_install() { - install -d ${D}${libdir}/enlightenment/modules/illume/keyboards - for f in ${INSTFILES}; do - install -m 0644 ${S}/${BASEDIR}/${f} ${D}${libdir}/enlightenment/modules/illume/keyboards/ - done -}
Signature · 1 line
1.6.5.2
PATCH 2/3 e-wm_svn: add patch to not install the default keyboards
From: Klaus Kurzmann <[email protected]>
--- recipes/e17/e-wm/drop-ilume-keyboards.patch | 17 +++++++++++++++++ recipes/e17/e-wm_svn.bb | 3 ++- 2 files changed, 19 insertions(+), 1 deletions(-) create mode 100644 recipes/e17/e-wm/drop-ilume-keyboards.patch
recipes/e17/e-wm/drop-ilume-keyboards.patch new file +17 -0
@@ -0,0 +1,17 @@ +Index: e/src/modules/illume/keyboards/Makefile.am +=================================================================== +--- e/src/modules/illume/keyboards/Makefile.am (revision 43437) ++++ e/src/modules/illume/keyboards/Makefile.am (working copy) +@@ -4,12 +4,6 @@ + filesdir = $(libdir)/enlightenment/modules/$(MODULE)/keyboards + files_DATA = \ + ignore_built_in_keyboards \ +- Default.kbd \ +- alpha.png \ +- Numbers.kbd \ +- numeric.png \ +- Terminal.kbd \ +- qwerty.png \ + up.png \ + down.png \ + left.png \
recipes/e17/e-wm_svn.bb +2 -1
@@ -3,7 +3,7 @@ DEPENDS = "eet evas ecore edje efreet edbus" LICENSE = "MIT BSD" SRCNAME = "e" PV = "0.16.999.060+svnr${SRCPV}" -PR = "r6" +PR = "r7" inherit e update-alternatives
@@ -12,6 +12,7 @@ SRC_URI += "\ file://applications.menu \ file://gsm-segfault-fix.patch;patch=1;maxrev=37617 \ file://fix-profiles.diff;patch=1;maxrev=39889 \ + file://drop-illume-keyboards.patch;patch=1 \ " SRC_URI_append_openmoko = " file://illume-disable-screensaver.patch;patch=1"
Signature · 1 line
1.6.5.2
PATCH 3/3 illume-keyboard-default: new recipe for default illume keyboards as e-wm does not install them anymore (via a patch to the makefile), we can put them in extra packages.
From: Klaus Kurzmann <[email protected]>
--- conf/distro/include/sane-srcrevs.inc | 3 ++ recipes/e17/illume-keyboard-default_svn.bb | 43 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 0 deletions(-) create mode 100644 recipes/e17/illume-keyboard-default_svn.bb
conf/distro/include/sane-srcrevs.inc +3 -0
@@ -412,6 +412,9 @@ SRCREV_pn-illume ?= "${EFL_SRCREV}" SRCREV_pn-illume-theme-illume ?= "${EFL_SRCREV}" SRCREV_pn-waker ?= "${EFL_SRCREV}" +#illume default keyboards +SRCREV_pn-illume-keyboard-default ?= "${EFL_SRCREV}" + #exalt SRCREV_pn-exalt ?= "${EFL_SRCREV}" SRCREV_pn-exalt-client ?= "${EFL_SRCREV}"
recipes/e17/illume-keyboard-default_svn.bb new file +43 -0
43 lines not on this page · raw message
Signature · 1 line
1.6.5.2
Quoted 9 lines · On 20-11-09 23:21, [email protected] wrote:
Hello all,
For SHR we want to be able to remove illumes default keyboard as most people don't like it. To be able to do this nicely via the package manager we need to have them in extra packages.
The first patch just moves a bunch of custom illume keyboards to the correct place (at least I think so :)
I can't really see why all those keyboards need to have a different recipe, it looks like a single recipe could generate all the needed packages, no?
regards,
Koen
Quoted 8 lines · Koen Kooi
Quoted 7 lines · On 20-11-09 23:21, [email protected] wrote:
Hello all,
For SHR we want to be able to remove illumes default keyboard as most people don't like it. To be able to do this nicely via the package manager we need to have them in extra packages.
Quoted 6 lines
Quoted 2 lines
The first patch just moves a bunch of custom illume keyboards to the correct place (at least I think so :)
I can't really see why all those keyboards need to have a different recipe, it looks like a single recipe could generate all the needed packages, no?
for the three default keyboards from illume it is one recipe. For the others... I could do one illume-keyboards-shr_git.bb for them if that is preferred. Might be cleaner, yes.
Quoted 3 lines
regards,
Koen
Signature · 1 line
Klaus 'mrmoku' Kurzmann
Quoted 5 lines · On Fri, 20 Nov 2009, [email protected] wrote:
Hello all,
For SHR we want to be able to remove illumes default keyboard as most people don't like it. To be able to do this nicely via the package manager we need to have them in extra packages.
so... would anybody object to split out the illume keyboards into an extra package, or can I go ahead?
Thanks
Signature · 1 line
Klaus 'mrmoku' Kurzmann