All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] sat-solver: fix arch=all packages
  2011-04-15 10:26 [RESEND][PATCH 0/1] bug fix for sat-solver and zypper Qing He
@ 2011-04-15 10:26 ` Qing He
  2011-04-18 10:08   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Qing He @ 2011-04-15 10:26 UTC (permalink / raw)
  To: poky

From: Qing He <qing.he@intel.com>

add a new options to set noarch archs as all so platform independent
packages can be recognized and installed.

fixes [YOCTO #993]

Signed-off-by: Qing He <qing.he@intel.com>
---
 .../sat-solver/sat-solver/cmake.patch              |    2 +
 .../sat-solver/sat-solver/db5.patch                |    2 +
 .../sat-solver/sat-solver_obsolete.patch           |    2 +
 .../sat-solver/sat-solver/sat-solver_poky.patch    |   21 ++++++++++++++++++++
 .../sat-solver/sat-solver/sat-solver_rpm5.patch    |    2 +
 meta/recipes-extended/sat-solver/sat-solver_git.bb |    4 +-
 6 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/sat-solver/sat-solver/cmake.patch b/meta/recipes-extended/sat-solver/sat-solver/cmake.patch
index 52319f0..c1ec86a 100644
--- a/meta/recipes-extended/sat-solver/sat-solver/cmake.patch
+++ b/meta/recipes-extended/sat-solver/sat-solver/cmake.patch
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [configuration]
+
 Enable debugging for all builds
 not building docs (need oxygen)
 
diff --git a/meta/recipes-extended/sat-solver/sat-solver/db5.patch b/meta/recipes-extended/sat-solver/sat-solver/db5.patch
index 98f322f..6b67912 100644
--- a/meta/recipes-extended/sat-solver/sat-solver/db5.patch
+++ b/meta/recipes-extended/sat-solver/sat-solver/db5.patch
@@ -1,3 +1,5 @@
+Upstream-Status: Pending
+
 RPM no longer includes an internal version of db, it now relies on the system
 version.  The system version in Poky is available at /usr/include/db51
 
diff --git a/meta/recipes-extended/sat-solver/sat-solver/sat-solver_obsolete.patch b/meta/recipes-extended/sat-solver/sat-solver/sat-solver_obsolete.patch
index 7685057..60483e9 100644
--- a/meta/recipes-extended/sat-solver/sat-solver/sat-solver_obsolete.patch
+++ b/meta/recipes-extended/sat-solver/sat-solver/sat-solver_obsolete.patch
@@ -1,3 +1,5 @@
+Upstream-Status: Pending
+
 Fix obsolete settings with RPM5.
 
 The following patch is from Michael Schroeder <mls@suse.de>
diff --git a/meta/recipes-extended/sat-solver/sat-solver/sat-solver_poky.patch b/meta/recipes-extended/sat-solver/sat-solver/sat-solver_poky.patch
index b762bac..c8e54f5 100644
--- a/meta/recipes-extended/sat-solver/sat-solver/sat-solver_poky.patch
+++ b/meta/recipes-extended/sat-solver/sat-solver/sat-solver_poky.patch
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [distro specific]
+
 Fix "arch" integration with Poky.
 
 Add a missing "any" architecture type and update the semantics to use it.
@@ -5,8 +7,27 @@ Add a missing "any" architecture type and update the semantics to use it.
 Disable the built-in archpolicies structure, and replace it with one
 we generate in the recipe.
 
+Also add poky semantics option in CMake.
+
 Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
+Signed-off-by: Qing He <qing.he@intel.com>
 
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 443281e..4456a87 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -45,6 +45,11 @@ MESSAGE(STATUS "Building for Debian")
+ ADD_DEFINITIONS( -DDEBIAN -DDEBIAN_SEMANTICS)
+ ENDIF ( DEBIAN )
+ 
++IF ( POKY )
++MESSAGE(STATUS "Building for Poky")
++ADD_DEFINITIONS( -DPOKY -DPOKY_SEMANTICS)
++ENDIF ( POKY )
++
+ IF ( MULTI_SEMANTICS )
+ MESSAGE(STATUS "Enabling multi dist support")
+ ADD_DEFINITIONS( -DMULTI_SEMANTICS)
 diff --git a/src/knownid.h b/src/knownid.h
 index 7757ae0..4b8bee7 100644
 --- a/src/knownid.h
diff --git a/meta/recipes-extended/sat-solver/sat-solver/sat-solver_rpm5.patch b/meta/recipes-extended/sat-solver/sat-solver/sat-solver_rpm5.patch
index 1776f6c..d59c513 100644
--- a/meta/recipes-extended/sat-solver/sat-solver/sat-solver_rpm5.patch
+++ b/meta/recipes-extended/sat-solver/sat-solver/sat-solver_rpm5.patch
@@ -1,3 +1,5 @@
+Upstream-Status: Pending
+
 Add RPM5 configuration support
 
 Update the cmake configuration to detect additional files needed by RPM5.
diff --git a/meta/recipes-extended/sat-solver/sat-solver_git.bb b/meta/recipes-extended/sat-solver/sat-solver_git.bb
index a693776..0d5a5e6 100644
--- a/meta/recipes-extended/sat-solver/sat-solver_git.bb
+++ b/meta/recipes-extended/sat-solver/sat-solver_git.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
 DEPENDS = "libcheck rpm zlib expat db"
 
 PV = "0.0-git${SRCPV}"
-PR = "r8"
+PR = "r9"
 
 SRC_URI = "git://gitorious.org/opensuse/sat-solver.git;protocol=git \
            file://sat-solver_rpm5.patch \
@@ -19,7 +19,7 @@ SRC_URI = "git://gitorious.org/opensuse/sat-solver.git;protocol=git \
 
 S = "${WORKDIR}/git"
 
-EXTRA_OECMAKE += "-DLIB=lib -DRPM5=RPM5"
+EXTRA_OECMAKE += "-DLIB=lib -DRPM5=RPM5 -DPOKY=POKY"
 
 inherit cmake pkgconfig
 
-- 
1.7.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [RESEND][PATCH 0/1] bug fix for sat-solver and zypper
@ 2011-04-15 10:26 Qing He
  2011-04-15 10:26 ` [PATCH 1/1] sat-solver: fix arch=all packages Qing He
  0 siblings, 1 reply; 3+ messages in thread
From: Qing He @ 2011-04-15 10:26 UTC (permalink / raw)
  To: poky

From: Qing He <qing.he@intel.com>

This patch fix the issue when installing and handling 'all' packages in zypper.

Resend to the right list, also with Upstream-Status updated.


Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: qhe/poky
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=qhe/poky

Thanks,
    Qing He <qing.he@intel.com>
---


Qing He (1):
  sat-solver: fix arch=all packages

 .../sat-solver/sat-solver/cmake.patch              |    2 +
 .../sat-solver/sat-solver/db5.patch                |    2 +
 .../sat-solver/sat-solver_obsolete.patch           |    2 +
 .../sat-solver/sat-solver/sat-solver_poky.patch    |   21 ++++++++++++++++++++
 .../sat-solver/sat-solver/sat-solver_rpm5.patch    |    2 +
 meta/recipes-extended/sat-solver/sat-solver_git.bb |    4 +-
 6 files changed, 31 insertions(+), 2 deletions(-)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] sat-solver: fix arch=all packages
  2011-04-15 10:26 ` [PATCH 1/1] sat-solver: fix arch=all packages Qing He
@ 2011-04-18 10:08   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-04-18 10:08 UTC (permalink / raw)
  To: Qing He; +Cc: poky

Hi Qing,

On Fri, 2011-04-15 at 18:26 +0800, Qing He wrote:
> +diff --git a/CMakeLists.txt b/CMakeLists.txt
> +index 443281e..4456a87 100644
> +--- a/CMakeLists.txt
> ++++ b/CMakeLists.txt
> +@@ -45,6 +45,11 @@ MESSAGE(STATUS "Building for Debian")
> + ADD_DEFINITIONS( -DDEBIAN -DDEBIAN_SEMANTICS)
> + ENDIF ( DEBIAN )
> + 
> ++IF ( POKY )
> ++MESSAGE(STATUS "Building for Poky")
> ++ADD_DEFINITIONS( -DPOKY -DPOKY_SEMANTICS)
> ++ENDIF ( POKY )

We're trying to move away from the Poky branding. Could we use OECORE in
this patch instead please?

Cheers,

Richard



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-18 10:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-15 10:26 [RESEND][PATCH 0/1] bug fix for sat-solver and zypper Qing He
2011-04-15 10:26 ` [PATCH 1/1] sat-solver: fix arch=all packages Qing He
2011-04-18 10:08   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.