Re: [OE-core] [PATCH 5/5] matchbox-keyboard: Upgrade

2016-05-23 Thread Richard Purdie
On Mon, 2016-05-23 at 16:36 +0300, Alexander Kanavin wrote:
> On 05/23/2016 04:10 PM, Richard Purdie wrote:
> > > > -SRCREV = "ebc330eac8b9d38e9aef9f01e7241c904bd01073"
> > > > +SRCREV = "69d03e2aceb79cf7a616c07f8e0be4e1f9f7976b"
> > > >PV = "0.0+git${SRCPV}"
> > > 
> > > This is a good moment to start using git version tags instead of
> > > just
> > > updating commit ids.
> > > 
> > > Let's bring down the amount of 'unknown' upstream versions to
> > > zero or
> > > close to it:
> > > 
> > > http://recipes.yoctoproject.org/rrs/recipes/2.2/M1/?upstream_stat
> > > us=U
> > > nknown#
> > 
> > Sadly, "tags" need a network to resolve them and hence using them
> > means
> > the metadata doesn't work standalone. We can't do that.
> 
> I need to clarify: I would like the version number in PV to match an 
> existing upstream version tag. So that the upstream version check
> works 
> correctly.
> 
> The actual git revision for builds will continue to be determined by 
> commit ids in SRCREV.

That does indeed make sense. I'd be happy to see some release tarballs
for some of these things and some upstream version tags...

Cheers,

Richard
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 5/5] matchbox-keyboard: Upgrade

2016-05-23 Thread Alexander Kanavin

On 05/23/2016 04:10 PM, Richard Purdie wrote:

-SRCREV = "ebc330eac8b9d38e9aef9f01e7241c904bd01073"
+SRCREV = "69d03e2aceb79cf7a616c07f8e0be4e1f9f7976b"
   PV = "0.0+git${SRCPV}"


This is a good moment to start using git version tags instead of just
updating commit ids.

Let's bring down the amount of 'unknown' upstream versions to zero or
close to it:

http://recipes.yoctoproject.org/rrs/recipes/2.2/M1/?upstream_status=U
nknown#


Sadly, "tags" need a network to resolve them and hence using them means
the metadata doesn't work standalone. We can't do that.


I need to clarify: I would like the version number in PV to match an 
existing upstream version tag. So that the upstream version check works 
correctly.


The actual git revision for builds will continue to be determined by 
commit ids in SRCREV.


Alex
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 5/5] matchbox-keyboard: Upgrade

2016-05-23 Thread Richard Purdie
On Mon, 2016-05-23 at 15:56 +0300, Alexander Kanavin wrote:
> On 05/23/2016 03:44 PM, Jussi Kukkonen wrote:
> 
> > -SRCREV = "ebc330eac8b9d38e9aef9f01e7241c904bd01073"
> > +SRCREV = "69d03e2aceb79cf7a616c07f8e0be4e1f9f7976b"
> >   PV = "0.0+git${SRCPV}"
> 
> This is a good moment to start using git version tags instead of just
> updating commit ids.
> 
> Let's bring down the amount of 'unknown' upstream versions to zero or
> close to it:
> 
> http://recipes.yoctoproject.org/rrs/recipes/2.2/M1/?upstream_status=U
> nknown#

Sadly, "tags" need a network to resolve them and hence using them means
the metadata doesn't work standalone. We can't do that.

However, I thought we'd added functionality where it would list the
tags, figure out which ones contained a revision and then figured out
if there was a more recent version?

We do have various components that haven't released for a long time and
I have wondered if we should do that, then we'd have tarballs and
revisions to make things easier.

Cheers,

Richard
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 5/5] matchbox-keyboard: Upgrade

2016-05-23 Thread Alexander Kanavin

On 05/23/2016 03:44 PM, Jussi Kukkonen wrote:


-SRCREV = "ebc330eac8b9d38e9aef9f01e7241c904bd01073"
+SRCREV = "69d03e2aceb79cf7a616c07f8e0be4e1f9f7976b"
  PV = "0.0+git${SRCPV}"


This is a good moment to start using git version tags instead of just 
updating commit ids.


Let's bring down the amount of 'unknown' upstream versions to zero or 
close to it:


http://recipes.yoctoproject.org/rrs/recipes/2.2/M1/?upstream_status=Unknown#

Alex
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/5] matchbox-keyboard: Upgrade

2016-05-23 Thread Jussi Kukkonen
This version includes:
* french keyboard and the Caps improvements it requires
* Gtk+3 input method is now included (not enabled by default yet)

Define some additional PACKAGECONFIGs: the default configuration does
not change.

Signed-off-by: Jussi Kukkonen 
---
 meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb 
b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
index eba1970..fb4c6e9 100644
--- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
+++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
@@ -8,11 +8,10 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
file://src/matchbox-keyboard.h;endline=17;md5=9d6586c69e4a926f3cb0b4425f24ba3c \
 
file://applet/applet.c;endline=18;md5=4a0f721724746b14d95b51ddd42b95e7"
 
-DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2"
+DEPENDS = "libfakekey expat libxft"
 
-SRCREV = "ebc330eac8b9d38e9aef9f01e7241c904bd01073"
+SRCREV = "69d03e2aceb79cf7a616c07f8e0be4e1f9f7976b"
 PV = "0.0+git${SRCPV}"
-PR = "r4"
 
 SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1 \
file://0001-desktop-file-Hide-the-keyboard-from-app-list.patch \
@@ -25,7 +24,12 @@ inherit autotools pkgconfig gettext gtk-immodules-cache 
distro_features_check
 # The libxft, libfakekey and matchbox-panel-2 requires x11 in DISTRO_FEATURES
 REQUIRED_DISTRO_FEATURES = "x11"
 
-EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet"
+EXTRA_OECONF = "--disable-cairo"
+
+PACKAGECONFIG ??= "gtk2-im applet"
+PACKAGECONFIG[applet] = "--enable-applet,--disable-applet,matchbox-panel-2"
+PACKAGECONFIG[gtk2-im] = "--enable-gtk-im,--disable-gtk-im,gtk+"
+PACKAGECONFIG[gtk3-im] = "--enable-gtk3-im,--disable-gtk3-im,gtk+3"
 
 PACKAGES += "${PN}-im ${PN}-applet"
 
-- 
2.1.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core