Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Clean up my check mess
@ 2013-10-21 17:49 Saul Wold
  2013-10-21 17:49 ` [PATCH 1/3] libcheck: Add native support for kbd-native Saul Wold
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Saul Wold @ 2013-10-21 17:49 UTC (permalink / raw)
  To: openembedded-core

Richard,

A small set of patches that remove my bogus check recipe. It adds
native support to libcheck since kbd needs it for it's testing.

Sau!

Saul Wold (3):
  libcheck: Add native support for kbd-native
  kbd: Use libcheck instead of check
  check: Remove duplicate recipe of libcheck

 meta/recipes-core/kbd/kbd_2.0.0.bb               |  2 +-
 meta/recipes-support/check/check_0.9.10.bb       | 20 ----------------
 meta/recipes-support/check/files/ptest.patch     | 29 ------------------------
 meta/recipes-support/check/files/run-ptest       |  3 ---
 meta/recipes-support/libcheck/libcheck_0.9.10.bb |  3 +++
 5 files changed, 4 insertions(+), 53 deletions(-)
 delete mode 100644 meta/recipes-support/check/check_0.9.10.bb
 delete mode 100644 meta/recipes-support/check/files/ptest.patch
 delete mode 100644 meta/recipes-support/check/files/run-ptest

-- 
1.8.3.1



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

* [PATCH 1/3] libcheck: Add native support for kbd-native
  2013-10-21 17:49 [PATCH 0/3] Clean up my check mess Saul Wold
@ 2013-10-21 17:49 ` Saul Wold
  2013-10-21 17:49 ` [PATCH 2/3] kbd: Use libcheck instead of check Saul Wold
  2013-10-21 17:49 ` [PATCH 3/3] check: Remove duplicate recipe of libcheck Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2013-10-21 17:49 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/libcheck/libcheck_0.9.10.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/libcheck/libcheck_0.9.10.bb b/meta/recipes-support/libcheck/libcheck_0.9.10.bb
index a22271a..2cadf67 100644
--- a/meta/recipes-support/libcheck/libcheck_0.9.10.bb
+++ b/meta/recipes-support/libcheck/libcheck_0.9.10.bb
@@ -20,3 +20,6 @@ CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk"
 
 RREPLACES_${PN} = "check (<= 0.9.5)"
 RDEPENDS_${PN} += "gawk"
+RDEPENDS_${PN}_class-native = ""
+
+BBCLASSEXTEND = "native"
-- 
1.8.3.1



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

* [PATCH 2/3] kbd: Use libcheck instead of check
  2013-10-21 17:49 [PATCH 0/3] Clean up my check mess Saul Wold
  2013-10-21 17:49 ` [PATCH 1/3] libcheck: Add native support for kbd-native Saul Wold
@ 2013-10-21 17:49 ` Saul Wold
  2013-10-21 17:49 ` [PATCH 3/3] check: Remove duplicate recipe of libcheck Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2013-10-21 17:49 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/kbd/kbd_2.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/kbd/kbd_2.0.0.bb b/meta/recipes-core/kbd/kbd_2.0.0.bb
index eafa0b0..e66018f 100644
--- a/meta/recipes-core/kbd/kbd_2.0.0.bb
+++ b/meta/recipes-core/kbd/kbd_2.0.0.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "This package contains keytable files and keyboard utilities"
 # everything minus console-fonts is GPLv2+
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a5fcc36121d93e1f69d96a313078c8b5"
-DEPENDS = "check"
+DEPENDS = "libcheck"
 
 inherit autotools gettext ptest
 
-- 
1.8.3.1



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

* [PATCH 3/3] check: Remove duplicate recipe of libcheck
  2013-10-21 17:49 [PATCH 0/3] Clean up my check mess Saul Wold
  2013-10-21 17:49 ` [PATCH 1/3] libcheck: Add native support for kbd-native Saul Wold
  2013-10-21 17:49 ` [PATCH 2/3] kbd: Use libcheck instead of check Saul Wold
@ 2013-10-21 17:49 ` Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2013-10-21 17:49 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/check/check_0.9.10.bb   | 20 -------------------
 meta/recipes-support/check/files/ptest.patch | 29 ----------------------------
 meta/recipes-support/check/files/run-ptest   |  3 ---
 3 files changed, 52 deletions(-)
 delete mode 100644 meta/recipes-support/check/check_0.9.10.bb
 delete mode 100644 meta/recipes-support/check/files/ptest.patch
 delete mode 100644 meta/recipes-support/check/files/run-ptest

diff --git a/meta/recipes-support/check/check_0.9.10.bb b/meta/recipes-support/check/check_0.9.10.bb
deleted file mode 100644
index 78eec14..0000000
--- a/meta/recipes-support/check/check_0.9.10.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-DESCRIPTION = "Library to read the extended image information (EXIF) from JPEG pictures"
-HOMEPAGE = "http://sourceforge.net/projects/check"
-SECTION = "libs"
-LICENSE = "LGPLv2"
-LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1"
-
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \
-           file://run-ptest \
-           file://ptest.patch \
-          "
-
-SRC_URI[md5sum] = "6d10a8efb9a683467b92b3bce97aeb30"
-SRC_URI[sha256sum] = "823819235753e94ae0bcab3c46cc209de166c32ff2f52cefe120597db4403e6d"
-
-inherit autotools ptest
-
-RDEPENDS_${PN} = "make"
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/check/files/ptest.patch b/meta/recipes-support/check/files/ptest.patch
deleted file mode 100644
index 3cb2b25..0000000
--- a/meta/recipes-support/check/files/ptest.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: check-0.9.10/Makefile.am
-===================================================================
---- check-0.9.10.orig/Makefile.am
-+++ check-0.9.10/Makefile.am
-@@ -45,6 +45,9 @@ ACLOCAL_AMFLAGS = -I m4
- doc/check_html:
- 	$(MAKE) -C doc check_html
- 
-+install-ptest:
-+	$(MAKE) -C tests install-ptest
-+
- # check we can do a clean build, including docs.
- # perhaps we should check for out of date (svn st -u) and modified files.
- prereleasecheck: doc/check_html
-Index: check-0.9.10/tests/Makefile.am
-===================================================================
---- check-0.9.10.orig/tests/Makefile.am
-+++ check-0.9.10/tests/Makefile.am
-@@ -81,3 +81,10 @@ ex_xml_output_LDADD = $(top_builddir)/sr
- AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
- 
- CLEANFILES = *~ *.log *.xml test_logfile
-+
-+install-ptest:
-+	@$(MKDIR_P) $(DESTDIR)/tests
-+	@for file in $(noinst_PROGRAMS) $(EXTRA_DIST); do \
-+		install -m 0755 $$file $(DESTDIR)/tests; \
-+	done;
-+	@sed -e 's/^Makefile/_Makefile/' < Makefile > $(DESTDIR)/Makefile
diff --git a/meta/recipes-support/check/files/run-ptest b/meta/recipes-support/check/files/run-ptest
deleted file mode 100644
index d4969ef..0000000
--- a/meta/recipes-support/check/files/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-make -k check-TESTS
-
-- 
1.8.3.1



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

end of thread, other threads:[~2013-10-21 17:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21 17:49 [PATCH 0/3] Clean up my check mess Saul Wold
2013-10-21 17:49 ` [PATCH 1/3] libcheck: Add native support for kbd-native Saul Wold
2013-10-21 17:49 ` [PATCH 2/3] kbd: Use libcheck instead of check Saul Wold
2013-10-21 17:49 ` [PATCH 3/3] check: Remove duplicate recipe of libcheck Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox