[yocto] [danny] core-image-minimal-dev is missing dev packages

2013-02-08 Thread Rudolf Streif
This is weird and I do not have an explanation for it. For Danny:

core-image-minimal-dev is missing the dev packages (pkg-dev)

I build it but the packages are not there. The cause does not seem to be my
setup because the core-image-minimal on the ADT download site is missing
them too.

The recipe looks ok.

However, core-image-sato-dev has the dev packages included.

:rjs
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1] meta-cedartrail: Update README with workaround for Yocto Bugzilla #3607 The PVR driver has a issue that for some systems it causes it to incorrectly assume that a LVDS display is c

2013-02-08 Thread rahul . saxena
From: Rahul Saxena 

Signed-off-by: Rahul Saxena 
---
 meta-cedartrail/README |   27 ++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/meta-cedartrail/README b/meta-cedartrail/README
index 0d166b2..e394faf 100755
--- a/meta-cedartrail/README
+++ b/meta-cedartrail/README
@@ -51,7 +51,7 @@ Table of Contents
 
  I. Building the meta-cedartrail BSP layer
 II. Booting the images in /binary
-
+III. Miscellaneous Notes
 
 I. Building the meta-cedartrail BSP layer
 =
@@ -188,3 +188,28 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks"
 and change above line to..
 
 EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps"
+
+
+Work Around for VGA and LVDS Display issue in PVR driver
+
+
+The PVR driver has a issue that for some systems it causes
+it to incorrectly assume that a LVDS display is connected
+while infact a VGA display is connected and Vice Versa.
+If your VGA or LVDS display does not work with
+"cedartrail" MACHINE, then if you have connected a VGA display,
+add the following to the kernel command line:
+
+video=LVDS-1:d video=VGA-1:e
+
+If you have connected a LVDS display, add the following to
+the kernel command line:
+
+video=LVDS-1:e video=VGA-1:d
+
+The kernel boot command line can be updated before BSP build by
+editing the "APPEND +=..." line in  conf/machine/cedartrail.conf file.
+
+The kernel command line can also be edited after a image is built by
+editing the syslinux.cfg file in the USB flash device on which
+the image is installed.
-- 
1.7.4.1

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1][meta-intel]meta-cedartrail:Update README for workaround for bug # 3607

2013-02-08 Thread rahul . saxena
From: Rahul Saxena 

The PVR driver has a issue that for some systems it causes
it to incorrectly assume that a LVDS display is connected
while infact a VGA display is connected and Vice Versa.
The README file is updated with the work-around for this issue.

Please pull into danny-next

Signed-off-by: Rahul Saxena 
--

The following changes since commit 9615c24f9d5326805537fd01d1fc5ea51d0d85db:

  libva-intel-driver: workaround for concurrent VC1 and H264 playback issue 
(2012-12-20 14:49:46 -0600)

are available in the git repository at:
  git://git.pokylinux.org/meta-intel-contrib danny-next-rsaxena1
  
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=danny-next-rsaxena1

Rahul Saxena (1):
  meta-cedartrail: Update README with workaround for Yocto Bugzilla
#3607 The PVR driver has a issue that for some systems it
causes it to incorrectly assume that a LVDS display is
connected while infact a VGA display is connected and Vice
Versa. The README file is updated with the work-around for this
issue.

 meta-cedartrail/README |   27 ++-
 1 files changed, 26 insertions(+), 1 deletions(-)

-- 
1.7.4.1

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1] meta-cedartrail: Update README with workaround for Yocto Bugzilla #3607 The PVR driver has a issue that for some systems it causes it to incorrectly assume that a LVDS display is c

2013-02-08 Thread rahul . saxena
From: Rahul Saxena 

Signed-off-by: Rahul Saxena 
---
 meta-cedartrail/README |   27 ++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/meta-cedartrail/README b/meta-cedartrail/README
index 0d166b2..e394faf 100755
--- a/meta-cedartrail/README
+++ b/meta-cedartrail/README
@@ -51,7 +51,7 @@ Table of Contents
 
  I. Building the meta-cedartrail BSP layer
 II. Booting the images in /binary
-
+III. Miscellaneous Notes
 
 I. Building the meta-cedartrail BSP layer
 =
@@ -188,3 +188,28 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks"
 and change above line to..
 
 EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps"
+
+
+Work Around for VGA and LVDS Display issue in PVR driver
+
+
+The PVR driver has a issue that for some systems it causes
+it to incorrectly assume that a LVDS display is connected
+while infact a VGA display is connected and Vice Versa.
+If your VGA or LVDS display does not work with
+"cedartrail" MACHINE, then if you have connected a VGA display,
+add the following to the kernel command line:
+
+video=LVDS-1:d video=VGA-1:e
+
+If you have connected a LVDS display, add the following to
+the kernel command line:
+
+video=LVDS-1:e video=VGA-1:d
+
+The kernel boot command line can be updated before BSP build by
+editing the "APPEND +=..." line in  conf/machine/cedartrail.conf file.
+
+The kernel boot command line can also be edited after a image is built by
+editing the syslinux.cfg file in the USB flash device on which
+the image is installed.
-- 
1.7.4.1

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1][meta-intel]meta-cedartrail:Update README for workaround for bug # 3607

2013-02-08 Thread rahul . saxena
From: Rahul Saxena 

Please pull into danny-next 
--
The following changes since commit 9615c24f9d5326805537fd01d1fc5ea51d0d85db:

  libva-intel-driver: workaround for concurrent VC1 and H264 playback issue 
(2012-12-20 14:49:46 -0600)

are available in the git repository at:
  git://git.pokylinux.org/meta-intel-contrib danny-next-rsaxena1
  
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=danny-next-rsaxena1

Rahul Saxena (1):
  meta-cedartrail: Update README with workaround for Yocto Bugzilla
#3607 The PVR driver has a issue that for some systems it
causes it to incorrectly assume that a LVDS display is
connected while infact a VGA display is connected and Vice
Versa. The README file is updated with the work-around for this
issue.

 meta-cedartrail/README |   27 ++-
 1 files changed, 26 insertions(+), 1 deletions(-)

-- 
1.7.4.1

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1][linux-yocto] meta: Remove Cedartrail Machine

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke 

Remove Cedartrail Machine from 3.4 Kernel.
Cedartrail BSP is not available.

Signed-off-by: Kishore Bodke 
---
 .../bsp/cedartrail/cedartrail-preempt-rt.scc   |   13 --
 .../bsp/cedartrail/cedartrail-standard.scc |8 
 .../cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg |   46 
 .../cfg/kernel-cache/bsp/cedartrail/cedartrail.scc |   15 ---
 4 files changed, 82 deletions(-)
 delete mode 100755 
meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc
 delete mode 100755 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc
 delete mode 100755 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
 delete mode 100644 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc

diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc 
b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc
deleted file mode 100755
index d0f4871..000
--- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc
+++ /dev/null
@@ -1,13 +0,0 @@
-define KMACHINE cedartrail
-define KTYPE preempt-rt
-define KARCH i386
-
-# no new branch required, re-use the ktypes/preempt-rt/preempt-rt.scc branch
-include ktypes/preempt-rt/preempt-rt.scc
-include cedartrail.scc
-
-# default policy for preempt-rt kernels
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
\ No newline at end of file
diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc 
b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc
deleted file mode 100755
index f9e4ab1..000
--- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc
+++ /dev/null
@@ -1,8 +0,0 @@
-define KMACHINE cedartrail
-define KTYPE standard
-define KARCH i386
-
-include ktypes/standard/standard.scc
-branch cedartrail
-
-include cedartrail.scc
diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg 
b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
deleted file mode 100755
index c7f9355..000
--- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
+++ /dev/null
@@ -1,46 +0,0 @@
-CONFIG_X86_32=y
-CONFIG_MATOM=y
-CONFIG_PRINTK=y
-
-# RTC 
-CONFIG_RTC_CLASS=y
-CONFIG_RTC_DRV_CMOS=y
-
-# Basic hardware support for the box - network, USB, PCI, sound
-CONFIG_NETDEVICES=y
-CONFIG_ATA=y
-CONFIG_ATA_GENERIC=y
-CONFIG_ATA_SFF=y
-CONFIG_PCI=y
-CONFIG_MMC=y
-CONFIG_MMC_SDHCI=y
-CONFIG_USB_SUPPORT=y
-CONFIG_USB=y
-CONFIG_USB_ARCH_HAS_EHCI=y
-CONFIG_R8169=y
-CONFIG_PATA_SCH=y
-CONFIG_MMC_SDHCI_PCI=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_PCIEPORTBUS=y
-CONFIG_NET=y
-CONFIG_USB_UHCI_HCD=y
-CONFIG_USB_OHCI_HCD=y
-CONFIG_BLK_DEV_SD=y
-CONFIG_CHR_DEV_SG=y
-CONFIG_SOUND=y
-CONFIG_SND=y
-CONFIG_SND_HDA_INTEL=y
-CONFIG_SATA_AHCI=y
-CONFIG_AGP=y
-CONFIG_PM=y
-CONFIG_BACKLIGHT_LCD_SUPPORT=y
-CONFIG_BACKLIGHT_CLASS_DEVICE=y
-CONFIG_INPUT=y
-
-# Make sure these are on, otherwise the bootup won't be fun
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_MODULES=y
-CONFIG_SHMEM=y
-CONFIG_TMPFS=y
-CONFIG_PACKET=y
diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc 
b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc
deleted file mode 100644
index 9c013b6..000
--- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc
+++ /dev/null
@@ -1,15 +0,0 @@
-kconf hardware cedartrail.cfg
-
-include cfg/x86.scc
-include features/intel-e1/intel-e100.scc
-include features/intel-e1/intel-e1.scc
-include cfg/dmaengine.scc
-include cfg/8250.scc
-include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
-
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1][linux-yocto] Remove Cedartrail Machine

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke 


Hi,

This patch set is to remove the Cedartail Machine from 
Linux-yocto-3.4 Kernel.
Cedartrail BSP will not be supported for Yocto 1.4 Release.

Also Please remove the standard/cedartrail branch.

Please pull into linux-yocto-3.4/meta branch.

Thanks
Kishore.

The following changes since commit f697e099bc76d5df3a307a5bc0cc25021dd6dfe0:

  meta: bump to v3.4.28, rt-40 (2013-02-04 00:14:21 -0500)

are available in the git repository at:

  git://git.pokylinux.org/linux-yocto-contrib kishore/cedartrail_remove
  
http://git.pokylinux.org/cgit.cgi/linux-yocto-contrib/log/?h=kishore/cedartrail_remove

Kishore Bodke (1):
  meta: Remove Cedartrail Machine

 .../bsp/cedartrail/cedartrail-preempt-rt.scc   |   13 --
 .../bsp/cedartrail/cedartrail-standard.scc |8 
 .../cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg |   46 
 .../cfg/kernel-cache/bsp/cedartrail/cedartrail.scc |   15 ---
 4 files changed, 82 deletions(-)
 delete mode 100755 
meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc
 delete mode 100755 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc
 delete mode 100755 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
 delete mode 100644 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc

-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [RFC v1 0/5][eclipse-poky] Enable target profiles for projects

2013-02-08 Thread Zhang, Jessica
Hi Timo,

Couple comments:

1.  I really like the way that the global profile and project profile are 
linked together.  But it also introduce an out of sync issue.  Say I use a 
profile compiled my project with one set of toolchain and sysroot setup.  Then 
I change the  toolchain and sysroot settings for the profile.  But unless we 
inform/enforce the user to rebuild the project with the new profile settings.  
The built out in the project directory is using one set of setting, but by 
looking at the project profile setting is another set.  So, I think we need to 
add a notification to user like we're doing for "remove".  When user change a 
profile and if there're projects using the profile, we need to prompt the user  
with something like: "The profile settings have been changed and there're 
projects using this profile which will be impacted.  If you want to pursue the 
changes, please rebuild those projects with the new profile settings".  And in 
those projects, we need a sign the inform the user that the un
 derline profile has changed, they need to rebuild to resync.  Make sense?

2. Seems we only allow user to choose profiles in project settings, can 
eliminate those grayed out "save as...", "remove", etc buttons?

3.  Also since the profile are really cross development setting profiles.  Can 
we change "Target profile" to "Cross development profile"?

Thanks,
Jessica

-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Timo Mueller
Sent: Friday, February 08, 2013 5:28 AM
To: yocto@yoctoproject.org
Cc: Timo Mueller
Subject: [yocto] [RFC v1 0/5][eclipse-poky] Enable target profiles for projects

From: Timo Mueller 

Hi,

this patch set enables projects to make use of the target profiles proposed in 
"[RFC v4 00/17][eclipse-poky] Storing yocto settings as target profiles".

Currently the target profiles are only used to determine the default settings 
when creating a new project. Changing the used profile on an already created 
projects is not possible, also if the target profile is changed the projects 
are not affected.
This patch set enables the use of target profiles in the projects. You can 
select the used global profile within the projet properties or use a project 
specific configuration. If a global target profile is used and its values are 
changed in the eclipse preferences, the projects using this profile are updated 
accordingly.

Best regards
Timo

Timo Mueller (5):
  plugins/sdk.ide: Allow storage of yocto settings in project
preferences
  plugins/sdk.ide: Store profile configuration on project setup
  plugins/sdk.ide: Enable project specific yocto settings
  plugins/sdk.ide: Update projects affected by changes of a target
profile
  plugins/sdk.ide: Enable the usage of profiles in the project
properties

 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java |   3 +
 .../yocto/sdk/ide/YoctoProjectSpecificSetting.java |  89 
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |   5 +-
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   |   1 +
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 149 +
 .../sdk/ide/preferences/PreferenceConstants.java   |   2 +
 .../ide/preferences/YoctoSDKPreferencePage.java|  91 -
 .../preferences/YoctoSDKProjectPropertyPage.java   |  94 ++---
 8 files changed, 410 insertions(+), 24 deletions(-)  create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java

--
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 2/2] [meta-intel] meta-intel: Update the MAINTAINERS list.

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke 

Updating the MAINTAINERS list after removing
the Cedartrail BSP from meta-intel.

Signed-off-by: Kishore Bodke 
---
 MAINTAINERS |4 
 1 file changed, 4 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 1973136..bc33d4b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -36,10 +36,6 @@ Please keep this list in alphabetical order.
 Maintainers List (try to look for most precise areas first)
 
---
-CEDARTRAIL
-M:  Kishore Bodke 
-F:  meta-cedartrail/
-
 CHIEFRIVER
 M: Nitin A Kamble
 F: meta-chiefriver/
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/2] [meta-intel] Cedartrail: Remove Cedartrail BSP

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke 

Cedartrail will be no longer supported for
Yocto 1.4 Release.
Remove the Cedartrail BSP from meta-intel.

Signed-off-by: Kishore Bodke 
---
 meta-cedartrail/COPYING.MIT|   17 --
 meta-cedartrail/README |  199 
 meta-cedartrail/README.sources |   17 --
 meta-cedartrail/conf/layer.conf|   12 --
 meta-cedartrail/conf/machine/cedartrail-nopvr.conf |   21 ---
 meta-cedartrail/conf/machine/cedartrail.conf   |   29 ---
 .../formfactor/cedartrail-nopvr/machconfig |3 -
 .../formfactor/formfactor/cedartrail/machconfig|3 -
 .../recipes-bsp/formfactor/formfactor_0.0.bbappend |3 -
 .../images/core-image-cdv-media-sdk.bb |   12 --
 .../images/core-image-cdv-media.bb |   13 --
 .../xorg-driver/cdv-pvr-driver_1.0.3.bb|  197 ---
 .../xserver-xf86-config/cedartrail-nopvr/xorg.conf |   26 ---
 .../xserver-xf86-config/cedartrail/xorg.conf   |   19 --
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |1 -
 .../linux/linux-yocto-rt_3.0.bbappend  |   18 --
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |   23 ---
 .../ogg-CC-BY-3.0-music-samples_0.1.bb |   21 ---
 .../video-samples/bigbuckbunny-ogg.bb  |   22 ---
 19 files changed, 656 deletions(-)
 delete mode 100755 meta-cedartrail/COPYING.MIT
 delete mode 100755 meta-cedartrail/README
 delete mode 100755 meta-cedartrail/README.sources
 delete mode 100644 meta-cedartrail/binary/.gitignore
 delete mode 100644 meta-cedartrail/conf/layer.conf
 delete mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf
 delete mode 100644 meta-cedartrail/conf/machine/cedartrail.conf
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail/machconfig
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor_0.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb
 delete mode 100644 
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 delete mode 100644 
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
 delete mode 100644 
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb

diff --git a/meta-cedartrail/COPYING.MIT b/meta-cedartrail/COPYING.MIT
deleted file mode 100755
index fb950dc..000
--- a/meta-cedartrail/COPYING.MIT
+++ /dev/null
@@ -1,17 +0,0 @@
-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 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.
diff --git a/meta-cedartrail/README b/meta-cedartrail/README
deleted file mode 100755
index fe84c2d..000
--- a/meta-cedartrail/README
+++ /dev/null
@@ -1,199 +0,0 @@
-This README file contains information on building the meta-cedartrail
-BSP layer, and booting the images contained in the /binary directory.
-Please see the corresponding sections below for details.
-
-The 'Cedar Trail' platform consists of the Intel® Atom™
-N2600/N2800/D2550 processor, plus the Intel® NM10 Express Chispset
-(Cedarview + Tiger Point).
-
-It also supports on-chip SGX545 graphics and media accelerator
-via the Cedar Trail Power VR (PVR) graphics driver.
-
-Further information about the platforms supported by this BSP can be
-found here:
-
- 

[yocto] [PATCH 0/2][meta-intel] Remove Cedartrail BSP

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke 

Hi All,

This patch set is to remove Cedartrail BSP from
meta-intel/master.
Cedartrail BSP will be no longer supported in Yocto 
from 1.4 release.

Please pull these patches into meta-intel/master.

Thanks
Kishore.

The following changes since commit 575f93dd4ba1fb9aca8a58dc66e9066eca0a3925:

  meta-intel: remove kernel AUTOREVs (2013-02-04 10:39:06 -0600)

are available in the git repository at:

  git://git.pokylinux.org/meta-intel-contrib kishore/cedartrail_remove
  
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=kishore/cedartrail_remove

Kishore Bodke (2):
  Cedartrail: Remove Cedartrail BSP
  meta-intel: Update the MAINTAINERS list.

 MAINTAINERS|4 -
 meta-cedartrail/COPYING.MIT|   17 --
 meta-cedartrail/README |  199 
 meta-cedartrail/README.sources |   17 --
 meta-cedartrail/conf/layer.conf|   12 --
 meta-cedartrail/conf/machine/cedartrail-nopvr.conf |   21 ---
 meta-cedartrail/conf/machine/cedartrail.conf   |   29 ---
 .../formfactor/cedartrail-nopvr/machconfig |3 -
 .../formfactor/formfactor/cedartrail/machconfig|3 -
 .../recipes-bsp/formfactor/formfactor_0.0.bbappend |3 -
 .../images/core-image-cdv-media-sdk.bb |   12 --
 .../images/core-image-cdv-media.bb |   13 --
 .../xorg-driver/cdv-pvr-driver_1.0.3.bb|  197 ---
 .../xserver-xf86-config/cedartrail-nopvr/xorg.conf |   26 ---
 .../xserver-xf86-config/cedartrail/xorg.conf   |   19 --
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |1 -
 .../linux/linux-yocto-rt_3.0.bbappend  |   18 --
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |   23 ---
 .../ogg-CC-BY-3.0-music-samples_0.1.bb |   21 ---
 .../video-samples/bigbuckbunny-ogg.bb  |   22 ---
 20 files changed, 660 deletions(-)
 delete mode 100755 meta-cedartrail/COPYING.MIT
 delete mode 100755 meta-cedartrail/README
 delete mode 100755 meta-cedartrail/README.sources
 delete mode 100644 meta-cedartrail/binary/.gitignore
 delete mode 100644 meta-cedartrail/conf/layer.conf
 delete mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf
 delete mode 100644 meta-cedartrail/conf/machine/cedartrail.conf
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail/machconfig
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor_0.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb
 delete mode 100644 
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 delete mode 100644 
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
 delete mode 100644 
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb

-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fix gtk-sato-engine build with automake-1.13

2013-02-08 Thread Marko Lindqvist
On 8 February 2013 23:22, Gary Thomas  wrote:
> On 2013-02-08 14:08, Marko Lindqvist wrote:
>>
>> [PATCH] configure.ac: fix build with automake-1.13
>
> Patch seems to be missing

 This time inlining it to this email. Hope it makes through this way.


 - ML


0001-configure.ac-fix-build-with-automake-1.13.patch
Description: Binary data
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] Fix oprofileui build with automake-1.13

2013-02-08 Thread Marko Lindqvist
 - ML


0001-configure.ac-fix-build-with-automake-1.13.patch
Description: Binary data
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [RFC v4 00/17][eclipse-poky] Storing yocto settings as target profiles

2013-02-08 Thread Zhang, Jessica
Everything looks good and merged to eclipse-poky master. Thanks for the 
contribution.

Cheers,
Jessica

-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Timo Mueller
Sent: Friday, February 08, 2013 5:26 AM
To: yocto@yoctoproject.org
Cc: Timo Mueller
Subject: [yocto] [RFC v4 00/17][eclipse-poky] Storing yocto settings as target 
profiles

From: Timo Mueller 

Hi,

I removed the last patch that was moving the "Save as ..." button to the 
bottom. So now it is located beneath the dropdown box. I also changed the 
message in the profile deletion dialog to only ask if the user really wants to 
delete the profile.

>From RFC v3:

First of all I've fixed the issues with the patches (duplicate method, missing 
fix for NewYoctoCProjectTemplate.java).

I also changed the functionality of the "new" button according to Jessica's 
feedback. The logic is changed to a "Save as ..."
approach. If the button is clicked the current values of the form are checked. 
If these are valid, the user can enter a name to store them as a new profile.


>From the original cover letter:

currently the yocto settings can be changed globally through eclipse's 
preferences or locally in the project properties. But the standard 
configuration stored in the global preferences sometimes changes, e.g. if a new 
version of the toolchain or the sysroot is released.
If you change the global settings to the updated toolchain or sysroot your old 
working configuration is gone. If you want to reuse this configuration at a 
later point in time you have to (remember and) re-enter everthing.
This patch set introduces the possiblity to store a configuration under a 
unique name, a so called target profile, and be able to select the default 
target profile that is used for new projects.
Building upon this change the target profiles could later also be used in the 
project settings and be able to quickly build and debug your software for 
different hard- and software combinations.


Best regards,
Timo

Atanas Gegov (4):
  plugins/sdk.ide: Extract labels to private members
  plugins/sdk.ide: Add method to enable and disable form
  plugins/sdk.ide: Set value of target array on input change
  plugins/sdk.ide: Create UI element for managing target profiles.

Timo Mueller (13):
  plugins/sdk.ide: Removed unused message
  plugins/sdk.ide: Changed method signature to be more consistent
  plugins/sdk.ide: Modified preferences storage to support profiles.
  plugins/sdk.ide: Set profile on selection change
  plugins/sdk.ide: Add method to allow storing the current settings
  plugins/sdk.ide: Add UI method to create a new profile
  plugins/sdk.ide: Add UI method to delete a profile
  plugins/sdk.ide: Add UI method to rename a profile
  plugins/sdk.ide: Add method to change values of the preference page
  plugins/sdk.ide: Add method to rename a profile and its preference
store
  plugins/sdk.ide: Add method to delete a profile
  plugins/sdk.ide: Use profiles for the preference page
  plugins/sdk.ide: Added profile UI to the preference page

 .../src/org/yocto/sdk/ide/YoctoProfileElement.java | 104 ++  
.../src/org/yocto/sdk/ide/YoctoProfileSetting.java | 229 +  
.../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  19 +-
 .../src/org/yocto/sdk/ide/YoctoSDKPlugin.java  |   9 +
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   |  10 +-
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   |  62 --
 .../src/org/yocto/sdk/ide/YoctoUISetting.java  |  60 +-
 .../sdk/ide/preferences/PreferenceConstants.java   |   5 +
 .../sdk/ide/preferences/PreferenceInitializer.java |  22 +-  
.../ide/preferences/ProfileNameInputValidator.java |  63 ++
 .../ide/preferences/YoctoSDKPreferencePage.java| 112 +++---
 .../preferences/YoctoSDKProjectPropertyPage.java   |   6 +-
 .../sdk/ide/wizard/NewYoctoCProjectTemplate.java   |   7 +-
 13 files changed, 643 insertions(+), 65 deletions(-)  create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/ProfileNameInputValidator.java

--
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fix gtk-sato-engine build with automake-1.13

2013-02-08 Thread Gary Thomas

On 2013-02-08 14:08, Marko Lindqvist wrote:

[PATCH] configure.ac: fix build with automake-1.13


Patch seems to be missing

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Fix gtk-sato-engine build with automake-1.13

2013-02-08 Thread Marko Lindqvist
[PATCH] configure.ac: fix build with automake-1.13


 - ML
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [RFC v5 00/12][eclipse-poky] Integrate yocto documentation into eclipse

2013-02-08 Thread Zhang, Jessica
Hi Timo,

Thanks, these are merged into eclipse-poky master with the following patch to 
address an issue in your original patches :-)

Cheers,
Jessica

Fixed the DOC_GIT hard coded issueHEADmaster
Signed-off-by: Jessica Zhang 
Diffstat
-rwxr-xr-x  scripts/generate-doc.sh 3

1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/generate-doc.sh b/scripts/generate-doc.sh
index 588638c..d645e54 100755
--- a/scripts/generate-doc.sh
+++ b/scripts/generate-doc.sh
@@ -56,8 +56,7 @@ DOC_PLUGIN_DIR=${PLUGIN_FOLDER}/plugins/org.yocto.doc.user
DOC_HTML_DIR=${DOC_PLUGIN_DIR}/html/
# git clone
-#DOC_GIT=git://git.yoctoproject.org/yocto-docs.git
-DOC_GIT=file:///home/timo/_dev/oss/yocto/yocto-docs
+DOC_GIT=git://git.yoctoproject.org/yocto-docs.git
git clone ${DOC_GIT} ${DOC_DIR} || fail $? "git clone ${DOC_GIT}"
cd ${DOC_DIR}
git checkout ${REFERENCE} || fail $? "git checkout ${REFERENCE}"

-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Timo Mueller
Sent: Friday, February 08, 2013 5:25 AM
To: yocto@yoctoproject.org
Cc: Timo Mueller
Subject: [yocto] [RFC v5 00/12][eclipse-poky] Integrate yocto documentation 
into eclipse

From: Timo Mueller 

v5: Incorporates changes resulting from the renaming of documentation and adds 
the profile-manual. This patch set requires changes proposed in 
"[PATCH][yocto-docs] Update eclipse help generation to support all documents"

>From RFC v4:
Hi,

the last proposal integrated the yocto documentation into the existing doc 
plugin of the yocto ADT feature. As Jessica pointed out is does not make sense 
to bundle all parts of the yocto documentation with the ADT feature. As some 
parts of the documentation could also be helpful with the BitBake Commander 
feature, we agreed to encapsulate the yocto documentation into its own feature.

01..02: Fixing typos in build and site scripts
03..12: Adding the yocto documentation as a new feature
13: Temporary patch to use timo branch of docs project - DO NOT MERGE

>From the last propsal:

One major change in this patch series is that I extended the plugin build 
system to integrate the generation into the build process. Thus keeping the 
eclipse help and the official documentation in sync is now automated.



the documentation of the yocto project can currently be viewed online or as a 
separate pdf. When using the eclipse ide to develop software on base of a yocto 
sysroot and toolchain it would be convenient to access the relevant parts of 
the documentation from within the ide.



I have intergrated this
documentation in the ide and it can now be accessed through the eclipse help 
center (Help -> Help Contents).


Best regards
Timo

Timo Mueller (12):
  features/sdk.site: Fixed typo in category name
  Fixed typo in version variable name
  plugins/sdk.ide.doc.user: Add empty eclipse help
  plugins/sdk.ide.doc.user: Add about.html to prepare addition of yocto
documentation
  features/org.yocto.doc: Add new feature containing yocto project
documentation
  features/doc.headless.build: Added headless build for yocto.doc
feature
  features/sdk.site: Added yocto.doc feature to update site
  scripts/build.sh: Added yocto.doc feature to build
  scripts/generate-doc.sh: Add script to handle eclipse help generation
  plugins/sdk.ide.doc.user: Add yocto documentation to the table of
contents
  scripts/generate-doc.sh: Copy generated eclipse help into the
user.doc plugin
  scripts/build.sh: Add documentation generation to the default build

 .../org.yocto.bc.headless.build/customTargets.xml  |   4 +-
 features/org.yocto.doc.headless.build/.project |  11 +
 .../org.yocto.doc.headless.build/build.properties  | 262 + 
 .../org.yocto.doc.headless.build/customTargets.xml | 212 +
 features/org.yocto.doc/.project|  17 ++
 features/org.yocto.doc/build.properties|   3 +
 features/org.yocto.doc/feature.properties  | 163 +
 features/org.yocto.doc/feature.xml |  35 +++
 features/org.yocto.doc/license.html| 107 +
 .../org.yocto.sdk.headless.build/customTargets.xml |   4 +-
 features/org.yocto.sdk.site/category.xml   |  10 +-
 features/org.yocto.sdk.site/site.xml   |  10 +-
 plugins/org.yocto.doc.user/.classpath  |   6 +
 plugins/org.yocto.doc.user/.project|  28 +++
 plugins/org.yocto.doc.user/META-INF/MANIFEST.MF|   8 +
 .../OSGI-INF/l10n/bundle.properties|   3 +
 plugins/org.yocto.doc.user/about.html.in   | 189 +++
 plugins/org.yocto.doc.user/build.properties|   9 +
 plugins/org.yocto.doc.user/html/book.css   |   1 +
 plugins/org.yocto.doc.user/plugin.xml  |  39 +++
 plugins/org.yocto.doc.user/toc.xml |  24 ++
 scripts/build.sh   |  18 +-
 scripts/generate-doc.sh   

Re: [yocto] systemtap fetch failure on 'danny' (cherry-pick fix from master)

2013-02-08 Thread Burton, Ross
On 8 February 2013 17:04, Javier Viguera  wrote:
> On 02/06/2013 04:48 PM, Burton, Ross wrote:
>>
>> You'll be pleased to know it's in danny-next already, so should be
>> hitting danny in the next day or so.
>
>
> Is that 'danny-next' branch private?
>
> I can't see it in the gitweb or in a local clone.
>
> # git branch -a | grep danny-next
>
> shows nothing.

The canonical danny-next is currently in openembedded-core-contrib,
although I do maintain a ross/danny-next in poky-contrib which is
periodically updated.

Ross
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] systemtap fetch failure on 'danny' (cherry-pick fix from master)

2013-02-08 Thread Javier Viguera

On 02/06/2013 04:48 PM, Burton, Ross wrote:

You'll be pleased to know it's in danny-next already, so should be
hitting danny in the next day or so.


Is that 'danny-next' branch private?

I can't see it in the gitweb or in a local clone.

# git branch -a | grep danny-next

shows nothing.




--
Javier Viguera
Software Engineer
Digi International® Spain S.A.U.
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] gcov on beagle-xm with kernel module

2013-02-08 Thread Robert Berger
Hi,

Looks like it's an issue with the arm eabi compiler producing code,
which the kernel gcov framework can't deal with.

I guess there are 2 options:

1) toolchain not eabi (not feasible)
2) patch gcov framework in kernel

Regards,

Robert
..."In the beginning, there was software. And it wasn't good."

My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Andrei Gherzan
On Fri, Feb 8, 2013 at 4:18 PM, Tomas Frydrych
wrote:

> On 08/02/13 13:03, Andrei Gherzan wrote:
> >
> >
> >
> > On Fri, Feb 8, 2013 at 12:17 PM, Tomas Frydrych
> > mailto:tf+lists.yo...@r-finger.com>>
> wrote:
> >
> > Hi Andrei,
> >
> > On 07/02/13 14:26, Andrei Gherzan wrote:
> > > We are moving to userland repo. So we will build our libraries
> >
> > I tried to use the userland repo about a week ago and had to revert
> back
> > to using the binary firmware; the userland tree seem to miss some bcm
> > headers, so it was impossible to build apps against the libs whose
> > includes require those.
> >
> >
> > I will push some patches this weekend. Would you give it a try?
>
> Time allowing, of course. But the problem was not with the meta-rpi
> packaging, the files were missing in the upstream userland git repository.


Maybe newer updates include those. Just need to know.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Danny: default base_do_compile but no default base_do_install

2013-02-08 Thread Frans Meulenbroeks
Hi!

Apologies upfront if this is the wrong list. I'm not always sure when
things should go to the yocto list and when to oe-core.

Anyway, my question/issue with danny.

In base.bbclass I see a default base_do_compile that reads:

base_do_compile() {
if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then
oe_runmake || die "make failed"
else
bbnote "nothing to compile"
fi
}

There is also a default base_do_install() that is empty.

Wouldn't it be more logical if the base_do_install would read:

base_do_install() {
if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then
oe_runmake install || die "make failed"
else
bbnote "nothing to install"
fi
}

Currently people using only base, need to add a do_install to their recipe
but no do_compile (which is somewhat odd; if there is a makefile it seems
logical to use it for install too).

Appreciate your feedback, if needed i can file a bug report and/or submit a
patch

Frans
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Tomas Frydrych
On 08/02/13 13:03, Andrei Gherzan wrote:
> 
> 
> 
> On Fri, Feb 8, 2013 at 12:17 PM, Tomas Frydrych
> mailto:tf+lists.yo...@r-finger.com>> wrote:
> 
> Hi Andrei,
> 
> On 07/02/13 14:26, Andrei Gherzan wrote:
> > We are moving to userland repo. So we will build our libraries
> 
> I tried to use the userland repo about a week ago and had to revert back
> to using the binary firmware; the userland tree seem to miss some bcm
> headers, so it was impossible to build apps against the libs whose
> includes require those.
> 
> 
> I will push some patches this weekend. Would you give it a try?

Time allowing, of course. But the problem was not with the meta-rpi
packaging, the files were missing in the upstream userland git repository.

Tomas

-- 
http://sleepfive.com
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v1 5/5] plugins/sdk.ide: Enable the usage of profiles in the project properties

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

UI elements are added to the project properties in order to use
profile capabilites with a project.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java |  3 +
 .../yocto/sdk/ide/YoctoProjectSpecificSetting.java |  9 +++
 .../preferences/YoctoSDKProjectPropertyPage.java   | 94 +-
 3 files changed, 86 insertions(+), 20 deletions(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 738dba7..cc3e167 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -28,6 +28,7 @@ import org.eclipse.swt.widgets.Listener;
 import org.yocto.sdk.ide.preferences.PreferenceConstants;
 import org.yocto.sdk.ide.preferences.ProfileNameInputValidator;
 import org.yocto.sdk.ide.preferences.YoctoSDKPreferencePage;
+import org.yocto.sdk.ide.preferences.YoctoSDKProjectPropertyPage;
 
 public class YoctoProfileSetting {
private static final String PROFILES_TITLE = 
"Preferences.Profiles.Title";
@@ -91,6 +92,8 @@ public class YoctoProfileSetting {
 
if (preferencePage instanceof 
YoctoSDKPreferencePage) {
((YoctoSDKPreferencePage) 
preferencePage).switchProfile(selectedItem);
+   } else if (preferencePage instanceof 
YoctoSDKProjectPropertyPage) {
+   ((YoctoSDKProjectPropertyPage) 
preferencePage).switchProfile(selectedItem);
}
}
};
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
index 25d4de4..13acb8e 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
@@ -19,6 +19,7 @@ import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Button;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Group;
+import org.yocto.sdk.ide.preferences.YoctoSDKProjectPropertyPage;
 
 public class YoctoProjectSpecificSetting {
private static final String PROJECT_SPECIFIC_TITLE = 
"Preferences.Profile.ProjectSpecific.Title";
@@ -58,10 +59,18 @@ public class YoctoProjectSpecificSetting {
if 
(btnUseProjectSpecificSettingsCheckbox.getSelection()){

yoctoConfigurationsSetting.setUIFormEnabledState(false);

yoctoUISetting.setUIFormEnabledState(true);
+
+   if (preferencePage instanceof 
YoctoSDKProjectPropertyPage) {
+   ((YoctoSDKProjectPropertyPage) 
preferencePage).switchToProjectSpecificProfile();
+   }
} else {

yoctoConfigurationsSetting.setUIFormEnabledState(true);

yoctoConfigurationsSetting.setButtonsEnabledState(false);

yoctoUISetting.setUIFormEnabledState(false);
+
+   if (preferencePage instanceof 
YoctoSDKProjectPropertyPage) {
+   ((YoctoSDKProjectPropertyPage) 
preferencePage).switchToSelectedProfile();
+   }
}
}
 
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
index 56cc4cb..eef56c1 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
@@ -21,6 +21,10 @@ import org.eclipse.swt.widgets.Control;
 import org.eclipse.ui.IWorkbenchPropertyPage;
 import org.eclipse.ui.dialogs.PropertyPage;
 import org.yocto.sdk.ide.YoctoGeneralException;
+import org.yocto.sdk.ide.YoctoProfileElement;
+import org.yocto.sdk.ide.YoctoProfileSetting;
+import org.yocto.sdk.ide.YoctoProjectSpecificSetting;
+import org.yocto.sdk.ide.YoctoSDKPlugin;
 import org.yocto.sdk.ide.YoctoSDKUtils;
 import org.yocto.sdk.ide.YoctoSDKUtils.SDKCheckRequestFrom;
 import org.yocto.sdk.ide.YoctoUIElement;
@@ -29,21 +33,56 @@ import org.yocto.sdk.ide.YoctoUISetting;
 public class YoctoSDKProjectPropertyPage extends PropertyPage implements
IWorkbenchPropertyPage {
 
+   private YoctoProfileSetting yoctoProfileSe

[yocto] [RFC v1 4/5] plugins/sdk.ide: Update projects affected by changes of a target profile

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

If a target profile is modified, renamed or deleted globally the
projects using this profile are updated accordingly.
On deletion of a target profile the affected projects will set use the
standard target profile.

Signed-off-by: Timo Mueller 
---
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  2 +-
 .../ide/preferences/YoctoSDKPreferencePage.java| 91 +-
 2 files changed, 89 insertions(+), 4 deletions(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
index bfdde41..e779f7d 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
@@ -60,7 +60,7 @@ Preferences.Profile.Rename.Dialog.Title = Rename target 
profile
 Preferences.Profile.Rename.Dialog.Message = Please input a new profile name.
 Preferences.Profile.Remove.Title = Remove
 Preferences.Profile.Remove.Dialog.Title = Remove target profile
-Preferences.Profile.Remove.Dialog.Message = Do you really want to the remove 
the target profile "{0}"?
+Preferences.Profile.Remove.Dialog.Message = Do you really want to the remove 
the target profile "{0}"?\nProjects using this target profile will be 
reconfigured to use the standard profile.
 Preferences.Profile.Standard.Modification.Title = Modify standard target 
profile
 Preferences.Profile.Standard.Modification.Message = Standard target profile 
cannot be removed or renamed.
 
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
index fb015ab..b5963cf 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
@@ -10,6 +10,11 @@
  
***/
 package org.yocto.sdk.ide.preferences;
 
+import java.util.HashSet;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
 import org.eclipse.jface.dialogs.Dialog;
 import org.eclipse.jface.dialogs.IDialogConstants;
 import org.eclipse.jface.dialogs.InputDialog;
@@ -25,6 +30,7 @@ import org.yocto.sdk.ide.YoctoProfileElement;
 import org.yocto.sdk.ide.YoctoProfileSetting;
 import org.yocto.sdk.ide.YoctoSDKMessages;
 import org.yocto.sdk.ide.YoctoSDKPlugin;
+import org.yocto.sdk.ide.YoctoSDKProjectNature;
 import org.yocto.sdk.ide.YoctoSDKUtils;
 import org.yocto.sdk.ide.YoctoSDKUtils.SDKCheckRequestFrom;
 import org.yocto.sdk.ide.YoctoUIElement;
@@ -80,8 +86,8 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench
System.out.println(e.getMessage());
return result;
}
-
}
+
/*
 * @see IPreferencePage#performOk()
 */
@@ -95,6 +101,8 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench
YoctoProfileElement profileElement = 
yoctoProfileSetting.getCurrentInput();

YoctoSDKUtils.saveProfilesToDefaultStore(profileElement);
 
+   
updateAffectedProjects(profileElement.getSelectedProfile(), elem);
+
return super.performOk();
} catch (YoctoGeneralException e) {
// TODO Auto-generated catch block
@@ -151,9 +159,86 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench
public void renameProfile(String oldProfileName, String newProfileName) 
{
YoctoUIElement oldProfileElement = 
YoctoSDKUtils.getElemFromStore(YoctoSDKPlugin.getProfilePreferenceStore(oldProfileName));
YoctoSDKUtils.saveElemToStore(oldProfileElement, 
YoctoSDKPlugin.getProfilePreferenceStore(newProfileName));
+
+   renameProfileInAffectedProjects(oldProfileName, newProfileName);
+   }
+
+   public void deleteProfile(String selectedProfile)
+   {
+   resetProfileInAffectedProjects(selectedProfile);
}
 
-   public void deleteProfile(String selectedProfile) {
-   // do nothing
+   private void resetProfileInAffectedProjects(String usedProfile)
+   {
+   HashSet yoctoProjects = 
getAffectedProjects(usedProfile);
+   YoctoProfileElement profileElement = 
YoctoSDKUtils.getProfilesFromDefaultStore();
+   
profileElement.setSelectedProfile(PreferenceConstants.STANDARD_PROFILE_NAME);
+
+   for (IProject project : yoctoProjects)
+   {
+   
YoctoSDKUtils.saveProfilesToProjectPreferences(profileElement, project);
+  

[yocto] [RFC v1 3/5] plugins/sdk.ide: Enable project specific yocto settings

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Until now only global target profiles could be used to configure a
project. Now a project can have its own specific settings which are
not affected by global changes to the profile.

Signed-off-by: Timo Mueller 
---
 .../yocto/sdk/ide/YoctoProjectSpecificSetting.java | 80 ++
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  3 +
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 39 +++
 .../sdk/ide/preferences/PreferenceConstants.java   |  2 +
 4 files changed, 124 insertions(+)
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
new file mode 100644
index 000..25d4de4
--- /dev/null
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
@@ -0,0 +1,80 @@
+/***
+ * Copyright (c) 2012 BMW Car IT GmbH.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * BMW Car IT - initial API and implementation
+ 
***/
+package org.yocto.sdk.ide;
+
+import org.eclipse.jface.preference.PreferencePage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+
+public class YoctoProjectSpecificSetting {
+   private static final String PROJECT_SPECIFIC_TITLE = 
"Preferences.Profile.ProjectSpecific.Title";
+   private static final String PROJECT_SPECIFIC_GROUP_TITLE = 
"Preferences.Profile.ProjectSpecific.Group.Title";
+
+   private YoctoProfileSetting yoctoConfigurationsSetting;
+   private YoctoUISetting yoctoUISetting;
+
+   private Button btnUseProjectSpecificSettingsCheckbox;
+   private PreferencePage preferencePage;
+
+   public YoctoProjectSpecificSetting(YoctoProfileSetting 
yoctoConfigurationsSetting,
+   YoctoUISetting yoctoUISetting, 
PreferencePage preferencePage) {
+   this.yoctoConfigurationsSetting = yoctoConfigurationsSetting;
+   this.yoctoUISetting = yoctoUISetting;
+   this.preferencePage = preferencePage;
+   }
+
+   public void createComposite(Composite composite) {
+   GridData gd = new GridData(SWT.FILL, SWT.CENTER, true, false);
+   GridLayout layout = new GridLayout(2, false);
+   composite.setLayout(layout);
+
+   Group storeYoctoConfigurationsGroup = new Group (composite, 
SWT.NONE);
+   layout = new GridLayout(2, false);
+   storeYoctoConfigurationsGroup.setLayout(layout);
+   gd = new GridData(SWT.FILL, SWT.CENTER, true, false);
+   gd.horizontalSpan = 2;
+   storeYoctoConfigurationsGroup.setLayoutData(gd);
+   
storeYoctoConfigurationsGroup.setText(YoctoSDKMessages.getString(PROJECT_SPECIFIC_GROUP_TITLE));
+
+   btnUseProjectSpecificSettingsCheckbox = new 
Button(storeYoctoConfigurationsGroup, SWT.CHECK);
+   
btnUseProjectSpecificSettingsCheckbox.setText(YoctoSDKMessages.getString(PROJECT_SPECIFIC_TITLE));
+   btnUseProjectSpecificSettingsCheckbox.addSelectionListener(new 
SelectionListener() {
+   @Override
+   public void widgetSelected(SelectionEvent e) {
+   if 
(btnUseProjectSpecificSettingsCheckbox.getSelection()){
+   
yoctoConfigurationsSetting.setUIFormEnabledState(false);
+   
yoctoUISetting.setUIFormEnabledState(true);
+   } else {
+   
yoctoConfigurationsSetting.setUIFormEnabledState(true);
+   
yoctoConfigurationsSetting.setButtonsEnabledState(false);
+   
yoctoUISetting.setUIFormEnabledState(false);
+   }
+   }
+
+   @Override
+   public void widgetDefaultSelected(SelectionEvent e) {}
+   });
+   }
+
+   public void setUseProjectSpecificSettings(boolean 
isUsingProjectSpecificSettings) {
+   
btnUseProjectSpecificSettingsCheckbox.setSelection(isUsingProjectSpecificSettings

[yocto] [RFC v1 1/5] plugins/sdk.ide: Allow storage of yocto settings in project preferences

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

The added functions allow storing the yocto settings in the
preferences store of a project. Project-specific yocto settings as
well as the used profiles can be stored.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 110 +
 1 file changed, 110 insertions(+)

diff --git a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
index 12af7e3..857928c 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
@@ -32,9 +32,13 @@ import 
org.eclipse.cdt.core.settings.model.ICConfigurationDescription;
 import org.eclipse.cdt.core.settings.model.ICProjectDescription;
 import org.eclipse.core.resources.IProject;
 import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.ProjectScope;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.IScopeContext;
 import org.eclipse.jface.preference.IPreferenceStore;
+import org.osgi.service.prefs.BackingStoreException;
 import org.yocto.sdk.ide.preferences.PreferenceConstants;
 
 public class YoctoSDKUtils {
@@ -62,6 +66,7 @@ public class YoctoSDKUtils {
Other
};
 
+   private static final String PROJECT_SCOPE = "org.yocto.sdk.ide";
private static final String POKY_DEVICE_EMPTY = "Poky.SDK.Device.Empty";
private static final String TOOLCHAIN_LOCATION_EMPTY = 
"Poky.SDK.Location.Empty";
private static final String SDK_TARGET_EMPTY  = 
"Poky.SDK.Target.Empty";
@@ -397,6 +402,74 @@ public class YoctoSDKUtils {
 
}
 
+   /* Get POKY Preference settings from project's preference store */
+   public static YoctoUIElement getElemFromProjectPreferences(IProject 
project)
+   {
+   IScopeContext projectScope = new ProjectScope(project);
+   IEclipsePreferences projectNode = 
projectScope.getNode(PROJECT_SCOPE);
+   if (projectNode == null)
+   {
+   return getElemFromProjectEnv(project);
+   }
+
+   YoctoUIElement elem = new YoctoUIElement();
+   
elem.setStrToolChainRoot(projectNode.get(PreferenceConstants.TOOLCHAIN_ROOT,""));
+   
elem.setStrTarget(projectNode.get(PreferenceConstants.TOOLCHAIN_TRIPLET,""));
+   
elem.setStrQemuKernelLoc(projectNode.get(PreferenceConstants.QEMU_KERNEL,""));
+   
elem.setStrSysrootLoc(projectNode.get(PreferenceConstants.SYSROOT,""));
+   
elem.setStrQemuOption(projectNode.get(PreferenceConstants.QEMU_OPTION,""));
+   String sTemp = 
projectNode.get(PreferenceConstants.TARGET_ARCH_INDEX,"");
+   if (!sTemp.isEmpty())
+   
elem.setIntTargetIndex(Integer.valueOf(sTemp).intValue());
+   if 
(projectNode.get(PreferenceConstants.SDK_MODE,"").equalsIgnoreCase(IPreferenceStore.TRUE))
+   {
+   
elem.setEnumPokyMode(YoctoUIElement.PokyMode.POKY_SDK_MODE);
+   }
+   else
+   
elem.setEnumPokyMode(YoctoUIElement.PokyMode.POKY_TREE_MODE);
+
+   
if(projectNode.get(PreferenceConstants.TARGET_MODE,"").equalsIgnoreCase(IPreferenceStore.TRUE))
+   
elem.setEnumDeviceMode(YoctoUIElement.DeviceMode.QEMU_MODE);
+   else
+   
elem.setEnumDeviceMode(YoctoUIElement.DeviceMode.DEVICE_MODE);
+   return elem;
+   }
+
+   /* Save POKY Preference settings to project's preference store */
+   public static void saveElemToProjectPreferences(YoctoUIElement elem, 
IProject project)
+   {
+   IScopeContext projectScope = new ProjectScope(project);
+   IEclipsePreferences projectNode = 
projectScope.getNode(PROJECT_SCOPE);
+   if (projectNode == null)
+   {
+   return;
+   }
+
+   projectNode.putInt(PreferenceConstants.TARGET_ARCH_INDEX, 
elem.getIntTargetIndex());
+   if (elem.getEnumPokyMode() == 
YoctoUIElement.PokyMode.POKY_SDK_MODE)
+   projectNode.put(PreferenceConstants.SDK_MODE, 
IPreferenceStore.TRUE);
+   else
+   projectNode.put(PreferenceConstants.SDK_MODE, 
IPreferenceStore.FALSE);
+   projectNode.put(PreferenceConstants.QEMU_KERNEL, 
elem.getStrQemuKernelLoc());
+   projectNode.put(PreferenceConstants.QEMU_OPTION, 
elem.getStrQemuOption());
+   projectNode.put(PreferenceConstants.SYSROOT, 
elem.getStrSysrootLoc());
+   if (elem.getEnumDeviceMode() == 
YoctoUIElement.DeviceMode.QEMU_MODE)

[yocto] [RFC v1 2/5] plugins/sdk.ide: Store profile configuration on project setup

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 .../org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
index 6f16732..b0e7121 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
@@ -154,6 +154,7 @@ public class YoctoSDKProjectNature implements 
IProjectNature {
 
public static void configureAutotools(IProject project) throws 
YoctoGeneralException {
YoctoProfileElement profileElement = 
YoctoSDKUtils.getProfilesFromDefaultStore();
+   YoctoSDKUtils.saveProfilesToProjectPreferences(profileElement, 
project);
IPreferenceStore selecteProfileStore = 
YoctoSDKPlugin.getProfilePreferenceStore(profileElement.getSelectedProfile());
YoctoUIElement elem = 
YoctoSDKUtils.getElemFromStore(selecteProfileStore);
YoctoSDKUtils.SDKCheckResults result = 
YoctoSDKUtils.checkYoctoSDK(elem);
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v1 0/5][eclipse-poky] Enable target profiles for projects

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Hi,

this patch set enables projects to make use of the target profiles
proposed in "[RFC v4 00/17][eclipse-poky] Storing yocto settings as
target profiles".

Currently the target profiles are only used to determine the
default settings when creating a new project. Changing the used
profile on an already created projects is not possible, also if the
target profile is changed the projects are not affected.
This patch set enables the use of target profiles in the projects. You
can select the used global profile within the projet properties or use
a project specific configuration. If a global target profile is used
and its values are changed in the eclipse preferences, the projects
using this profile are updated accordingly.

Best regards
Timo

Timo Mueller (5):
  plugins/sdk.ide: Allow storage of yocto settings in project
preferences
  plugins/sdk.ide: Store profile configuration on project setup
  plugins/sdk.ide: Enable project specific yocto settings
  plugins/sdk.ide: Update projects affected by changes of a target
profile
  plugins/sdk.ide: Enable the usage of profiles in the project
properties

 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java |   3 +
 .../yocto/sdk/ide/YoctoProjectSpecificSetting.java |  89 
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |   5 +-
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   |   1 +
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 149 +
 .../sdk/ide/preferences/PreferenceConstants.java   |   2 +
 .../ide/preferences/YoctoSDKPreferencePage.java|  91 -
 .../preferences/YoctoSDKProjectPropertyPage.java   |  94 ++---
 8 files changed, 410 insertions(+), 24 deletions(-)
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java

-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 16/17] plugins/sdk.ide: Use profiles for the preference page

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

The preference page is now aware of profiles. By default the standard
profile is used and the values are stored to its preference store. If
a different profile is selected it's preferences store is used
instead.

Signed-off-by: Timo Mueller 
---
 .../ide/preferences/YoctoSDKPreferencePage.java| 28 +-
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
index 276e366..8dc089b 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
@@ -13,6 +13,7 @@ package org.yocto.sdk.ide.preferences;
 import org.eclipse.jface.dialogs.Dialog;
 import org.eclipse.jface.dialogs.IDialogConstants;
 import org.eclipse.jface.dialogs.InputDialog;
+import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.widgets.Composite;
@@ -39,12 +40,24 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench
 
public YoctoSDKPreferencePage() {
//super(GRID);
-setPreferenceStore(YoctoSDKPlugin.getDefault().getPreferenceStore());
-//setDescription(YoctoSDKMessages.getString(PREFERENCES_Yocto_CONFIG));
-   YoctoUIElement elem = YoctoSDKUtils.getElemFromDefaultStore();
-this.yoctoUISetting = new YoctoUISetting(elem);
+   IPreferenceStore defaultStore = 
YoctoSDKPlugin.getDefault().getPreferenceStore();
+   String profiles = 
defaultStore.getString(PreferenceConstants.PROFILES);
+   String selectedProfile = 
defaultStore.getString(PreferenceConstants.SELECTED_PROFILE);
+
+   if (profiles.isEmpty()) {
+   profiles = 
defaultStore.getDefaultString(PreferenceConstants.PROFILES);
+   selectedProfile = 
defaultStore.getDefaultString(PreferenceConstants.SELECTED_PROFILE);
+   }
+
+   
setPreferenceStore(YoctoSDKPlugin.getProfilePreferenceStore(selectedProfile));
+   
//setDescription(YoctoSDKMessages.getString(PREFERENCES_Yocto_CONFIG));
+   YoctoUIElement elem = 
YoctoSDKUtils.getElemFromStore(getPreferenceStore());
+   this.yoctoUISetting = new YoctoUISetting(elem);
+
+   YoctoProfileElement profileElement = new 
YoctoProfileElement(profiles, selectedProfile);
+   this.yoctoProfileSetting = new 
YoctoProfileSetting(profileElement, this);
}
-   
+
/*
 * @see IWorkbenchPreferencePage#init(IWorkbench)
 */
@@ -75,7 +88,10 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench

yoctoUISetting.validateInput(SDKCheckRequestFrom.Preferences, true);
 
YoctoUIElement elem = yoctoUISetting.getCurrentInput();
-   YoctoSDKUtils.saveElemToDefaultStore(elem);
+   YoctoSDKUtils.saveElemToStore(elem, 
getPreferenceStore());
+
+   YoctoProfileElement profileElement = 
yoctoProfileSetting.getCurrentInput();
+   
YoctoSDKUtils.saveProfilesToDefaultStore(profileElement);
 
return super.performOk();
} catch (YoctoGeneralException e) {
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 17/17] plugins/sdk.ide: Added profile UI to the preference page

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Adds the UI elements that allow managing profiles to the preference
page.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
index 8dc089b..fb015ab 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
@@ -67,7 +67,9 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench
protected Control createContents(Composite parent) {
initializeDialogUnits(parent);
final Composite result= new Composite(parent, SWT.NONE);
-   
+
+   yoctoProfileSetting.createComposite(result);
+
try {
yoctoUISetting.createComposite(result);

yoctoUISetting.validateInput(SDKCheckRequestFrom.Preferences, false);
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 15/17] plugins/sdk.ide: Add method to delete a profile

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Deletion of a profile currently has no effects on the preference
page.

Signed-off-by: Timo Mueller 
---
 .../org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java  | 4 
 1 file changed, 4 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 2767d7a..738dba7 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -146,6 +146,10 @@ public class YoctoProfileSetting {
sdkConfigsCombo.select(0);
sdkConfigsCombo.remove(selectionIndex);
profileElement.remove(selectedItem);
+
+   if (preferencePage instanceof 
YoctoSDKPreferencePage) {
+   ((YoctoSDKPreferencePage) 
preferencePage).deleteProfile(selectedItem);
+   }
}
});
}
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 14/17] plugins/sdk.ide: Add method to rename a profile and its preference store

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

When renaming a profile the current values are stored in the profile's
new preference store.

Signed-off-by: Timo Mueller 
---
 .../org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java  | 4 
 1 file changed, 4 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 105fd9c..2767d7a 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -182,6 +182,10 @@ public class YoctoProfileSetting {
String newProfileName = 
profileNameDialog.getValue();
profileElement.rename(selectedItem, 
profileNameDialog.getValue());
 
+   if (preferencePage instanceof 
YoctoSDKPreferencePage) {
+   ((YoctoSDKPreferencePage) 
preferencePage).renameProfile(selectedItem, newProfileName);
+   }
+
sdkConfigsCombo.setItem(selectedIndex, 
newProfileName);
sdkConfigsCombo.select(selectedIndex);
}
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 11/17] plugins/sdk.ide: Add UI method to delete a profile

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

A profile is removed from the list, when the delete button is
clicked. The deletion has to be confirmed by the user. Deleting the
standard profile is not allowed.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java | 34 ++
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  4 +++
 2 files changed, 38 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 633eb67..aa6f4b2 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -10,6 +10,7 @@
  
***/
 package org.yocto.sdk.ide;
 
+import org.eclipse.jface.dialogs.MessageDialog;
 import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.MouseAdapter;
@@ -22,6 +23,7 @@ import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Event;
 import org.eclipse.swt.widgets.Group;
 import org.eclipse.swt.widgets.Listener;
+import org.yocto.sdk.ide.preferences.PreferenceConstants;
 import org.yocto.sdk.ide.preferences.YoctoSDKPreferencePage;
 
 public class YoctoProfileSetting {
@@ -29,6 +31,10 @@ public class YoctoProfileSetting {
private static final String NEW_PROFILE_TITLE = 
"Preferences.Profile.New.Title";
private static final String RENAME_PROFILE_TITLE = 
"Preferences.Profile.Rename.Title";
private static final String REMOVE_PROFILE_TITLE = 
"Preferences.Profile.Remove.Title";
+   private static final String REMOVE_DIALOG_TITLE = 
"Preferences.Profile.Remove.Dialog.Title";
+   private static final String REMOVE_DIALOG_MESSAGE = 
"Preferences.Profile.Remove.Dialog.Message";
+   private static final String MODIFY_STANDARD_TITLE = 
"Preferences.Profile.Standard.Modification.Title";
+   private static final String MODIFY_STANDARD_MESSAGE = 
"Preferences.Profile.Standard.Modification.Message";
 
private Combo sdkConfigsCombo;
private Button btnConfigRename;
@@ -105,6 +111,34 @@ public class YoctoProfileSetting {
btnConfigRemove = new Button(storeYoctoConfigurationsGroup, 
SWT.PUSH | SWT.LEAD);
btnConfigRemove.setLayoutData(new GridData(SWT.RIGHT, SWT.TOP, 
true, false, 3, 1));

btnConfigRemove.setText(YoctoSDKMessages.getString(REMOVE_PROFILE_TITLE));
+   btnConfigRemove.addMouseListener(new MouseAdapter() {
+   @Override
+   public void mouseDown(MouseEvent e) {
+   saveChangesOnCurrentProfile();
+   int selectionIndex = 
sdkConfigsCombo.getSelectionIndex();
+   String selectedItem = 
sdkConfigsCombo.getItem(selectionIndex);
+
+   if 
(selectedItem.equals(PreferenceConstants.STANDARD_PROFILE_NAME)) {
+   MessageDialog.openInformation(null,
+   
YoctoSDKMessages.getString(MODIFY_STANDARD_TITLE),
+   
YoctoSDKMessages.getString(MODIFY_STANDARD_MESSAGE));
+   return;
+   }
+
+   boolean deleteConfirmed =
+   MessageDialog.openConfirm(null,
+   
YoctoSDKMessages.getString(REMOVE_DIALOG_TITLE),
+   

YoctoSDKMessages.getFormattedString(REMOVE_DIALOG_MESSAGE, selectedItem));
+
+   if (!deleteConfirmed) {
+   return;
+   }
+
+   sdkConfigsCombo.select(0);
+   sdkConfigsCombo.remove(selectionIndex);
+   profileElement.remove(selectedItem);
+   }
+   });
}
 
private void createRenameButton(Group storeYoctoConfigurationsGroup) {
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
index 14b7846..1788968 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
@@ -57,6 +57,10 @@ Preferences.Profile.New.Dialog.Title = Save as new target 
profile
 Prefe

[yocto] [RFC v4 13/17] plugins/sdk.ide: Add method to change values of the preference page

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

When switching profile the values of the profile are retrieved from
the preference store. The UI is updated using the retrieved values.

Signed-off-by: Timo Mueller 
---
 .../org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java  | 4 
 1 file changed, 4 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 077dc28..105fd9c 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -88,6 +88,10 @@ public class YoctoProfileSetting {
 
String selectedItem = 
sdkCombo.getItem(sdkCombo.getSelectionIndex());
profileElement.setSelectedProfile(selectedItem);
+
+   if (preferencePage instanceof 
YoctoSDKPreferencePage) {
+   ((YoctoSDKPreferencePage) 
preferencePage).switchProfile(selectedItem);
+   }
}
};
 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 12/17] plugins/sdk.ide: Add UI method to rename a profile

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

When the rename button is clicked a dialog shows up and the user has
to provide the new name for the profile. The validity of the name is
checked during input. If the name is valid and the users confirms the
profile is renamed. Renaming the standard profile is not allowed.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java | 38 ++
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  2 ++
 2 files changed, 40 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index aa6f4b2..077dc28 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -10,6 +10,8 @@
  
***/
 package org.yocto.sdk.ide;
 
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.jface.dialogs.InputDialog;
 import org.eclipse.jface.dialogs.MessageDialog;
 import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.swt.SWT;
@@ -24,12 +26,15 @@ import org.eclipse.swt.widgets.Event;
 import org.eclipse.swt.widgets.Group;
 import org.eclipse.swt.widgets.Listener;
 import org.yocto.sdk.ide.preferences.PreferenceConstants;
+import org.yocto.sdk.ide.preferences.ProfileNameInputValidator;
 import org.yocto.sdk.ide.preferences.YoctoSDKPreferencePage;
 
 public class YoctoProfileSetting {
private static final String PROFILES_TITLE = 
"Preferences.Profiles.Title";
private static final String NEW_PROFILE_TITLE = 
"Preferences.Profile.New.Title";
private static final String RENAME_PROFILE_TITLE = 
"Preferences.Profile.Rename.Title";
+   private static final String RENAME_DIALOG_TITLE = 
"Preferences.Profile.Rename.Dialog.Title";
+   private static final String RENAME_DIALOG_MESSAGE = 
"Preferences.Profile.Rename.Dialog.Message";
private static final String REMOVE_PROFILE_TITLE = 
"Preferences.Profile.Remove.Title";
private static final String REMOVE_DIALOG_TITLE = 
"Preferences.Profile.Remove.Dialog.Title";
private static final String REMOVE_DIALOG_MESSAGE = 
"Preferences.Profile.Remove.Dialog.Message";
@@ -144,6 +149,39 @@ public class YoctoProfileSetting {
private void createRenameButton(Group storeYoctoConfigurationsGroup) {
btnConfigRename = new Button(storeYoctoConfigurationsGroup, 
SWT.PUSH | SWT.LEAD);

btnConfigRename.setText(YoctoSDKMessages.getString(RENAME_PROFILE_TITLE));
+   btnConfigRename.addMouseListener(new MouseAdapter() {
+   @Override
+   public void mouseDown(MouseEvent e) {
+   saveChangesOnCurrentProfile();
+   int selectedIndex = 
sdkConfigsCombo.getSelectionIndex();
+   final String selectedItem = 
sdkConfigsCombo.getItem(selectedIndex);
+
+   if 
(selectedItem.equals(PreferenceConstants.STANDARD_PROFILE_NAME)) {
+   MessageDialog.openInformation(null,
+   
YoctoSDKMessages.getString(MODIFY_STANDARD_TITLE),
+   
YoctoSDKMessages.getString(MODIFY_STANDARD_MESSAGE));
+   return;
+   }
+
+   InputDialog profileNameDialog =
+   new InputDialog(null,
+   
YoctoSDKMessages.getString(RENAME_DIALOG_TITLE),
+   
YoctoSDKMessages.getString(RENAME_DIALOG_MESSAGE),
+   
null,
+   
new ProfileNameInputValidator(profileElement, selectedItem));
+
+   int returnCode = profileNameDialog.open();
+   if (returnCode == IDialogConstants.CANCEL_ID) {
+   return;
+   }
+
+   String newProfileName = 
profileNameDialog.getValue();
+   profileElement.rename(selectedItem, 
profileNameDialog.getValue());
+
+   sdkConfigsCombo.setItem(selectedIndex, 
newProfileName);
+   sdkConfigsCombo.select(selectedIndex);
+   }
+   });
}
 
private void saveChangesOnCurrentProfile() {
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.

[yocto] [RFC v4 05/17] plugins/sdk.ide: Changed method signature to be more consistent

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

YoctoUIElement should always be the first element, e.g. as in
saveElemToStore().

Signed-off-by: Timo Mueller 
---
 plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java  | 2 +-
 .../src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
index 7ea4262..ab969ea 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
@@ -423,7 +423,7 @@ public class YoctoSDKUtils {
}

/* Save YoctoUIElement to project settings */
-   public static void saveElemToProjectEnv(IProject project, 
YoctoUIElement elem)
+   public static void saveElemToProjectEnv(YoctoUIElement elem, IProject 
project)
{
ConsoleOutputStream consoleOutStream = null;

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
index 92d476a..f2247ca 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
@@ -99,7 +99,7 @@ public class YoctoSDKProjectPropertyPage extends PropertyPage 
implements

yoctoUISetting.validateInput(SDKCheckRequestFrom.Preferences, true);
 
YoctoUIElement elem = yoctoUISetting.getCurrentInput();
-   YoctoSDKUtils.saveElemToProjectEnv(getProject(), elem);
+   YoctoSDKUtils.saveElemToProjectEnv(elem, getProject());
 
return super.performOk();
} catch (YoctoGeneralException e) {
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 10/17] plugins/sdk.ide: Add UI method to create a new profile

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

When the save as button is clicked a dialog shows up and the user has
to provide the name of the new profile. The validity of the name is
checked during input. If the name is valid and the users confirms the
new profile is created from the current input of the yocto settings
form.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java | 17 ++
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  7 +++
 .../ide/preferences/ProfileNameInputValidator.java | 63 ++
 .../ide/preferences/YoctoSDKPreferencePage.java| 56 ++-
 4 files changed, 142 insertions(+), 1 deletion(-)
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/ProfileNameInputValidator.java

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 7949cdf..633eb67 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -12,6 +12,8 @@ package org.yocto.sdk.ide;
 
 import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.MouseAdapter;
+import org.eclipse.swt.events.MouseEvent;
 import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Button;
@@ -20,6 +22,7 @@ import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Event;
 import org.eclipse.swt.widgets.Group;
 import org.eclipse.swt.widgets.Listener;
+import org.yocto.sdk.ide.preferences.YoctoSDKPreferencePage;
 
 public class YoctoProfileSetting {
private static final String PROFILES_TITLE = 
"Preferences.Profiles.Title";
@@ -88,6 +91,14 @@ public class YoctoProfileSetting {
private void createSaveAsProfileButton(Group 
storeYoctoConfigurationsGroup) {
btnConfigSaveAs = new Button(storeYoctoConfigurationsGroup, 
SWT.PUSH | SWT.LEAD);

btnConfigSaveAs.setText(YoctoSDKMessages.getString(NEW_PROFILE_TITLE));
+   btnConfigSaveAs.addMouseListener(new MouseAdapter() {
+   @Override
+   public void mouseDown(MouseEvent e) {
+   if (preferencePage instanceof 
YoctoSDKPreferencePage) {
+   ((YoctoSDKPreferencePage) 
preferencePage).performSaveAs();
+   }
+   }
+   });
}
 
private void createRemoveButton(Group storeYoctoConfigurationsGroup) {
@@ -111,6 +122,12 @@ public class YoctoProfileSetting {
}
}
 
+   public void addProfile(String profileName) {
+   int index = sdkConfigsCombo.getItemCount();
+   sdkConfigsCombo.add(profileName, index);
+   sdkConfigsCombo.select(index);
+   }
+
public void setUIFormEnabledState(boolean isEnabled) {
setButtonsEnabledState(isEnabled);
sdkConfigsCombo.setEnabled(isEnabled);
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
index 7200741..14b7846 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
@@ -46,8 +46,15 @@ Preferences.SDK.Target.name = Target Preferences:
 Preferences.SDK.Informing.Title   = Yocto Project ADT has been successfully 
set up. 
 Preferences.SDK.Informing.Message = You might need to reconfigure your 
existing Yocto Project Autotools Projects to use the Yocto Project ADT. Do this 
from Project > Reconfigure Project!
 
+Preferences.Profile.Validator.InvalidName.Comma = Warning: The profile name 
cannot contain a comma (,).
+Preferences.Profile.Validator.InvalidName.Quote = Warning: The profile name 
cannot contain a double quote (\").
+Preferences.Profile.Validator.InvalidName.Empty = Please provide a new profile 
name.
+Preferences.Profile.Validator.InvalidName.Exists = Warning: The profile 
already exists.
+
 Preferences.Profiles.Title = Target profiles:
 Preferences.Profile.New.Title = Save as ...
+Preferences.Profile.New.Dialog.Title = Save as new target profile
+Preferences.Profile.New.Dialog.Message = Please input a profile name.
 Preferences.Profile.Rename.Title = Rename
 Preferences.Profile.Remove.Title = Remove
 
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/ProfileNameInputValidator.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/ProfileNameInputValidator.java
new file mode 100644
index 000..38e38b1
--- /dev/null
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/ProfileNameInputValidator.java
@@ -0,0 +1,63 @@
+/

[yocto] [RFC v4 07/17] plugins/sdk.ide: Modified preferences storage to support profiles.

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Yocto preferences are now stored using a user-defined name that
identifies a target profile. To store these preferences eclipse'
scoped preferences provider is used. The filename in the eclipse
configuration area is derived from the unique target profile name.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoSDKPlugin.java  |  9 
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   | 10 ++--
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 60 +-
 .../sdk/ide/preferences/PreferenceConstants.java   |  4 ++
 .../sdk/ide/preferences/PreferenceInitializer.java | 22 
 .../ide/preferences/YoctoSDKPreferencePage.java| 36 -
 .../preferences/YoctoSDKProjectPropertyPage.java   |  4 +-
 .../sdk/ide/wizard/NewYoctoCProjectTemplate.java   |  7 ++-
 8 files changed, 99 insertions(+), 53 deletions(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKPlugin.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKPlugin.java
index b0b5447..9777396 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKPlugin.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKPlugin.java
@@ -16,9 +16,12 @@ import org.eclipse.core.resources.ResourcesPlugin;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
+import org.eclipse.core.runtime.preferences.InstanceScope;
+import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.swt.widgets.Shell;
 import org.eclipse.ui.IWorkbenchWindow;
 import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.eclipse.ui.preferences.ScopedPreferenceStore;
 import org.osgi.framework.BundleContext;
 
 /**
@@ -65,6 +68,12 @@ public class YoctoSDKPlugin extends AbstractUIPlugin {
return plugin;
}
 
+   public static IPreferenceStore getProfilePreferenceStore(String 
profileName) {
+   int profileIdentifier = profileName.hashCode();
+
+   return new 
ScopedPreferenceStore(InstanceScope.INSTANCE,getUniqueIdentifier() + "." + 
profileIdentifier);
+   }
+
public static void log(IStatus status) {
ResourcesPlugin.getPlugin().getLog().log(status);
}
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
index ec49dcc..6f16732 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
@@ -18,10 +18,13 @@ import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Set;
 import java.util.StringTokenizer;
+
 import org.eclipse.cdt.core.model.CoreModel;
 import org.eclipse.cdt.core.settings.model.ICProjectDescription;
 import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
 import org.eclipse.cdt.debug.mi.core.IMILaunchConfigurationConstants;
+import 
org.eclipse.cdt.internal.autotools.core.configure.AutotoolsConfigurationManager;
+import org.eclipse.cdt.internal.autotools.core.configure.IAConfiguration;
 import org.eclipse.cdt.managedbuilder.core.IConfiguration;
 import org.eclipse.cdt.managedbuilder.core.IManagedBuildInfo;
 import org.eclipse.cdt.managedbuilder.core.ManagedBuildManager;
@@ -34,8 +37,7 @@ import org.eclipse.debug.core.ILaunchConfiguration;
 import org.eclipse.debug.core.ILaunchConfigurationType;
 import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
 import org.eclipse.debug.core.ILaunchManager;
-import 
org.eclipse.cdt.internal.autotools.core.configure.AutotoolsConfigurationManager;
-import org.eclipse.cdt.internal.autotools.core.configure.IAConfiguration;
+import org.eclipse.jface.preference.IPreferenceStore;
 import org.yocto.sdk.ide.YoctoSDKUtils.SDKCheckRequestFrom;
 
 
@@ -151,7 +153,9 @@ public class YoctoSDKProjectNature implements 
IProjectNature {
}
 
public static void configureAutotools(IProject project) throws 
YoctoGeneralException {
-   YoctoUIElement elem = YoctoSDKUtils.getElemFromStore();
+   YoctoProfileElement profileElement = 
YoctoSDKUtils.getProfilesFromDefaultStore();
+   IPreferenceStore selecteProfileStore = 
YoctoSDKPlugin.getProfilePreferenceStore(profileElement.getSelectedProfile());
+   YoctoUIElement elem = 
YoctoSDKUtils.getElemFromStore(selecteProfileStore);
YoctoSDKUtils.SDKCheckResults result = 
YoctoSDKUtils.checkYoctoSDK(elem);
if (result != YoctoSDKUtils.SDKCheckResults.SDK_PASS){  
String strErrorMsg =  
YoctoSDKUtils.getErrorMessage(result, SDKCheckRequestFrom.Wizard);
diff --git a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
index ab969ea..12af7e3 100644
--- a/plugins/org.

[yocto] [RFC v4 09/17] plugins/sdk.ide: Add method to allow storing the current settings

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

The added method calls the performOK method on the provided preference
page to store the current content of the page.

This callback is needed so the profile UI is able to propagate changes
to the preference page it is part of.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java   | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index b35a167..7949cdf 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -10,6 +10,7 @@
  
***/
 package org.yocto.sdk.ide;
 
+import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.layout.GridLayout;
@@ -32,9 +33,11 @@ public class YoctoProfileSetting {
private Button btnConfigSaveAs;
 
private YoctoProfileElement profileElement;
+   private PreferencePage preferencePage;
 
-   public YoctoProfileSetting(YoctoProfileElement profileElement) {
+   public YoctoProfileSetting(YoctoProfileElement profileElement, 
PreferencePage preferencePage) {
this.profileElement = profileElement;
+   this.preferencePage = preferencePage;
}
 
public void createComposite(Composite composite) {
@@ -98,6 +101,10 @@ public class YoctoProfileSetting {

btnConfigRename.setText(YoctoSDKMessages.getString(RENAME_PROFILE_TITLE));
}
 
+   private void saveChangesOnCurrentProfile() {
+   preferencePage.performOk();
+   }
+
private void addConfigs(Combo combo) {
for (String profile : profileElement.getProfiles()) {
combo.add(profile);
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 06/17] plugins/sdk.ide: Create UI element for managing target profiles.

2013-02-08 Thread Timo Mueller
From: Atanas Gegov 

A target profile is a combination of yocto settings identified by a
user-defined name. This UI element allows the user to add new profiles
and to rename or delete existing ones.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoProfileElement.java | 104 +
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java |  98 +++
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |   5 +
 .../sdk/ide/preferences/PreferenceConstants.java   |   1 +
 4 files changed, 208 insertions(+)
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java
new file mode 100644
index 000..02626ad
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java
@@ -0,0 +1,104 @@
+/***
+ * Copyright (c) 2012 BMW Car IT GmbH.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * BMW Car IT - initial API and implementation
+ 
***/
+package org.yocto.sdk.ide;
+
+import java.util.Comparator;
+import java.util.StringTokenizer;
+import java.util.TreeSet;
+
+import org.yocto.sdk.ide.preferences.PreferenceConstants;
+
+public class YoctoProfileElement {
+   private TreeSet profiles = new TreeSet(new 
Comparator() {
+
+   @Override
+   public int compare(String o1, String o2) {
+   int strcompare = o1.compareTo(o2);
+
+   if (strcompare == 0) {
+   return strcompare;
+   }
+
+   // Standard profile always less than anything else
+   if 
(o1.equals(PreferenceConstants.STANDARD_PROFILE_NAME)) {
+   return -1;
+   }
+
+   if 
(o2.equals(PreferenceConstants.STANDARD_PROFILE_NAME)) {
+   return 1;
+   }
+
+   return strcompare;
+   }
+   });
+
+   private String selectedProfile;
+
+   public YoctoProfileElement(String profilesString, String 
selectedProfile) {
+   setProfilesFromString(profilesString);
+   this.selectedProfile = selectedProfile;
+   }
+
+   public void addProfile(String profile) {
+   this.profiles.add(profile);
+   }
+
+   public boolean contains(String newText) {
+   return profiles.contains(newText);
+   }
+
+   public TreeSet getProfiles() {
+   return profiles;
+   }
+
+   public String getProfilesAsString() {
+   String profileString = "";
+
+   for (String profile : profiles) {
+   profileString += "\"" + profile + "\",";
+   }
+   return profileString.substring(0, profileString.length() - 1);
+   }
+
+   public String getSelectedProfile() {
+   return selectedProfile;
+   }
+
+   public void remove(String profile) {
+   this.profiles.remove(profile);
+   }
+
+   public void rename(String oldProfileName, String newProfileName) {
+   this.remove(oldProfileName);
+   this.addProfile(newProfileName);
+
+   if (selectedProfile.equals(oldProfileName)) {
+   selectedProfile = newProfileName;
+   }
+   }
+
+   public void setProfiles(TreeSet profiles) {
+   this.profiles = profiles;
+   }
+
+   public void setProfilesFromString(String profilesString) {
+   StringTokenizer tokenizer = new StringTokenizer(profilesString, 
",");
+
+   while (tokenizer.hasMoreElements()) {
+   String config = (String) tokenizer.nextElement();
+   profiles.add(config.replace("\"", ""));
+   }
+   }
+
+   public void setSelectedProfile(String selectedProfile) {
+   this.selectedProfile = selectedProfile;
+   }
+}
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
new file mode 100644
index 000..7476bd3
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -0,0 +1,98 @@
+/**

[yocto] [RFC v4 08/17] plugins/sdk.ide: Set profile on selection change

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

When a profile is selected through the combo box the value of the
profileElement changed to contain the selected profile.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java | 23 ++
 1 file changed, 23 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 7476bd3..b35a167 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -16,7 +16,9 @@ import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Button;
 import org.eclipse.swt.widgets.Combo;
 import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Event;
 import org.eclipse.swt.widgets.Group;
+import org.eclipse.swt.widgets.Listener;
 
 public class YoctoProfileSetting {
private static final String PROFILES_TITLE = 
"Preferences.Profiles.Title";
@@ -54,6 +56,27 @@ public class YoctoProfileSetting {
sdkConfigsCombo.setLayout(new GridLayout(2, false));
sdkConfigsCombo.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, 
true, false));
 
+   Listener selectionListener = new Listener() {
+   @Override
+   public void handleEvent(Event event) {
+   Object source = event.widget;
+   if (!(source instanceof Combo)) {
+   return;
+   }
+
+   Combo sdkCombo = (Combo) source;
+   if (sdkCombo.getSelectionIndex() < 0) {
+   return;
+   }
+
+   String selectedItem = 
sdkCombo.getItem(sdkCombo.getSelectionIndex());
+   profileElement.setSelectedProfile(selectedItem);
+   }
+   };
+
+   sdkConfigsCombo.addListener(SWT.Selection, selectionListener);
+   sdkConfigsCombo.addListener(SWT.Modify, selectionListener);
+
createSaveAsProfileButton(storeYoctoConfigurationsGroup);
createRenameButton(storeYoctoConfigurationsGroup);
createRemoveButton(storeYoctoConfigurationsGroup);
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 04/17] plugins/sdk.ide: Set value of target array on input change

2013-02-08 Thread Timo Mueller
From: Atanas Gegov 

The value of the target array set in the constructor is now also
affected when the input of the element is changed.

Signed-off-by: Timo Mueller 
---
 plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
index 2e3c830..5bca41a 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
@@ -303,6 +303,8 @@ public class YoctoUISetting {
}
 
public void setCurrentInput(YoctoUIElement elem){
+   elem.setStrTargetsArray(getTargetArray(elem));
+
btnSDKRoot.setSelection(false);
btnPokyRoot.setSelection(false);

if(elem.getEnumPokyMode().equals(YoctoUIElement.PokyMode.POKY_SDK_MODE)){
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 03/17] plugins/sdk.ide: Add method to enable and disable form

2013-02-08 Thread Timo Mueller
From: Atanas Gegov 

The YoctoUISetting form as a whole can be disabled and enabled using
this method. A disabled form can for example show a read-only yocto
configuration.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoUISetting.java  | 44 ++
 1 file changed, 44 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
index 9ec0d85..2e3c830 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
@@ -370,6 +370,50 @@ public class YoctoUISetting {
return pass;
}
 
+   public void setUIFormEnabledState(boolean isEnabled) {
+   btnSDKRoot.setEnabled(isEnabled);
+   btnPokyRoot.setEnabled(isEnabled);
+
+   root_label.setEnabled(isEnabled);
+   textRootLoc.setEnabled(isEnabled);
+   btnToolChainLoc.setEnabled(isEnabled);
+
+   sysroot_label.setEnabled(isEnabled);
+   textSysrootLoc.setEnabled(isEnabled);
+   btnSysrootLoc.setEnabled(isEnabled);
+
+   targetArchLabel.setEnabled(isEnabled);
+   targetArchCombo.setEnabled(isEnabled);
+
+   btnQemu.setEnabled(isEnabled);
+
+   if(isEnabled) {
+   /* enabling widgets regarding
+* Kernel and Custom Options
+* depends on the state of the QEMU button */
+   kernel_label.setEnabled(isEnabled);
+   option_label.setEnabled(isEnabled);
+
+   if(btnQemu.getSelection()) {
+   textKernelLoc.setEnabled(isEnabled);
+   btnKernelLoc.setEnabled(isEnabled);
+
+   textQemuOption.setEnabled(isEnabled);
+   }
+   } else {
+   /* disable all widgets regarding
+* Kernel and Custom Options */
+   kernel_label.setEnabled(isEnabled);
+   textKernelLoc.setEnabled(isEnabled);
+   btnKernelLoc.setEnabled(isEnabled);
+
+   option_label.setEnabled(isEnabled);
+   textQemuOption.setEnabled(isEnabled);
+   }
+
+   btnDevice.setEnabled(isEnabled);
+   }
+
private void updateQemuControlState()
{
boolean bQemuMode = btnQemu.getSelection();
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 00/17][eclipse-poky] Storing yocto settings as target profiles

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Hi,

I removed the last patch that was moving the "Save as ..." button to
the bottom. So now it is located beneath the dropdown box. I also
changed the message in the profile deletion dialog to only ask if the
user really wants to delete the profile.

>From RFC v3:

First of all I've fixed the issues with the patches (duplicate method,
missing fix for NewYoctoCProjectTemplate.java).

I also changed the functionality of the "new" button according to
Jessica's feedback. The logic is changed to a "Save as ..."
approach. If the button is clicked the current values of the form are
checked. If these are valid, the user can enter a name to store them
as a new profile.


>From the original cover letter:

currently the yocto settings can be changed globally through eclipse's
preferences or locally in the project properties. But the standard configuration
stored in the global preferences sometimes changes, e.g. if a new version of the
toolchain or the sysroot is released.
If you change the global settings to the updated toolchain or sysroot your old
working configuration is gone. If you want to reuse this configuration at a
later point in time you have to (remember and) re-enter everthing.
This patch set introduces the possiblity to store a configuration under a unique
name, a so called target profile, and be able to select the default target
profile that is used for new projects.
Building upon this change the target profiles could later also be used in the
project settings and be able to quickly build and debug your software for
different hard- and software combinations.


Best regards,
Timo

Atanas Gegov (4):
  plugins/sdk.ide: Extract labels to private members
  plugins/sdk.ide: Add method to enable and disable form
  plugins/sdk.ide: Set value of target array on input change
  plugins/sdk.ide: Create UI element for managing target profiles.

Timo Mueller (13):
  plugins/sdk.ide: Removed unused message
  plugins/sdk.ide: Changed method signature to be more consistent
  plugins/sdk.ide: Modified preferences storage to support profiles.
  plugins/sdk.ide: Set profile on selection change
  plugins/sdk.ide: Add method to allow storing the current settings
  plugins/sdk.ide: Add UI method to create a new profile
  plugins/sdk.ide: Add UI method to delete a profile
  plugins/sdk.ide: Add UI method to rename a profile
  plugins/sdk.ide: Add method to change values of the preference page
  plugins/sdk.ide: Add method to rename a profile and its preference
store
  plugins/sdk.ide: Add method to delete a profile
  plugins/sdk.ide: Use profiles for the preference page
  plugins/sdk.ide: Added profile UI to the preference page

 .../src/org/yocto/sdk/ide/YoctoProfileElement.java | 104 ++
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java | 229 +
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  19 +-
 .../src/org/yocto/sdk/ide/YoctoSDKPlugin.java  |   9 +
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   |  10 +-
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   |  62 --
 .../src/org/yocto/sdk/ide/YoctoUISetting.java  |  60 +-
 .../sdk/ide/preferences/PreferenceConstants.java   |   5 +
 .../sdk/ide/preferences/PreferenceInitializer.java |  22 +-
 .../ide/preferences/ProfileNameInputValidator.java |  63 ++
 .../ide/preferences/YoctoSDKPreferencePage.java| 112 +++---
 .../preferences/YoctoSDKProjectPropertyPage.java   |   6 +-
 .../sdk/ide/wizard/NewYoctoCProjectTemplate.java   |   7 +-
 13 files changed, 643 insertions(+), 65 deletions(-)
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/ProfileNameInputValidator.java

-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 02/17] plugins/sdk.ide: Extract labels to private members

2013-02-08 Thread Timo Mueller
From: Atanas Gegov 

Extracting the labels as private members allows the modification of
the label settings after creation. This is will allow disabling and
enabling the labels after creation of the form.

Signed-off-by: Timo Mueller 
---
 .../src/org/yocto/sdk/ide/YoctoUISetting.java  | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
index 0fbfde0..9ec0d85 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
@@ -63,6 +63,12 @@ public class YoctoUISetting {
private Text textRootLoc;
private Combo targetArchCombo;
 
+   private Label root_label;
+   private Label sysroot_label;
+   private Label targetArchLabel;
+   private Label kernel_label;
+   private Label option_label;
+
public YoctoUISetting(YoctoUIElement elem)
{
yoctoUIElement = elem;
@@ -140,10 +146,6 @@ public class YoctoUISetting {
 
private void createQemuSetup(final Group targetGroup) throws 
YoctoGeneralException
{
-   Label kernel_label;
-   Label option_label;
-   
-   
//QEMU Setup
kernel_label= new Label(targetGroup, SWT.NONE);
kernel_label.setText("Kernel: ");
@@ -180,8 +182,6 @@ public class YoctoUISetting {
}
public void createComposite(Composite composite) throws 
YoctoGeneralException
{
-   Label root_label, sysroot_label;
-   
GridData gd = new GridData(SWT.FILL, SWT.CENTER, true, false);
GridLayout layout = new GridLayout(2, false);
composite.setLayout(layout);
@@ -224,7 +224,7 @@ public class YoctoUISetting {
btnSysrootLoc = addFileSelectButton(textContainer, 
textSysrootLoc, PreferenceConstants.SYSROOT);
 
updateSDKControlState();
-   Label targetArchLabel= new Label(crossCompilerGroup, SWT.NONE);
+   targetArchLabel = new Label(crossCompilerGroup, SWT.NONE);
targetArchLabel.setText("Target Architecture: ");
 
targetArchCombo= new Combo(crossCompilerGroup, SWT.READ_ONLY);
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 01/17] plugins/sdk.ide: Removed unused message

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

The dialog has been merged with the project settings. Therefor the
message is no longer needed.

Signed-off-by: Timo Mueller 
---
 .../org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties  | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
index b302524..17240e9 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
@@ -22,7 +22,6 @@ Poky.Env.Script.Nonexist = Specified Build Tree Toolchain 
Root does not contain
 Poky.ADT.Sysroot.Wrongversion = OECORE related items are not found in 
envrionement setup files.\nThe ADT version you're using is too old.\n Please 
upgrade to our latest ADT Version!
 Poky.Toolchain.Host.Mismatch = Toolchain and host arch mismatch.\n Make sure 
you use 32bit toolchain for 32bit host and same for 64bit machines!
 Poky.Toolchain.No.Sysroot = There's no sysroots directory under your toolchain 
directory under /opt/poky!
-Menu.SDK.Dialog.Title   = Yocto Project Settings
 
 
 Menu.SDK.Console.Configure.Message= The Yocto Project ADT has been 
successfully set up for this project.\nTo see the environment variables created 
during setup,\ngo to Project > Properties > C/C++ Build > Environment. 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v5 10/12] plugins/sdk.ide.doc.user: Add yocto documentation to the table of contents

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

The separate yocto manuals are added to the table of contents to
prepare their inclusion into the plugin.

Signed-off-by: Timo Mueller 
---
 plugins/org.yocto.doc.user/plugin.xml | 28 
 plugins/org.yocto.doc.user/toc.xml| 21 +
 2 files changed, 49 insertions(+)

diff --git a/plugins/org.yocto.doc.user/plugin.xml 
b/plugins/org.yocto.doc.user/plugin.xml
index 8353cd1..8e87ce7 100644
--- a/plugins/org.yocto.doc.user/plugin.xml
+++ b/plugins/org.yocto.doc.user/plugin.xml
@@ -7,5 +7,33 @@
file="toc.xml"
primary="true">

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

 
diff --git a/plugins/org.yocto.doc.user/toc.xml 
b/plugins/org.yocto.doc.user/toc.xml
index 4998ef3..86fbe29 100644
--- a/plugins/org.yocto.doc.user/toc.xml
+++ b/plugins/org.yocto.doc.user/toc.xml
@@ -1,3 +1,24 @@
 
  
+   
+  
+   
+   
+  
+   
+   
+  
+   
+   
+  
+   
+   
+  
+   
+   
+  
+   
+   
+  
+   
  
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v5 09/12] scripts/generate-doc.sh: Add script to handle eclipse help generation

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

This script will checkout the yocto-docs project containing the
official yocto documentation. After successful checkout the eclipse
help is generated and the about.html file of the doc.user plugin is
created.

Signed-off-by: Timo Mueller 
---
 scripts/generate-doc.sh | 85 +
 1 file changed, 85 insertions(+)
 create mode 100755 scripts/generate-doc.sh

diff --git a/scripts/generate-doc.sh b/scripts/generate-doc.sh
new file mode 100755
index 000..7152d6f
--- /dev/null
+++ b/scripts/generate-doc.sh
@@ -0,0 +1,85 @@
+#!/bin/sh
+
+help()
+{
+   echo "Generate and add eclipse help from yocto's documentation"
+   echo "Usage: $0 BRANCH_NAME PLUGIN_FOLDER"
+   echo "   $0 -t TAG_NAME PLUGIN_FOLDER"
+   echo ""
+   echo "Options:"
+   echo "-h - display this help and exit"
+   echo "-t TAG_NAME - tag to build the documentation upon"
+   echo "BRANCH_NAME - branch to build the documentation upon"
+   echo "PLUGIN_FOLDER - root folder of the eclipse-poky project"
+   exit 1
+}
+
+fail ()
+{
+  local retval=$1
+  shift $1
+  echo "[Fail $retval]: $*"
+  echo "BUILD_TOP=${BUILD_TOP}"
+  cd ${TOP}
+  exit ${retval}
+}
+
+CHECKOUT_TAG=0
+while getopts ":ht" opt; do
+   case $opt in
+   h)
+   help
+   ;;
+   t)
+   CHECKOUT_TAG=1
+   ;;
+   esac
+done
+shift $(($OPTIND - 1))
+
+if [ $# -ne 2 ]; then
+   help
+fi
+
+if [ $CHECKOUT_TAG -eq 0 ]; then
+   REFERENCE=origin/$1
+else
+   REFERENCE=$1
+fi
+PLUGIN_FOLDER=`readlink -f $2`
+
+TOP=`pwd`
+
+DOC_DIR=${PLUGIN_FOLDER}/docs
+rm -rf ${DOC_DIR}
+DOC_PLUGIN_DIR=${PLUGIN_FOLDER}/plugins/org.yocto.doc.user
+DOC_HTML_DIR=${DOC_PLUGIN_DIR}/html/
+
+# git clone
+#DOC_GIT=git://git.yoctoproject.org/yocto-docs.git
+DOC_GIT=file:///home/timo/_dev/oss/yocto/yocto-docs
+git clone ${DOC_GIT} ${DOC_DIR} || fail $? "git clone ${DOC_GIT}"
+cd ${DOC_DIR}
+git checkout ${REFERENCE} || fail $? "git checkout ${REFERENCE}"
+COMMIT_ID=`git rev-parse HEAD`
+
+# build and copy
+DOCS="yocto-project-qs adt-manual kernel-dev \
+  bsp-guide ref-manual dev-manual profile-manual"
+
+cd documentation
+ECLIPSE_TARGET_AVAILABLE=`make -q eclipse &> /dev/null; echo $?`
+if [ ${ECLIPSE_TARGET_AVAILABLE} -ne 1 ]; then
+   echo "WARNING:"
+   echo "This version does not support generating eclipse help"
+   echo "Documentation will not be available in eclipse"
+   exit 1
+fi
+
+for DOC in ${DOCS}; do
+   make DOC=${DOC} eclipse
+done
+
+sed -e "s/@.*@/${COMMIT_ID}/" < ${DOC_PLUGIN_DIR}/about.html.in > 
${DOC_PLUGIN_DIR}/about.html
+
+cd ${TOP}
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v5 08/12] scripts/build.sh: Added yocto.doc feature to build

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 scripts/build.sh | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/scripts/build.sh b/scripts/build.sh
index e1ec5fc..73bf889 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -132,10 +132,14 @@ cd ${TOP}
 
 #build 
 java -jar ${LAUNCHER} -application org.eclipse.ant.core.antRunner -buildfile 
${BUILDFILE} -DbaseLocation=${ECLIPSE_BASE} 
-Dbuilder=${GIT_DIR}/features/org.yocto.bc.headless.build 
-DbuildDirectory=${BUILD_DIR} -DotherSrcDirectory=${GIT_DIR} 
-DbuildId=${RELEASE} || fail $? "normal build"
+java -jar ${LAUNCHER} -application org.eclipse.ant.core.antRunner -buildfile 
${BUILDFILE} -DbaseLocation=${ECLIPSE_BASE} 
-Dbuilder=${GIT_DIR}/features/org.yocto.doc.headless.build 
-DbuildDirectory=${BUILD_DIR} -DotherSrcDirectory=${GIT_DIR} 
-DbuildId=${RELEASE} || fail $? "normal build"
 java -jar ${LAUNCHER} -application org.eclipse.ant.core.antRunner -buildfile 
${BUILDFILE} -DbaseLocation=${ECLIPSE_BASE} 
-Dbuilder=${GIT_DIR}/features/org.yocto.sdk.headless.build 
-DbuildDirectory=${BUILD_DIR} -DotherSrcDirectory=${GIT_DIR} 
-DbuildId=${RELEASE} || fail $? "normal build"
 
-if [ -f ${BUILD_DIR}/I.${RELEASE}/org.yocto.sdk-${RELEASE}.zip ] && [ -f 
${BUILD_DIR}/I.${RELEASE}/org.yocto.bc-${RELEASE}.zip ]; then
+if [ -f ${BUILD_DIR}/I.${RELEASE}/org.yocto.sdk-${RELEASE}.zip ] &&
+   [ -f ${BUILD_DIR}/I.${RELEASE}/org.yocto.bc-${RELEASE}.zip ] &&
+   [ -f ${BUILD_DIR}/I.${RELEASE}/org.yocto.doc-${RELEASE}.zip ]; then
   cp -f ${BUILD_DIR}/I.${RELEASE}/org.yocto.bc-${RELEASE}.zip 
./org.yocto.bc-${RELEASE}-${DATE}.zip
+  cp -f ${BUILD_DIR}/I.${RELEASE}/org.yocto.doc-${RELEASE}.zip 
./org.yocto.doc-${RELEASE}-${DATE}.zip
   cp -f ${BUILD_DIR}/I.${RELEASE}/org.yocto.sdk-${RELEASE}.zip 
./org.yocto.sdk-${RELEASE}-${DATE}.zip
   rm -rf ${BUILD_DIR}
 else
@@ -144,10 +148,13 @@ fi
 
 #build archive for update site
 java -jar ${LAUNCHER} -application org.eclipse.ant.core.antRunner -buildfile 
${BUILDFILE} -DbaseLocation=${ECLIPSE_BASE} 
-Dbuilder=${GIT_DIR}/features/org.yocto.bc.headless.build 
-DbuildDirectory=${BUILD_DIR} -DotherSrcDirectory=${GIT_DIR} 
-DbuildId=${RELEASE} -Dp2.gathering=true || fail $? "archive build"
+java -jar ${LAUNCHER} -application org.eclipse.ant.core.antRunner -buildfile 
${BUILDFILE} -DbaseLocation=${ECLIPSE_BASE} 
-Dbuilder=${GIT_DIR}/features/org.yocto.doc.headless.build 
-DbuildDirectory=${BUILD_DIR} -DotherSrcDirectory=${GIT_DIR} 
-DbuildId=${RELEASE} -Dp2.gathering=true || fail $? "archive build"
 java -jar ${LAUNCHER} -application org.eclipse.ant.core.antRunner -buildfile 
${BUILDFILE} -DbaseLocation=${ECLIPSE_BASE} 
-Dbuilder=${GIT_DIR}/features/org.yocto.sdk.headless.build 
-DbuildDirectory=${BUILD_DIR} -DotherSrcDirectory=${GIT_DIR} 
-DbuildId=${RELEASE} -Dp2.gathering=true || fail $? "archive build"
 
 #clean up
-if [ -f 
${BUILD_DIR}/I.${RELEASE}/org.yocto.sdk-${RELEASE}-group.group.group.zip ] && [ 
-f ${BUILD_DIR}/I.${RELEASE}/org.yocto.bc-${RELEASE}-group.group.group.zip ]; 
then
+if [ -f 
${BUILD_DIR}/I.${RELEASE}/org.yocto.sdk-${RELEASE}-group.group.group.zip ] &&
+   [ -f 
${BUILD_DIR}/I.${RELEASE}/org.yocto.bc-${RELEASE}-group.group.group.zip ] &&
+   [ -f 
${BUILD_DIR}/I.${RELEASE}/org.yocto.doc-${RELEASE}-group.group.group.zip ]; then
   cp -f 
${BUILD_DIR}/I.${RELEASE}/org.yocto.sdk-${RELEASE}-group.group.group.zip 
./org.yocto.sdk-${RELEASE}-${DATE}-archive.zip
   rm -rf ${BUILD_TOP}
 else
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v5 12/12] scripts/build.sh: Add documentation generation to the default build

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

When building the plugin the matching documentation is automatically
generated and added to the user.doc plugin prior to the plugin build.

Signed-off-by: Timo Mueller 
---
 scripts/build.sh | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/scripts/build.sh b/scripts/build.sh
index 73bf889..a1b420c 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -130,6 +130,13 @@ git checkout origin/${BRANCH} || fail $? "git checkout 
origin/${BRANCH}"
 git checkout ${TAG} || fail $? "git checkout ${TAG}"
 cd ${TOP}
 
+# generate and add documentation
+if [ "${TAG}" = "HEAD" ]; then
+   ${GIT_DIR}/scripts/generate-doc.sh ${BRANCH} ${GIT_DIR}
+else
+   ${GIT_DIR}/scripts/generate-doc.sh -t ${TAG} ${GIT_DIR}
+fi
+
 #build 
 java -jar ${LAUNCHER} -application org.eclipse.ant.core.antRunner -buildfile 
${BUILDFILE} -DbaseLocation=${ECLIPSE_BASE} 
-Dbuilder=${GIT_DIR}/features/org.yocto.bc.headless.build 
-DbuildDirectory=${BUILD_DIR} -DotherSrcDirectory=${GIT_DIR} 
-DbuildId=${RELEASE} || fail $? "normal build"
 java -jar ${LAUNCHER} -application org.eclipse.ant.core.antRunner -buildfile 
${BUILDFILE} -DbaseLocation=${ECLIPSE_BASE} 
-Dbuilder=${GIT_DIR}/features/org.yocto.doc.headless.build 
-DbuildDirectory=${BUILD_DIR} -DotherSrcDirectory=${GIT_DIR} 
-DbuildId=${RELEASE} || fail $? "normal build"
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v5 11/12] scripts/generate-doc.sh: Copy generated eclipse help into the user.doc plugin

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

After successful generation the eclipse help files and the table of
contents of each manual are copied to the user.doc plugin.

Signed-off-by: Timo Mueller 
---
 scripts/generate-doc.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/generate-doc.sh b/scripts/generate-doc.sh
index 7152d6f..588638c 100755
--- a/scripts/generate-doc.sh
+++ b/scripts/generate-doc.sh
@@ -78,6 +78,8 @@ fi
 
 for DOC in ${DOCS}; do
make DOC=${DOC} eclipse
+   cp -rf ${DOC}/eclipse/html/* ${DOC_HTML_DIR}
+   cp -f ${DOC}/eclipse/${DOC}-toc.xml ${DOC_HTML_DIR}
 done
 
 sed -e "s/@.*@/${COMMIT_ID}/" < ${DOC_PLUGIN_DIR}/about.html.in > 
${DOC_PLUGIN_DIR}/about.html
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v5 06/12] features/doc.headless.build: Added headless build for yocto.doc feature

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 features/org.yocto.doc.headless.build/.project |  11 +
 .../org.yocto.doc.headless.build/build.properties  | 262 +
 .../org.yocto.doc.headless.build/customTargets.xml | 212 +
 3 files changed, 485 insertions(+)
 create mode 100644 features/org.yocto.doc.headless.build/.project
 create mode 100644 features/org.yocto.doc.headless.build/build.properties
 create mode 100644 features/org.yocto.doc.headless.build/customTargets.xml

diff --git a/features/org.yocto.doc.headless.build/.project 
b/features/org.yocto.doc.headless.build/.project
new file mode 100644
index 000..106c772
--- /dev/null
+++ b/features/org.yocto.doc.headless.build/.project
@@ -0,0 +1,11 @@
+
+
+   org.yocto.doc.headless.build
+   
+   
+   
+   
+   
+   
+   
+
diff --git a/features/org.yocto.doc.headless.build/build.properties 
b/features/org.yocto.doc.headless.build/build.properties
new file mode 100644
index 000..6a857f8
--- /dev/null
+++ b/features/org.yocto.doc.headless.build/build.properties
@@ -0,0 +1,262 @@
+###
+# Copyright (c) 2003, 2009 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###
+#
+# Parameters describing how and where to execute the build.
+# Typical users need only update the following properties:
+#baseLocation - where things you are building against are installed
+#bootclasspath - The base jars to compile against (typicaly rt.jar)
+#configs - the list of {os, ws, arch} configurations to build.
+#
+# Of course any of the settings here can be overridden by spec'ing
+# them on the command line (e.g., -DbaseLocation=d:/eclipse
+
+#The type of the top level element we are building,  generally "feature"
+topLevelElementType = feature
+#The id of the top level element we are building
+topLevelElementId = org.yocto.doc
+
+# PRODUCT/PACKAGING CONTROL #
+product=/plugin or feature id/path/to/.product
+runPackager=true
+
+#Set the name of the archive that will result from the product build.
+#archiveNamePrefix=
+
+# The prefix that will be used in the generated archive.
+archivePrefix=eclipse
+
+# The location underwhich all of the build output will be collected.
+collectingFolder=${archivePrefix}
+
+# The list of {os, ws, arch} configurations to build.  This
+# value is a '&' separated list of ',' separate triples.  For example,
+# configs=win32,win32,x86 & linux,motif,x86
+# By default the value is *,*,*
+configs = *, *, *
+#configs=win32, win32, x86 & \
+#  win32,win32,x86_64 & \
+#  win32,win32,wpf & \
+#  linux, gtk, ppc & \
+#  linux, gtk, x86 & \
+#  linux, gtk, x86_64 & \
+#  linux, motif, x86 & \
+#  solaris, motif, sparc & \
+#  solaris, gtk, sparc & \
+#  aix, motif, ppc & \
+#  hpux, motif, ia64_32 & \
+#  macosx, carbon, ppc & \
+#  macosx, carbon, x86 & \
+#  macosx, cocoa, ppc & \
+#  macosx, cocoa, x86 & \
+#  macosx, cocoa, x86_64
+
+# By default PDE creates one archive (result) per entry listed in the configs 
property.
+# Setting this value to true will cause PDE to only create one output 
containing all
+# artifacts for all the platforms listed in the configs property.
+# To control the output format for the group, add a "group, group, group - 
" entry to the
+# archivesFormat.
+#groupConfigurations=true
+
+#The format of the archive. By default a zip is created using antZip.
+#The list can only contain the configuration for which the desired format is 
different than zip.
+#archivesFormat=win32, win32, x86 - antZip& \
+#  linux, gtk, ppc - antZip &\
+#linux, gtk, x86 - antZip& \
+#  linux, gtk, x86_64 - antZip& \
+# linux, motif, x86 - antZip& \
+#  solaris, motif, sparc - antZip& \
+#  solaris, gtk, sparc - antZip& \
+#  aix, motif, ppc - antZip& \
+#  hpux, motif, PA_RISC - antZip& \
+#  macosx, carbon, ppc - antZip
+
+#Allow cycles involving at most one bundle that needs to be compiled with the 
rest being binary bundles.
+allowBinaryCycles = true
+
+#Sort bundles depenedencies across all features instead of just within a given 
feature.
+#flattenDependencies = true
+
+#Parallel compilation, requires flattenedDependencies=true
+#parallelCompilation=true
+#parallelThreadCount=
+#parallelThreadsPerProcessor=
+
+#Set to true if you want the output to be ready for an update jar (no site.xml 
generated)
+outputUpdateJars = true
+
+#Set to true for Jnlp generation
+#codebase shou

[yocto] [RFC v5 05/12] features/org.yocto.doc: Add new feature containing yocto project documentation

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 features/org.yocto.doc/.project   |  17 
 features/org.yocto.doc/build.properties   |   3 +
 features/org.yocto.doc/feature.properties | 163 ++
 features/org.yocto.doc/feature.xml|  35 +++
 features/org.yocto.doc/license.html   | 107 
 5 files changed, 325 insertions(+)
 create mode 100644 features/org.yocto.doc/.project
 create mode 100644 features/org.yocto.doc/build.properties
 create mode 100644 features/org.yocto.doc/feature.properties
 create mode 100644 features/org.yocto.doc/feature.xml
 create mode 100644 features/org.yocto.doc/license.html

diff --git a/features/org.yocto.doc/.project b/features/org.yocto.doc/.project
new file mode 100644
index 000..2ad46a8
--- /dev/null
+++ b/features/org.yocto.doc/.project
@@ -0,0 +1,17 @@
+
+
+   org.yocto.doc
+   
+   
+   
+   
+   
+   org.eclipse.pde.FeatureBuilder
+   
+   
+   
+   
+   
+   org.eclipse.pde.FeatureNature
+   
+
diff --git a/features/org.yocto.doc/build.properties 
b/features/org.yocto.doc/build.properties
new file mode 100644
index 000..52c3cfc
--- /dev/null
+++ b/features/org.yocto.doc/build.properties
@@ -0,0 +1,3 @@
+bin.includes = feature.xml,\
+   license.html,\
+   feature.properties
diff --git a/features/org.yocto.doc/feature.properties 
b/features/org.yocto.doc/feature.properties
new file mode 100644
index 000..46883e8
--- /dev/null
+++ b/features/org.yocto.doc/feature.properties
@@ -0,0 +1,163 @@
+###
+# Copyright (c) 2010 Intel, Inc. and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Intel - initial implementation
+###
+
+# "featureName" property - name of the feature
+featureName=Yocto Project Documentation Plug-in
+
+# "providerName" property - name of the company that provides the feature
+providerName=yoctoproject.org
+
+# "updateSiteName" property - label for the update site
+updateSiteName=Yocto Project Update Site
+
+# "description" property - description of the feature
+description=\
+Eclipse plug-in containing the documentation of the Yocto Project
+
+# copyright
+copyright=\
+Copyright (c) 2013 Intel, Inc. and others. \
+All rights reserved. This program and the accompanying materials \
+are made available under the terms of the Eclipse Public License v1.0 \
+which accompanies this distribution, and is available at \
+http://www.eclipse.org/legal/epl-v10.html
+ end of copyright property 
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML page
+licenseURL=license.html
+
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "licenseURL"
+license=\
+Eclipse Foundation Software User Agreement\n\
+April 14, 2010\n\
+\n\
+Usage Of Content\n\
+\n\
+THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION 
AND/OR\n\
+OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
+USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
+AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
+NOTICES INDICATED OR REFERENCED BELOW.  BY USING THE CONTENT, YOU\n\
+AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
+AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
+OR NOTICES INDICATED OR REFERENCED BELOW.  IF YOU DO NOT AGREE TO THE\n\
+TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
+OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
+BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
+\n\
+Applicable Licenses\n\
+\n\
+Unless otherwise indicated, all Content made available by the\n\
+Eclipse Foundation is provided to you under the terms and conditions of\n\
+the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\
+provided with this Content and is also available at 
http://www.eclipse.org/legal/epl-v10.html.\n\
+For purposes of the EPL, "Program" will mean the Content.\n\
+\n\
+Content includes, but is not limited to, source code, object code,\n\
+documentation and other files maintained in the Eclipse Foundation source 
code\n\
+repository ("Repository") in software modules ("Modules") and made available\n\
+as downloadable archives ("Downloads").\n\
+\n\
+   - Content may be structured and packaged into

[yocto] [RFC v5 07/12] features/sdk.site: Added yocto.doc feature to update site

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 features/org.yocto.sdk.site/category.xml | 4 
 features/org.yocto.sdk.site/site.xml | 4 
 2 files changed, 8 insertions(+)

diff --git a/features/org.yocto.sdk.site/category.xml 
b/features/org.yocto.sdk.site/category.xml
index 6466ea5..4dd0178 100644
--- a/features/org.yocto.sdk.site/category.xml
+++ b/features/org.yocto.sdk.site/category.xml
@@ -9,6 +9,10 @@

   

+   
+  
+   


+   
 
diff --git a/features/org.yocto.sdk.site/site.xml 
b/features/org.yocto.sdk.site/site.xml
index d477279..33f36cd 100644
--- a/features/org.yocto.sdk.site/site.xml
+++ b/features/org.yocto.sdk.site/site.xml
@@ -11,4 +11,8 @@
   


+   
+  
+   
+   
 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v5 04/12] plugins/sdk.ide.doc.user: Add about.html to prepare addition of yocto documentation

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

As documentation is licensed under CCA-SA 2.0 UK and the plugin itself
is licensed under EPL v1.0 an about file needs to be added to the
plugin identifying the third party content.

Signed-off-by: Timo Mueller 
---
 plugins/org.yocto.doc.user/about.html.in| 189 
 plugins/org.yocto.doc.user/build.properties |   6 +-
 2 files changed, 193 insertions(+), 2 deletions(-)
 create mode 100644 plugins/org.yocto.doc.user/about.html.in

diff --git a/plugins/org.yocto.doc.user/about.html.in 
b/plugins/org.yocto.doc.user/about.html.in
new file mode 100644
index 000..3040859
--- /dev/null
+++ b/plugins/org.yocto.doc.user/about.html.in
@@ -0,0 +1,189 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+http://www.w3.org/1999/xhtml";>
+
+
+About
+
+
+   About This Content
+
+   
+   December, 2012
+   
+   License
+
+   
+   Copyright (c) 2010 Intel, Inc. and others.
+   All rights reserved. This program and the accompanying materials
+   are made available under the terms of the Eclipse Public 
License v1.0
+   which accompanies this distribution, and is available at 
+   http://www.eclipse.org/legal/epl-v10.html";>
+   http://www.eclipse.org/legal/epl-v10.html
+   
+   
+
+   Third Party Content
+   The Content includes items that have been sourced from the Yocto 
project
+   as set out below. If you did not receive this Content directly
+   from the Linux Foundation, the following is provided for
+   informational purposes only, and you should look to the
+   Redistributor's license for terms and conditions of use.
+   
+   
+   Yocto Project Quick Start
+   
+   
+   
+   This short document lets you get started with the Yocto 
Project
+   quickly and start building an image.
+   
+   
+   License:
+   http://creativecommons.org/licenses/by-sa/2.0/uk/legalcode";>
+   
http://creativecommons.org/licenses/by-sa/2.0/uk/legalcode
+   
+   
+   Source Code Repository:
+   
+   git://git.yoctoproject.org/yocto-docs
+   
+   
+   Commit: @COMMIT_ID-yocto-project-qs@
+   
+   
+   
+   Yocto Project Application Developer's Guide:
+   
+   
+   
+   This manual shows you how to setup and use the 
Application Development
+   Toolkit (ADT) and stand-alone cross-development 
toolchains so you can
+   develop user-space applications.
+   
+   
+   License:
+   http://creativecommons.org/licenses/by-sa/2.0/uk/legalcode";>
+   
http://creativecommons.org/licenses/by-sa/2.0/uk/legalcode
+   
+   
+   Source Code Repository:
+   
+   git://git.yoctoproject.org/yocto-docs
+   
+   
+   Commit: @COMMIT_ID-adt-manual@
+   
+   
+   
+   Yocto Project Development Manual:
+   
+   
+   
+   This manual describes how to use the Yocto Project to 
develop
+   embedded Linux images and user-space applications to 
run on
+   targeted devices.
+   
+   
+   License:
+   http://creativecommons.org/licenses/by-sa/2.0/uk/legalcode";>
+   
http://creativecommons.org/licenses/by-sa/2.0/uk/legalcode
+   
+   
+   Source Code Repository:
+   
+   git://git.yoctoproject.org/yocto-docs
+   
+   
+   Commit: @COMMIT_ID-dev-manual@
+   
+   
+   
+   Yocto Project Reference Manual:
+   
+   
+   
+   This manual is the complete reference guide to the Poky 
component.
+   It also contains a chapter on Board Support Package 
(BSP) development.
+   
+   
+   License:
+   http://creativecommons.org/licenses/by-sa/2.0/uk/legalcode";>
+   
http://creativecommons.org/licenses

[yocto] [RFC v5 03/12] plugins/sdk.ide.doc.user: Add empty eclipse help

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Adds yocto specific eclipse help to the plugin. The help is currently
empty but will contain the official yocto documentation later.

Signed-off-by: Timo Mueller 
---
 plugins/org.yocto.doc.user/.classpath  |  6 +
 plugins/org.yocto.doc.user/.project| 28 ++
 plugins/org.yocto.doc.user/META-INF/MANIFEST.MF|  8 +++
 .../OSGI-INF/l10n/bundle.properties|  3 +++
 plugins/org.yocto.doc.user/build.properties|  7 ++
 plugins/org.yocto.doc.user/html/book.css   |  1 +
 plugins/org.yocto.doc.user/plugin.xml  | 11 +
 plugins/org.yocto.doc.user/toc.xml |  3 +++
 8 files changed, 67 insertions(+)
 create mode 100644 plugins/org.yocto.doc.user/.classpath
 create mode 100644 plugins/org.yocto.doc.user/.project
 create mode 100644 plugins/org.yocto.doc.user/META-INF/MANIFEST.MF
 create mode 100644 plugins/org.yocto.doc.user/OSGI-INF/l10n/bundle.properties
 create mode 100644 plugins/org.yocto.doc.user/build.properties
 create mode 100644 plugins/org.yocto.doc.user/html/book.css
 create mode 100644 plugins/org.yocto.doc.user/plugin.xml
 create mode 100644 plugins/org.yocto.doc.user/toc.xml

diff --git a/plugins/org.yocto.doc.user/.classpath 
b/plugins/org.yocto.doc.user/.classpath
new file mode 100644
index 000..67e2a52
--- /dev/null
+++ b/plugins/org.yocto.doc.user/.classpath
@@ -0,0 +1,6 @@
+
+
+   
+   
+   
+
diff --git a/plugins/org.yocto.doc.user/.project 
b/plugins/org.yocto.doc.user/.project
new file mode 100644
index 000..d46bf21
--- /dev/null
+++ b/plugins/org.yocto.doc.user/.project
@@ -0,0 +1,28 @@
+
+
+   org.yocto.doc.user
+   
+   
+   
+   
+   
+   org.eclipse.jdt.core.javabuilder
+   
+   
+   
+   
+   org.eclipse.pde.ManifestBuilder
+   
+   
+   
+   
+   org.eclipse.pde.SchemaBuilder
+   
+   
+   
+   
+   
+   org.eclipse.pde.PluginNature
+   org.eclipse.jdt.core.javanature
+   
+
diff --git a/plugins/org.yocto.doc.user/META-INF/MANIFEST.MF 
b/plugins/org.yocto.doc.user/META-INF/MANIFEST.MF
new file mode 100644
index 000..4a89341
--- /dev/null
+++ b/plugins/org.yocto.doc.user/META-INF/MANIFEST.MF
@@ -0,0 +1,8 @@
+XFManifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name
+Bundle-SymbolicName: org.yocto.doc.user;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: %Bundle-Vendor
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Require-Bundle: org.eclipse.help
diff --git a/plugins/org.yocto.doc.user/OSGI-INF/l10n/bundle.properties 
b/plugins/org.yocto.doc.user/OSGI-INF/l10n/bundle.properties
new file mode 100644
index 000..b602cbd
--- /dev/null
+++ b/plugins/org.yocto.doc.user/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,3 @@
+#Properties file for org.yocto.doc.user
+Bundle-Vendor = yoctoproject.org
+Bundle-Name = Yocto Project Documentation
diff --git a/plugins/org.yocto.doc.user/build.properties 
b/plugins/org.yocto.doc.user/build.properties
new file mode 100644
index 000..525a366
--- /dev/null
+++ b/plugins/org.yocto.doc.user/build.properties
@@ -0,0 +1,7 @@
+bin.includes = plugin.xml,\
+   .,\
+   META-INF/,\
+   OSGI-INF/,\
+   html/,\
+   toc.xml
+src.includes = html/
diff --git a/plugins/org.yocto.doc.user/html/book.css 
b/plugins/org.yocto.doc.user/html/book.css
new file mode 100644
index 000..e248f5a
--- /dev/null
+++ b/plugins/org.yocto.doc.user/html/book.css
@@ -0,0 +1 @@
+@import "PLUGINS_ROOT/PRODUCT_PLUGIN/book.css";
diff --git a/plugins/org.yocto.doc.user/plugin.xml 
b/plugins/org.yocto.doc.user/plugin.xml
new file mode 100644
index 000..8353cd1
--- /dev/null
+++ b/plugins/org.yocto.doc.user/plugin.xml
@@ -0,0 +1,11 @@
+
+
+
+   
+   
+   
+   
+
diff --git a/plugins/org.yocto.doc.user/toc.xml 
b/plugins/org.yocto.doc.user/toc.xml
new file mode 100644
index 000..4998ef3
--- /dev/null
+++ b/plugins/org.yocto.doc.user/toc.xml
@@ -0,0 +1,3 @@
+
+ 
+ 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v5 02/12] Fixed typo in version variable name

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 features/org.yocto.bc.headless.build/customTargets.xml  | 4 ++--
 features/org.yocto.sdk.headless.build/customTargets.xml | 4 ++--
 features/org.yocto.sdk.site/category.xml| 6 +++---
 features/org.yocto.sdk.site/site.xml| 4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/features/org.yocto.bc.headless.build/customTargets.xml 
b/features/org.yocto.bc.headless.build/customTargets.xml
index a3c87ff..b6d7ed7 100644
--- a/features/org.yocto.bc.headless.build/customTargets.xml
+++ b/features/org.yocto.bc.headless.build/customTargets.xml
@@ -81,7 +81,7 @@



-   
+   


 
@@ -177,7 +177,7 @@



-   
+   



diff --git a/features/org.yocto.sdk.headless.build/customTargets.xml 
b/features/org.yocto.sdk.headless.build/customTargets.xml
index 45cb4c9..cb08f91 100644
--- a/features/org.yocto.sdk.headless.build/customTargets.xml
+++ b/features/org.yocto.sdk.headless.build/customTargets.xml
@@ -81,7 +81,7 @@



-   
+   


 
@@ -177,7 +177,7 @@



-   
+   



diff --git a/features/org.yocto.sdk.site/category.xml 
b/features/org.yocto.sdk.site/category.xml
index 6b1812c..6466ea5 100644
--- a/features/org.yocto.sdk.site/category.xml
+++ b/features/org.yocto.sdk.site/category.xml
@@ -1,12 +1,12 @@
 
 
-   
+   
   

-   
+   
   

-   
+   
   


diff --git a/features/org.yocto.sdk.site/site.xml 
b/features/org.yocto.sdk.site/site.xml
index c2af2bd..d477279 100644
--- a/features/org.yocto.sdk.site/site.xml
+++ b/features/org.yocto.sdk.site/site.xml
@@ -3,11 +3,11 @@
http://yoctoproject.org/downloads/eclipse-plugin/";>
   Yocto Project update site

-   
+   
   


-   
+   
   


-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v5 00/12][eclipse-poky] Integrate yocto documentation into eclipse

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

v5: Incorporates changes resulting from the renaming of documentation
and adds the profile-manual. This patch set requires changes proposed
in "[PATCH][yocto-docs] Update eclipse help generation to support all
documents"

>From RFC v4:
Hi,

the last proposal integrated the yocto documentation into the existing
doc plugin of the yocto ADT feature. As Jessica pointed out is does
not make sense to bundle all parts of the yocto documentation with the
ADT feature. As some parts of the documentation could also be helpful
with the BitBake Commander feature, we agreed to encapsulate the yocto
documentation into its own feature.

01..02: Fixing typos in build and site scripts
03..12: Adding the yocto documentation as a new feature
13: Temporary patch to use timo branch of docs project - DO NOT MERGE

>From the last propsal:

One major change in this patch series is that I
extended the plugin build system to integrate the generation into the
build process. Thus keeping the eclipse help and the official
documentation in sync is now automated.



the documentation of the yocto project can currently be viewed online
or as a separate pdf. When using the eclipse ide to develop software
on base of a yocto sysroot and toolchain it would be convenient to
access the relevant parts of the documentation from within the ide.



I have intergrated this
documentation in the ide and it can now be accessed through the
eclipse help center (Help -> Help Contents).


Best regards
Timo

Timo Mueller (12):
  features/sdk.site: Fixed typo in category name
  Fixed typo in version variable name
  plugins/sdk.ide.doc.user: Add empty eclipse help
  plugins/sdk.ide.doc.user: Add about.html to prepare addition of yocto
documentation
  features/org.yocto.doc: Add new feature containing yocto project
documentation
  features/doc.headless.build: Added headless build for yocto.doc
feature
  features/sdk.site: Added yocto.doc feature to update site
  scripts/build.sh: Added yocto.doc feature to build
  scripts/generate-doc.sh: Add script to handle eclipse help generation
  plugins/sdk.ide.doc.user: Add yocto documentation to the table of
contents
  scripts/generate-doc.sh: Copy generated eclipse help into the
user.doc plugin
  scripts/build.sh: Add documentation generation to the default build

 .../org.yocto.bc.headless.build/customTargets.xml  |   4 +-
 features/org.yocto.doc.headless.build/.project |  11 +
 .../org.yocto.doc.headless.build/build.properties  | 262 +
 .../org.yocto.doc.headless.build/customTargets.xml | 212 +
 features/org.yocto.doc/.project|  17 ++
 features/org.yocto.doc/build.properties|   3 +
 features/org.yocto.doc/feature.properties  | 163 +
 features/org.yocto.doc/feature.xml |  35 +++
 features/org.yocto.doc/license.html| 107 +
 .../org.yocto.sdk.headless.build/customTargets.xml |   4 +-
 features/org.yocto.sdk.site/category.xml   |  10 +-
 features/org.yocto.sdk.site/site.xml   |  10 +-
 plugins/org.yocto.doc.user/.classpath  |   6 +
 plugins/org.yocto.doc.user/.project|  28 +++
 plugins/org.yocto.doc.user/META-INF/MANIFEST.MF|   8 +
 .../OSGI-INF/l10n/bundle.properties|   3 +
 plugins/org.yocto.doc.user/about.html.in   | 189 +++
 plugins/org.yocto.doc.user/build.properties|   9 +
 plugins/org.yocto.doc.user/html/book.css   |   1 +
 plugins/org.yocto.doc.user/plugin.xml  |  39 +++
 plugins/org.yocto.doc.user/toc.xml |  24 ++
 scripts/build.sh   |  18 +-
 scripts/generate-doc.sh|  87 +++
 23 files changed, 1238 insertions(+), 12 deletions(-)
 create mode 100644 features/org.yocto.doc.headless.build/.project
 create mode 100644 features/org.yocto.doc.headless.build/build.properties
 create mode 100644 features/org.yocto.doc.headless.build/customTargets.xml
 create mode 100644 features/org.yocto.doc/.project
 create mode 100644 features/org.yocto.doc/build.properties
 create mode 100644 features/org.yocto.doc/feature.properties
 create mode 100644 features/org.yocto.doc/feature.xml
 create mode 100644 features/org.yocto.doc/license.html
 create mode 100644 plugins/org.yocto.doc.user/.classpath
 create mode 100644 plugins/org.yocto.doc.user/.project
 create mode 100644 plugins/org.yocto.doc.user/META-INF/MANIFEST.MF
 create mode 100644 plugins/org.yocto.doc.user/OSGI-INF/l10n/bundle.properties
 create mode 100644 plugins/org.yocto.doc.user/about.html.in
 create mode 100644 plugins/org.yocto.doc.user/build.properties
 create mode 100644 plugins/org.yocto.doc.user/html/book.css
 create mode 100644 plugins/org.yocto.doc.user/plugin.xml
 create mode 100644 plugins/org.yocto.doc.user/toc.xml
 create mode 100755 scripts/generate-doc.sh

-- 
1.7.11.7

___

[yocto] [RFC v5 01/12] features/sdk.site: Fixed typo in category name

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 features/org.yocto.sdk.site/site.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/org.yocto.sdk.site/site.xml 
b/features/org.yocto.sdk.site/site.xml
index 824fa49..c2af2bd 100644
--- a/features/org.yocto.sdk.site/site.xml
+++ b/features/org.yocto.sdk.site/site.xml
@@ -10,5 +10,5 @@

   

-   
+   
 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 15/18] profile-manual: Added Title tag

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

The title of the document used to create metadata for output formats
such as eclipse help.

Signed-off-by: Timo Mueller 
---
 documentation/profile-manual/profile-manual.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/documentation/profile-manual/profile-manual.xml 
b/documentation/profile-manual/profile-manual.xml
index bd392fd..02c55bc 100644
--- a/documentation/profile-manual/profile-manual.xml
+++ b/documentation/profile-manual/profile-manual.xml
@@ -16,7 +16,9 @@
 
 
 
-
+
+ Yocto Project Profiling and Tracing Manual
+   
 
 
 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 14/18] profile-manual: Move global parameters to customization file

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Timo Mueller 
---
 documentation/Makefile| 7 +--
 documentation/profile-manual/profile-manual-customization.xsl | 9 ++---
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index 3d2923d..a9ba020 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -227,12 +227,7 @@ STYLESHEET = $(DOC)/*.css
 endif
 
 ifeq ($(DOC),profile-manual)
-XSLTOPTS = --stringparam html.stylesheet profile-manual-style.css \
-   --stringparam  chapter.autolabel 1 \
-   --stringparam  appendix.autolabel A \
-   --stringparam  section.autolabel 1 \
-   --stringparam  section.label.includes.component.label 1 \
-   --xinclude
+XSLTOPTS = --xinclude
 ALLPREQ = html pdf tarball
 TARFILES = profile-manual.html profile-manual.pdf profile-manual-style.css \
figures/profile-title.png figures/kernelshark-all.png \
diff --git a/documentation/profile-manual/profile-manual-customization.xsl 
b/documentation/profile-manual/profile-manual-customization.xsl
index 8eb6905..ead52ee 100644
--- a/documentation/profile-manual/profile-manual-customization.xsl
+++ b/documentation/profile-manual/profile-manual-customization.xsl
@@ -1,8 +1,11 @@
 
 http://www.w3.org/1999/XSL/Transform"; 
xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0">
-  
-  http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"; />
 
-
+  http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"; />
 
+  
+  
+  A
+  
+  
 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 17/18] profile-manual: Added new customization file for eclipse help generation

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Timo Mueller 
---
 .../profile-manual-eclipse-customization.xsl   | 27 ++
 1 file changed, 27 insertions(+)
 create mode 100644 
documentation/profile-manual/profile-manual-eclipse-customization.xsl

diff --git 
a/documentation/profile-manual/profile-manual-eclipse-customization.xsl 
b/documentation/profile-manual/profile-manual-eclipse-customization.xsl
new file mode 100644
index 000..e4ff6e9
--- /dev/null
+++ b/documentation/profile-manual/profile-manual-eclipse-customization.xsl
@@ -0,0 +1,27 @@
+
+http://www.w3.org/1999/XSL/Transform";
+   xmlns="http://www.w3.org/1999/xhtml";
+   xmlns:fo="http://www.w3.org/1999/XSL/Format";
+   version="1.0">
+
+  http://docbook.sourceforge.net/release/xsl/current/eclipse/eclipse3.xsl"; 
/>
+
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  A
+  
+  
+
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 18/18] Makefile: logic to make all for profile-manual and cleanup

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Eclipse help documents are now created when calling the 'make all'
target on the kernel-dev. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of the
eclipse documentation build are deleted.

Signed-off-by: Timo Mueller 
---
 documentation/Makefile | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index a9ba020..c3c6a3c 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -228,7 +228,7 @@ endif
 
 ifeq ($(DOC),profile-manual)
 XSLTOPTS = --xinclude
-ALLPREQ = html pdf tarball
+ALLPREQ = html pdf eclipse tarball
 TARFILES = profile-manual.html profile-manual.pdf profile-manual-style.css \
figures/profile-title.png figures/kernelshark-all.png \
figures/kernelshark-choose-events.png 
figures/kernelshark-i915-display.png \
@@ -245,8 +245,9 @@ TARFILES = profile-manual.html profile-manual.pdf 
profile-manual-style.css \

figures/perf-wget-g-copy-to-user-expanded-stripped-unresolved-hidden.png 
figures/pybootchartgui-linux-yocto.png \
figures/pychart-linux-yocto-rpm.png 
figures/pychart-linux-yocto-rpm-nostrip.png \
figures/sched-wakeup-profile.png figures/sysprof-callers.png \
-   figures/sysprof-copy-from-user.png figures/sysprof-copy-to-user.png
-MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
+   figures/sysprof-copy-from-user.png figures/sysprof-copy-to-user.png 
\
+   eclipse
+MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf $(DOC)/eclipse
 FIGURES = figures
 STYLESHEET = $(DOC)/*.css
 endif
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 16/18] .gitignore: Updated to ignore generated eclipse help of profile-manual

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 9e16853..cacc75b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,3 +55,4 @@ documentation/dev-manual/eclipse/
 documentation/yocto-project-qs/eclipse/
 documentation/ref-manual/eclipse/
 documentation/kernel-dev/eclipse/
+documentation/profile-manual/eclipse/
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 13/18] Makefile: logic to make all for kernel-dev and cleanup

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Eclipse help documents are now created when calling the 'make all'
target on the kernel-dev. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of the
eclipse documentation build are deleted.

Signed-off-by: Timo Mueller 
---
 documentation/Makefile | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index 67017b8..3d2923d 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -258,10 +258,11 @@ endif
 
 ifeq ($(DOC),kernel-dev)
 XSLTOPTS = --xinclude
-ALLPREQ = html pdf tarball
+ALLPREQ = html pdf eclipse tarball
 TARFILES = kernel-dev.html kernel-dev.pdf kernel-dev-style.css 
figures/kernel-dev-title.png \
-   figures/kernel-architecture-overview.png
-MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
+   figures/kernel-architecture-overview.png \
+   eclipse
+MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf $(DOC)/eclipse
 FIGURES = figures
 STYLESHEET = $(DOC)/*.css
 endif
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 07/18] ref-manual: Added new customization file for eclipse help generation

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Timo Mueller 
---
 .../ref-manual-eclipse-customization.xsl   | 27 ++
 1 file changed, 27 insertions(+)
 create mode 100644 
documentation/ref-manual/ref-manual-eclipse-customization.xsl

diff --git a/documentation/ref-manual/ref-manual-eclipse-customization.xsl 
b/documentation/ref-manual/ref-manual-eclipse-customization.xsl
new file mode 100644
index 000..4e6b799
--- /dev/null
+++ b/documentation/ref-manual/ref-manual-eclipse-customization.xsl
@@ -0,0 +1,27 @@
+
+http://www.w3.org/1999/XSL/Transform";
+   xmlns="http://www.w3.org/1999/xhtml";
+   xmlns:fo="http://www.w3.org/1999/XSL/Format";
+   version="1.0">
+
+  http://docbook.sourceforge.net/release/xsl/current/eclipse/eclipse3.xsl"; 
/>
+
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  A
+  
+  
+
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 12/18] kernel-dev: Added new customization file for eclipse help generation

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Timo Mueller 
---
 .../kernel-dev-eclipse-customization.xsl   | 27 ++
 1 file changed, 27 insertions(+)
 create mode 100644 
documentation/kernel-dev/kernel-dev-eclipse-customization.xsl

diff --git a/documentation/kernel-dev/kernel-dev-eclipse-customization.xsl 
b/documentation/kernel-dev/kernel-dev-eclipse-customization.xsl
new file mode 100644
index 000..7d1bb8d
--- /dev/null
+++ b/documentation/kernel-dev/kernel-dev-eclipse-customization.xsl
@@ -0,0 +1,27 @@
+
+http://www.w3.org/1999/XSL/Transform";
+   xmlns="http://www.w3.org/1999/xhtml";
+   xmlns:fo="http://www.w3.org/1999/XSL/Format";
+   version="1.0">
+
+  http://docbook.sourceforge.net/release/xsl/current/eclipse/eclipse3.xsl"; 
/>
+
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  A
+  
+  
+
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 11/18] .gitignore: Updated to ignore generated eclipse help of kernel-dev

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 03b98d1..9e16853 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,3 +54,4 @@ documentation/bsp-guide/eclipse/
 documentation/dev-manual/eclipse/
 documentation/yocto-project-qs/eclipse/
 documentation/ref-manual/eclipse/
+documentation/kernel-dev/eclipse/
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 09/18] kernel-dev: Move global parameters to customization file

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Timo Mueller 
---
 documentation/Makefile| 7 +--
 documentation/kernel-dev/kernel-dev-customization.xsl | 9 ++---
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index c19b297..67017b8 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -257,12 +257,7 @@ STYLESHEET = $(DOC)/*.css
 endif
 
 ifeq ($(DOC),kernel-dev)
-XSLTOPTS = --stringparam html.stylesheet kernel-dev-style.css \
-   --stringparam  chapter.autolabel 1 \
-   --stringparam  appendix.autolabel A \
-   --stringparam  section.autolabel 1 \
-   --stringparam  section.label.includes.component.label 1 \
-   --xinclude
+XSLTOPTS = --xinclude
 ALLPREQ = html pdf tarball
 TARFILES = kernel-dev.html kernel-dev.pdf kernel-dev-style.css 
figures/kernel-dev-title.png \
figures/kernel-architecture-overview.png
diff --git a/documentation/kernel-dev/kernel-dev-customization.xsl 
b/documentation/kernel-dev/kernel-dev-customization.xsl
index 8eb6905..43e9dad 100644
--- a/documentation/kernel-dev/kernel-dev-customization.xsl
+++ b/documentation/kernel-dev/kernel-dev-customization.xsl
@@ -1,8 +1,11 @@
 
 http://www.w3.org/1999/XSL/Transform"; 
xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0">
-  
-  http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"; />
 
-
+  http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"; />
 
+  
+  
+  A
+  
+  
 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 10/18] kernel-dev: Added Title tag

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

The title of the document used to create metadata for output formats
such as eclipse help.

Signed-off-by: Timo Mueller 
---
 documentation/kernel-dev/kernel-dev.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/documentation/kernel-dev/kernel-dev.xml 
b/documentation/kernel-dev/kernel-dev.xml
index 9682d54..d040a10 100644
--- a/documentation/kernel-dev/kernel-dev.xml
+++ b/documentation/kernel-dev/kernel-dev.xml
@@ -16,7 +16,9 @@
 
 
 
-
+
+ Yocto Project Linux Kernel Development Manual
+   
 
 
 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 08/18] Makefile: logic to make all for ref-manual and cleanup

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Eclipse help documents are now created when calling the 'make all'
target on the ref-manual. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of the
eclipse documentation build are deleted.

Signed-off-by: Timo Mueller 
---
 documentation/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index d997f3d..c19b297 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -207,10 +207,10 @@ endif
 
 ifeq ($(DOC),ref-manual)
 XSLTOPTS = --xinclude
-ALLPREQ = html pdf tarball
+ALLPREQ = html pdf eclipse tarball
 TARFILES = ref-manual.html ref-style.css figures/poky-title.png \
-   figures/buildhistory.png figures/buildhistory-web.png
-MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
+   figures/buildhistory.png figures/buildhistory-web.png eclipse
+MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf $(DOC)/eclipse
 FIGURES = figures
 STYLESHEET = $(DOC)/*.css
 endif
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 05/18] .gitignore: Updated to ignore generated eclipse help of ref-manual

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index bda1b09..03b98d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,3 +53,4 @@ documentation/adt-manual/eclipse/
 documentation/bsp-guide/eclipse/
 documentation/dev-manual/eclipse/
 documentation/yocto-project-qs/eclipse/
+documentation/ref-manual/eclipse/
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 06/18] Makefile: Remove duplicate parameters

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Standard stylesheet parameters are already defined in the docbook
customization file tying them to the docbook stylesheet used. Removing
these parameters simplifies the Makefile.

Signed-off-by: Timo Mueller 
---
 documentation/Makefile | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index 773c41f..d997f3d 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -206,12 +206,7 @@ STYLESHEET = $(DOC)/*.css
 endif
 
 ifeq ($(DOC),ref-manual)
-XSLTOPTS = --stringparam html.stylesheet ref-style.css \
-   --stringparam  chapter.autolabel 1 \
-   --stringparam  appendix.autolabel A \
-   --stringparam  section.autolabel 1 \
-   --stringparam  section.label.includes.component.label 1 \
-   --xinclude
+XSLTOPTS = --xinclude
 ALLPREQ = html pdf tarball
 TARFILES = ref-manual.html ref-style.css figures/poky-title.png \
figures/buildhistory.png figures/buildhistory-web.png
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 00/18][yocto-docs] Update eclipse help generation to support all documents

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Hi,

the generation of eclipse help files has been merged from the timo
branch to the master. Since the creation of the timo branch there have
been some changes to the master branch (e.g. new documentation,
renamed documentation).

This patch set does some cleanup for the renamed documentation and
adds eclipse help generation support to the new documentation.

01: Removes the 'the' from the document titles
02..04: Cleanup obsolete artifacts resulting from the merge
05..08: Add eclipse help generation for ref-manual
09..13: Add eclipse help generation for kernel-dev
14..18: Add eclipse help generation for profile-manual

Best regards,
Timo

Timo Mueller (18):
  documentation: Remove 'the' from title tags
  Makefile: Modify DOC filter for eclipse-generate target
  poky-ref-manual: Remove folder and eclipse artifacts
  ref-manual: Remove generated eclipse help
  .gitignore: Updated to ignore generated eclipse help of ref-manual
  Makefile: Remove duplicate parameters
  ref-manual: Added new customization file for eclipse help generation
  Makefile: logic to make all for ref-manual and cleanup
  kernel-dev: Move global parameters to customization file
  kernel-dev: Added Title tag
  .gitignore: Updated to ignore generated eclipse help of kernel-dev
  kernel-dev: Added new customization file for eclipse help generation
  Makefile: logic to make all for kernel-dev and cleanup
  profile-manual: Move global parameters to customization file
  profile-manual: Added Title tag
  .gitignore: Updated to ignore generated eclipse help of
profile-manual
  profile-manual: Added new customization file for eclipse help
generation
  Makefile: logic to make all for profile-manual and cleanup

 .gitignore |3 +
 documentation/Makefile |   53 +-
 documentation/adt-manual/adt-manual.xml|2 +-
 documentation/bsp-guide/bsp-guide.xml  |2 +-
 documentation/dev-manual/dev-manual.xml|2 +-
 .../kernel-dev/kernel-dev-customization.xsl|9 +-
 .../kernel-dev-eclipse-customization.xsl   |   27 +
 documentation/kernel-dev/kernel-dev.xml|4 +-
 .../poky-ref-manual-eclipse-customization.xsl  |   27 -
 .../profile-manual-customization.xsl   |9 +-
 .../profile-manual-eclipse-customization.xsl   |   27 +
 documentation/profile-manual/profile-manual.xml|4 +-
 .../poky-ref-manual/1.3-local-configuration.html   |   21 -
 .../eclipse/html/poky-ref-manual/1.3-recipes.html  |   29 -
 .../build-history-image-information.html   |   80 -
 .../build-history-package-information.html |   58 -
 .../html/poky-ref-manual/build-overview.html   |   61 -
 .../building-an-image-using-gpl-components.html|   23 -
 .../html/poky-ref-manual/centos-packages.html  |   69 -
 .../eclipse/html/poky-ref-manual/checksums.html|  164 --
 .../eclipse/html/poky-ref-manual/debugging.html|   43 -
 .../detailed-supported-distros.html|   45 -
 .../enabling-and-disabling-build-history.html  |   62 -
 .../enabling-commercially-licensed-recipes.html|   85 -
 .../examining-build-history-information.html   |   70 -
 .../eclipse/html/poky-ref-manual/faq.html  |  791 --
 .../html/poky-ref-manual/fedora-packages.html  |   62 -
 .../poky-ref-manual/figures/buildhistory-web.png   |  Bin 49966 -> 0 bytes
 .../html/poky-ref-manual/figures/buildhistory.png  |  Bin 42062 -> 0 bytes
 .../html/poky-ref-manual/figures/poky-title.png|  Bin 11592 -> 0 bytes
 .../future-development-and-limitations.html|   33 -
 .../eclipse/html/poky-ref-manual/handbook.html |   25 -
 .../eclipse/html/poky-ref-manual/index.html|  327 ---
 .../eclipse/html/poky-ref-manual/index.xml |2 -
 .../html/poky-ref-manual/intro-getit-dev.html  |   26 -
 .../eclipse/html/poky-ref-manual/intro-getit.html  |   35 -
 .../html/poky-ref-manual/intro-manualoverview.html |   73 -
 .../html/poky-ref-manual/intro-requirements.html   |   23 -
 .../html/poky-ref-manual/intro-welcome.html|   30 -
 .../eclipse/html/poky-ref-manual/intro.html|   30 -
 .../poky-ref-manual/invalidating-shared-state.html |   53 -
 .../poky-ref-manual/license-flag-matching.html |   91 -
 .../eclipse/html/poky-ref-manual/licenses.html |   28 -
 .../html/poky-ref-manual/logging-with-bash.html|   47 -
 .../html/poky-ref-manual/logging-with-python.html  |   45 -
 .../maintaining-build-output-quality.html  |   53 -
 .../migration-1.3-bblayers-conf.html   |   27 -
 .../migration-1.3-image-features.html  |   26 -
 .../poky-ref-manual/migration-1.3-nativesdk.html   |   25 -
 .../migration-1.3-proto=-in-src-uri.html   |   32 -
 .../migration-1.3-python-function-whitespace.html  |   29 -
 .../migration-1.3-removed-recipes.html |   64 -
 .../migration-1.3-sstate-mirrors.htm

[yocto] [PATCH 01/18] documentation: Remove 'the' from title tags

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 documentation/adt-manual/adt-manual.xml | 2 +-
 documentation/bsp-guide/bsp-guide.xml   | 2 +-
 documentation/dev-manual/dev-manual.xml | 2 +-
 documentation/ref-manual/ref-manual.xml | 2 +-
 documentation/yocto-project-qs/yocto-project-qs.xml | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/documentation/adt-manual/adt-manual.xml 
b/documentation/adt-manual/adt-manual.xml
index 479a492..fc1bc80 100644
--- a/documentation/adt-manual/adt-manual.xml
+++ b/documentation/adt-manual/adt-manual.xml
@@ -17,7 +17,7 @@
 
 
 
-The Yocto Project Application Developer's Guide
+Yocto Project Application Developer's Guide
 
 
 
diff --git a/documentation/bsp-guide/bsp-guide.xml 
b/documentation/bsp-guide/bsp-guide.xml
index 1cb2001..57c8458 100644
--- a/documentation/bsp-guide/bsp-guide.xml
+++ b/documentation/bsp-guide/bsp-guide.xml
@@ -17,7 +17,7 @@
 
 
 
-The Yocto Project Board Support Package Developer's Guide
+Yocto Project Board Support Package Developer's Guide
 
 
 
diff --git a/documentation/dev-manual/dev-manual.xml 
b/documentation/dev-manual/dev-manual.xml
index b902aaa..1a1c5e1 100644
--- a/documentation/dev-manual/dev-manual.xml
+++ b/documentation/dev-manual/dev-manual.xml
@@ -17,7 +17,7 @@
 
 
 
-The Yocto Project Development Manual
+Yocto Project Development Manual
 
 
 
diff --git a/documentation/ref-manual/ref-manual.xml 
b/documentation/ref-manual/ref-manual.xml
index ba7019e..d93710b 100644
--- a/documentation/ref-manual/ref-manual.xml
+++ b/documentation/ref-manual/ref-manual.xml
@@ -17,7 +17,7 @@
 
 
 
-The Yocto Project Reference Manual
+Yocto Project Reference Manual
 
 
 
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml 
b/documentation/yocto-project-qs/yocto-project-qs.xml
index a1c714e..6825e2c 100644
--- a/documentation/yocto-project-qs/yocto-project-qs.xml
+++ b/documentation/yocto-project-qs/yocto-project-qs.xml
@@ -4,7 +4,7 @@
 
 
 
-The Yocto Project Quick Start
+Yocto Project Quick Start
 
 
 ©RIGHT_YEAR;
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 02/18] Makefile: Modify DOC filter for eclipse-generate target

2013-02-08 Thread Timo Mueller
From: Timo Mueller 

Filter now explicitely lists the doc parts from which eclipse help can
be generated.

Signed-off-by: Timo Mueller 
---
 documentation/Makefile | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index fac2c85..773c41f 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -332,9 +332,17 @@ eclipse: eclipse-generate eclipse-resolve-links
 .PHONY : eclipse-generate eclipse-resolve-links
 
 eclipse-generate:
-ifeq ($(DOC),mega-manual)
+ifeq ($(filter $(DOC), adt-manual bsp-guide dev-manual kernel-dev 
profile-manual ref-manual yocto-project-qs),)
@echo " "
-   @echo "ERROR: You cannot generate eclipse documentation for the 
mega-manual"
+   @echo "ERROR: You can only create eclipse documentation"
+   @echo "   of the following documentation parts:"
+   @echo "   - adt-manual"
+   @echo "   - bsp-guide"
+   @echo "   - dev-manual"
+   @echo "   - kernel-dev"
+   @echo "   - profile-manual"
+   @echo "   - ref-manual"
+   @echo "   - yocto-project-qs"
@echo " "
 else
@echo " "
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 03/18] poky-ref-manual: Remove folder and eclipse artifacts

2013-02-08 Thread Timo Mueller
From: Timo Mueller 


Signed-off-by: Timo Mueller 
---
 .../poky-ref-manual-eclipse-customization.xsl  | 27 --
 1 file changed, 27 deletions(-)
 delete mode 100644 
documentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl

diff --git 
a/documentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl 
b/documentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl
deleted file mode 100644
index 3412208..000
--- a/documentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl
+++ /dev/null
@@ -1,27 +0,0 @@
-
-http://www.w3.org/1999/XSL/Transform";
-   xmlns="http://www.w3.org/1999/xhtml";
-   xmlns:fo="http://www.w3.org/1999/XSL/Format";
-   version="1.0">
-
-  http://docbook.sourceforge.net/release/xsl/current/eclipse/eclipse3.xsl"; 
/>
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Andrei Gherzan
On Fri, Feb 8, 2013 at 12:17 PM, Tomas Frydrych  wrote:

> Hi Andrei,
>
> On 07/02/13 14:26, Andrei Gherzan wrote:
> > We are moving to userland repo. So we will build our libraries
>
> I tried to use the userland repo about a week ago and had to revert back
> to using the binary firmware; the userland tree seem to miss some bcm
> headers, so it was impossible to build apps against the libs whose
> includes require those.
>
>
I will push some patches this weekend. Would you give it a try?

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] pulseaudio madness

2013-02-08 Thread Tomas Frydrych
On 06/02/13 22:43, Gary Thomas wrote:
>>> You might want to have a look at Guacamayo's use of PA, that uses it
>>> and will automatically switch output when new speakers are plugged in
>>> too.https://github.com/Guacamayo
>>
>> Thanks, that helped.  I've built Guacamayo for my RaspberryPi and
>> can see how it's set up.
> 
> That said, I've not had much luck actually getting anything out of the
> audio :-(  I tried the guacamayo-image-mex-raspberrypi.rpi-sdimg which
> came up and gave me a nice display but it wasn't obvious how to import
> media and/or make it play.  I tried copying some files manually to the
> SD card, but they wouldn't play either.

Both the guacamayo mex and audioplayer images are for UPnP appliances,
i.e., they generally expect to find content on the network, provided by
UPnP media servers (i.e., a NAS).

The mex image is not really much use on the RPi, the HW is too
underpowered to run a non-trivial GL application. But you can put the
audio files into the xuser's Music directory (or with the demo files
into /usr/share/demos/audio) and they should appear in the Music column
of MEX.


> Then I tried guacamayo-image-audioplayer-raspberrypi.rpi-sdimg and it
> was even less intuitive.

You need a UPnP media controller to interact with the audioplayer.
BubbleUPnP for Android works very well.


> Can you give me some guidance?  All I'd like to do is play a simple
> (.wav) file on y RaspberryPi using pulseaudio.

gst-launch playbin2 uri=file:///... should do that for you.


Tomas

-- 
http://sleepfive.com
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Tomas Frydrych
Hi Andrei,

On 07/02/13 14:26, Andrei Gherzan wrote:
> We are moving to userland repo. So we will build our libraries

I tried to use the userland repo about a week ago and had to revert back
to using the binary firmware; the userland tree seem to miss some bcm
headers, so it was impossible to build apps against the libs whose
includes require those.

Tomas
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto