Skip to contentSkip to conversation

libgsf: update to version 1.14.26

PATCH In review Otavio Salvador 3 participants 7 messages Apr 13, 2013 – Apr 17, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libgsf: update to version 1.14.26

From: Mario Domenech Goulart <[email protected]>

Previous version was 1.14.21, but Gnumeric requires at least 1.14.24. Since we are changing it, we pick the latest available version.

---
 .../recipes-gnome/libgsf/{libgsf_1.14.21.bb => libgsf_1.14.26.bb} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-gnome/recipes-gnome/libgsf/{libgsf_1.14.21.bb => libgsf_1.14.26.bb} (71%)
meta-gnome/recipes-gnome/libgsf/libgsf_1.14.26.bb renamed from meta-gnome/recipes-gnome/libgsf/libgsf_1.14.21.bb +4 -4
similarity index 71%
rename from meta-gnome/recipes-gnome/libgsf/libgsf_1.14.21.bb
rename to meta-gnome/recipes-gnome/libgsf/libgsf_1.14.26.bb
index a4f1ec2..a6127d6 100644
@@ -3,16 +3,16 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=dc7371b50816c96e145fa0f8ade8e24d \
                     file://COPYING.LIB;md5=61464cfe342798eeced82efe9ae55f63"
 
-PR = "r4"
-
 SECTION = "libs"
 
 DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
 
 inherit autotools pkgconfig gnome gconf
 
-SRC_URI[archive.md5sum] = "2b702648b853402554c97d75405c60d3"
-SRC_URI[archive.sha256sum] = "eef0a9d6eca4e6af6c16b208947e3c958c428b94d22792bdd0b80c08a4b301db"
+SRC_URI[archive.md5sum] = "3c5a4fbd16a727c36974078e6d0e9575"
+SRC_URI[archive.sha256sum] = "8919e725aadd785380350c8dec7427d82cf33164bc9a9a549df9440a0c3da6d5"
+
+GNOME_COMPRESS_TYPE = "xz"
 
 EXTRA_OECONF = "\
 		--without-python \
Signature · 1 line
1.8.1
#1 lore raw

PATCH 2/2 gnumeric: add recipe for version 1.12.0

From: Mario Domenech Goulart <[email protected]>

Based on the OE classic recipe as of
bd204492e0ed296bbac2999da29f831cbdf965f9

---
 .../recipes-gnome/gnumeric/gnumeric_1.12.0.bb      | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb
meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb new file +44 -0
new file mode 100644
index 0000000..cd42e18
@@ -0,0 +1,44 @@
+LICENSE = "GPLv2 | GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=be0de417af78dd340558810d1ced52e6"
+SECTION = "x11/utils"
+S = "${WORKDIR}/gnumeric-${PV}"
+DEPENDS = "gdk-pixbuf libgsf gtk+3 libxml2 libglade libart-lgpl intltool-native libgnomecanvas libgnomeprint libbonoboui orbit2-native"
+DESCRIPTION = "Gnumeric spreadsheet for GNOME"
+
+GNOME_COMPRESS_TYPE = "xz"
+BPN="${PN}"
+
+SRC_URI[archive.md5sum] = "3fd87cca95334b5d8ac922989670fe27"
+SRC_URI[archive.sha256sum] = "037b53d909e5d1454b2afda8c4fb1e7838e260343e36d4e36245f4a5d0e04111"
+
+inherit gnome
+
+EXTRA_OECONF=" --without-perl "
+
+PACKAGES_DYNAMIC += "gnumeric-plugin-*"
+PACKAGES += "libspreadsheet libspreadsheet-dev gnumeric-goffice gnumeric-goffice-dbg"
+
+FILES_${PN}-dbg += "${libdir}/gnumeric/${PV}/plugins/*/.debug"
+FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig"
+FILES_${PN}-staticdev = "${libdir}/libspreadsheet.la"
+FILES_libspreadsheet = "${libdir}/libspreadsheet-${PV}.so"
+FILES_libspreadsheet-dev = "${libdir}/libspreadsheet.so"
+FILES_gnumeric-goffice-dbg += "${libdir}/goffice/*/plugins/gnumeric/.debug"
+FILES_gnumeric-goffice = "${libdir}/goffice/*/plugins/gnumeric/*"
+
+# This hack works around the problem mentioned here:
+# https://mail.gnome.org/archives/gnumeric-list/2010-February/msg00006.html
+do_install_prepend() {
+    sed -i ${S}/doc/C/Makefile -e 's/\tfor file in $(omffile); do/\t-for file in $(omffile); do/'
+}
+
+python populate_packages_prepend () {
+    gnumeric_libdir = bb.data.expand('${libdir}/gnumeric/${PV}/plugins', d)
+
+    do_split_packages(d, gnumeric_libdir, '^(.*)/.*$',
+        output_pattern='gnumeric-plugin-%s',
+        description='Gnumeric plugin %s',
+        extra_depends='',
+        recursive=True,
+        prepend=True)
+}
Signature · 1 line
1.8.1
#2 lore raw

Re: [meta-oe PATCH 2/2] gnumeric: add recipe for version 1.12.0

Quoted 18 lines · Otavio Salvador

From: Mario Domenech Goulart <[email protected]>

Based on the OE classic recipe as of
bd204492e0ed296bbac2999da29f831cbdf965f9

---
 .../recipes-gnome/gnumeric/gnumeric_1.12.0.bb      | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb
meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb new file +0 -0
new file mode 100644
index 0000000..cd42e18

meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb line 9

Quoted 9 lines
meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb new file +9 -0
@@ -0,0 +1,44 @@
+LICENSE = "GPLv2 | GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=be0de417af78dd340558810d1ced52e6"
+SECTION = "x11/utils"
+S = "${WORKDIR}/gnumeric-${PV}"
+DEPENDS = "gdk-pixbuf libgsf gtk+3 libxml2 libglade libart-lgpl intltool-native libgnomecanvas libgnomeprint libbonoboui orbit2-native"
+DESCRIPTION = "Gnumeric spreadsheet for GNOME"
+
+GNOME_COMPRESS_TYPE = "xz"
+BPN="${PN}"

Why is this needed ^? It shoudn't be there.

Quoted 43 lines
meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb new file +35 -0
+
+SRC_URI[archive.md5sum] = "3fd87cca95334b5d8ac922989670fe27"
+SRC_URI[archive.sha256sum] = "037b53d909e5d1454b2afda8c4fb1e7838e260343e36d4e36245f4a5d0e04111"
+
+inherit gnome
+
+EXTRA_OECONF=" --without-perl "
+
+PACKAGES_DYNAMIC += "gnumeric-plugin-*"
+PACKAGES += "libspreadsheet libspreadsheet-dev gnumeric-goffice gnumeric-goffice-dbg"
+
+FILES_${PN}-dbg += "${libdir}/gnumeric/${PV}/plugins/*/.debug"
+FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig"
+FILES_${PN}-staticdev = "${libdir}/libspreadsheet.la"
+FILES_libspreadsheet = "${libdir}/libspreadsheet-${PV}.so"
+FILES_libspreadsheet-dev = "${libdir}/libspreadsheet.so"
+FILES_gnumeric-goffice-dbg += "${libdir}/goffice/*/plugins/gnumeric/.debug"
+FILES_gnumeric-goffice = "${libdir}/goffice/*/plugins/gnumeric/*"
+
+# This hack works around the problem mentioned here:
+# https://mail.gnome.org/archives/gnumeric-list/2010-February/msg00006.html
+do_install_prepend() {
+    sed -i ${S}/doc/C/Makefile -e 's/\tfor file in $(omffile); do/\t-for file in $(omffile); do/'
+}
+
+python populate_packages_prepend () {
+    gnumeric_libdir = bb.data.expand('${libdir}/gnumeric/${PV}/plugins', d)
+
+    do_split_packages(d, gnumeric_libdir, '^(.*)/.*$',
+        output_pattern='gnumeric-plugin-%s',
+        description='Gnumeric plugin %s',
+        extra_depends='',
+        recursive=True,
+        prepend=True)
+}
Signature · 7 lines
1.8.1


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Re: [meta-oe PATCH 2/2] gnumeric: add recipe for version 1.12.0

Quoted 22 lines · Martin Jansa
Quoted 21 lines · Otavio Salvador

From: Mario Domenech Goulart <[email protected]>

Based on the OE classic recipe as of
bd204492e0ed296bbac2999da29f831cbdf965f9

---
 .../recipes-gnome/gnumeric/gnumeric_1.12.0.bb      | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb
meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb new file +3 -0
new file mode 100644
index 0000000..cd42e18
@@ -0,0 +1,44 @@
+LICENSE = "GPLv2 | GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=be0de417af78dd340558810d1ced52e6"
+SECTION = "x11/utils"
Quoted 8 lines

meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb line 9

Quoted 6 lines
meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb new file +6 -0
+S = "${WORKDIR}/gnumeric-${PV}"
+DEPENDS = "gdk-pixbuf libgsf gtk+3 libxml2 libglade libart-lgpl intltool-native libgnomecanvas libgnomeprint libbonoboui orbit2-native"
+DESCRIPTION = "Gnumeric spreadsheet for GNOME"
+
+GNOME_COMPRESS_TYPE = "xz"
+BPN="${PN}"

Why is this needed ^? It shoudn't be there.

I think it can be dropped; it came from original recipes which Mario used as reference, I think.

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#4 lore raw

Re: [meta-oe PATCH 2/2] gnumeric: add recipe for version 1.12.0

In reply to Martin Jansa
Quoted 24 lines · On Mon, 15 Apr 2013 16:37:35 +0200 Martin Jansa <[email protected]> wrote:
Quoted 23 lines · Otavio Salvador

From: Mario Domenech Goulart <[email protected]>

Based on the OE classic recipe as of
bd204492e0ed296bbac2999da29f831cbdf965f9

---
 .../recipes-gnome/gnumeric/gnumeric_1.12.0.bb      | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb
meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb new file +5 -0
new file mode 100644
index 0000000..cd42e18
@@ -0,0 +1,44 @@
+LICENSE = "GPLv2 | GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=be0de417af78dd340558810d1ced52e6"
+SECTION = "x11/utils"
+S = "${WORKDIR}/gnumeric-${PV}"
+DEPENDS = "gdk-pixbuf libgsf gtk+3 libxml2 libglade libart-lgpl
Quoted 8 lines

meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb line 9

Quoted 6 lines

intltool-native libgnomecanvas libgnomeprint libbonoboui orbit2-native"

meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb new file +4 -0
+DESCRIPTION = "Gnumeric spreadsheet for GNOME"
+
+GNOME_COMPRESS_TYPE = "xz"
+BPN="${PN}"

Why is this needed ^? It shoudn't be there.

Thanks for catching that, Martin. It's not needed, indeed. I just submited a new patch without that line.

Best wishes.
Mario

#5 lore raw
In reply to Otavio Salvador
Quoted 42 lines · Otavio Salvador

From: Mario Domenech Goulart <[email protected]>

Previous version was 1.14.21, but Gnumeric requires at least 1.14.24. Since we are changing it, we pick the latest available version.

---
 .../recipes-gnome/libgsf/{libgsf_1.14.21.bb => libgsf_1.14.26.bb} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-gnome/recipes-gnome/libgsf/{libgsf_1.14.21.bb => libgsf_1.14.26.bb} (71%)
meta-gnome/recipes-gnome/libgsf/libgsf_1.14.26.bb renamed from meta-gnome/recipes-gnome/libgsf/libgsf_1.14.21.bb +4 -4
similarity index 71%
rename from meta-gnome/recipes-gnome/libgsf/libgsf_1.14.21.bb
rename to meta-gnome/recipes-gnome/libgsf/libgsf_1.14.26.bb
index a4f1ec2..a6127d6 100644
@@ -3,16 +3,16 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=dc7371b50816c96e145fa0f8ade8e24d \
                     file://COPYING.LIB;md5=61464cfe342798eeced82efe9ae55f63"
 
-PR = "r4"
-
 SECTION = "libs"
 
 DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
 
 inherit autotools pkgconfig gnome gconf
 
-SRC_URI[archive.md5sum] = "2b702648b853402554c97d75405c60d3"
-SRC_URI[archive.sha256sum] = "eef0a9d6eca4e6af6c16b208947e3c958c428b94d22792bdd0b80c08a4b301db"
+SRC_URI[archive.md5sum] = "3c5a4fbd16a727c36974078e6d0e9575"
+SRC_URI[archive.sha256sum] = "8919e725aadd785380350c8dec7427d82cf33164bc9a9a549df9440a0c3da6d5"
+
+GNOME_COMPRESS_TYPE = "xz"
 
 EXTRA_OECONF = "\
 		--without-python \
Signature · 1 line
1.8.1

Please fix this QA

libgsf-1.14.26: libgsf: Files/directories were installed but not shipped
/usr/share/thumbnailers /usr/share/thumbnailers/gsf-office.thumbnailer

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#6 lore raw
Quoted 46 lines · On Wed, 17 Apr 2013 14:04:20 +0200 Martin Jansa <[email protected]> wrote:
Quoted 42 lines · Otavio Salvador

From: Mario Domenech Goulart <[email protected]>

Previous version was 1.14.21, but Gnumeric requires at least 1.14.24. Since we are changing it, we pick the latest available version.

---
 .../recipes-gnome/libgsf/{libgsf_1.14.21.bb => libgsf_1.14.26.bb} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-gnome/recipes-gnome/libgsf/{libgsf_1.14.21.bb => libgsf_1.14.26.bb} (71%)
meta-gnome/recipes-gnome/libgsf/libgsf_1.14.26.bb renamed from meta-gnome/recipes-gnome/libgsf/libgsf_1.14.21.bb +4 -4
similarity index 71%
rename from meta-gnome/recipes-gnome/libgsf/libgsf_1.14.21.bb
rename to meta-gnome/recipes-gnome/libgsf/libgsf_1.14.26.bb
index a4f1ec2..a6127d6 100644
@@ -3,16 +3,16 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=dc7371b50816c96e145fa0f8ade8e24d \
                     file://COPYING.LIB;md5=61464cfe342798eeced82efe9ae55f63"
 
-PR = "r4"
-
 SECTION = "libs"
 
 DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
 
 inherit autotools pkgconfig gnome gconf
 
-SRC_URI[archive.md5sum] = "2b702648b853402554c97d75405c60d3"
-SRC_URI[archive.sha256sum] = "eef0a9d6eca4e6af6c16b208947e3c958c428b94d22792bdd0b80c08a4b301db"
+SRC_URI[archive.md5sum] = "3c5a4fbd16a727c36974078e6d0e9575"
+SRC_URI[archive.sha256sum] = "8919e725aadd785380350c8dec7427d82cf33164bc9a9a549df9440a0c3da6d5"
+
+GNOME_COMPRESS_TYPE = "xz"
 
 EXTRA_OECONF = "\
 		--without-python \
Signature · 1 line
1.8.1

Please fix this QA

Quoted 3 lines

libgsf-1.14.26: libgsf: Files/directories were installed but not shipped
/usr/share/thumbnailers /usr/share/thumbnailers/gsf-office.thumbnailer

Thanks for pointing that out, Martin. I submited a new patch which hopefully fixes that (this time with meta-gnome in the subject).

Best wishes.
Mario