* [PATCH 0/5] [meta-oe] Pending patches
@ 2012-11-27 16:51 Martin Jansa
2012-11-27 16:51 ` [PATCH 1/5] dhcp: rename bbappend to match new version from oe-core and move to oe-core prefix Martin Jansa
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Martin Jansa @ 2012-11-27 16:51 UTC (permalink / raw)
To: openembedded-devel
Collection of patches I have for a while..
samba patch was unfortunatelly sent without meta-oe prefix
dhcp patch was ignored by patchwork
The following changes since commit eb63724f431a0fb6b2fec1bd84ae7f04cb8744df:
python-cheetah : Drop RDEPENDS from native build. (2012-11-27 12:48:30 +0100)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib jansa/pending
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=jansa/pending
Andrei Dinu (1):
gypsy: added to meta-oe/recipes-navigation
Martin Jansa (4):
dhcp: rename bbappend to match new version from oe-core and move to
oe-core prefix
samba: update waf-as-source.patch to apply
xserver-nodm-init: replace 'WantedBy=graphical.target' by
'Alias=display-manager.service'
xf86-video-glamo: adapt to xserver-0.12 video API
.../samba/samba-3.6.8/waf-as-source.patch | 4 -
meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | 2 +-
...mo-driver-adapt-to-xserver-0.13-video-API.patch | 279 +++++++++++++++++++++
.../xorg-driver/xf86-video-glamo_git.bb | 3 +-
.../recipes-navigation/gypsy/files/fixups.patch | 21 ++
meta-oe/recipes-navigation/gypsy/gypsy.inc | 15 ++
meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb | 24 ++
meta-oe/recipes-navigation/gypsy/gypsy_git.bb | 18 ++
.../xserver-nodm-init/xserver-nodm.service | 2 +-
.../xserver-nodm-init_2.0.bbappend | 2 +-
.../recipes-connectivity/dhcp/dhcp/dhcpd.service | 0
.../dhcp/dhcp/dhcrelay.service | 0
.../dhcp/dhcp_4.2.4-P2.bbappend} | 0
13 files changed, 362 insertions(+), 8 deletions(-)
create mode 100644 meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch
create mode 100644 meta-oe/recipes-navigation/gypsy/files/fixups.patch
create mode 100644 meta-oe/recipes-navigation/gypsy/gypsy.inc
create mode 100644 meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb
create mode 100644 meta-oe/recipes-navigation/gypsy/gypsy_git.bb
rename meta-systemd/{meta-oe => oe-core}/recipes-connectivity/dhcp/dhcp/dhcpd.service (100%)
rename meta-systemd/{meta-oe => oe-core}/recipes-connectivity/dhcp/dhcp/dhcrelay.service (100%)
rename meta-systemd/{meta-oe/recipes-connectivity/dhcp/dhcp_4.2.4-P1.bbappend => oe-core/recipes-connectivity/dhcp/dhcp_4.2.4-P2.bbappend} (100%)
--
1.8.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/5] dhcp: rename bbappend to match new version from oe-core and move to oe-core prefix
2012-11-27 16:51 [PATCH 0/5] [meta-oe] Pending patches Martin Jansa
@ 2012-11-27 16:51 ` Martin Jansa
2012-11-27 16:51 ` [PATCH 2/5] samba: update waf-as-source.patch to apply Martin Jansa
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2012-11-27 16:51 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../{meta-oe => oe-core}/recipes-connectivity/dhcp/dhcp/dhcpd.service | 0
.../{meta-oe => oe-core}/recipes-connectivity/dhcp/dhcp/dhcrelay.service | 0
.../recipes-connectivity/dhcp/dhcp_4.2.4-P2.bbappend} | 0
3 files changed, 0 insertions(+), 0 deletions(-)
rename meta-systemd/{meta-oe => oe-core}/recipes-connectivity/dhcp/dhcp/dhcpd.service (100%)
rename meta-systemd/{meta-oe => oe-core}/recipes-connectivity/dhcp/dhcp/dhcrelay.service (100%)
rename meta-systemd/{meta-oe/recipes-connectivity/dhcp/dhcp_4.2.4-P1.bbappend => oe-core/recipes-connectivity/dhcp/dhcp_4.2.4-P2.bbappend} (100%)
diff --git a/meta-systemd/meta-oe/recipes-connectivity/dhcp/dhcp/dhcpd.service b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service
similarity index 100%
rename from meta-systemd/meta-oe/recipes-connectivity/dhcp/dhcp/dhcpd.service
rename to meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service
diff --git a/meta-systemd/meta-oe/recipes-connectivity/dhcp/dhcp/dhcrelay.service b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service
similarity index 100%
rename from meta-systemd/meta-oe/recipes-connectivity/dhcp/dhcp/dhcrelay.service
rename to meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service
diff --git a/meta-systemd/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.4-P1.bbappend b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_4.2.4-P2.bbappend
similarity index 100%
rename from meta-systemd/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.4-P1.bbappend
rename to meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_4.2.4-P2.bbappend
--
1.8.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/5] samba: update waf-as-source.patch to apply
2012-11-27 16:51 [PATCH 0/5] [meta-oe] Pending patches Martin Jansa
2012-11-27 16:51 ` [PATCH 1/5] dhcp: rename bbappend to match new version from oe-core and move to oe-core prefix Martin Jansa
@ 2012-11-27 16:51 ` Martin Jansa
2012-11-27 16:51 ` [PATCH 3/5] xserver-nodm-init: replace 'WantedBy=graphical.target' by 'Alias=display-manager.service' Martin Jansa
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2012-11-27 16:51 UTC (permalink / raw)
To: openembedded-devel
* and Applying patch waf-as-source.patch
...
File buildtools/bin/waf-svn is not empty after patch; not deleting
...
Patch waf-as-source.patch does not apply (enforce with -f)
I've dropped this chunk and now it builds
* there is also WARNING about unpackaged but empty base_sbindir
WARNING: QA Issue: samba: Files/directories were installed but not
shipped
/sbin
created by do_install in samba.inc but used only when cifs is built,
maybe we should remove it from samba.inc now
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta-oe/recipes-connectivity/samba/samba-3.6.8/waf-as-source.patch | 4 ----
meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | 2 +-
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/meta-oe/recipes-connectivity/samba/samba-3.6.8/waf-as-source.patch b/meta-oe/recipes-connectivity/samba/samba-3.6.8/waf-as-source.patch
index 3ba7d23..985ed5a 100644
--- a/meta-oe/recipes-connectivity/samba/samba-3.6.8/waf-as-source.patch
+++ b/meta-oe/recipes-connectivity/samba/samba-3.6.8/waf-as-source.patch
@@ -44,10 +44,6 @@ index 9ef8a1f..0000000
-You can get a svn copy of the upstream source with:
-
- svn checkout http://waf.googlecode.com/svn/trunk/ waf-read-only
-diff --git a/buildtools/bin/waf-svn b/buildtools/bin/waf-svn
-deleted file mode 100755
-index 6d54d5f..0000000
-Binary files a/buildtools/bin/waf-svn and /dev/null differ
diff --git a/buildtools/update-waf.sh b/buildtools/update-waf.sh
new file mode 100755
index 0000000..bb3a4bf
diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
index cc09a48..7c54dae 100644
--- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
+++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
@@ -3,7 +3,7 @@ require samba-basic.inc
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"
-PR = "r1"
+PR = "r2"
SRC_URI += "\
file://config-h.patch \
--
1.8.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/5] xserver-nodm-init: replace 'WantedBy=graphical.target' by 'Alias=display-manager.service'
2012-11-27 16:51 [PATCH 0/5] [meta-oe] Pending patches Martin Jansa
2012-11-27 16:51 ` [PATCH 1/5] dhcp: rename bbappend to match new version from oe-core and move to oe-core prefix Martin Jansa
2012-11-27 16:51 ` [PATCH 2/5] samba: update waf-as-source.patch to apply Martin Jansa
@ 2012-11-27 16:51 ` Martin Jansa
2012-11-27 16:51 ` [PATCH 4/5] xf86-video-glamo: adapt to xserver-0.12 video API Martin Jansa
2012-11-27 16:51 ` [PATCH 5/5] gypsy: added to meta-oe/recipes-navigation Martin Jansa
4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2012-11-27 16:51 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../xserver-nodm-init/xserver-nodm-init/xserver-nodm.service | 2 +-
.../recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service
index c15a772..53e61d7 100644
--- a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service
+++ b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service
@@ -6,4 +6,4 @@ EnvironmentFile=/etc/default/xserver-nodm
ExecStart=/usr/bin/xinit /etc/X11/Xsession -- /etc/X11/Xserver
[Install]
-WantedBy=multi-user.target
+Alias=display-manager.service
diff --git a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend
index 5538805..b6b77c9 100644
--- a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend
+++ b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend
@@ -1,6 +1,6 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
inherit systemd
--
1.8.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/5] xf86-video-glamo: adapt to xserver-0.12 video API
2012-11-27 16:51 [PATCH 0/5] [meta-oe] Pending patches Martin Jansa
` (2 preceding siblings ...)
2012-11-27 16:51 ` [PATCH 3/5] xserver-nodm-init: replace 'WantedBy=graphical.target' by 'Alias=display-manager.service' Martin Jansa
@ 2012-11-27 16:51 ` Martin Jansa
2012-11-27 16:51 ` [PATCH 5/5] gypsy: added to meta-oe/recipes-navigation Martin Jansa
4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2012-11-27 16:51 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
...mo-driver-adapt-to-xserver-0.13-video-API.patch | 279 +++++++++++++++++++++
.../xorg-driver/xf86-video-glamo_git.bb | 3 +-
2 files changed, 281 insertions(+), 1 deletion(-)
create mode 100644 meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch
new file mode 100644
index 0000000..cbdc6e7
--- /dev/null
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch
@@ -0,0 +1,279 @@
+From 57e8944e3cced03b9526bd075649d74d97c24899 Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Tue, 20 Nov 2012 22:18:23 +0100
+Subject: [PATCH 3/3] glamo-driver: adapt to xserver-0.13 video API
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ src/compat-api.h | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ src/glamo-driver.c | 43 ++++++++++++------------
+ 2 files changed, 118 insertions(+), 21 deletions(-)
+ create mode 100644 src/compat-api.h
+
+diff --git a/src/compat-api.h b/src/compat-api.h
+new file mode 100644
+index 0000000..b1591b1
+--- /dev/null
++++ b/src/compat-api.h
+@@ -0,0 +1,96 @@
++/*
++ * Copyright 2012 Red Hat, Inc.
++ *
++ * Permission is hereby granted, free of charge, to any person obtaining a
++ * copy of this software and associated documentation files (the "Software"),
++ * to deal in the Software without restriction, including without limitation
++ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
++ * and/or sell copies of the Software, and to permit persons to whom the
++ * Software is furnished to do so, subject to the following conditions:
++ *
++ * The above copyright notice and this permission notice (including the next
++ * paragraph) shall be included in all copies or substantial portions of the
++ * Software.
++ *
++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
++ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
++ * DEALINGS IN THE SOFTWARE.
++ *
++ * Author: Dave Airlie <airlied@redhat.com>
++ */
++
++/* this file provides API compat between server post 1.13 and pre it,
++ it should be reused inside as many drivers as possible */
++#ifndef COMPAT_API_H
++#define COMPAT_API_H
++
++#ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR
++#define GetGlyphPicture(g, s) GlyphPicture((g))[(s)->myNum]
++#define SetGlyphPicture(g, s, p) GlyphPicture((g))[(s)->myNum] = p
++#endif
++
++#ifndef XF86_HAS_SCRN_CONV
++#define xf86ScreenToScrn(s) xf86Screens[(s)->myNum]
++#define xf86ScrnToScreen(s) screenInfo.screens[(s)->scrnIndex]
++#endif
++
++#ifndef XF86_SCRN_INTERFACE
++
++#define SCRN_ARG_TYPE int
++#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = xf86Screens[(arg1)]
++
++#define SCREEN_ARG_TYPE int
++#define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)]
++
++#define SCREEN_INIT_ARGS_DECL int index, ScreenPtr pScreen, int argc, char **argv
++
++#define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
++#define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
++
++#define CLOSE_SCREEN_ARGS_DECL int scrnIndex, ScreenPtr pScreen
++#define CLOSE_SCREEN_ARGS scrnIndex, pScreen
++
++#define ADJUST_FRAME_ARGS_DECL int arg, int x, int y, int flags
++
++#define SWITCH_MODE_ARGS_DECL int arg, DisplayModePtr mode, int flags
++
++#define FREE_SCREEN_ARGS_DECL int arg, int flags
++#define FREE_SCREEN_ARGS(x) (x)->scrnIndex, 0
++
++#define VT_FUNC_ARGS_DECL int arg, int flags
++#define VT_FUNC_ARGS(flags) pScrn->scrnIndex, (flags)
++
++#define XF86_ENABLEDISABLEFB_ARG(x) ((x)->scrnIndex)
++#else
++#define SCRN_ARG_TYPE ScrnInfoPtr
++#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = (arg1)
++
++#define SCREEN_ARG_TYPE ScreenPtr
++#define SCREEN_PTR(arg1) ScreenPtr pScreen = (arg1)
++
++#define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
++
++#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
++#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
++
++#define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
++#define CLOSE_SCREEN_ARGS pScreen
++
++#define ADJUST_FRAME_ARGS_DECL ScrnInfoPtr arg, int x, int y
++#define SWITCH_MODE_ARGS_DECL ScrnInfoPtr arg, DisplayModePtr mode
++
++#define FREE_SCREEN_ARGS_DECL ScrnInfoPtr arg
++#define FREE_SCREEN_ARGS(x) (x)
++
++#define VT_FUNC_ARGS_DECL ScrnInfoPtr arg
++#define VT_FUNC_ARGS(flags) pScrn
++
++#define XF86_ENABLEDISABLEFB_ARG(x) (x)
++
++#endif
++
++#endif
+diff --git a/src/glamo-driver.c b/src/glamo-driver.c
+index b13caae..10b7762 100644
+--- a/src/glamo-driver.c
++++ b/src/glamo-driver.c
+@@ -43,6 +43,7 @@
+
+ #include <sys/mman.h>
+
++#include "compat-api.h"
+
+ static Bool debug = 0;
+
+@@ -68,10 +69,10 @@ static Bool
+ GlamoPreInit(ScrnInfoPtr pScrn, int flags);
+
+ static Bool
+-GlamoScreenInit(int Index, ScreenPtr pScreen, int argc, char **argv);
++GlamoScreenInit(SCREEN_INIT_ARGS_DECL);
+
+ static Bool
+-GlamoCloseScreen(int scrnIndex, ScreenPtr pScreen);
++GlamoCloseScreen(CLOSE_SCREEN_ARGS_DECL);
+
+ static Bool
+ GlamoCrtcResize(ScrnInfoPtr scrn, int width, int height);
+@@ -86,10 +87,10 @@ static void
+ GlamoRestoreHW(ScrnInfoPtr pScren);
+
+ static Bool
+-GlamoEnterVT(int scrnIndex, int flags);
++GlamoEnterVT(VT_FUNC_ARGS_DECL);
+
+ static void
+-GlamoLeaveVT(int scrnIndex, int flags);
++GlamoLeaveVT(VT_FUNC_ARGS_DECL);
+
+ static void
+ GlamoLoadColormap(ScrnInfoPtr pScrn, int numColors, int *indices,
+@@ -248,8 +249,8 @@ GlamoUnmapMMIO(ScrnInfoPtr pScrn) {
+ }
+
+ static Bool
+-GlamoSwitchMode(int scrnIndex, DisplayModePtr mode, int flags) {
+- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
++GlamoSwitchMode(SWITCH_MODE_ARGS_DECL) {
++ SCRN_INFO_PTR(arg);
+ xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR (pScrn);
+ xf86OutputPtr output = config->output[config->compat_output];
+ Rotation rotation;
+@@ -286,7 +287,7 @@ GlamoFbdevProbe(DriverPtr drv, GDevPtr *devSections, int numDevSections)
+
+ for (i = 0; i < numDevSections; i++) {
+
+- dev = xf86FindOptionValue(devSections[i]->options, "Device");
++ dev = (char *) xf86FindOptionValue(devSections[i]->options, "Device");
+ if (fbdevHWProbe(NULL, dev, NULL)) {
+ int entity;
+ pScrn = NULL;
+@@ -430,7 +431,7 @@ GlamoPreInit(ScrnInfoPtr pScrn, int flags)
+
+ pGlamo->pEnt = xf86GetEntityInfo(pScrn->entityList[0]);
+
+- fb_device = xf86FindOptionValue(pGlamo->pEnt->device->options, "Device");
++ fb_device = (char *) xf86FindOptionValue(pGlamo->pEnt->device->options, "Device");
+
+ /* open device */
+ if (!fbdevHWInit(pScrn, NULL, fb_device))
+@@ -523,7 +524,7 @@ GlamoPreInit(ScrnInfoPtr pScrn, int flags)
+
+
+ static Bool
+-GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
++GlamoScreenInit(SCREEN_INIT_ARGS_DECL)
+ {
+ ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
+ GlamoPtr pGlamo = GlamoPTR(pScrn);
+@@ -545,7 +546,7 @@ GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
+ #endif
+
+ if (NULL == (pGlamo->fbmem = fbdevHWMapVidmem(pScrn))) {
+- xf86DrvMsg(scrnIndex, X_ERROR, "mapping of video memory failed\n");
++ xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "mapping of video memory failed\n");
+ return FALSE;
+ }
+
+@@ -556,13 +557,13 @@ GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
+ /* mi layer */
+ miClearVisualTypes();
+ if (!miSetVisualTypes(pScrn->depth, TrueColorMask, pScrn->rgbBits, TrueColor)) {
+- xf86DrvMsg(scrnIndex, X_ERROR,
++ xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
+ "visual type setup failed for %d bits per pixel [1]\n",
+ pScrn->bitsPerPixel);
+ return FALSE;
+ }
+ if (!miSetPixmapDepths()) {
+- xf86DrvMsg(scrnIndex, X_ERROR, "pixmap depth setup failed\n");
++ xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "pixmap depth setup failed\n");
+ return FALSE;
+ }
+
+@@ -617,7 +618,7 @@ GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
+ /* software cursor */
+ miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
+
+- GlamoEnterVT(scrnIndex, 0);
++ GlamoEnterVT(VT_FUNC_ARGS(0));
+
+ xf86CrtcScreenInit(pScreen);
+ #if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,5,0,0,0)
+@@ -627,7 +628,7 @@ GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
+ /* colormap */
+ pGlamo->colormap = NULL;
+ if (!miCreateDefColormap(pScreen)) {
+- xf86DrvMsg(scrnIndex, X_ERROR,
++ xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
+ "internal error: miCreateDefColormap failed "
+ "in GlamoScreenInit()\n");
+ return FALSE;
+@@ -652,9 +653,9 @@ GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
+ }
+
+ static Bool
+-GlamoCloseScreen(int scrnIndex, ScreenPtr pScreen)
++GlamoCloseScreen(CLOSE_SCREEN_ARGS_DECL)
+ {
+- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
++ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
+ GlamoPtr pGlamo = GlamoPTR(pScrn);
+
+ if (pGlamo->accel)
+@@ -675,7 +676,7 @@ GlamoCloseScreen(int scrnIndex, ScreenPtr pScreen)
+
+ pScreen->CreateScreenResources = pGlamo->CreateScreenResources;
+ pScreen->CloseScreen = pGlamo->CloseScreen;
+- return (*pScreen->CloseScreen)(scrnIndex, pScreen);
++ return (*pScreen->CloseScreen)(CLOSE_SCREEN_ARGS);
+ }
+
+ static Bool
+@@ -826,8 +827,8 @@ GlamoRestoreHW(ScrnInfoPtr pScrn) {
+ }
+
+ static Bool
+-GlamoEnterVT(int scrnIndex, int flags) {
+- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
++GlamoEnterVT(VT_FUNC_ARGS_DECL) {
++ SCRN_INFO_PTR(arg);
+ GlamoPtr pGlamo = GlamoPTR(pScrn);
+
+ GlamoSaveHW(pScrn);
+@@ -842,8 +843,8 @@ GlamoEnterVT(int scrnIndex, int flags) {
+ }
+
+ static void
+-GlamoLeaveVT(int scrnIndex, int flags) {
+- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
++GlamoLeaveVT(VT_FUNC_ARGS_DECL) {
++ SCRN_INFO_PTR(arg);
+ GlamoPtr pGlamo = GlamoPTR(pScrn);
+
+ if (pGlamo->accel)
+--
+1.8.0
+
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb
index 10120b1..b56b995 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb
@@ -7,11 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8"
PE = "2"
PV = "1.0.0+gitr${SRCPV}"
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
SRC_URI = "git://git.openmoko.org/git/xf86-video-glamo.git;protocol=git;branch=master \
file://0001-glamo-kms-driver-drop-unused-xf86_config.patch \
file://0001-fix-build-with-KMS-disabled.patch \
+ file://0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch \
"
S = "${WORKDIR}/git"
--
1.8.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 5/5] gypsy: added to meta-oe/recipes-navigation
2012-11-27 16:51 [PATCH 0/5] [meta-oe] Pending patches Martin Jansa
` (3 preceding siblings ...)
2012-11-27 16:51 ` [PATCH 4/5] xf86-video-glamo: adapt to xserver-0.12 video API Martin Jansa
@ 2012-11-27 16:51 ` Martin Jansa
4 siblings, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2012-11-27 16:51 UTC (permalink / raw)
To: openembedded-devel
From: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Added gypsy to meta-oe/recipes-navigation
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../recipes-navigation/gypsy/files/fixups.patch | 21 +++++++++++++++++++
meta-oe/recipes-navigation/gypsy/gypsy.inc | 15 ++++++++++++++
meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb | 24 ++++++++++++++++++++++
meta-oe/recipes-navigation/gypsy/gypsy_git.bb | 18 ++++++++++++++++
4 files changed, 78 insertions(+)
create mode 100644 meta-oe/recipes-navigation/gypsy/files/fixups.patch
create mode 100644 meta-oe/recipes-navigation/gypsy/gypsy.inc
create mode 100644 meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb
create mode 100644 meta-oe/recipes-navigation/gypsy/gypsy_git.bb
diff --git a/meta-oe/recipes-navigation/gypsy/files/fixups.patch b/meta-oe/recipes-navigation/gypsy/files/fixups.patch
new file mode 100644
index 0000000..de4d92e
--- /dev/null
+++ b/meta-oe/recipes-navigation/gypsy/files/fixups.patch
@@ -0,0 +1,21 @@
+Upstream-Status: Inappropriate [configuration]
+
+---
+ docs/reference/Makefile.am | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- gypsy.orig/docs/reference/Makefile.am
++++ gypsy/docs/reference/Makefile.am
+@@ -81,10 +81,12 @@ expand_content_files=
+ # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
+
+ INCLUDES=-I$(top_srcdir) $(GYPSY_CFLAGS)
+ GTKDOC_LIBS=$(top_builddir)/gypsy/libgypsy.la $(GYPSY_LIBS)
+
++EXTRA_DIST =
++CLEANFILES =
+ # This includes the standard gtk-doc make rules, copied by gtkdocize.
+ include $(top_srcdir)/gtk-doc.make
+
+ # Other files to distribute
+ # e.g. EXTRA_DIST += version.xml.in
diff --git a/meta-oe/recipes-navigation/gypsy/gypsy.inc b/meta-oe/recipes-navigation/gypsy/gypsy.inc
new file mode 100644
index 0000000..0c1735e
--- /dev/null
+++ b/meta-oe/recipes-navigation/gypsy/gypsy.inc
@@ -0,0 +1,15 @@
+SUMMARY = "GPS Multiplexing Daemon"
+DESCRIPTION = "Gypsy is a GPS multiplexing daemon which allows \
+multiple clients to access GPS data from multiple GPS sources \
+concurrently. Gypsy also hides the details of parsing NMEA from the \
+client applications, passing the data as simple values for the clients \
+to use."
+LICENSE = "GPLv2.0 & LGPLv2.1"
+SECTION = "x11"
+DEPENDS = "glib-2.0 dbus bluez4 dbus-glib"
+
+inherit autotools pkgconfig gtk-doc
+
+EXTRA_OECONF += "--with-distro=debian"
+
+FILES_${PN} += "/usr/share/dbus-1/services/"
diff --git a/meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb b/meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb
new file mode 100644
index 0000000..51207c9
--- /dev/null
+++ b/meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb
@@ -0,0 +1,24 @@
+SUMMARY = "GPS Multiplexing Daemon"
+DESCRIPTION = "Gypsy is a GPS multiplexing daemon which allows \
+multiple clients to access GPS data from multiple GPS sources \
+concurrently. Gypsy also hides the details of parsing NMEA from the \
+client applications, passing the data as simple values for the clients \
+to use."
+LICENSE = "GPLv2+ & LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
+ file://COPYING.lib;md5=7fbc338309ac38fefcd64b04bb903e34 \
+ file://src/main.c;beginline=1;endline=25;md5=3fe64e27e61b289b77383a54a982cbdd \
+ file://gypsy/gypsy-time.h;beginline=1;endline=24;md5=06432ea19a7b6607428d04d9dadc37fd"
+
+SECTION = "x11"
+DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt"
+
+SRC_URI = "http://gypsy.freedesktop.org/releases/gypsy-${PV}.tar.gz"
+PR = "r1"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "/usr/share/dbus-1/system-services/"
+
+SRC_URI[md5sum] = "e2d186df9c2cc3b70a027043e22acf1a"
+SRC_URI[sha256sum] = "14e1cbe17351f408538e033ca370b4bf51ccf9c88744e236ddfb271904f154d6"
diff --git a/meta-oe/recipes-navigation/gypsy/gypsy_git.bb b/meta-oe/recipes-navigation/gypsy/gypsy_git.bb
new file mode 100644
index 0000000..e5c564f
--- /dev/null
+++ b/meta-oe/recipes-navigation/gypsy/gypsy_git.bb
@@ -0,0 +1,18 @@
+require gypsy.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+SRCREV = "be8c9c382d2d1d37b51d29b0843045121ec90213"
+PV = "0.9+git${SRCPV}"
+PR = "r1"
+
+S = "${WORKDIR}/git"
+
+LICENSE = "GPLv2+ & LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
+ file://COPYING.lib;md5=7fbc338309ac38fefcd64b04bb903e34 \
+ file://src/main.c;beginline=1;endline=25;md5=3fe64e27e61b289b77383a54a982cbdd \
+ file://gypsy/gypsy-time.h;beginline=1;endline=24;md5=06432ea19a7b6607428d04d9dadc37fd"
+
+SRC_URI = "git://anongit.freedesktop.org/gypsy;protocol=git \
+ file://fixups.patch"
--
1.8.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-27 17:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 16:51 [PATCH 0/5] [meta-oe] Pending patches Martin Jansa
2012-11-27 16:51 ` [PATCH 1/5] dhcp: rename bbappend to match new version from oe-core and move to oe-core prefix Martin Jansa
2012-11-27 16:51 ` [PATCH 2/5] samba: update waf-as-source.patch to apply Martin Jansa
2012-11-27 16:51 ` [PATCH 3/5] xserver-nodm-init: replace 'WantedBy=graphical.target' by 'Alias=display-manager.service' Martin Jansa
2012-11-27 16:51 ` [PATCH 4/5] xf86-video-glamo: adapt to xserver-0.12 video API Martin Jansa
2012-11-27 16:51 ` [PATCH 5/5] gypsy: added to meta-oe/recipes-navigation Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox