Skip to contentSkip to conversation

libevdev: upgrade to version 1.5.8

PATCH In review Maxin B. John 2 participants 9 messages Feb 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 libevdev: upgrade to version 1.5.8

Bug fix release. Supports new keycodes in linux 4.15 headers

---
 .../recipes-support/libevdev/{libevdev_1.5.7.bb => libevdev_1.5.8.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libevdev/{libevdev_1.5.7.bb => libevdev_1.5.8.bb} (74%)
meta/recipes-support/libevdev/libevdev_1.5.8.bb renamed from meta/recipes-support/libevdev/libevdev_1.5.7.bb +2 -2
similarity index 74%
rename from meta/recipes-support/libevdev/libevdev_1.5.7.bb
rename to meta/recipes-support/libevdev/libevdev_1.5.8.bb
index f740da2..c138014 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \
 
 SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz"
 
-SRC_URI[md5sum] = "4f1cfaee8d75ea3fbbfeb99a98730952"
-SRC_URI[sha256sum] = "a1e59e37a2f0d397ffd7e83b73af0e638db83b8dd08902ef0f651a21cc1dd422"
+SRC_URI[md5sum] = "c25a8c3939e4ad59a5e9e5e1e354832d"
+SRC_URI[sha256sum] = "6083d81e46609da8ba80cb826c02d9080764a6dec33c8267ccb7e158833d4c6d"
 
 inherit autotools pkgconfig
Signature · 1 line
2.4.0
#1 lore raw

PATCH 2/4 harfbuzz: upgrade to version 1.7.5

1.7.4 -> 1.7.5

---
 .../harfbuzz/{harfbuzz_1.7.4.bb => harfbuzz_1.7.5.bb}                 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/harfbuzz/{harfbuzz_1.7.4.bb => harfbuzz_1.7.5.bb} (88%)
meta/recipes-graphics/harfbuzz/harfbuzz_1.7.5.bb renamed from meta/recipes-graphics/harfbuzz/harfbuzz_1.7.4.bb +2 -2
similarity index 88%
rename from meta/recipes-graphics/harfbuzz/harfbuzz_1.7.4.bb
rename to meta/recipes-graphics/harfbuzz/harfbuzz_1.7.5.bb
index ce1ead4..0a9b029 100644
@@ -12,8 +12,8 @@ DEPENDS = "glib-2.0 cairo fontconfig freetype"
 
 SRC_URI = "http://www.freedesktop.org/software/harfbuzz/release/${BP}.tar.bz2"
 
-SRC_URI[md5sum] = "c7476d8b989869d8b95b37fa53add6bf"
-SRC_URI[sha256sum] = "b5d6ac8415f97f3540d73f3f91c41c5c10f8a4d76350f11a7184062aae88ac0b"
+SRC_URI[md5sum] = "1466ab51fc5aaa6af4065936939cec62"
+SRC_URI[sha256sum] = "84574e1b1f65ca694cb8fb6905309665c0368af18a312357f8ff886ee2f29563"
 
 inherit autotools pkgconfig lib_package gtk-doc
 
Signature · 1 line
2.4.0
#2 lore raw

PATCH 3/4 fontconfig: fix upstream version check

In reply to Maxin B. John

In the case of fontconfig, version x.x.9x are release candidates for next version.

---
 meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb +1 -0
index fa5f0ee..756e324 100644
@@ -28,6 +28,7 @@ SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
 SRC_URI[md5sum] = "00e748c67fad11e7057a71ed385e8bdb"
 SRC_URI[sha256sum] = "064b9ebf060c9e77011733ac9dc0e2ce92870b574cca2405e11f5353a683c334"
 
+UPSTREAM_CHECK_REGEX = "fontconfig-(?P<pver>\d+\.\d+\.[^9]\d*).tar.gz"
 
 do_configure_prepend() {
     # work around https://bugs.freedesktop.org/show_bug.cgi?id=101280
Signature · 1 line
2.4.0
#3 lore raw

Re: [PATCH 3/4] fontconfig: fix upstream version check

Quoted 3 lines · Maxin B. John

In the case of fontconfig, version x.x.9x are release candidates for next version.
+UPSTREAM_CHECK_REGEX = "fontconfig-(?P<pver>\d+\.\d+\.[^9]\d*).tar.gz"

This will incorrectly exclude x.x.9 which is not a release candidate. You need to exclude "9 followed by one or more digits", not just 9 alone.

Also, "." in .tar.gz means "any character", if you want to match literal "." it should be "\."

This is a good place to practice:
http://regex101.com

Alex

#4 lore raw

Re: [PATCH 3/4] fontconfig: fix upstream version check

Hi Alex,

Quoted 7 lines · Alexander Kanavin
Quoted 3 lines · Maxin B. John

In the case of fontconfig, version x.x.9x are release candidates for next version.
+UPSTREAM_CHECK_REGEX = "fontconfig-(?P<pver>\d+\.\d+\.[^9]\d*).tar.gz"

This will incorrectly exclude x.x.9 which is not a release candidate. You need to exclude "9 followed by one or more digits", not just 9 alone.

You are right. Thanks for looking into this. However, in practice, I haven't found a single non-RC release which follow the pattern x.x.9 for these packages (fontconfig, libinput). That doesn't mean, it is improbable.

Quoted 2 lines

Also, "." in .tar.gz means "any character", if you want to match literal "." it should be "\."

Ok.

Quoted 2 lines

This is a good place to practice:
http://regex101.com

Thanks. I will update and send a v2.

Quoted 1 line

Alex

Best Regards,
Maxin

#5 lore raw

Re: [PATCH 3/4] fontconfig: fix upstream version check

Quoted 4 lines · Maxin B. John
Quoted 2 lines

This is a good place to practice:
http://regex101.com

Thanks. I will update and send a v2.

To save you a bit of time, I think the right construct should be either

(9|[0-8]\d+)

or

(?!9\d+)\d+

Alex

#6 lore raw

Re: [PATCH 3/4] fontconfig: fix upstream version check

Hi Alex,

Quoted 6 lines · Alexander Kanavin
Quoted 4 lines · Maxin B. John
Quoted 2 lines

This is a good place to practice:
http://regex101.com

Thanks. I will update and send a v2.

Quoted 7 lines

To save you a bit of time, I think the right construct should be either

(9|[0-8]\d+)

or

(?!9\d+)\d+

This looks much better. Thanks!

Quoted 2 lines

Alex

Thanks and Regards,
Maxin

#7 lore raw

PATCH 4/4 libinput: fix upstream version check

In reply to Maxin B. John

Skip RC releases for libinput which follow the pattern: x.x.9xx

---
 meta/recipes-graphics/wayland/libinput_1.9.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/wayland/libinput_1.9.4.bb +1 -0
index 2843314..c250383 100644
@@ -12,6 +12,7 @@ SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \
 SRC_URI[md5sum] = "8b43d07d1698fb207a0492fc67554d4f"
 SRC_URI[sha256sum] = "0bcdbd4c4e3c2a2db322fbdf2ef3284f2e6d6fb7be3af80e6d8de7783f675190"
 
+UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.[^9]\d*).tar.xz"
 inherit meson pkgconfig lib_package
 
 PACKAGECONFIG ??= ""
Signature · 1 line
2.4.0
#8 lore raw

Re: [PATCH 4/4] libinput: fix upstream version check

Quoted 2 lines · Maxin B. John

Skip RC releases for libinput which follow the pattern: x.x.9xx +UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.[^9]\d*).tar.xz"

Same issue as previous patch.

Alex