Skip to contentSkip to conversation

onboard: initial add 1.3.0

PATCH Superseded Andreas Müller 2 participants 10 messages Jan 19, 2017 – Jan 21, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/9 onboard: initial add 1.3.0

---
 meta-oe/recipes-support/onboard/onboard_1.3.0.bb | 25 ++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-support/onboard/onboard_1.3.0.bb
meta-oe/recipes-support/onboard/onboard_1.3.0.bb new file +25 -0
new file mode 100644
index 0000000..82393c3
@@ -0,0 +1,25 @@
+SUMMARY = "An onscreen keyboard"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING.GPL3;md5=8521fa4dd51909b407c5150498d34f4e"
+
+DEPENDS += "gtk+3 hunspell libcanberra libxkbfile dconf"
+
+SRC_URI = "https://launchpad.net/onboard/1.3/${PV}/+download/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "8000df3e789512a90fcb227580fd60ff"
+SRC_URI[sha256sum] = "fd74b54b8bd7a075cf5f6e1a8ca3e6de5cd2663507adb690d7b1a85e71afa2e4"
+
+inherit setuptools3 pkgconfig gtk-icon-cache gsettings
+
+FILES_${PN} += " \
+    ${datadir}/dbus-1 \
+    ${datadir}/icons \
+    ${datadir}/gnome-shell \
+    ${datadir}/help \
+"
+
+RDEPENDS_${PN} += " \
+    ncurses \
+    python3-dbus \
+    python3-pycairo \
+    python3-pygobject \
+"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/9 xfce4-terminal: update 0.8.2 -> 0.8.3

---
 .../{xfce4-terminal_0.8.2.bb => xfce4-terminal_0.8.3.bb}              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-xfce/recipes-apps/xfce4-terminal/{xfce4-terminal_0.8.2.bb => xfce4-terminal_0.8.3.bb} (68%)
meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.3.bb renamed from meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.2.bb +2 -2
similarity index 68%
rename from meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.2.bb
rename to meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.3.bb
index 8df7b5f..7d49785 100644
@@ -8,5 +8,5 @@ inherit xfce-app
 FILES_${PN} += "${datadir}/xfce4 \
                 ${datadir}/gnome-control-center"
 
-SRC_URI[md5sum] = "53d46d7dbcb74d238dc5e0c8dbc447cd"
-SRC_URI[sha256sum] = "92aad3e14f3ef8d4c6c1409463e989bd8f5eefb686234f3cdbfe574729401681"
+SRC_URI[md5sum] = "d4a3211c23aa3f588e86cb21d34c0e91"
+SRC_URI[sha256sum] = "40e6e4b3b8e887a326d9491a47388bbdc379f971a8d622509c0a006e53dc12f1"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/9 fltk: update 1.3.3 -> 1.3.4-1

In reply to Andreas Müller

* fix-boolean-issue-with-jpeg9.patch was applied upstream
* rebased fltk-no-freetype-config.patch and add Upstream-Status
* fix reconfigure by disabling autoheader

---
 .../fltk/fltk/fix-boolean-issue-with-jpeg9.patch   | 40 ----------------------
 .../fltk/fltk/fltk-no-freetype-config.patch        | 40 ++++++++++++++++------
 .../fltk/{fltk_1.3.3.bb => fltk_1.3.4-1.bb}        | 18 +++++-----
 3 files changed, 38 insertions(+), 60 deletions(-)
 delete mode 100644 meta-oe/recipes-support/fltk/fltk/fix-boolean-issue-with-jpeg9.patch
 rename meta-oe/recipes-support/fltk/{fltk_1.3.3.bb => fltk_1.3.4-1.bb} (74%)
meta-oe/recipes-support/fltk/fltk/fix-boolean-issue-with-jpeg9.patch deleted +0 -40
deleted file mode 100644
index 014184d..0000000
@@ -1,40 +0,0 @@
-From 14c22398f8370e33a798360ed0dad513af8f1470 Mon Sep 17 00:00:00 2001
-From: AlbrechtS <AlbrechtS@ea41ed52-d2ee-0310-a9c1-e6b18d33e121>
-Date: Sun, 15 Mar 2015 19:32:33 +0000
-Subject: [PATCH] Fix 'boolean' issue with jpeg-9 library compatibility (STR
- #2920).
-
-According to comments in STR #2920 and my own tests this is also
-compatible with older jpeg libraries (at least jpeg-8).
-
-Upstream-Status: Backport
-
----
- src/Fl_JPEG_Image.cxx |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx
-index 47120a7..6cebe88 100644
---- a/src/Fl_JPEG_Image.cxx
-+++ b/src/Fl_JPEG_Image.cxx
-@@ -155,7 +155,7 @@ Fl_JPEG_Image::Fl_JPEG_Image(const char *filename)	// I - File to load
-   
-   jpeg_create_decompress(&dinfo);
-   jpeg_stdio_src(&dinfo, fp);
--  jpeg_read_header(&dinfo, 1);
-+  jpeg_read_header(&dinfo, TRUE);
-   
-   dinfo.quantize_colors      = (boolean)FALSE;
-   dinfo.out_color_space      = JCS_RGB;
-@@ -337,7 +337,7 @@ Fl_JPEG_Image::Fl_JPEG_Image(const char *name, const unsigned char *data)
-   
-   jpeg_create_decompress(&dinfo);
-   jpeg_mem_src(&dinfo, data);
--  jpeg_read_header(&dinfo, 1);
-+  jpeg_read_header(&dinfo, TRUE);
-   
-   dinfo.quantize_colors      = (boolean)FALSE;
-   dinfo.out_color_space      = JCS_RGB;
--- 
-1.7.9.5
-
meta-oe/recipes-support/fltk/fltk/fltk-no-freetype-config.patch +30 -10
index 4d13ffc..2a9915b 100644
@@ -1,20 +1,40 @@
---- a/configure.in.orig	2015-11-26 14:30:17.893426966 +0800
-+++ b/configure.in	2015-11-26 14:33:00.285424099 +0800
-@@ -969,12 +969,12 @@ case $host_os_gui in
-         AC_ARG_ENABLE(xft, [  --enable-xft            turn on Xft support [[default=yes]]])
+From 699420d306cadbb5285942e09f4383d84b01985d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Fri, 13 Jan 2017 13:21:23 +0100
+Subject: [PATCH] replace freetype-config by pkg-config
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ configure.ac | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index f0efd48..3af5ecb 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1006,12 +1006,12 @@ case $host_os_gui in
  
+ 	xft_found=no
  	if test x$enable_xft != xno; then
--            AC_PATH_PROG(FTCONFIG,freetype-config)
-+            AC_PATH_PROG(PKGCONFIG,pkg-config)
+-	    AC_PATH_PROG(FTCONFIG, freetype-config)
++	    AC_PATH_PROG(PKGCONFIG,pkg-config)
  
 -	    if test "x$FTCONFIG" != x; then
--	        CPPFLAGS="`$FTCONFIG --cflags` $CPPFLAGS"
--	        CFLAGS="`$FTCONFIG --cflags` $CFLAGS"
--	        CXXFLAGS="`$FTCONFIG --cflags` $CXXFLAGS"
+-		CPPFLAGS="`$FTCONFIG --cflags` $CPPFLAGS"
+-		CFLAGS="`$FTCONFIG --cflags` $CFLAGS"
+-		CXXFLAGS="`$FTCONFIG --cflags` $CXXFLAGS"
 +	    if test "x$PKGCONFIG" != x; then
 +	        CPPFLAGS="`$PKGCONFIG --cflags xft` $CPPFLAGS"
 +	        CFLAGS="`$PKGCONFIG --cflags xft` $CFLAGS"
 +	        CXXFLAGS="`$PKGCONFIG --cflags xft` $CXXFLAGS"
  
- 	        AC_CHECK_LIB(fontconfig, FcPatternCreate)
+ 		AC_CHECK_LIB(fontconfig, FcPatternCreate)
  		AC_CHECK_HEADER(X11/Xft/Xft.h,
+-- 
+2.7.4
+
meta-oe/recipes-support/fltk/fltk_1.3.4-1.bb renamed from meta-oe/recipes-support/fltk/fltk_1.3.3.bb +8 -10
similarity index 74%
rename from meta-oe/recipes-support/fltk/fltk_1.3.3.bb
rename to meta-oe/recipes-support/fltk/fltk_1.3.4-1.bb
index efba3a9..f08d547 100644
@@ -6,17 +6,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f6b26344a24a941a01a5b0826e80b5ca"
 
 DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
 
-SRC_URI = "http://fltk.org/pub/fltk/${PV}/${BP}-source.tar.gz \
-           file://disable_test.patch \
-           file://fltk-no-freetype-config.patch \
-           file://fix-boolean-issue-with-jpeg9.patch \
+SRC_URI = " \
+    http://fltk.org/pub/fltk/1.3.4/${BP}-source.tar.gz \
+    file://disable_test.patch \
+    file://fltk-no-freetype-config.patch \
 "
 
-SRC_URI[md5sum] = "9ccdb0d19dc104b87179bd9fd10822e3"
-SRC_URI[sha256sum] = "f8398d98d7221d40e77bc7b19e761adaf2f1ef8bb0c30eceb7beb4f2273d0d97"
+SRC_URI[md5sum] = "d7fcd27ab928648e1a1366dd2e273970"
+SRC_URI[sha256sum] = "7fb2c8882433ce694e6900c94fda505e8f4ed3fa9c7e597007098a33b85c53f4"
 
 inherit autotools-brokensep binconfig pkgconfig lib_package
 
+EXTRA_AUTORECONF = "--exclude=autopoint,autoheader"
+
 TARGET_CC_ARCH += "${LDFLAGS} -DXFT_MAJOR=2"
 
 EXTRA_OECONF = "--enable-shared \
@@ -32,10 +34,6 @@ PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama"
 PACKAGECONFIG[xfixes] = "--enable-xfixes,--disable-xfixes,libxfixes"
 PACKAGECONFIG[xcursor] = "--enable-xcursor,--disable-xcursor,libxcursor"
 
-do_configure() {
-    oe_runconf
-}
-
 do_install_append_class-target() {
     sed -i -e 's,${STAGING_DIR_HOST},,g' ${D}${bindir}/fltk-config
 }
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/9 libopus: update 1.1.2 -> 1.1.3

In reply to Andreas Müller
---
 .../recipes-multimedia/libopus/{libopus_1.1.2.bb => libopus_1.1.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-multimedia/libopus/{libopus_1.1.2.bb => libopus_1.1.3.bb} (94%)
meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb renamed from meta-oe/recipes-multimedia/libopus/libopus_1.1.2.bb +2 -2
similarity index 94%
rename from meta-oe/recipes-multimedia/libopus/libopus_1.1.2.bb
rename to meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb
index e5882e8..b5eef82 100644
@@ -9,8 +9,8 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e304cdf74c2a1b0a33a5084c128a23a3"
 
 SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
-SRC_URI[md5sum] = "1f08a661bc72930187893a07f3741a91"
-SRC_URI[sha256sum] = "0e290078e31211baa7b5886bcc8ab6bc048b9fc83882532da4a1a45e58e907fd"
+SRC_URI[md5sum] = "32bbb6b557fe1b6066adc0ae1f08b629"
+SRC_URI[sha256sum] = "58b6fe802e7e30182e95d0cde890c0ace40b6f125cffc50635f0ad2eef69b633"
 
 S = "${WORKDIR}/opus-${PV}"
 
Signature · 1 line
2.7.4
#4 lore raw

PATCH 5/9 libopus: add --enable-custom-modes to EXTRA_OECONF

In reply to Andreas Müller

* this is what jack is looking for
* while we are here do some polishing

---
 meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb +7 -5
index b5eef82..a24f5e3 100644
@@ -20,11 +20,13 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[fixed-point] = "--enable-fixed-point,,"
 PACKAGECONFIG[float-approx] = "--enable-float-approx,,"
 
-EXTRA_OECONF = "--with-NE10-includes=${STAGING_DIR_TARGET}${includedir} \
-                --with-NE10-libraries=${STAGING_DIR_TARGET}${libdir} \
-                --enable-asm \
-                --enable-intrinsics \
-               "
+EXTRA_OECONF = " \
+    --with-NE10-includes=${STAGING_DIR_TARGET}${includedir} \
+    --with-NE10-libraries=${STAGING_DIR_TARGET}${libdir} \
+    --enable-asm \
+    --enable-intrinsics \
+    --enable-custom-modes \
+"
 
 python () {
     if d.getVar('TARGET_FPU') in [ 'soft' ]:
Signature · 1 line
2.7.4
#5 lore raw

PATCH 6/9 jack: update to git master

In reply to Andreas Müller

I am interested in dither random generator fix [1]

[1] https://github.com/jackaudio/jack2/commit/0279a2d65a36d1378f5bab56d95bf9e99cc8cefb

---
 meta-oe/recipes-multimedia/jack/jack_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-multimedia/jack/jack_git.bb +1 -1
index 66cec0a..ba074ad 100644
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = " \
 DEPENDS = "libsamplerate0 libsndfile1 libopus readline"
 
 SRC_URI = "git://github.com/jackaudio/jack2.git"
-SRCREV = "364159f8212393442670b9c3b68b75aa39d98975"
+SRCREV = "0279a2d65a36d1378f5bab56d95bf9e99cc8cefb"
 PV = "1.9.10+git${SRCPV}"
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.7.4
#6 lore raw

PATCH 7/9 jack: fix PACKAGECONFIG for alsa

In reply to Andreas Müller
---
 meta-oe/recipes-multimedia/jack/jack_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-multimedia/jack/jack_git.bb +1 -1
index ba074ad..2c09f1b 100644
@@ -22,7 +22,7 @@ S = "${WORKDIR}/git"
 inherit waf pkgconfig
 
 PACKAGECONFIG ??= "alsa"
-PACKAGECONFIG[alsa] = "--alsa=yes,alsa=no,alsa-lib"
+PACKAGECONFIG[alsa] = "--alsa=yes,--alsa=no,alsa-lib"
 
 # portaudio is for windows builds only
 EXTRA_OECONF = "--portaudio=no"
Signature · 1 line
2.7.4
#7 lore raw

PATCH 8/9 jack: add a PACKAGECONFIG for opus - disabled by default

In reply to Andreas Müller

It was broken before libopus/--enable-custom-modes patch anyway and netjack2 is an enhanced feature not necessary by default.

---
 meta-oe/recipes-multimedia/jack/jack_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-multimedia/jack/jack_git.bb +2 -1
index 2c09f1b..89fd638 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \
     file://common/jack/jack.h;beginline=1;endline=19;md5=6b736ed6b810592b135480a5e853392e \
 "
 
-DEPENDS = "libsamplerate0 libsndfile1 libopus readline"
+DEPENDS = "libsamplerate0 libsndfile1 readline"
 
 SRC_URI = "git://github.com/jackaudio/jack2.git"
 SRCREV = "0279a2d65a36d1378f5bab56d95bf9e99cc8cefb"
@@ -23,6 +23,7 @@ inherit waf pkgconfig
 
 PACKAGECONFIG ??= "alsa"
 PACKAGECONFIG[alsa] = "--alsa=yes,--alsa=no,alsa-lib"
+PACKAGECONFIG[opus] = "--opus=yes,--opus=no,libopus"
 
 # portaudio is for windows builds only
 EXTRA_OECONF = "--portaudio=no"
Signature · 1 line
2.7.4
#8 lore raw

PATCH 9/9 poppler: update to 0.51.0

In reply to Andreas Müller
---
 .../recipes-support/poppler/{poppler_0.50.0.bb => poppler_0.51.0.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/poppler/{poppler_0.50.0.bb => poppler_0.51.0.bb} (94%)
meta-oe/recipes-support/poppler/poppler_0.51.0.bb renamed from meta-oe/recipes-support/poppler/poppler_0.50.0.bb +2 -2
similarity index 94%
rename from meta-oe/recipes-support/poppler/poppler_0.50.0.bb
rename to meta-oe/recipes-support/poppler/poppler_0.51.0.bb
index 56425e6..4aa2dba 100644
@@ -7,8 +7,8 @@ SRC_URI = " \
     file://0001-add-manadatory-options-to-find-qt4-qt5-moc.patch \
     file://0002-fix-gcc-6-math-ambiguous-errors.patch \
 "
-SRC_URI[md5sum] = "1a4c0cd873bddd8f266b85ab8d799962"
-SRC_URI[sha256sum] = "c9c93318b789d3933f6e0bad3bc65110280c28eac3f0666284bb9c9a0ab4bc36"
+SRC_URI[md5sum] = "342452b9dfd16f3c9912eb029fe0d4e2"
+SRC_URI[sha256sum] = "e997c9ad81a8372f2dd03a02b00692b8cc479c220340c8881edaca540f402c1f"
 
 DEPENDS = "fontconfig zlib cairo lcms"
 
Signature · 1 line
2.7.4
#9 lore raw
In reply to Andreas Müller
Quoted 12 lines · Andreas Müller
---
 meta-oe/recipes-support/onboard/onboard_1.3.0.bb | 25 ++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-support/onboard/onboard_1.3.0.bb
meta-oe/recipes-support/onboard/onboard_1.3.0.bb new file +0 -0
new file mode 100644
index 0000000..82393c3

meta-oe/recipes-support/onboard/onboard_1.3.0.bb line 5

Quoted 5 lines
meta-oe/recipes-support/onboard/onboard_1.3.0.bb new file +5 -0
@@ -0,0 +1,25 @@
+SUMMARY = "An onscreen keyboard"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING.GPL3;md5=8521fa4dd51909b407c5150498d34f4e"
+
+DEPENDS += "gtk+3 hunspell libcanberra libxkbfile dconf"

It depends on dconf which is in meta-gnome and meta-oe cannot depend on meta-gnome.

Can you move this to meta-gnome as well?

Quoted 27 lines
meta-oe/recipes-support/onboard/onboard_1.3.0.bb new file +19 -0
+SRC_URI = "https://launchpad.net/onboard/1.3/${PV}/+download/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "8000df3e789512a90fcb227580fd60ff"
+SRC_URI[sha256sum] = "fd74b54b8bd7a075cf5f6e1a8ca3e6de5cd2663507adb690d7b1a85e71afa2e4"
+
+inherit setuptools3 pkgconfig gtk-icon-cache gsettings
+
+FILES_${PN} += " \
+    ${datadir}/dbus-1 \
+    ${datadir}/icons \
+    ${datadir}/gnome-shell \
+    ${datadir}/help \
+"
+
+RDEPENDS_${PN} += " \
+    ncurses \
+    python3-dbus \
+    python3-pycairo \
+    python3-pygobject \
+"
Signature · 7 lines
2.7.4

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