All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4
@ 2017-05-12 17:42 Marc Ferland
  2017-05-12 17:42 ` [PATCH 2/2] nasm: upgrade 2.12.02 -> 2.13.01 Marc Ferland
  2017-05-12 18:00 ` [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4 Denys Dmytriyenko
  0 siblings, 2 replies; 4+ messages in thread
From: Marc Ferland @ 2017-05-12 17:42 UTC (permalink / raw)
  To: openembedded-core

Upgrade to 3.5.4 and fix libkmod detection (was missing pkgconfig
bbclass).

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
---
 meta/recipes-bsp/pciutils/pciutils_3.5.2.bb | 60 -----------------------------
 meta/recipes-bsp/pciutils/pciutils_3.5.4.bb | 60 +++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+), 60 deletions(-)
 delete mode 100644 meta/recipes-bsp/pciutils/pciutils_3.5.2.bb
 create mode 100644 meta/recipes-bsp/pciutils/pciutils_3.5.4.bb

diff --git a/meta/recipes-bsp/pciutils/pciutils_3.5.2.bb b/meta/recipes-bsp/pciutils/pciutils_3.5.2.bb
deleted file mode 100644
index 9a7297e..0000000
--- a/meta/recipes-bsp/pciutils/pciutils_3.5.2.bb
+++ /dev/null
@@ -1,60 +0,0 @@
-SUMMARY = "PCI utilities"
-DESCRIPTION = 'The PCI Utilities package contains a library for portable access \
-to PCI bus configuration space and several utilities based on this library.'
-HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
-SECTION = "console/utils"
-
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-DEPENDS = "zlib kmod"
-
-SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
-           file://configure.patch \
-           file://guess-fix.patch \
-           file://makefile.patch"
-
-SRC_URI[md5sum] = "1bf5b068bd9f7512e8c68b060b25a1b2"
-SRC_URI[sha256sum] = "3a99141a9f40528d0a0035665a06dc37ddb1ae341658e51b50a76ecf86235efc"
-
-inherit multilib_header
-
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}"
-PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev"
-
-PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes"
-
-# see configure.patch
-do_configure () {
-	(
-	  cd lib && \
-	  # PACKAGECONFIG_CONFARGS for this recipe could only possibly contain 'HWDB=yes/no',
-	  # so we put it before ./configure
-	  ${PCI_CONF_FLAG} ${PACKAGECONFIG_CONFARGS} ./configure ${PV} ${datadir} ${TARGET_OS} ${TARGET_ARCH}
-	)
-}
-
-export PREFIX = "${prefix}"
-export SBINDIR = "${sbindir}"
-export SHAREDIR = "${datadir}"
-export MANDIR = "${mandir}"
-
-EXTRA_OEMAKE = "-e MAKEFLAGS= ${PCI_CONF_FLAG}"
-
-# The configure script breaks if the HOST variable is set
-HOST[unexport] = "1"
-
-do_install () {
-	oe_runmake DESTDIR=${D} install install-lib
-
-	install -d ${D}${bindir}
-	ln -s ../sbin/lspci ${D}${bindir}/lspci
-
-	oe_multilib_header pci/config.h
-}
-
-PACKAGES =+ "${PN}-ids libpci"
-FILES_${PN}-ids = "${datadir}/pci.ids*"
-FILES_libpci = "${libdir}/libpci.so.*"
-SUMMARY_${PN}-ids = "PCI utilities - device ID database"
-DESCRIPTION_${PN}-ids = "Package providing the PCI device ID database for pciutils."
-RDEPENDS_${PN} += "${PN}-ids"
diff --git a/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb b/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
new file mode 100644
index 0000000..0faa501
--- /dev/null
+++ b/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
@@ -0,0 +1,60 @@
+SUMMARY = "PCI utilities"
+DESCRIPTION = "The PCI Utilities package contains a library for portable access \
+to PCI bus configuration space and several utilities based on this library."
+HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
+SECTION = "console/utils"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+DEPENDS = "zlib kmod"
+
+SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
+           file://configure.patch \
+           file://guess-fix.patch \
+           file://makefile.patch"
+
+SRC_URI[md5sum] = "e82537cd2194111c45fa7e684b52252e"
+SRC_URI[sha256sum] = "64293c6ab9318c40ef262b76d87bd9097531759752bac556e50979b1e63cfe66"
+
+inherit multilib_header pkgconfig
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}"
+PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev"
+
+PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes"
+
+# see configure.patch
+do_configure () {
+	(
+	  cd lib && \
+	  # PACKAGECONFIG_CONFARGS for this recipe could only possibly contain 'HWDB=yes/no',
+	  # so we put it before ./configure
+	  ${PCI_CONF_FLAG} ${PACKAGECONFIG_CONFARGS} ./configure ${PV} ${datadir} ${TARGET_OS} ${TARGET_ARCH}
+	)
+}
+
+export PREFIX = "${prefix}"
+export SBINDIR = "${sbindir}"
+export SHAREDIR = "${datadir}"
+export MANDIR = "${mandir}"
+
+EXTRA_OEMAKE = "-e MAKEFLAGS= ${PCI_CONF_FLAG}"
+
+# The configure script breaks if the HOST variable is set
+HOST[unexport] = "1"
+
+do_install () {
+	oe_runmake DESTDIR=${D} install install-lib
+
+	install -d ${D}${bindir}
+	ln -s ../sbin/lspci ${D}${bindir}/lspci
+
+	oe_multilib_header pci/config.h
+}
+
+PACKAGES =+ "${PN}-ids libpci"
+FILES_${PN}-ids = "${datadir}/pci.ids*"
+FILES_libpci = "${libdir}/libpci.so.*"
+SUMMARY_${PN}-ids = "PCI utilities - device ID database"
+DESCRIPTION_${PN}-ids = "Package providing the PCI device ID database for pciutils."
+RDEPENDS_${PN} += "${PN}-ids"
-- 
2.7.4



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

* [PATCH 2/2] nasm: upgrade 2.12.02 -> 2.13.01
  2017-05-12 17:42 [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4 Marc Ferland
@ 2017-05-12 17:42 ` Marc Ferland
  2017-05-12 18:00 ` [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4 Denys Dmytriyenko
  1 sibling, 0 replies; 4+ messages in thread
From: Marc Ferland @ 2017-05-12 17:42 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
---
 meta/recipes-devtools/nasm/nasm_2.12.02.bb | 28 ----------------------------
 meta/recipes-devtools/nasm/nasm_2.13.01.bb | 28 ++++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 28 deletions(-)
 delete mode 100644 meta/recipes-devtools/nasm/nasm_2.12.02.bb
 create mode 100644 meta/recipes-devtools/nasm/nasm_2.13.01.bb

diff --git a/meta/recipes-devtools/nasm/nasm_2.12.02.bb b/meta/recipes-devtools/nasm/nasm_2.12.02.bb
deleted file mode 100644
index 3280b84..0000000
--- a/meta/recipes-devtools/nasm/nasm_2.12.02.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-SUMMARY = "General-purpose x86 assembler"
-SECTION = "devel"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=90904486f8fbf1861cf42752e1a39efe"
-
-SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 "
-
-SRC_URI[md5sum] = "d15843c3fb7db39af80571ee27ec6fad"
-SRC_URI[sha256sum] = "00b0891c678c065446ca59bcee64719d0096d54d6886e6e472aeee2e170ae324"
-
-inherit autotools-brokensep
-
-do_configure_prepend () {
-	if [ -f ${S}/aclocal.m4 ] && [ ! -f ${S}/acinclude.m4 ]; then
-		mv ${S}/aclocal.m4 ${S}/acinclude.m4
-	fi
-}
-
-do_install() {
-	install -d ${D}${bindir}
-	install -d ${D}${mandir}/man1
-
-	oe_runmake 'INSTALLROOT=${D}' install
-}
-
-BBCLASSEXTEND = "native"
-
-DEPENDS = "groff-native"
diff --git a/meta/recipes-devtools/nasm/nasm_2.13.01.bb b/meta/recipes-devtools/nasm/nasm_2.13.01.bb
new file mode 100644
index 0000000..b17bb53
--- /dev/null
+++ b/meta/recipes-devtools/nasm/nasm_2.13.01.bb
@@ -0,0 +1,28 @@
+SUMMARY = "General-purpose x86 assembler"
+SECTION = "devel"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=90904486f8fbf1861cf42752e1a39efe"
+
+SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "b3ae134bd1b5ead73d659286f568da95"
+SRC_URI[sha256sum] = "aa0213008f0433ecbe07bb628506a5c4be8079be20fc3532a5031fd639db9a5e"
+
+inherit autotools-brokensep
+
+do_configure_prepend () {
+	if [ -f ${S}/aclocal.m4 ] && [ ! -f ${S}/acinclude.m4 ]; then
+		mv ${S}/aclocal.m4 ${S}/acinclude.m4
+	fi
+}
+
+do_install() {
+	install -d ${D}${bindir}
+	install -d ${D}${mandir}/man1
+
+	oe_runmake 'INSTALLROOT=${D}' install
+}
+
+BBCLASSEXTEND = "native"
+
+DEPENDS = "groff-native"
-- 
2.7.4



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

* Re: [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4
  2017-05-12 17:42 [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4 Marc Ferland
  2017-05-12 17:42 ` [PATCH 2/2] nasm: upgrade 2.12.02 -> 2.13.01 Marc Ferland
@ 2017-05-12 18:00 ` Denys Dmytriyenko
  2017-05-12 18:07   ` Marc Ferland
  1 sibling, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2017-05-12 18:00 UTC (permalink / raw)
  To: Marc Ferland; +Cc: openembedded-core

Can this be generated as a diff between versions? You may need to use "git mv" 
and/or pass -M to "git format-patch"...


On Fri, May 12, 2017 at 01:42:39PM -0400, Marc Ferland wrote:
> Upgrade to 3.5.4 and fix libkmod detection (was missing pkgconfig
> bbclass).
> 
> Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
> ---
>  meta/recipes-bsp/pciutils/pciutils_3.5.2.bb | 60 -----------------------------
>  meta/recipes-bsp/pciutils/pciutils_3.5.4.bb | 60 +++++++++++++++++++++++++++++
>  2 files changed, 60 insertions(+), 60 deletions(-)
>  delete mode 100644 meta/recipes-bsp/pciutils/pciutils_3.5.2.bb
>  create mode 100644 meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
> 
> diff --git a/meta/recipes-bsp/pciutils/pciutils_3.5.2.bb b/meta/recipes-bsp/pciutils/pciutils_3.5.2.bb
> deleted file mode 100644
> index 9a7297e..0000000
> --- a/meta/recipes-bsp/pciutils/pciutils_3.5.2.bb
> +++ /dev/null
> @@ -1,60 +0,0 @@
> -SUMMARY = "PCI utilities"
> -DESCRIPTION = 'The PCI Utilities package contains a library for portable access \
> -to PCI bus configuration space and several utilities based on this library.'
> -HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
> -SECTION = "console/utils"
> -
> -LICENSE = "GPLv2+"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> -DEPENDS = "zlib kmod"
> -
> -SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
> -           file://configure.patch \
> -           file://guess-fix.patch \
> -           file://makefile.patch"
> -
> -SRC_URI[md5sum] = "1bf5b068bd9f7512e8c68b060b25a1b2"
> -SRC_URI[sha256sum] = "3a99141a9f40528d0a0035665a06dc37ddb1ae341658e51b50a76ecf86235efc"
> -
> -inherit multilib_header
> -
> -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}"
> -PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev"
> -
> -PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes"
> -
> -# see configure.patch
> -do_configure () {
> -	(
> -	  cd lib && \
> -	  # PACKAGECONFIG_CONFARGS for this recipe could only possibly contain 'HWDB=yes/no',
> -	  # so we put it before ./configure
> -	  ${PCI_CONF_FLAG} ${PACKAGECONFIG_CONFARGS} ./configure ${PV} ${datadir} ${TARGET_OS} ${TARGET_ARCH}
> -	)
> -}
> -
> -export PREFIX = "${prefix}"
> -export SBINDIR = "${sbindir}"
> -export SHAREDIR = "${datadir}"
> -export MANDIR = "${mandir}"
> -
> -EXTRA_OEMAKE = "-e MAKEFLAGS= ${PCI_CONF_FLAG}"
> -
> -# The configure script breaks if the HOST variable is set
> -HOST[unexport] = "1"
> -
> -do_install () {
> -	oe_runmake DESTDIR=${D} install install-lib
> -
> -	install -d ${D}${bindir}
> -	ln -s ../sbin/lspci ${D}${bindir}/lspci
> -
> -	oe_multilib_header pci/config.h
> -}
> -
> -PACKAGES =+ "${PN}-ids libpci"
> -FILES_${PN}-ids = "${datadir}/pci.ids*"
> -FILES_libpci = "${libdir}/libpci.so.*"
> -SUMMARY_${PN}-ids = "PCI utilities - device ID database"
> -DESCRIPTION_${PN}-ids = "Package providing the PCI device ID database for pciutils."
> -RDEPENDS_${PN} += "${PN}-ids"
> diff --git a/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb b/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
> new file mode 100644
> index 0000000..0faa501
> --- /dev/null
> +++ b/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
> @@ -0,0 +1,60 @@
> +SUMMARY = "PCI utilities"
> +DESCRIPTION = "The PCI Utilities package contains a library for portable access \
> +to PCI bus configuration space and several utilities based on this library."
> +HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
> +SECTION = "console/utils"
> +
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> +DEPENDS = "zlib kmod"
> +
> +SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
> +           file://configure.patch \
> +           file://guess-fix.patch \
> +           file://makefile.patch"
> +
> +SRC_URI[md5sum] = "e82537cd2194111c45fa7e684b52252e"
> +SRC_URI[sha256sum] = "64293c6ab9318c40ef262b76d87bd9097531759752bac556e50979b1e63cfe66"
> +
> +inherit multilib_header pkgconfig
> +
> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}"
> +PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev"
> +
> +PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes"
> +
> +# see configure.patch
> +do_configure () {
> +	(
> +	  cd lib && \
> +	  # PACKAGECONFIG_CONFARGS for this recipe could only possibly contain 'HWDB=yes/no',
> +	  # so we put it before ./configure
> +	  ${PCI_CONF_FLAG} ${PACKAGECONFIG_CONFARGS} ./configure ${PV} ${datadir} ${TARGET_OS} ${TARGET_ARCH}
> +	)
> +}
> +
> +export PREFIX = "${prefix}"
> +export SBINDIR = "${sbindir}"
> +export SHAREDIR = "${datadir}"
> +export MANDIR = "${mandir}"
> +
> +EXTRA_OEMAKE = "-e MAKEFLAGS= ${PCI_CONF_FLAG}"
> +
> +# The configure script breaks if the HOST variable is set
> +HOST[unexport] = "1"
> +
> +do_install () {
> +	oe_runmake DESTDIR=${D} install install-lib
> +
> +	install -d ${D}${bindir}
> +	ln -s ../sbin/lspci ${D}${bindir}/lspci
> +
> +	oe_multilib_header pci/config.h
> +}
> +
> +PACKAGES =+ "${PN}-ids libpci"
> +FILES_${PN}-ids = "${datadir}/pci.ids*"
> +FILES_libpci = "${libdir}/libpci.so.*"
> +SUMMARY_${PN}-ids = "PCI utilities - device ID database"
> +DESCRIPTION_${PN}-ids = "Package providing the PCI device ID database for pciutils."
> +RDEPENDS_${PN} += "${PN}-ids"
> -- 
> 2.7.4
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4
  2017-05-12 18:00 ` [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4 Denys Dmytriyenko
@ 2017-05-12 18:07   ` Marc Ferland
  0 siblings, 0 replies; 4+ messages in thread
From: Marc Ferland @ 2017-05-12 18:07 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

On Fri, May 12, 2017 at 2:00 PM, Denys Dmytriyenko <denis@denix.org> wrote:

> Can this be generated as a diff between versions? You may need to use "git
> mv"
> and/or pass -M to "git format-patch"...
>


oops, I did forgot to specify -M, v2 coming up...

[-- Attachment #2: Type: text/html, Size: 595 bytes --]

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

end of thread, other threads:[~2017-05-12 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-12 17:42 [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4 Marc Ferland
2017-05-12 17:42 ` [PATCH 2/2] nasm: upgrade 2.12.02 -> 2.13.01 Marc Ferland
2017-05-12 18:00 ` [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4 Denys Dmytriyenko
2017-05-12 18:07   ` Marc Ferland

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.