libhandy: upgrade 1.5.0 -> 1.5.90

Message ID 1644882876-4535-1-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series libhandy: upgrade 1.5.0 -> 1.5.90 | expand

Commit Message

Mingyu Wang (Fujitsu) Feb. 14, 2022, 11:54 p.m. UTC
0001-Add-private-headers.patch
removed since it's included in 1.5.90.

Changelog:
=========
- Documentation
  - Port to gi-docgen
  - Use "Since: 1.0" for pre-1.0 symbols
  - Various cleanups and consistency updates
- Demo
  - Fix keyboard navigation
  - Don't make rows containing buttons activatable
  - Set minimum width on the view switcher window
- HdyCarousel
  - Properly remove mouse wheel timer
- HdyClamp
  - Fix measuring
- HdyKeypad
  - Fix keyboard navigation
- HdyStyleManager
  - Properly reset animations after style changes
- HdySwipeTracker
  - Fix a runtime warning
- HdyTabView
  - Propagate Alt+[0-9] when trying to switch to the selected tab
- HdyViewSwitcher
  - Properly center button labels
- Build and CI cleanups
- Remove unused distro packaging
- Translation updates:
  - Czech
  - Romanian
  - Slovenian
  - Spanish

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../libhandy/0001-Add-private-headers.patch   | 37 -------------------
 .../{libhandy_1.5.0.bb => libhandy_1.5.90.bb} |  6 +--
 2 files changed, 2 insertions(+), 41 deletions(-)
 delete mode 100644 meta/recipes-gnome/libhandy/libhandy/0001-Add-private-headers.patch
 rename meta/recipes-gnome/libhandy/{libhandy_1.5.0.bb => libhandy_1.5.90.bb} (88%)

Comments

Alexander Kanavin Feb. 15, 2022, 8:06 a.m. UTC | #1
I think this is a pre-release, and so cannot be taken. Upstream regex
needs to be set to exclude 9\d+ perhaps, can you do it? Here's how
it's set in other recipes:

Here's how it's done in fontconfig recipe, for example:
UPSTREAM_CHECK_REGEX = "fontconfig-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"

Alex

On Tue, 15 Feb 2022 at 00:54, wangmy <wangmy@fujitsu.com> wrote:
>
> 0001-Add-private-headers.patch
> removed since it's included in 1.5.90.
>
> Changelog:
> =========
> - Documentation
>   - Port to gi-docgen
>   - Use "Since: 1.0" for pre-1.0 symbols
>   - Various cleanups and consistency updates
> - Demo
>   - Fix keyboard navigation
>   - Don't make rows containing buttons activatable
>   - Set minimum width on the view switcher window
> - HdyCarousel
>   - Properly remove mouse wheel timer
> - HdyClamp
>   - Fix measuring
> - HdyKeypad
>   - Fix keyboard navigation
> - HdyStyleManager
>   - Properly reset animations after style changes
> - HdySwipeTracker
>   - Fix a runtime warning
> - HdyTabView
>   - Propagate Alt+[0-9] when trying to switch to the selected tab
> - HdyViewSwitcher
>   - Properly center button labels
> - Build and CI cleanups
> - Remove unused distro packaging
> - Translation updates:
>   - Czech
>   - Romanian
>   - Slovenian
>   - Spanish
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  .../libhandy/0001-Add-private-headers.patch   | 37 -------------------
>  .../{libhandy_1.5.0.bb => libhandy_1.5.90.bb} |  6 +--
>  2 files changed, 2 insertions(+), 41 deletions(-)
>  delete mode 100644 meta/recipes-gnome/libhandy/libhandy/0001-Add-private-headers.patch
>  rename meta/recipes-gnome/libhandy/{libhandy_1.5.0.bb => libhandy_1.5.90.bb} (88%)
>
> diff --git a/meta/recipes-gnome/libhandy/libhandy/0001-Add-private-headers.patch b/meta/recipes-gnome/libhandy/libhandy/0001-Add-private-headers.patch
> deleted file mode 100644
> index 7b2a512738..0000000000
> --- a/meta/recipes-gnome/libhandy/libhandy/0001-Add-private-headers.patch
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -From e7c3e8fa00f6a68b2e0629db5ee115e641ea710e Mon Sep 17 00:00:00 2001
> -From: Mingli Yu <mingli.yu@windriver.com>
> -Date: Wed, 8 Dec 2021 07:35:52 +0000
> -Subject: [PATCH] Add private headers
> -
> -After the commit(8157ecc Separate public and private enums) introduced,
> -there comes a race as below:
> - | In file included from ../git/src/hdy-settings.c:11:
> - | ../git/src/hdy-settings-private.h:16:10: fatal error: hdy-enums-private.h: No such file or directory
> - |    16 | #include "hdy-enums-private.h"
> -
> -So also add private headers like private sources to libhandy_sources to
> -fix the issue.
> -
> -Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/796]
> -
> -Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ----
> - src/meson.build | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/src/meson.build b/src/meson.build
> -index d087323..6f11f27 100644
> ---- a/src/meson.build
> -+++ b/src/meson.build
> -@@ -64,7 +64,7 @@ hdy_private_enums = gnome.mkenums('hdy-enums-private',
> - )
> -
> - libhandy_public_sources += [hdy_public_enums[0]]
> --libhandy_private_sources += [hdy_private_enums[0]]
> -+libhandy_private_sources += hdy_private_enums
> - libhandy_generated_headers += [hdy_public_enums[1]]
> -
> - src_headers = [
> ---
> -2.32.0
> -
> diff --git a/meta/recipes-gnome/libhandy/libhandy_1.5.0.bb b/meta/recipes-gnome/libhandy/libhandy_1.5.90.bb
> similarity index 88%
> rename from meta/recipes-gnome/libhandy/libhandy_1.5.0.bb
> rename to meta/recipes-gnome/libhandy/libhandy_1.5.90.bb
> index 605ef2b5fa..cb8abcee73 100644
> --- a/meta/recipes-gnome/libhandy/libhandy_1.5.0.bb
> +++ b/meta/recipes-gnome/libhandy/libhandy_1.5.90.bb
> @@ -9,10 +9,8 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/libhandy/-/issues"
>  LICENSE = "LGPLv2.1"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
>
> -SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=master \
> -           file://0001-Add-private-headers.patch \
> -"
> -SRCREV = "8fa8306a79215fc6ebf2483145da98bf9b2495ab"
> +SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=main"
> +SRCREV = "c09c1503237dc719d91b52182fc4ab632cc390ad"
>  S = "${WORKDIR}/git"
>
>  GIR_MESON_ENABLE_FLAG = 'enabled'
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#161735): https://lists.openembedded.org/g/openembedded-core/message/161735
> Mute This Topic: https://lists.openembedded.org/mt/89150438/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/meta/recipes-gnome/libhandy/libhandy/0001-Add-private-headers.patch b/meta/recipes-gnome/libhandy/libhandy/0001-Add-private-headers.patch
deleted file mode 100644
index 7b2a512738..0000000000
--- a/meta/recipes-gnome/libhandy/libhandy/0001-Add-private-headers.patch
+++ /dev/null
@@ -1,37 +0,0 @@ 
-From e7c3e8fa00f6a68b2e0629db5ee115e641ea710e Mon Sep 17 00:00:00 2001
-From: Mingli Yu <mingli.yu@windriver.com>
-Date: Wed, 8 Dec 2021 07:35:52 +0000
-Subject: [PATCH] Add private headers
-
-After the commit(8157ecc Separate public and private enums) introduced,
-there comes a race as below:
- | In file included from ../git/src/hdy-settings.c:11:
- | ../git/src/hdy-settings-private.h:16:10: fatal error: hdy-enums-private.h: No such file or directory
- |    16 | #include "hdy-enums-private.h"
-
-So also add private headers like private sources to libhandy_sources to
-fix the issue.
-
-Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/796]
-
-Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
----
- src/meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/meson.build b/src/meson.build
-index d087323..6f11f27 100644
---- a/src/meson.build
-+++ b/src/meson.build
-@@ -64,7 +64,7 @@ hdy_private_enums = gnome.mkenums('hdy-enums-private',
- )
- 
- libhandy_public_sources += [hdy_public_enums[0]]
--libhandy_private_sources += [hdy_private_enums[0]]
-+libhandy_private_sources += hdy_private_enums
- libhandy_generated_headers += [hdy_public_enums[1]]
- 
- src_headers = [
--- 
-2.32.0
-
diff --git a/meta/recipes-gnome/libhandy/libhandy_1.5.0.bb b/meta/recipes-gnome/libhandy/libhandy_1.5.90.bb
similarity index 88%
rename from meta/recipes-gnome/libhandy/libhandy_1.5.0.bb
rename to meta/recipes-gnome/libhandy/libhandy_1.5.90.bb
index 605ef2b5fa..cb8abcee73 100644
--- a/meta/recipes-gnome/libhandy/libhandy_1.5.0.bb
+++ b/meta/recipes-gnome/libhandy/libhandy_1.5.90.bb
@@ -9,10 +9,8 @@  BUGTRACKER = "https://gitlab.gnome.org/GNOME/libhandy/-/issues"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=master \
-           file://0001-Add-private-headers.patch \
-"
-SRCREV = "8fa8306a79215fc6ebf2483145da98bf9b2495ab"
+SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=main"
+SRCREV = "c09c1503237dc719d91b52182fc4ab632cc390ad"
 S = "${WORKDIR}/git"
 
 GIR_MESON_ENABLE_FLAG = 'enabled'