Skip to contentSkip to conversation

glfw3: add version 3.1.2

PATCH In review Hongmei Gou 2 participants 4 messages Aug 8, 2016 – Aug 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glfw3: add version 3.1.2

---
 .../glfw3/files/0001_xkb_unicode.patch             | 52 ++++++++++++++++++++++
 .../recipes-graphics/glfw3/glfw3_git.bb            | 24 ++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644 meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicode.patch
 create mode 100644 meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb
meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicode.patch new file +52 -0
new file mode 100644
index 0000000..7c9b9d3
@@ -0,0 +1,52 @@
+--- a/src/xkb_unicode.c	2015-10-12 15:09:07.000000000 -0400
++++ b/src/xkb_unicode.c	2016-04-08 08:20:23.229370629 -0400
+@@ -1,5 +1,5 @@
+ //========================================================================
+-// GLFW 3.1 X11 - www.glfw.org
++// GLFW 3.1patched X11 - www.glfw.org
+ //------------------------------------------------------------------------
+ // Copyright (c) 2002-2006 Marcus Geelnard
+ // Copyright (c) 2006-2010 Camilla Berglund <[email protected]>
+@@ -827,24 +827,24 @@
+   { 0x13be, 0x0178 },
+   { 0x20ac, 0x20ac },
+   // Numeric keypad with numlock on
+-  { XK_KP_Space, ' ' },
+-  { XK_KP_Equal, '=' },
+-  { XK_KP_Multiply, '*' },
+-  { XK_KP_Add, '+' },
+-  { XK_KP_Separator, ',' },
+-  { XK_KP_Subtract, '-' },
+-  { XK_KP_Decimal, '.' },
+-  { XK_KP_Divide, '/' },
+-  { XK_KP_0, 0x0030 },
+-  { XK_KP_1, 0x0031 },
+-  { XK_KP_2, 0x0032 },
+-  { XK_KP_3, 0x0033 },
+-  { XK_KP_4, 0x0034 },
+-  { XK_KP_5, 0x0035 },
+-  { XK_KP_6, 0x0036 },
+-  { XK_KP_7, 0x0037 },
+-  { XK_KP_8, 0x0038 },
+-  { XK_KP_9, 0x0039 }
++  { 0xff80 /*XKB_KEY_KP_Space*/,     ' ' },
++  { 0xffbd /*XKB_KEY_KP_Equal*/,     '=' },
++  { 0xffaa /*XKB_KEY_KP_Multiply*/,  '*' },
++  { 0xffab /*XKB_KEY_KP_Add*/,       '+' },
++  { 0xffac /*XKB_KEY_KP_Separator*/, ',' },
++  { 0xffad /*XKB_KEY_KP_Subtract*/,  '-' },
++  { 0xffae /*XKB_KEY_KP_Decimal*/,   '.' },
++  { 0xffaf /*XKB_KEY_KP_Divide*/,    '/' },
++  { 0xffb0 /*XKB_KEY_KP_0*/, 0x0030 },
++  { 0xffb1 /*XKB_KEY_KP_1*/, 0x0031 },
++  { 0xffb2 /*XKB_KEY_KP_2*/, 0x0032 },
++  { 0xffb3 /*XKB_KEY_KP_3*/, 0x0033 },
++  { 0xffb4 /*XKB_KEY_KP_4*/, 0x0034 },
++  { 0xffb5 /*XKB_KEY_KP_5*/, 0x0035 },
++  { 0xffb6 /*XKB_KEY_KP_6*/, 0x0036 },
++  { 0xffb7 /*XKB_KEY_KP_7*/, 0x0037 },
++  { 0xffb8 /*XKB_KEY_KP_8*/, 0x0038 },
++  { 0xffb9 /*XKB_KEY_KP_9*/, 0x0039 }
+ };
+ 
+ 
meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb new file +24 -0
new file mode 100644
index 0000000..aa1abe9
@@ -0,0 +1,24 @@
+SUMMARY = "GLFW cross platform graphics framework"
+DESCRIPTION = "A multi-platform library for OpenGL and OpenGLES, window and input"
+HOMEPAGE = "http://glfw.org/"
+LICENSE = "Zlib & Libpng"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=f543d41f3829a608a406b713e4e72731"
+
+PV = "3.1.2"
+PR = "r0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glfw/glfw.git;branch=${BRANCH}"
+SRCREV = "30306e54705c3adae9fe082c816a3be71963485c"
+
+SRC_URI += "file://0001_xkb_unicode.patch"
+
+DEPENDS = "glib-2.0 virtual/libgles2 virtual/egl weston wayland wayland-native"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+EXTRA_OECMAKE += "-DGLFW_USE_WAYLAND=ON -DGLFW_CLIENT_LIBRARY=glesv2 -DGLFW_BUILD_EXAMPLES=ON -DGFLW_BUILD_TESTS=ON"
+
+FILES_${PN} += "/usr/lib/cmake/*"
Signature · 1 line
1.9.1
#1 lore raw

Can you please provide more info in the description about what this is and where it's coming from (i.e. what about that patch?)

Signature · 1 line
Denys
Quoted 105 lines · Hongmei Gou
---
 .../glfw3/files/0001_xkb_unicode.patch             | 52 ++++++++++++++++++++++
 .../recipes-graphics/glfw3/glfw3_git.bb            | 24 ++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644 meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicode.patch
 create mode 100644 meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb
meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicode.patch new file +52 -0
new file mode 100644
index 0000000..7c9b9d3
@@ -0,0 +1,52 @@
+--- a/src/xkb_unicode.c	2015-10-12 15:09:07.000000000 -0400
++++ b/src/xkb_unicode.c	2016-04-08 08:20:23.229370629 -0400
+@@ -1,5 +1,5 @@
+ //========================================================================
+-// GLFW 3.1 X11 - www.glfw.org
++// GLFW 3.1patched X11 - www.glfw.org
+ //------------------------------------------------------------------------
+ // Copyright (c) 2002-2006 Marcus Geelnard
+ // Copyright (c) 2006-2010 Camilla Berglund <[email protected]>
+@@ -827,24 +827,24 @@
+   { 0x13be, 0x0178 },
+   { 0x20ac, 0x20ac },
+   // Numeric keypad with numlock on
+-  { XK_KP_Space, ' ' },
+-  { XK_KP_Equal, '=' },
+-  { XK_KP_Multiply, '*' },
+-  { XK_KP_Add, '+' },
+-  { XK_KP_Separator, ',' },
+-  { XK_KP_Subtract, '-' },
+-  { XK_KP_Decimal, '.' },
+-  { XK_KP_Divide, '/' },
+-  { XK_KP_0, 0x0030 },
+-  { XK_KP_1, 0x0031 },
+-  { XK_KP_2, 0x0032 },
+-  { XK_KP_3, 0x0033 },
+-  { XK_KP_4, 0x0034 },
+-  { XK_KP_5, 0x0035 },
+-  { XK_KP_6, 0x0036 },
+-  { XK_KP_7, 0x0037 },
+-  { XK_KP_8, 0x0038 },
+-  { XK_KP_9, 0x0039 }
++  { 0xff80 /*XKB_KEY_KP_Space*/,     ' ' },
++  { 0xffbd /*XKB_KEY_KP_Equal*/,     '=' },
++  { 0xffaa /*XKB_KEY_KP_Multiply*/,  '*' },
++  { 0xffab /*XKB_KEY_KP_Add*/,       '+' },
++  { 0xffac /*XKB_KEY_KP_Separator*/, ',' },
++  { 0xffad /*XKB_KEY_KP_Subtract*/,  '-' },
++  { 0xffae /*XKB_KEY_KP_Decimal*/,   '.' },
++  { 0xffaf /*XKB_KEY_KP_Divide*/,    '/' },
++  { 0xffb0 /*XKB_KEY_KP_0*/, 0x0030 },
++  { 0xffb1 /*XKB_KEY_KP_1*/, 0x0031 },
++  { 0xffb2 /*XKB_KEY_KP_2*/, 0x0032 },
++  { 0xffb3 /*XKB_KEY_KP_3*/, 0x0033 },
++  { 0xffb4 /*XKB_KEY_KP_4*/, 0x0034 },
++  { 0xffb5 /*XKB_KEY_KP_5*/, 0x0035 },
++  { 0xffb6 /*XKB_KEY_KP_6*/, 0x0036 },
++  { 0xffb7 /*XKB_KEY_KP_7*/, 0x0037 },
++  { 0xffb8 /*XKB_KEY_KP_8*/, 0x0038 },
++  { 0xffb9 /*XKB_KEY_KP_9*/, 0x0039 }
+ };
+ 
+ 
meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb new file +24 -0
new file mode 100644
index 0000000..aa1abe9
@@ -0,0 +1,24 @@
+SUMMARY = "GLFW cross platform graphics framework"
+DESCRIPTION = "A multi-platform library for OpenGL and OpenGLES, window and input"
+HOMEPAGE = "http://glfw.org/"
+LICENSE = "Zlib & Libpng"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=f543d41f3829a608a406b713e4e72731"
+
+PV = "3.1.2"
+PR = "r0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glfw/glfw.git;branch=${BRANCH}"
+SRCREV = "30306e54705c3adae9fe082c816a3be71963485c"
+
+SRC_URI += "file://0001_xkb_unicode.patch"
+
+DEPENDS = "glib-2.0 virtual/libgles2 virtual/egl weston wayland wayland-native"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+EXTRA_OECMAKE += "-DGLFW_USE_WAYLAND=ON -DGLFW_CLIENT_LIBRARY=glesv2 -DGLFW_BUILD_EXAMPLES=ON -DGFLW_BUILD_TESTS=ON"
+
+FILES_${PN} += "/usr/lib/cmake/*"
Signature · 6 lines
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#2 lore raw

Ping

Quoted 117 lines · Denys Dmytriyenko

Can you please provide more info in the description about what this is and where it's coming from (i.e. what about that patch?)

Signature · 1 line
Denys
Quoted 105 lines · Hongmei Gou
---
 .../glfw3/files/0001_xkb_unicode.patch             | 52 ++++++++++++++++++++++
 .../recipes-graphics/glfw3/glfw3_git.bb            | 24 ++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644 meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicode.patch
 create mode 100644 meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb
meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicode.patch new file +52 -0
new file mode 100644
index 0000000..7c9b9d3
@@ -0,0 +1,52 @@
+--- a/src/xkb_unicode.c	2015-10-12 15:09:07.000000000 -0400
++++ b/src/xkb_unicode.c	2016-04-08 08:20:23.229370629 -0400
+@@ -1,5 +1,5 @@
+ //========================================================================
+-// GLFW 3.1 X11 - www.glfw.org
++// GLFW 3.1patched X11 - www.glfw.org
+ //------------------------------------------------------------------------
+ // Copyright (c) 2002-2006 Marcus Geelnard
+ // Copyright (c) 2006-2010 Camilla Berglund <[email protected]>
+@@ -827,24 +827,24 @@
+   { 0x13be, 0x0178 },
+   { 0x20ac, 0x20ac },
+   // Numeric keypad with numlock on
+-  { XK_KP_Space, ' ' },
+-  { XK_KP_Equal, '=' },
+-  { XK_KP_Multiply, '*' },
+-  { XK_KP_Add, '+' },
+-  { XK_KP_Separator, ',' },
+-  { XK_KP_Subtract, '-' },
+-  { XK_KP_Decimal, '.' },
+-  { XK_KP_Divide, '/' },
+-  { XK_KP_0, 0x0030 },
+-  { XK_KP_1, 0x0031 },
+-  { XK_KP_2, 0x0032 },
+-  { XK_KP_3, 0x0033 },
+-  { XK_KP_4, 0x0034 },
+-  { XK_KP_5, 0x0035 },
+-  { XK_KP_6, 0x0036 },
+-  { XK_KP_7, 0x0037 },
+-  { XK_KP_8, 0x0038 },
+-  { XK_KP_9, 0x0039 }
++  { 0xff80 /*XKB_KEY_KP_Space*/,     ' ' },
++  { 0xffbd /*XKB_KEY_KP_Equal*/,     '=' },
++  { 0xffaa /*XKB_KEY_KP_Multiply*/,  '*' },
++  { 0xffab /*XKB_KEY_KP_Add*/,       '+' },
++  { 0xffac /*XKB_KEY_KP_Separator*/, ',' },
++  { 0xffad /*XKB_KEY_KP_Subtract*/,  '-' },
++  { 0xffae /*XKB_KEY_KP_Decimal*/,   '.' },
++  { 0xffaf /*XKB_KEY_KP_Divide*/,    '/' },
++  { 0xffb0 /*XKB_KEY_KP_0*/, 0x0030 },
++  { 0xffb1 /*XKB_KEY_KP_1*/, 0x0031 },
++  { 0xffb2 /*XKB_KEY_KP_2*/, 0x0032 },
++  { 0xffb3 /*XKB_KEY_KP_3*/, 0x0033 },
++  { 0xffb4 /*XKB_KEY_KP_4*/, 0x0034 },
++  { 0xffb5 /*XKB_KEY_KP_5*/, 0x0035 },
++  { 0xffb6 /*XKB_KEY_KP_6*/, 0x0036 },
++  { 0xffb7 /*XKB_KEY_KP_7*/, 0x0037 },
++  { 0xffb8 /*XKB_KEY_KP_8*/, 0x0038 },
++  { 0xffb9 /*XKB_KEY_KP_9*/, 0x0039 }
+ };
+ 
+ 
meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb new file +24 -0
new file mode 100644
index 0000000..aa1abe9
@@ -0,0 +1,24 @@
+SUMMARY = "GLFW cross platform graphics framework"
+DESCRIPTION = "A multi-platform library for OpenGL and OpenGLES, window and input"
+HOMEPAGE = "http://glfw.org/"
+LICENSE = "Zlib & Libpng"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=f543d41f3829a608a406b713e4e72731"
+
+PV = "3.1.2"
+PR = "r0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glfw/glfw.git;branch=${BRANCH}"
+SRCREV = "30306e54705c3adae9fe082c816a3be71963485c"
+
+SRC_URI += "file://0001_xkb_unicode.patch"
+
+DEPENDS = "glib-2.0 virtual/libgles2 virtual/egl weston wayland wayland-native"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+EXTRA_OECMAKE += "-DGLFW_USE_WAYLAND=ON -DGLFW_CLIENT_LIBRARY=glesv2 -DGLFW_BUILD_EXAMPLES=ON -DGFLW_BUILD_TESTS=ON"
+
+FILES_${PN} += "/usr/lib/cmake/*"
Signature · 6 lines
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#3 lore raw

Hi Denys,

We have just upgraded glfw3 to version 3.2 (released in June 2016). I will submit the recipe for glfw3 version 3.2 soon.

Thanks,
Hongmei

Quoted 143 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, August 16, 2016 4:28 PM
To: Gou, Hongmei
Cc: [email protected]; Senicic, Djordje
Subject: Re: [meta-arago] [PATCH] glfw3: add version 3.1.2

Ping

Quoted 12 lines · Denys Dmytriyenko

Can you please provide more info in the description about what this is and where it's coming from (i.e. what about that patch?)

--
Denys

Quoted 4 lines · Hongmei Gou
---
 .../glfw3/files/0001_xkb_unicode.patch             | 52

++++++++++++++++++++++

Quoted 7 lines
Quoted 7 lines
 .../recipes-graphics/glfw3/glfw3_git.bb            | 24 ++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644

meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicode.patc h create mode 100644 meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb

Quoted 16 lines
Quoted 12 lines

diff --git a/meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicode.pa tch b/meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicode.pa tch
new file mode 100644
index 0000000..7c9b9d3

meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicod new file +1 -0
+++ e.patch

meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicod line 4

Quoted 4 lines
meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicod new file +4 -0
@@ -0,0 +1,52 @@
+--- a/src/xkb_unicode.c	2015-10-12 15:09:07.000000000 -0400
++++ b/src/xkb_unicode.c	2016-04-08 08:20:23.229370629 -0400
+@@ -1,5 +1,5 @@
+

+//========================================================
=========

