* [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0
@ 2013-01-26 6:45 Khem Raj
2013-01-26 6:45 ` [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency Khem Raj
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Khem Raj @ 2013-01-26 6:45 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../i2c-tools/i2c-tools-3.0.3/Module.mk | 72 --------------------
.../i2c-tools/i2c-tools-3.1.0/Module.mk | 72 ++++++++++++++++++++
.../recipes-support/i2c-tools/i2c-tools_3.0.3.bb | 24 -------
.../recipes-support/i2c-tools/i2c-tools_3.1.0.bb | 26 +++++++
4 files changed, 98 insertions(+), 96 deletions(-)
delete mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
create mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
delete mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
create mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
deleted file mode 100644
index fcaf72f..0000000
--- a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
+++ /dev/null
@@ -1,72 +0,0 @@
-# EEPROMER
-#
-# Licensed under the GNU General Public License.
-
-EEPROMER_DIR := eepromer
-
-EEPROMER_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
- -Wcast-align -Wwrite-strings -Wnested-externs -Winline \
- -W -Wundef -Wmissing-prototypes -Iinclude
-
-EEPROMER_TARGETS := eepromer eeprom eeprog
-
-#
-# Programs
-#
-
-$(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o
- $(CC) $(LDFLAGS) -o $@ $^
-
-$(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o
- $(CC) $(LDFLAGS) -o $@ $^
-
-$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o $(EEPROMER_DIR)/24cXX.o
- $(CC) $(LDFLAGS) -o $@ $^
-
-#
-# Objects
-#
-
-$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c
- $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
-
-$(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c
- $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
-
-$(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c
- $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
-
-$(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c
- $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
-
-#
-# Commands
-#
-
-all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
-
-strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
- strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
-
-clean-eepromer:
- $(RM) $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS))
-
-install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
- $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
- for program in $(EEPROMER_TARGETS) ; do \
- $(INSTALL_PROGRAM) $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done
-
-uninstall-eepromer:
- for program in $(EEPROMER_TARGETS) ; do \
- $(RM) $(DESTDIR)$(sbindir)/$$program ; \
- $(RM) $(DESTDIR)$(man8dir)/$$program.8 ; done
-
-all: all-eepromer
-
-strip: strip-eepromer
-
-clean: clean-eepromer
-
-install: install-eepromer
-
-uninstall: uninstall-eepromer
diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
new file mode 100644
index 0000000..fcaf72f
--- /dev/null
+++ b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
@@ -0,0 +1,72 @@
+# EEPROMER
+#
+# Licensed under the GNU General Public License.
+
+EEPROMER_DIR := eepromer
+
+EEPROMER_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
+ -Wcast-align -Wwrite-strings -Wnested-externs -Winline \
+ -W -Wundef -Wmissing-prototypes -Iinclude
+
+EEPROMER_TARGETS := eepromer eeprom eeprog
+
+#
+# Programs
+#
+
+$(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+$(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o $(EEPROMER_DIR)/24cXX.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+#
+# Objects
+#
+
+$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c
+ $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
+
+$(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c
+ $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
+
+$(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c
+ $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
+
+$(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c
+ $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
+
+#
+# Commands
+#
+
+all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
+
+strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
+ strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
+
+clean-eepromer:
+ $(RM) $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS))
+
+install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
+ $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ for program in $(EEPROMER_TARGETS) ; do \
+ $(INSTALL_PROGRAM) $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done
+
+uninstall-eepromer:
+ for program in $(EEPROMER_TARGETS) ; do \
+ $(RM) $(DESTDIR)$(sbindir)/$$program ; \
+ $(RM) $(DESTDIR)$(man8dir)/$$program.8 ; done
+
+all: all-eepromer
+
+strip: strip-eepromer
+
+clean: clean-eepromer
+
+install: install-eepromer
+
+uninstall: uninstall-eepromer
diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
deleted file mode 100644
index 021090c..0000000
--- a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-DESCRIPTION = "Set of i2c tools for linux"
-SECTION = "base"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-
-SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
- file://Module.mk \
- "
-SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
-SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"
-
-inherit autotools
-
-do_compile_prepend() {
- cp ${WORKDIR}/Module.mk ${S}/eepromer/
- sed -i 's#/usr/local#/usr#' Makefile
- echo "include eepromer/Module.mk" >> Makefile
-}
-
-do_install_append() {
- install -d ${D}${includedir}/linux
- install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
- rm -f ${D}${includedir}/linux/i2c-dev.h
-}
diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
new file mode 100644
index 0000000..7589537
--- /dev/null
+++ b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Set of i2c tools for linux"
+SECTION = "base"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+RDEPENDS += "perl"
+
+SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/i2c-tools/i2c-tools-3.1.0.tar.bz2/f15019e559e378c6e9d5d6299a00df21/i2c-tools-${PV}.tar.bz2 \
+ file://Module.mk \
+ "
+SRC_URI[md5sum] = "f15019e559e378c6e9d5d6299a00df21"
+SRC_URI[sha256sum] = "960023f61de292c6dd757fcedec4bffa7dd036e8594e24b26a706094ca4c142a"
+
+inherit autotools
+
+do_compile_prepend() {
+ cp ${WORKDIR}/Module.mk ${S}/eepromer/
+ sed -i 's#/usr/local#/usr#' Makefile
+ echo "include eepromer/Module.mk" >> Makefile
+}
+
+do_install_append() {
+ install -d ${D}${includedir}/linux
+ install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
+ rm -f ${D}${includedir}/linux/i2c-dev.h
+}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency
2013-01-26 6:45 [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0 Khem Raj
@ 2013-01-26 6:45 ` Khem Raj
2013-01-27 19:13 ` Martin Jansa
` (2 more replies)
2013-01-27 19:21 ` [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0 Martin Jansa
2013-01-28 10:41 ` Martin Jansa
2 siblings, 3 replies; 10+ messages in thread
From: Khem Raj @ 2013-01-26 6:45 UTC (permalink / raw)
To: openembedded-devel
Fixes errors like
| Computing transaction...error: Can't install
arptables-0.0.3+4-r0.0@ppce500v2: no package provides /usr/bin/perl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../recipes-filter/ebtables/ebtables_2.0.10-4.bb | 2 ++
.../recipes-support/arptables/arptables_0.0.3-4.bb | 2 ++
2 files changed, 4 insertions(+)
diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
index 2596d2f..4e9b0bc 100644
--- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
+++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
@@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
SECTION = "console/network"
PR = "r1"
+RDEPENDS += "perl"
+
SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
file://installnonroot.patch \
file://01debian_defaultconfig.patch \
diff --git a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
index 71e2600..8da9bb7 100644
--- a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
+++ b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
@@ -3,6 +3,8 @@ PRIORITY = "optional"
LICENSE = "GPL-2.0"
SECTION = "console/network"
+RDEPENDS += "perl"
+
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
SRC_URI = " \
${SOURCEFORGE_MIRROR}/ebtables/arptables-v${PV}.tar.gz;name=arptables \
--
1.7.9.5
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency
2013-01-26 6:45 ` [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency Khem Raj
@ 2013-01-27 19:13 ` Martin Jansa
2013-01-27 20:20 ` Joe MacDonald
2013-01-27 20:40 ` Koen Kooi
2013-01-28 10:41 ` Martin Jansa
2 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2013-01-27 19:13 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2148 bytes --]
On Fri, Jan 25, 2013 at 10:45:15PM -0800, Khem Raj wrote:
> Fixes errors like
RDEPENDS_${PN}, fixed in jansa/in-test, I'll merge with that fix if Joe
sends his ack.
Cheers,
>
> | Computing transaction...error: Can't install
> arptables-0.0.3+4-r0.0@ppce500v2: no package provides /usr/bin/perl
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../recipes-filter/ebtables/ebtables_2.0.10-4.bb | 2 ++
> .../recipes-support/arptables/arptables_0.0.3-4.bb | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> index 2596d2f..4e9b0bc 100644
> --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
> SECTION = "console/network"
> PR = "r1"
>
> +RDEPENDS += "perl"
> +
> SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
> file://installnonroot.patch \
> file://01debian_defaultconfig.patch \
> diff --git a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
> index 71e2600..8da9bb7 100644
> --- a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
> +++ b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
> @@ -3,6 +3,8 @@ PRIORITY = "optional"
> LICENSE = "GPL-2.0"
> SECTION = "console/network"
>
> +RDEPENDS += "perl"
> +
> LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
> SRC_URI = " \
> ${SOURCEFORGE_MIRROR}/ebtables/arptables-v${PV}.tar.gz;name=arptables \
> --
> 1.7.9.5
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0
2013-01-26 6:45 [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0 Khem Raj
2013-01-26 6:45 ` [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency Khem Raj
@ 2013-01-27 19:21 ` Martin Jansa
2013-01-27 20:39 ` Koen Kooi
2013-01-28 10:41 ` Martin Jansa
2 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2013-01-27 19:21 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 8387 bytes --]
On Fri, Jan 25, 2013 at 10:45:14PM -0800, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../i2c-tools/i2c-tools-3.0.3/Module.mk | 72 --------------------
> .../i2c-tools/i2c-tools-3.1.0/Module.mk | 72 ++++++++++++++++++++
> .../recipes-support/i2c-tools/i2c-tools_3.0.3.bb | 24 -------
> .../recipes-support/i2c-tools/i2c-tools_3.1.0.bb | 26 +++++++
> 4 files changed, 98 insertions(+), 96 deletions(-)
> delete mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
> create mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
> delete mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
> create mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
>
> diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
> deleted file mode 100644
> index fcaf72f..0000000
> --- a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
> +++ /dev/null
> @@ -1,72 +0,0 @@
> -# EEPROMER
> -#
> -# Licensed under the GNU General Public License.
> -
> -EEPROMER_DIR := eepromer
> -
> -EEPROMER_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
> - -Wcast-align -Wwrite-strings -Wnested-externs -Winline \
> - -W -Wundef -Wmissing-prototypes -Iinclude
> -
> -EEPROMER_TARGETS := eepromer eeprom eeprog
> -
> -#
> -# Programs
> -#
> -
> -$(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o
> - $(CC) $(LDFLAGS) -o $@ $^
> -
> -$(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o
> - $(CC) $(LDFLAGS) -o $@ $^
> -
> -$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o $(EEPROMER_DIR)/24cXX.o
> - $(CC) $(LDFLAGS) -o $@ $^
> -
> -#
> -# Objects
> -#
> -
> -$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c
> - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> -
> -$(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c
> - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> -
> -$(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c
> - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> -
> -$(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c
> - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> -
> -#
> -# Commands
> -#
> -
> -all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> -
> -strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> - strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> -
> -clean-eepromer:
> - $(RM) $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS))
> -
> -install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> - $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
> - for program in $(EEPROMER_TARGETS) ; do \
> - $(INSTALL_PROGRAM) $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done
> -
> -uninstall-eepromer:
> - for program in $(EEPROMER_TARGETS) ; do \
> - $(RM) $(DESTDIR)$(sbindir)/$$program ; \
> - $(RM) $(DESTDIR)$(man8dir)/$$program.8 ; done
> -
> -all: all-eepromer
> -
> -strip: strip-eepromer
> -
> -clean: clean-eepromer
> -
> -install: install-eepromer
> -
> -uninstall: uninstall-eepromer
> diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
> new file mode 100644
> index 0000000..fcaf72f
> --- /dev/null
> +++ b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
> @@ -0,0 +1,72 @@
> +# EEPROMER
> +#
> +# Licensed under the GNU General Public License.
> +
> +EEPROMER_DIR := eepromer
> +
> +EEPROMER_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
> + -Wcast-align -Wwrite-strings -Wnested-externs -Winline \
> + -W -Wundef -Wmissing-prototypes -Iinclude
> +
> +EEPROMER_TARGETS := eepromer eeprom eeprog
> +
> +#
> +# Programs
> +#
> +
> +$(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o
> + $(CC) $(LDFLAGS) -o $@ $^
> +
> +$(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o
> + $(CC) $(LDFLAGS) -o $@ $^
> +
> +$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o $(EEPROMER_DIR)/24cXX.o
> + $(CC) $(LDFLAGS) -o $@ $^
> +
> +#
> +# Objects
> +#
> +
> +$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c
> + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> +
> +$(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c
> + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> +
> +$(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c
> + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> +
> +$(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c
> + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> +
> +#
> +# Commands
> +#
> +
> +all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> +
> +strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> + strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> +
> +clean-eepromer:
> + $(RM) $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS))
> +
> +install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> + $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
> + for program in $(EEPROMER_TARGETS) ; do \
> + $(INSTALL_PROGRAM) $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done
> +
> +uninstall-eepromer:
> + for program in $(EEPROMER_TARGETS) ; do \
> + $(RM) $(DESTDIR)$(sbindir)/$$program ; \
> + $(RM) $(DESTDIR)$(man8dir)/$$program.8 ; done
> +
> +all: all-eepromer
> +
> +strip: strip-eepromer
> +
> +clean: clean-eepromer
> +
> +install: install-eepromer
> +
> +uninstall: uninstall-eepromer
> diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
> deleted file mode 100644
> index 021090c..0000000
> --- a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -DESCRIPTION = "Set of i2c tools for linux"
> -SECTION = "base"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> -
> -SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
> - file://Module.mk \
> - "
> -SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
> -SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"
> -
> -inherit autotools
> -
> -do_compile_prepend() {
> - cp ${WORKDIR}/Module.mk ${S}/eepromer/
> - sed -i 's#/usr/local#/usr#' Makefile
> - echo "include eepromer/Module.mk" >> Makefile
> -}
> -
> -do_install_append() {
> - install -d ${D}${includedir}/linux
> - install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
> - rm -f ${D}${includedir}/linux/i2c-dev.h
> -}
> diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
> new file mode 100644
> index 0000000..7589537
> --- /dev/null
> +++ b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "Set of i2c tools for linux"
> +SECTION = "base"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> +
> +RDEPENDS += "perl"
Also RDEPENDS_${PN} and also fixed in jansa/in-test
> +
> +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/i2c-tools/i2c-tools-3.1.0.tar.bz2/f15019e559e378c6e9d5d6299a00df21/i2c-tools-${PV}.tar.bz2 \
> + file://Module.mk \
> + "
> +SRC_URI[md5sum] = "f15019e559e378c6e9d5d6299a00df21"
> +SRC_URI[sha256sum] = "960023f61de292c6dd757fcedec4bffa7dd036e8594e24b26a706094ca4c142a"
> +
> +inherit autotools
> +
> +do_compile_prepend() {
> + cp ${WORKDIR}/Module.mk ${S}/eepromer/
> + sed -i 's#/usr/local#/usr#' Makefile
> + echo "include eepromer/Module.mk" >> Makefile
> +}
> +
> +do_install_append() {
> + install -d ${D}${includedir}/linux
> + install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
> + rm -f ${D}${includedir}/linux/i2c-dev.h
> +}
> --
> 1.7.9.5
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency
2013-01-27 19:13 ` Martin Jansa
@ 2013-01-27 20:20 ` Joe MacDonald
0 siblings, 0 replies; 10+ messages in thread
From: Joe MacDonald @ 2013-01-27 20:20 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2393 bytes --]
[Re: [oe] [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency] On 13.01.27 (Sun 20:13) Martin Jansa wrote:
> On Fri, Jan 25, 2013 at 10:45:15PM -0800, Khem Raj wrote:
> > Fixes errors like
>
> RDEPENDS_${PN}, fixed in jansa/in-test, I'll merge with that fix if Joe
> sends his ack.
Yes, please. Thanks!
-J.
>
> Cheers,
>
> >
> > | Computing transaction...error: Can't install
> > arptables-0.0.3+4-r0.0@ppce500v2: no package provides /usr/bin/perl
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> > .../recipes-filter/ebtables/ebtables_2.0.10-4.bb | 2 ++
> > .../recipes-support/arptables/arptables_0.0.3-4.bb | 2 ++
> > 2 files changed, 4 insertions(+)
> >
> > diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> > index 2596d2f..4e9b0bc 100644
> > --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> > +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> > @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
> > SECTION = "console/network"
> > PR = "r1"
> >
> > +RDEPENDS += "perl"
> > +
> > SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
> > file://installnonroot.patch \
> > file://01debian_defaultconfig.patch \
> > diff --git a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
> > index 71e2600..8da9bb7 100644
> > --- a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
> > +++ b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
> > @@ -3,6 +3,8 @@ PRIORITY = "optional"
> > LICENSE = "GPL-2.0"
> > SECTION = "console/network"
> >
> > +RDEPENDS += "perl"
> > +
> > LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
> > SRC_URI = " \
> > ${SOURCEFORGE_MIRROR}/ebtables/arptables-v${PV}.tar.gz;name=arptables \
> > --
> > 1.7.9.5
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0
2013-01-27 19:21 ` [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0 Martin Jansa
@ 2013-01-27 20:39 ` Koen Kooi
2013-01-28 8:58 ` Koen Kooi
0 siblings, 1 reply; 10+ messages in thread
From: Koen Kooi @ 2013-01-27 20:39 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 27-01-13 20:21, Martin Jansa schreef:
> On Fri, Jan 25, 2013 at 10:45:14PM -0800, Khem Raj wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com> ---
>> .../i2c-tools/i2c-tools-3.0.3/Module.mk | 72
>> -------------------- .../i2c-tools/i2c-tools-3.1.0/Module.mk
>> | 72 ++++++++++++++++++++
>> .../recipes-support/i2c-tools/i2c-tools_3.0.3.bb | 24 -------
>> .../recipes-support/i2c-tools/i2c-tools_3.1.0.bb | 26 +++++++ 4
>> files changed, 98 insertions(+), 96 deletions(-) delete mode 100644
>> meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk create mode
>> 100644 meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
>> delete mode 100644
>> meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb create mode 100644
>> meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
>>
>> diff --git
>> a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
>> b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk deleted
>> file mode 100644 index fcaf72f..0000000 ---
>> a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk +++
>> /dev/null @@ -1,72 +0,0 @@ -# EEPROMER -# -# Licensed under the GNU
>> General Public License. - -EEPROMER_DIR := eepromer - -EEPROMER_CFLAGS
>> := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ -
>> -Wcast-align -Wwrite-strings -Wnested-externs -Winline \ - -W
>> -Wundef -Wmissing-prototypes -Iinclude - -EEPROMER_TARGETS := eepromer
>> eeprom eeprog - -# -# Programs -# - -$(EEPROMER_DIR)/eepromer:
>> $(EEPROMER_DIR)/eepromer.o - $(CC) $(LDFLAGS) -o $@ $^ -
>> -$(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o - $(CC) $(LDFLAGS) -o
>> $@ $^ - -$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o
>> $(EEPROMER_DIR)/24cXX.o - $(CC) $(LDFLAGS) -o $@ $^ - -# -# Objects -#
>> - -$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c - $(CC)
>> $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ - -$(EEPROMER_DIR)/eeprom.o:
>> $(EEPROMER_DIR)/eeprom.c - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o
>> $@ - -$(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c - $(CC)
>> $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ - -$(EEPROMER_DIR)/24cXX.o:
>> $(EEPROMER_DIR)/24cXX.c - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o
>> $@ - -# -# Commands -# - -all-eepromer: $(addprefix
>> $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) - -strip-eepromer: $(addprefix
>> $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) - strip $(addprefix
>> $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) - -clean-eepromer: - $(RM)
>> $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS)) -
>> -install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) -
>> $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir) - for program
>> in $(EEPROMER_TARGETS) ; do \ - $(INSTALL_PROGRAM)
>> $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done -
>> -uninstall-eepromer: - for program in $(EEPROMER_TARGETS) ; do \ -
>> $(RM) $(DESTDIR)$(sbindir)/$$program ; \ - $(RM)
>> $(DESTDIR)$(man8dir)/$$program.8 ; done - -all: all-eepromer - -strip:
>> strip-eepromer - -clean: clean-eepromer - -install: install-eepromer -
>> -uninstall: uninstall-eepromer diff --git
>> a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
>> b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk new file
>> mode 100644 index 0000000..fcaf72f --- /dev/null +++
>> b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk @@ -0,0
>> +1,72 @@ +# EEPROMER +# +# Licensed under the GNU General Public
>> License. + +EEPROMER_DIR := eepromer + +EEPROMER_CFLAGS :=
>> -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ +
>> -Wcast-align -Wwrite-strings -Wnested-externs -Winline \ + -W
>> -Wundef -Wmissing-prototypes -Iinclude + +EEPROMER_TARGETS := eepromer
>> eeprom eeprog + +# +# Programs +# + +$(EEPROMER_DIR)/eepromer:
>> $(EEPROMER_DIR)/eepromer.o + $(CC) $(LDFLAGS) -o $@ $^ +
>> +$(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o + $(CC) $(LDFLAGS) -o
>> $@ $^ + +$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o
>> $(EEPROMER_DIR)/24cXX.o + $(CC) $(LDFLAGS) -o $@ $^ + +# +# Objects +#
>> + +$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c + $(CC)
>> $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ + +$(EEPROMER_DIR)/eeprom.o:
>> $(EEPROMER_DIR)/eeprom.c + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o
>> $@ + +$(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c + $(CC)
>> $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ + +$(EEPROMER_DIR)/24cXX.o:
>> $(EEPROMER_DIR)/24cXX.c + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o
>> $@ + +# +# Commands +# + +all-eepromer: $(addprefix
>> $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) + +strip-eepromer: $(addprefix
>> $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) + strip $(addprefix
>> $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) + +clean-eepromer: + $(RM)
>> $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS)) +
>> +install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) +
>> $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir) + for program
>> in $(EEPROMER_TARGETS) ; do \ + $(INSTALL_PROGRAM)
>> $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done +
>> +uninstall-eepromer: + for program in $(EEPROMER_TARGETS) ; do \ +
>> $(RM) $(DESTDIR)$(sbindir)/$$program ; \ + $(RM)
>> $(DESTDIR)$(man8dir)/$$program.8 ; done + +all: all-eepromer + +strip:
>> strip-eepromer + +clean: clean-eepromer + +install: install-eepromer +
>> +uninstall: uninstall-eepromer diff --git
>> a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
>> b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb deleted file
>> mode 100644 index 021090c..0000000 ---
>> a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb +++ /dev/null @@
>> -1,24 +0,0 @@ -DESCRIPTION = "Set of i2c tools for linux" -SECTION =
>> "base" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM =
>> "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -SRC_URI =
>> "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
>> - file://Module.mk \ - " -SRC_URI[md5sum] =
>> "511376eed04455cdb277ef19c5f73bb4" -SRC_URI[sha256sum] =
>> "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629" -
>> -inherit autotools - -do_compile_prepend() { - cp
>> ${WORKDIR}/Module.mk ${S}/eepromer/ - sed -i
>> 's#/usr/local#/usr#' Makefile - echo "include
>> eepromer/Module.mk" >> Makefile -} - -do_install_append() { -
>> install -d ${D}${includedir}/linux - install -m 0644
>> include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h - rm -f
>> ${D}${includedir}/linux/i2c-dev.h -} diff --git
>> a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
>> b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb new file mode
>> 100644 index 0000000..7589537 --- /dev/null +++
>> b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb @@ -0,0 +1,26
>> @@ +DESCRIPTION = "Set of i2c tools for linux" +SECTION = "base"
>> +LICENSE = "GPLv2" +LIC_FILES_CHKSUM =
>> "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +RDEPENDS +=
>> "perl"
>
> Also RDEPENDS_${PN} and also fixed in jansa/in-test
Can we please just split out read_edid and keep i2cdetect perl free?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFRBZCLMkyGM64RGpERAkyKAJ9lgADO4yYgmzNJS7kKqCX5doSkhgCfXuHI
lq2opQscNEqDxmHf2P/o3ag=
=8+Jq
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency
2013-01-26 6:45 ` [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency Khem Raj
2013-01-27 19:13 ` Martin Jansa
@ 2013-01-27 20:40 ` Koen Kooi
2013-01-28 10:41 ` Martin Jansa
2 siblings, 0 replies; 10+ messages in thread
From: Koen Kooi @ 2013-01-27 20:40 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 26-01-13 07:45, Khem Raj schreef:
> Fixes errors like
>
> | Computing transaction...error: Can't install
> arptables-0.0.3+4-r0.0@ppce500v2: no package provides /usr/bin/perl
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com> ---
> .../recipes-filter/ebtables/ebtables_2.0.10-4.bb | 2 ++
> .../recipes-support/arptables/arptables_0.0.3-4.bb | 2 ++ 2 files
> changed, 4 insertions(+)
>
> diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb index
> 2596d2f..4e9b0bc 100644 ---
> a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb +++
> b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb @@ -4,6
> +4,8 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e" SECTION =
> "console/network" PR = "r1"
>
> +RDEPENDS += "perl"
Can yo split out out the things that need perl? The meat of ebtables doesn't
need perl AFAIK and it would be a shame to drag in perl only for some helper
apps
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFRBZDPMkyGM64RGpERAngPAJ9ZXq43eATpg+dYBN9b0M0Sg/LJTgCfZltV
oA6rQGFkTCuvBBEwwOClEMc=
=n1zu
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0
2013-01-27 20:39 ` Koen Kooi
@ 2013-01-28 8:58 ` Koen Kooi
0 siblings, 0 replies; 10+ messages in thread
From: Koen Kooi @ 2013-01-28 8:58 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 27-01-13 21:39, Koen Kooi schreef:
> Op 27-01-13 20:21, Martin Jansa schreef:
>> On Fri, Jan 25, 2013 at 10:45:14PM -0800, Khem Raj wrote:
>>> Signed-off-by: Khem Raj <raj.khem@gmail.com> ---
>>> .../i2c-tools/i2c-tools-3.0.3/Module.mk | 72
>>> -------------------- .../i2c-tools/i2c-tools-3.1.0/Module.mk | 72
>>> ++++++++++++++++++++ .../recipes-support/i2c-tools/i2c-tools_3.0.3.bb
>>> | 24 ------- .../recipes-support/i2c-tools/i2c-tools_3.1.0.bb |
>>> 26 +++++++ 4 files changed, 98 insertions(+), 96 deletions(-) delete
>>> mode 100644
>>> meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk create
>>> mode 100644
>>> meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk delete
>>> mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
>>> create mode 100644
>>> meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
>>>
>>> diff --git
>>> a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
>>> b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
>>> deleted file mode 100644 index fcaf72f..0000000 ---
>>> a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk +++
>>> /dev/null @@ -1,72 +0,0 @@ -# EEPROMER -# -# Licensed under the GNU
>>> General Public License. - -EEPROMER_DIR := eepromer -
>>> -EEPROMER_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith
>>> -Wcast-qual \ - -Wcast-align -Wwrite-strings -Wnested-externs
>>> -Winline \ - -W -Wundef -Wmissing-prototypes -Iinclude -
>>> -EEPROMER_TARGETS := eepromer eeprom eeprog - -# -# Programs -# -
>>> -$(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o - $(CC)
>>> $(LDFLAGS) -o $@ $^ - -$(EEPROMER_DIR)/eeprom:
>>> $(EEPROMER_DIR)/eeprom.o - $(CC) $(LDFLAGS) -o $@ $^ -
>>> -$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o
>>> $(EEPROMER_DIR)/24cXX.o - $(CC) $(LDFLAGS) -o $@ $^ - -# -# Objects
>>> -# - -$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c - $(CC)
>>> $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ -
>>> -$(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c - $(CC) $(CFLAGS)
>>> $(EEPROMER_CFLAGS) -c $< -o $@ - -$(EEPROMER_DIR)/eeprog.o:
>>> $(EEPROMER_DIR)/eeprog.c - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $<
>>> -o $@ - -$(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c - $(CC)
>>> $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ - -# -# Commands -# -
>>> -all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) -
>>> -strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) -
>>> strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) -
>>> -clean-eepromer: - $(RM) $(addprefix $(EEPROMER_DIR)/,*.o
>>> $(EEPROMER_TARGETS)) - -install-eepromer: $(addprefix
>>> $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) - $(INSTALL_DIR)
>>> $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir) - for program in
>>> $(EEPROMER_TARGETS) ; do \ - $(INSTALL_PROGRAM)
>>> $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done -
>>> -uninstall-eepromer: - for program in $(EEPROMER_TARGETS) ; do \ -
>>> $(RM) $(DESTDIR)$(sbindir)/$$program ; \ - $(RM)
>>> $(DESTDIR)$(man8dir)/$$program.8 ; done - -all: all-eepromer -
>>> -strip: strip-eepromer - -clean: clean-eepromer - -install:
>>> install-eepromer - -uninstall: uninstall-eepromer diff --git
>>> a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
>>> b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk new
>>> file mode 100644 index 0000000..fcaf72f --- /dev/null +++
>>> b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk @@
>>> -0,0 +1,72 @@ +# EEPROMER +# +# Licensed under the GNU General
>>> Public License. + +EEPROMER_DIR := eepromer + +EEPROMER_CFLAGS :=
>>> -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ +
>>> -Wcast-align -Wwrite-strings -Wnested-externs -Winline \ + -W
>>> -Wundef -Wmissing-prototypes -Iinclude + +EEPROMER_TARGETS :=
>>> eepromer eeprom eeprog + +# +# Programs +# +
>>> +$(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o + $(CC)
>>> $(LDFLAGS) -o $@ $^ + +$(EEPROMER_DIR)/eeprom:
>>> $(EEPROMER_DIR)/eeprom.o + $(CC) $(LDFLAGS) -o $@ $^ +
>>> +$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o
>>> $(EEPROMER_DIR)/24cXX.o + $(CC) $(LDFLAGS) -o $@ $^ + +# +# Objects
>>> +# + +$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c + $(CC)
>>> $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ +
>>> +$(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c + $(CC) $(CFLAGS)
>>> $(EEPROMER_CFLAGS) -c $< -o $@ + +$(EEPROMER_DIR)/eeprog.o:
>>> $(EEPROMER_DIR)/eeprog.c + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $<
>>> -o $@ + +$(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c + $(CC)
>>> $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ + +# +# Commands +# +
>>> +all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) +
>>> +strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) +
>>> strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) +
>>> +clean-eepromer: + $(RM) $(addprefix $(EEPROMER_DIR)/,*.o
>>> $(EEPROMER_TARGETS)) + +install-eepromer: $(addprefix
>>> $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) + $(INSTALL_DIR)
>>> $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir) + for program in
>>> $(EEPROMER_TARGETS) ; do \ + $(INSTALL_PROGRAM)
>>> $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done +
>>> +uninstall-eepromer: + for program in $(EEPROMER_TARGETS) ; do \ +
>>> $(RM) $(DESTDIR)$(sbindir)/$$program ; \ + $(RM)
>>> $(DESTDIR)$(man8dir)/$$program.8 ; done + +all: all-eepromer +
>>> +strip: strip-eepromer + +clean: clean-eepromer + +install:
>>> install-eepromer + +uninstall: uninstall-eepromer diff --git
>>> a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
>>> b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb deleted file
>>> mode 100644 index 021090c..0000000 ---
>>> a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb +++ /dev/null
>>> @@ -1,24 +0,0 @@ -DESCRIPTION = "Set of i2c tools for linux" -SECTION
>>> = "base" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM =
>>> "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -SRC_URI =
>>> "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2
>>> \ - file://Module.mk \ - " -SRC_URI[md5sum] =
>>> "511376eed04455cdb277ef19c5f73bb4" -SRC_URI[sha256sum] =
>>> "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629" -
>>> -inherit autotools - -do_compile_prepend() { - cp
>>> ${WORKDIR}/Module.mk ${S}/eepromer/ - sed -i
>>> 's#/usr/local#/usr#' Makefile - echo "include
>>> eepromer/Module.mk" >> Makefile -} - -do_install_append() { - install
>>> -d ${D}${includedir}/linux - install -m 0644
>>> include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h - rm
>>> -f ${D}${includedir}/linux/i2c-dev.h -} diff --git
>>> a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
>>> b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb new file mode
>>> 100644 index 0000000..7589537 --- /dev/null +++
>>> b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb @@ -0,0 +1,26
>>> @@ +DESCRIPTION = "Set of i2c tools for linux" +SECTION = "base"
>>> +LICENSE = "GPLv2" +LIC_FILES_CHKSUM =
>>> "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +RDEPENDS +=
>>> "perl"
>
>> Also RDEPENDS_${PN} and also fixed in jansa/in-test
>
> Can we please just split out read_edid and keep i2cdetect perl free?
It's slightly more, but the idea still is the same:
root@hexy:~/PWM# for i in $(opkg files i2c-tools | grep bin) ; do file $i ; done
/usr/bin/decode-dimms: Perl script, ASCII text executable
/usr/sbin/i2cget: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
/usr/sbin/eeprog: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
/usr/sbin/eeprom: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
/usr/bin/decode-vaio: Perl script, ASCII text executable
/usr/sbin/i2c-stub-from-dump: Perl script, ASCII text executable
/usr/bin/ddcmon: Perl script, ASCII text executable
/usr/sbin/i2cdump: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
/usr/sbin/i2cdetect: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
/usr/sbin/eepromer: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
/usr/bin/decode-edid: Perl script, ASCII text executable
/usr/sbin/i2cset: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFRBj3NMkyGM64RGpERAg8CAJ4+wC9o4XYjmSbOqoGRCQf8ikpm1ACcDJGs
0er5dDQEb2jEA7Pp/Oy3+Og=
=UhAd
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0
2013-01-26 6:45 [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0 Khem Raj
2013-01-26 6:45 ` [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency Khem Raj
2013-01-27 19:21 ` [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0 Martin Jansa
@ 2013-01-28 10:41 ` Martin Jansa
2 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2013-01-28 10:41 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 8391 bytes --]
On Fri, Jan 25, 2013 at 10:45:14PM -0800, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../i2c-tools/i2c-tools-3.0.3/Module.mk | 72 --------------------
> .../i2c-tools/i2c-tools-3.1.0/Module.mk | 72 ++++++++++++++++++++
> .../recipes-support/i2c-tools/i2c-tools_3.0.3.bb | 24 -------
> .../recipes-support/i2c-tools/i2c-tools_3.1.0.bb | 26 +++++++
> 4 files changed, 98 insertions(+), 96 deletions(-)
> delete mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
> create mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
> delete mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
> create mode 100644 meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
Applied, please split those perl scripts in followup patch.
> diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
> deleted file mode 100644
> index fcaf72f..0000000
> --- a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.0.3/Module.mk
> +++ /dev/null
> @@ -1,72 +0,0 @@
> -# EEPROMER
> -#
> -# Licensed under the GNU General Public License.
> -
> -EEPROMER_DIR := eepromer
> -
> -EEPROMER_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
> - -Wcast-align -Wwrite-strings -Wnested-externs -Winline \
> - -W -Wundef -Wmissing-prototypes -Iinclude
> -
> -EEPROMER_TARGETS := eepromer eeprom eeprog
> -
> -#
> -# Programs
> -#
> -
> -$(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o
> - $(CC) $(LDFLAGS) -o $@ $^
> -
> -$(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o
> - $(CC) $(LDFLAGS) -o $@ $^
> -
> -$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o $(EEPROMER_DIR)/24cXX.o
> - $(CC) $(LDFLAGS) -o $@ $^
> -
> -#
> -# Objects
> -#
> -
> -$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c
> - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> -
> -$(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c
> - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> -
> -$(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c
> - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> -
> -$(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c
> - $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> -
> -#
> -# Commands
> -#
> -
> -all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> -
> -strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> - strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> -
> -clean-eepromer:
> - $(RM) $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS))
> -
> -install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> - $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
> - for program in $(EEPROMER_TARGETS) ; do \
> - $(INSTALL_PROGRAM) $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done
> -
> -uninstall-eepromer:
> - for program in $(EEPROMER_TARGETS) ; do \
> - $(RM) $(DESTDIR)$(sbindir)/$$program ; \
> - $(RM) $(DESTDIR)$(man8dir)/$$program.8 ; done
> -
> -all: all-eepromer
> -
> -strip: strip-eepromer
> -
> -clean: clean-eepromer
> -
> -install: install-eepromer
> -
> -uninstall: uninstall-eepromer
> diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
> new file mode 100644
> index 0000000..fcaf72f
> --- /dev/null
> +++ b/meta-oe/recipes-support/i2c-tools/i2c-tools-3.1.0/Module.mk
> @@ -0,0 +1,72 @@
> +# EEPROMER
> +#
> +# Licensed under the GNU General Public License.
> +
> +EEPROMER_DIR := eepromer
> +
> +EEPROMER_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
> + -Wcast-align -Wwrite-strings -Wnested-externs -Winline \
> + -W -Wundef -Wmissing-prototypes -Iinclude
> +
> +EEPROMER_TARGETS := eepromer eeprom eeprog
> +
> +#
> +# Programs
> +#
> +
> +$(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o
> + $(CC) $(LDFLAGS) -o $@ $^
> +
> +$(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o
> + $(CC) $(LDFLAGS) -o $@ $^
> +
> +$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o $(EEPROMER_DIR)/24cXX.o
> + $(CC) $(LDFLAGS) -o $@ $^
> +
> +#
> +# Objects
> +#
> +
> +$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c
> + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> +
> +$(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c
> + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> +
> +$(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c
> + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> +
> +$(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c
> + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@
> +
> +#
> +# Commands
> +#
> +
> +all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> +
> +strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> + strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> +
> +clean-eepromer:
> + $(RM) $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS))
> +
> +install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS))
> + $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
> + for program in $(EEPROMER_TARGETS) ; do \
> + $(INSTALL_PROGRAM) $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done
> +
> +uninstall-eepromer:
> + for program in $(EEPROMER_TARGETS) ; do \
> + $(RM) $(DESTDIR)$(sbindir)/$$program ; \
> + $(RM) $(DESTDIR)$(man8dir)/$$program.8 ; done
> +
> +all: all-eepromer
> +
> +strip: strip-eepromer
> +
> +clean: clean-eepromer
> +
> +install: install-eepromer
> +
> +uninstall: uninstall-eepromer
> diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
> deleted file mode 100644
> index 021090c..0000000
> --- a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -DESCRIPTION = "Set of i2c tools for linux"
> -SECTION = "base"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> -
> -SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
> - file://Module.mk \
> - "
> -SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
> -SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"
> -
> -inherit autotools
> -
> -do_compile_prepend() {
> - cp ${WORKDIR}/Module.mk ${S}/eepromer/
> - sed -i 's#/usr/local#/usr#' Makefile
> - echo "include eepromer/Module.mk" >> Makefile
> -}
> -
> -do_install_append() {
> - install -d ${D}${includedir}/linux
> - install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
> - rm -f ${D}${includedir}/linux/i2c-dev.h
> -}
> diff --git a/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
> new file mode 100644
> index 0000000..7589537
> --- /dev/null
> +++ b/meta-oe/recipes-support/i2c-tools/i2c-tools_3.1.0.bb
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "Set of i2c tools for linux"
> +SECTION = "base"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> +
> +RDEPENDS += "perl"
> +
> +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/i2c-tools/i2c-tools-3.1.0.tar.bz2/f15019e559e378c6e9d5d6299a00df21/i2c-tools-${PV}.tar.bz2 \
> + file://Module.mk \
> + "
> +SRC_URI[md5sum] = "f15019e559e378c6e9d5d6299a00df21"
> +SRC_URI[sha256sum] = "960023f61de292c6dd757fcedec4bffa7dd036e8594e24b26a706094ca4c142a"
> +
> +inherit autotools
> +
> +do_compile_prepend() {
> + cp ${WORKDIR}/Module.mk ${S}/eepromer/
> + sed -i 's#/usr/local#/usr#' Makefile
> + echo "include eepromer/Module.mk" >> Makefile
> +}
> +
> +do_install_append() {
> + install -d ${D}${includedir}/linux
> + install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
> + rm -f ${D}${includedir}/linux/i2c-dev.h
> +}
> --
> 1.7.9.5
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency
2013-01-26 6:45 ` [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency Khem Raj
2013-01-27 19:13 ` Martin Jansa
2013-01-27 20:40 ` Koen Kooi
@ 2013-01-28 10:41 ` Martin Jansa
2 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2013-01-28 10:41 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2117 bytes --]
On Fri, Jan 25, 2013 at 10:45:15PM -0800, Khem Raj wrote:
> Fixes errors like
>
> | Computing transaction...error: Can't install
> arptables-0.0.3+4-r0.0@ppce500v2: no package provides /usr/bin/perl
Applied, please split those perl scripts in followup patch.
Thanks
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../recipes-filter/ebtables/ebtables_2.0.10-4.bb | 2 ++
> .../recipes-support/arptables/arptables_0.0.3-4.bb | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> index 2596d2f..4e9b0bc 100644
> --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
> SECTION = "console/network"
> PR = "r1"
>
> +RDEPENDS += "perl"
> +
> SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
> file://installnonroot.patch \
> file://01debian_defaultconfig.patch \
> diff --git a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
> index 71e2600..8da9bb7 100644
> --- a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
> +++ b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
> @@ -3,6 +3,8 @@ PRIORITY = "optional"
> LICENSE = "GPL-2.0"
> SECTION = "console/network"
>
> +RDEPENDS += "perl"
> +
> LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
> SRC_URI = " \
> ${SOURCEFORGE_MIRROR}/ebtables/arptables-v${PV}.tar.gz;name=arptables \
> --
> 1.7.9.5
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-01-28 10:57 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-26 6:45 [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0 Khem Raj
2013-01-26 6:45 ` [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency Khem Raj
2013-01-27 19:13 ` Martin Jansa
2013-01-27 20:20 ` Joe MacDonald
2013-01-27 20:40 ` Koen Kooi
2013-01-28 10:41 ` Martin Jansa
2013-01-27 19:21 ` [meta-oe][PATCH 1/2] i2c-tools: Upgrade to 3.0.3 -> 3.1.0 Martin Jansa
2013-01-27 20:39 ` Koen Kooi
2013-01-28 8:58 ` Koen Kooi
2013-01-28 10:41 ` Martin Jansa
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.