Skip to contentSkip to conversation

gnome-themes-standard: Update to version 3.28

PATCH In review Piotr Tworek 2 participants 6 messages Aug 17, 2019 – Aug 18, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 gnome-themes-standard: Update to version 3.28

This is the latest upstream stable version that has been released over a year ago. It also seems that upstream has renamed the package to gnome-themes-extra.

While doing the upgrade modify the recipe to use gnomebase bbclass from oe-core. This allows us to re-use SRC_URI pattern provided by this bbclass.

---
 ...rd_3.22.3.bb => gnome-themes-standard_3.28.bb} | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-gnome/gnome-themes/{gnome-themes-standard_3.22.3.bb => gnome-themes-standard_3.28.bb} (73%)
meta-oe/recipes-gnome/gnome-themes/gnome-themes-standard_3.28.bb renamed from meta-oe/recipes-gnome/gnome-themes/gnome-themes-standard_3.22.3.bb +7 -8
similarity index 73%
rename from meta-oe/recipes-gnome/gnome-themes/gnome-themes-standard_3.22.3.bb
rename to meta-oe/recipes-gnome/gnome-themes/gnome-themes-standard_3.28.bb
index 55ee27760..53eb32be9 100644
@@ -4,20 +4,19 @@ BUGTRACKER = "https://bugzilla.gnome.org/"
 SECTION = "x11/gnome"
 
 LICENSE = "LGPL-2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
-inherit autotools pkgconfig gettext gtk-icon-cache upstream-version-is-even distro_features_check
+# Upstream renamed this package to gnome-themes-extra at some point
+BPN = "gnome-themes-extra"
+
+inherit gnomebase gettext gtk-icon-cache upstream-version-is-even distro_features_check
 
 ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
 
 DEPENDS += "intltool-native gtk+"
 
-MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
-SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
-          "
-
-SRC_URI[md5sum] = "b51c362b157b6407303d44f93c31ee11"
-SRC_URI[sha256sum] = "61dc87c52261cfd5b94d65e8ffd923ddeb5d3944562f84942eeeb197ab8ab56a"
+SRC_URI[archive.md5sum] = "f9f2c6c521948da427f702372e16f826"
+SRC_URI[archive.sha256sum] = "7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819"
 
 EXTRA_OECONF = "--disable-gtk3-engine"
 
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/3 libgdata: Update to version 0.17.10.

This is the latest upstream stable version of this library. Besides simple version bump this patch also makes the following changes:

1. Switch from autotools to meson.
2. Drop gnome-common-native from DEPENDS. Its no longer needed to build the package.
3. Drop X11 feature check. This package itself does not actually depend on X11. Its prefectly usable in headless or wayland only environments. The only case where it depends on X11 indirectly is when its build with gtk support which can, but does not have to depend on X11.
4. Add PACKAGECONFIGs for customization options the package has. The defaults config is left unchanged compared to the previous version.

---
 .../recipes-gnome/libgdata/libgdata_0.16.1.bb | 33 -------------------
 .../libgdata/libgdata_0.17.10.bb              | 30 +++++++++++++++++
 2 files changed, 30 insertions(+), 33 deletions(-)
 delete mode 100644 meta-gnome/recipes-gnome/libgdata/libgdata_0.16.1.bb
 create mode 100644 meta-gnome/recipes-gnome/libgdata/libgdata_0.17.10.bb
meta-gnome/recipes-gnome/libgdata/libgdata_0.16.1.bb deleted +0 -33
deleted file mode 100644
index 80cbae39f..000000000
@@ -1,33 +0,0 @@
-SUMMARY = "GLib-based library for accessing online service APIs using the GData protocol"
-HOMEPAGE = "http://live.gnome.org/libgdata"
-BUGTRACKER = "https://bugzilla.gnome.org/"
-
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \
-                    file://gdata/gdata.h;endline=20;md5=079a554efcf65d46f96a515806e7e99a \
-                    file://gdata/gdata-types.h;endline=20;md5=7399b111aac8718da13888fc634be6ef"
-
-DEPENDS = "gnome-common-native libxml2 glib-2.0 libsoup-2.4 intltool-native liboauth gcr json-glib"
-
-inherit distro_features_check gnomebase pkgconfig autotools-brokensep gettext gtk-doc vala gobject-introspection
-
-REQUIRED_DISTRO_FEATURES = "x11"
-
-do_configure_prepend_class-target () {
-    # introspection.m4 pre-packaged with upstream tarballs does not yet
-    # have our fixes
-    rm -f ${S}/introspection.m4
-    
-    # remove the pre-built gtk-doc files, as they're installed (or attempted to be installed)
-    # even if gtk-doc is explicitly disabled
-    rm -rf ${S}/docs/reference/html
-}
-
-do_compile_prepend() {
-    export GIR_EXTRA_LIBS_PATH="${B}/gdata/.libs"
-}
-
-EXTRA_OECONF += "--disable-goa --disable-tests --disable-gtk-doc"
-
-SRC_URI[archive.md5sum] = "eb552a8a8482e4231a3d1baf7262e64d"
-SRC_URI[archive.sha256sum] = "8740e071ecb2ae0d2a4b9f180d2ae5fdf9dc4c41e7ff9dc7e057f62442800827"
meta-gnome/recipes-gnome/libgdata/libgdata_0.17.10.bb new file +30 -0
new file mode 100644
index 000000000..7bedd87ad
@@ -0,0 +1,30 @@
+SUMMARY = "GLib-based library for accessing online service APIs using the GData protocol"
+HOMEPAGE = "http://live.gnome.org/libgdata"
+BUGTRACKER = "https://bugzilla.gnome.org/"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \
+                    file://gdata/gdata.h;endline=20;md5=079a554efcf65d46f96a515806e7e99a \
+                    file://gdata/gdata-types.h;endline=20;md5=7399b111aac8718da13888fc634be6ef"
+
+DEPENDS = "libxml2 glib-2.0 libsoup-2.4 intltool-native liboauth gcr json-glib"
+
+GTKDOC_MESON_OPTION = "gtk_doc"
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase pkgconfig gettext gtk-doc vala gobject-introspection manpages
+
+do_compile_prepend() {
+    export GIR_EXTRA_LIBS_PATH="${B}/gdata/.libs"
+}
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false"
+PACKAGECONFIG[goa] = "-Dgoa=enabled,-Dgoa=disabled,gnome-online-accounts"
+PACKAGECONFIG[gtk] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3"
+PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false"
+
+EXTRA_OEMESON = "-Dalways_build_tests=false"
+
+SRC_URI[archive.md5sum] = "d858d411ad394c275643b14993dfeed4"
+SRC_URI[archive.sha256sum] = "c1d3d1f303f6a0416a0dac355a195276c31157a74bb1d040772d46d1cb15b012"
Signature · 1 line
2.21.0
#2 lore raw

PATCH 3/3 libgee: Update to version 0.20.2

In reply to Piotr Tworek

This is the latest upstream stable version of this package.

While doing the update also switch the package to use gnomebase bbclass from oe-core. This bbclass uses much better SRC_URI pattern that can also use GNOME mirrors.

---
 .../libgee/{libgee_0.20.1.bb => libgee_0.20.2.bb}        | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
 rename meta-oe/recipes-devtools/libgee/{libgee_0.20.1.bb => libgee_0.20.2.bb} (57%)
meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb renamed from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb +3 -6
similarity index 57%
rename from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb
rename to meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb
index 190e5dd4e..94ea0a19d 100644
@@ -8,9 +8,8 @@ BBCLASSEXTEND = "native"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
-PE = "1"
+inherit gnomebase vala gobject-introspection
 
-inherit autotools vala pkgconfig gobject-introspection
 do_configure_prepend() {
     MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
     for i in ${MACROS}; do
@@ -18,7 +17,5 @@ do_configure_prepend() {
     done
 }
 
-SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
-SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/${SHRT_VER}/${BP}.tar.xz"
-SRC_URI[md5sum] = "d224dca55bb909f6730f40cc267337be"
-SRC_URI[sha256sum] = "bb2802d29a518e8c6d2992884691f06ccfcc25792a5686178575c7111fea4630"
+SRC_URI[archive.md5sum] = "45db478f2b300ada8e039ebc6c9458de"
+SRC_URI[archive.sha256sum] = "9e035c4b755f46bfae70ba81cdcf8328b03f554373cec8c816e8b5680f85353c"
Signature · 1 line
2.21.0
#3 lore raw

Re: [meta-gnome][PATCH 3/3] libgee: Update to version 0.20.2

Quoted 21 lines · Piotr Tworek

This is the latest upstream stable version of this package.

While doing the update also switch the package to use gnomebase bbclass from oe-core. This bbclass uses much better SRC_URI pattern that can also use GNOME mirrors.

---
 .../libgee/{libgee_0.20.1.bb => libgee_0.20.2.bb}        | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
 rename meta-oe/recipes-devtools/libgee/{libgee_0.20.1.bb => libgee_0.20.2.bb} (57%)
meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb renamed from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb +0 -0
similarity index 57%
rename from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb
rename to meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb
index 190e5dd4e..94ea0a19d 100644

meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb BBCLASSEXTEND = "native" · line 11

Quoted 4 lines
meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb renamed from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb +0 -1
@@ -8,9 +8,8 @@ BBCLASSEXTEND = "native"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
-PE = "1"

I think we can not drop PE here

Quoted 24 lines
meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb renamed from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb +3 -6
+inherit gnomebase vala gobject-introspection
 
-inherit autotools vala pkgconfig gobject-introspection
 do_configure_prepend() {
     MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
     for i in ${MACROS}; do
@@ -18,7 +17,5 @@ do_configure_prepend() {
     done
 }
 
-SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
-SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/${SHRT_VER}/${BP}.tar.xz"
-SRC_URI[md5sum] = "d224dca55bb909f6730f40cc267337be"
-SRC_URI[sha256sum] = "bb2802d29a518e8c6d2992884691f06ccfcc25792a5686178575c7111fea4630"
+SRC_URI[archive.md5sum] = "45db478f2b300ada8e039ebc6c9458de"
+SRC_URI[archive.sha256sum] = "9e035c4b755f46bfae70ba81cdcf8328b03f554373cec8c816e8b5680f85353c"
--

2.21.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw

Re: [meta-gnome][PATCH 3/3] libgee: Update to version 0.20.2

Quoted 24 lines · Khem Raj
Quoted 23 lines · Piotr Tworek

This is the latest upstream stable version of this package.

While doing the update also switch the package to use gnomebase bbclass from oe-core. This bbclass uses much better SRC_URI pattern that can also use GNOME mirrors.

---
  .../libgee/{libgee_0.20.1.bb => libgee_0.20.2.bb}        | 9 +++------
  1 file changed, 3 insertions(+), 6 deletions(-)

rename meta-oe/recipes-devtools/libgee/{libgee_0.20.1.bb => libgee_0.20.2.bb} (57%)

meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb renamed from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb +0 -0
similarity index 57%
rename from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb
rename to meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb
index 190e5dd4e..94ea0a19d 100644
@@ -8,9 +8,8 @@ BBCLASSEXTEND = "native"
  LICENSE = "LGPLv2.1"
  LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
Quoted 2 lines

meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb BBCLASSEXTEND = "native" · line 11

Quoted 1 line
meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb renamed from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb +0 -1
-PE = "1"

I think we can not drop PE here

Ah, yes you're right is PE. not PR. I'll push v2 version of the patch fixing this.

Quoted 25 lines
Quoted 25 lines
meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb renamed from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb +3 -6
+inherit gnomebase vala gobject-introspection
 
-inherit autotools vala pkgconfig gobject-introspection
  do_configure_prepend() {
      MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
      for i in ${MACROS}; do
@@ -18,7 +17,5 @@ do_configure_prepend() {
      done
  }
 
-SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
-SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/${SHRT_VER}/${BP}.tar.xz"
-SRC_URI[md5sum] = "d224dca55bb909f6730f40cc267337be"
-SRC_URI[sha256sum] = "bb2802d29a518e8c6d2992884691f06ccfcc25792a5686178575c7111fea4630"
+SRC_URI[archive.md5sum] = "45db478f2b300ada8e039ebc6c9458de"
+SRC_URI[archive.sha256sum] = "9e035c4b755f46bfae70ba81cdcf8328b03f554373cec8c816e8b5680f85353c"
--

2.21.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#5 lore raw

PATCH v2 1/1 libgee: Update to version 0.20.2

In reply to Piotr Tworek

This is the latest upstream stable version of this package.

While doing the update also switch the package to use gnomebase bbclass from oe-core. This bbclass uses much better SRC_URI pattern that can also use GNOME mirrors.

---
 .../libgee/{libgee_0.20.1.bb => libgee_0.20.2.bb}         | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-devtools/libgee/{libgee_0.20.1.bb => libgee_0.20.2.bb} (58%)
meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb renamed from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb +3 -5
similarity index 58%
rename from meta-oe/recipes-devtools/libgee/libgee_0.20.1.bb
rename to meta-oe/recipes-devtools/libgee/libgee_0.20.2.bb
index 190e5dd4e..a048e4832 100644
@@ -9,8 +9,8 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
 PE = "1"
+inherit gnomebase vala gobject-introspection
 
-inherit autotools vala pkgconfig gobject-introspection
 do_configure_prepend() {
     MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
     for i in ${MACROS}; do
@@ -18,7 +18,5 @@ do_configure_prepend() {
     done
 }
 
-SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
-SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/${SHRT_VER}/${BP}.tar.xz"
-SRC_URI[md5sum] = "d224dca55bb909f6730f40cc267337be"
-SRC_URI[sha256sum] = "bb2802d29a518e8c6d2992884691f06ccfcc25792a5686178575c7111fea4630"
+SRC_URI[archive.md5sum] = "45db478f2b300ada8e039ebc6c9458de"
+SRC_URI[archive.sha256sum] = "9e035c4b755f46bfae70ba81cdcf8328b03f554373cec8c816e8b5680f85353c"
Signature · 1 line
2.21.0