Quoted 47 lines
Quoted 47 lines
meta-arago-extras/recipes-graphics/glfw3/files/0001_xkb_unicod new file +46 -0
+=======
+-// GLFW 3.1 X11 - www.glfw.org
++// GLFW 3.1patched X11 - www.glfw.org
+
+//-----------------------------------------------------------------
+-------  // Copyright (c) 2002-2006 Marcus Geelnard  // Copyright
+(c) 2006-2010 Camilla Berglund <[email protected]> @@
+-827,24 +827,24 @@
+   { 0x13be, 0x0178 },
+   { 0x20ac, 0x20ac },
+   // Numeric keypad with numlock on
+-  { XK_KP_Space, ' ' },
+-  { XK_KP_Equal, '=' },
+-  { XK_KP_Multiply, '*' },
+-  { XK_KP_Add, '+' },
+-  { XK_KP_Separator, ',' },
+-  { XK_KP_Subtract, '-' },
+-  { XK_KP_Decimal, '.' },
+-  { XK_KP_Divide, '/' },
+-  { XK_KP_0, 0x0030 },
+-  { XK_KP_1, 0x0031 },
+-  { XK_KP_2, 0x0032 },
+-  { XK_KP_3, 0x0033 },
+-  { XK_KP_4, 0x0034 },
+-  { XK_KP_5, 0x0035 },
+-  { XK_KP_6, 0x0036 },
+-  { XK_KP_7, 0x0037 },
+-  { XK_KP_8, 0x0038 },
+-  { XK_KP_9, 0x0039 }
++  { 0xff80 /*XKB_KEY_KP_Space*/,     ' ' },
++  { 0xffbd /*XKB_KEY_KP_Equal*/,     '=' },
++  { 0xffaa /*XKB_KEY_KP_Multiply*/,  '*' },
++  { 0xffab /*XKB_KEY_KP_Add*/,       '+' },
++  { 0xffac /*XKB_KEY_KP_Separator*/, ',' },  { 0xffad
++ /*XKB_KEY_KP_Subtract*/,  '-' },
++  { 0xffae /*XKB_KEY_KP_Decimal*/,   '.' },
++  { 0xffaf /*XKB_KEY_KP_Divide*/,    '/' },
++  { 0xffb0 /*XKB_KEY_KP_0*/, 0x0030 },  { 0xffb1 /*XKB_KEY_KP_1*/,
++ 0x0031 },  { 0xffb2 /*XKB_KEY_KP_2*/, 0x0032 },  { 0xffb3
++ /*XKB_KEY_KP_3*/, 0x0033 },  { 0xffb4 /*XKB_KEY_KP_4*/, 0x0034 },
++ { 0xffb5 /*XKB_KEY_KP_5*/, 0x0035 },  { 0xffb6 /*XKB_KEY_KP_6*/,
++ 0x0036 },  { 0xffb7 /*XKB_KEY_KP_7*/, 0x0037 },  { 0xffb8
++ /*XKB_KEY_KP_8*/, 0x0038 },  { 0xffb9 /*XKB_KEY_KP_9*/, 0x0039 }
+ };
+
+
(quoted diff) +0 -0
Quoted 8 lines

meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb line 2

Quoted 8 lines

b/meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb new file mode 100644
index 0000000..aa1abe9

meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb new file +2 -0
@@ -0,0 +1,24 @@
+SUMMARY = "GLFW cross platform graphics framework"
+DESCRIPTION = "A multi-platform library for OpenGL and OpenGLES,

window and input"

Quoted 3 lines

meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb

Quoted 3 lines
meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb new file +3 -0
+HOMEPAGE = "http://glfw.org/"
+LICENSE = "Zlib & Libpng"
+LIC_FILES_CHKSUM =

"file://COPYING.txt;md5=f543d41f3829a608a406b713e4e72731"

Quoted 11 lines

meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb

Quoted 11 lines
meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb new file +11 -0
+
+PV = "3.1.2"
+PR = "r0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/glfw/glfw.git;branch=${BRANCH}"
+SRCREV = "30306e54705c3adae9fe082c816a3be71963485c"
+
+SRC_URI += "file://0001_xkb_unicode.patch"
+
+DEPENDS = "glib-2.0 virtual/libgles2 virtual/egl weston wayland wayland-

native"

Quoted 6 lines

meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb

Quoted 6 lines
meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb new file +6 -0
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+EXTRA_OECMAKE += "-DGLFW_USE_WAYLAND=ON -

DGLFW_CLIENT_LIBRARY=glesv2 -DGLFW_BUILD_EXAMPLES=ON - DGFLW_BUILD_TESTS=ON"

Quoted 14 lines
Quoted 10 lines
meta-arago-extras/recipes-graphics/glfw3/glfw3_git.bb new file +2 -1
+
+FILES_${PN} += "/usr/lib/cmake/*"
--

1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago