From 3bcf3726467d678126952436b80f4a10c2184c4d Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Tue, 22 Sep 2009 23:36:32 +0000 Subject: matchbox2: Make it working: * fixed known crashers * created usable icon theme * provided session script --- .../matchbox-panel-2-icon-themes_0.0.1.bb | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 recipes/matchbox2/matchbox-panel-2-icon-themes_0.0.1.bb (limited to 'recipes/matchbox2/matchbox-panel-2-icon-themes_0.0.1.bb') diff --git a/recipes/matchbox2/matchbox-panel-2-icon-themes_0.0.1.bb b/recipes/matchbox2/matchbox-panel-2-icon-themes_0.0.1.bb new file mode 100644 index 0000000000..2d14e0c65b --- /dev/null +++ b/recipes/matchbox2/matchbox-panel-2-icon-themes_0.0.1.bb @@ -0,0 +1,51 @@ +DESCRIPTION = "icon theme for matchbox-panel-2" +LICENSE = "GPLv2" +SECTION = "x11/panels" +DEPENDS = "imagemagick-native" +RPROVIDES_${PN} = "matchbox-panel-2-icon-theme" +PACKAGE_ARCH = "all" +PV = "0.0.1+svnr${SRCREV}" +PR = "r0" + +inherit gtk-icon-cache + +SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-panel-2/applets/battery/data;proto=http;maxrev=1918 \ + svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-panel-2/applets/startup/data;proto=http \ + svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-panel-2/applets/brightness/data;proto=http \ + file://user-desktop.png \ + file://task-switcher.png \ +" +S = "${WORKDIR}" + +do_install() { + cd ${S} + mkdir -p ${D}${datadir}/icons/HighContrast/48x48/status ${D}${datadir}/icons/HighContrastInverse/48x48/status + install -m 0644 matchbox-panel-2/applets/battery/data/*.png ${D}${datadir}/icons/HighContrastInverse/48x48/status/ + mkdir -p ${D}${datadir}/icons/HighContrast/32x32/status ${D}${datadir}/icons/HighContrastInverse/32x32/status + install -m 0644 matchbox-panel-2/applets/brightness/data/*.png ${D}${datadir}/icons/HighContrastInverse/32x32/status/ + mkdir -p ${D}${datadir}/icons/HighContrast/32x32/animations ${D}${datadir}/icons/HighContrastInverse/32x32/animations + install -m 0644 matchbox-panel-2/applets/startup/data/*.png ${D}${datadir}/icons/HighContrastInverse/32x32/animations/ + cd ${D}${datadir}/icons/HighContrastInverse + for PNG in */*/*.png ; do + convert -negate $PNG ../HighContrast/$PNG + done + cd ${S} + mkdir -p ${D}${datadir}/icons/HighContrast/32x32/apps ${D}${datadir}/icons/HighContrastInverse/32x32/apps + install -m 0644 user-desktop.png task-switcher.png ${D}${datadir}/icons/HighContrast/32x32/apps/ + cd ${D}${datadir}/icons/HighContrast + for PNG in 32x32/apps/*.png ; do + convert -negate $PNG ../HighContrastInverse/$PNG + done + cd ${S} + + # FIXME: The default vendor provided theme uses "white on + # transparent" style and it is invisible with the default GTK+ + # style. We need a better solution for fallback icons and dark + # themes. For now, define only "black on transparent" as + # hicolor. It is still pretty ugly: Hicolor is expected to be + # hicolor, makes icons invisible in dark themes. + rm -r ${D}${datadir}/icons/HighContrastInverse + mv ${D}${datadir}/icons/HighContrast ${D}${datadir}/icons/hicolor +} + +FILES_${PN} += "${datadir}/icons/*" -- cgit 1.2.3-korg buildstats-summary OpenEmbedded Core user contribution treesGrokmirror user
summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/poky.ent
blob: c032e14186f58aae47a6829350623f63b05369e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59