All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 17/50] librepo: update to 1.8.1
Date: Wed, 11 Oct 2017 18:34:09 +0300	[thread overview]
Message-ID: <81aa6d6c58678a7d85464bda484d1f78a86ec6e4.1507735448.git.alexander.kanavin@linux.intel.com> (raw)
In-Reply-To: <cover.1507735448.git.alexander.kanavin@linux.intel.com>

Drop upstreamed patches, rebase the PYTHON_INSTALL_DIR patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 ...ly-set-the-library-installation-directory.patch | 28 -------------
 ...to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch | 49 +++++++++++++++-------
 ...-race-when-deleting-temporary-directories.patch | 41 ------------------
 ...rrect-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch | 40 ------------------
 .../librepo/{librepo_git.bb => librepo_1.8.1.bb}   |  6 +--
 5 files changed, 36 insertions(+), 128 deletions(-)
 delete mode 100644 meta/recipes-devtools/librepo/librepo/0001-Correctly-set-the-library-installation-directory.patch
 delete mode 100644 meta/recipes-devtools/librepo/librepo/0003-tests-fix-a-race-when-deleting-temporary-directories.patch
 delete mode 100644 meta/recipes-devtools/librepo/librepo/0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch
 rename meta/recipes-devtools/librepo/{librepo_git.bb => librepo_1.8.1.bb} (68%)

diff --git a/meta/recipes-devtools/librepo/librepo/0001-Correctly-set-the-library-installation-directory.patch b/meta/recipes-devtools/librepo/librepo/0001-Correctly-set-the-library-installation-directory.patch
deleted file mode 100644
index 08a58f17554..00000000000
--- a/meta/recipes-devtools/librepo/librepo/0001-Correctly-set-the-library-installation-directory.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 36d87919223db9b054862ad38cdda8d9222a2bab Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 30 Dec 2016 18:04:35 +0200
-Subject: [PATCH 1/4] Correctly set the library installation directory
-
-Upstream-Status: Submitted [https://github.com/rpm-software-management/librepo/pull/110]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- librepo/CMakeLists.txt | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/librepo/CMakeLists.txt b/librepo/CMakeLists.txt
-index 2fe76d8..5026def 100644
---- a/librepo/CMakeLists.txt
-+++ b/librepo/CMakeLists.txt
-@@ -60,7 +60,8 @@ CONFIGURE_FILE("version.h.in" "${CMAKE_CURRENT_SOURCE_DIR}/version.h" @ONLY)
- IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
-   SET (LIB_SUFFIX "64")
- ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8")
--SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
-+#SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
-+SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}")
- 
- INSTALL(FILES ${librepo_HEADERS} DESTINATION include/librepo)
- INSTALL(TARGETS librepo LIBRARY DESTINATION ${LIB_INSTALL_DIR})
--- 
-2.11.0
-
diff --git a/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch b/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
index 7138dfce21d..d69deb5110d 100644
--- a/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
+++ b/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
@@ -1,41 +1,62 @@
-From 1570ad33dd7e5d83f3ee80bd104b114709ac1e34 Mon Sep 17 00:00:00 2001
+From 5b6849d9d7e030c3a521b5245d86f853b0271a61 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex.kanavin@gmail.com>
 Date: Fri, 30 Dec 2016 18:05:36 +0200
-Subject: [PATCH 2/4] Do not try to obtain PYTHON_INSTALL_DIR by running
+Subject: [PATCH 1/2] Do not try to obtain PYTHON_INSTALL_DIR by running
  python.
 
 Upstream-Status: Inappropriate [oe-core specific]
 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+
 ---
- librepo/python/python2/CMakeLists.txt | 2 +-
- librepo/python/python3/CMakeLists.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
+ librepo/python/python2/CMakeLists.txt | 12 ++++++------
+ librepo/python/python3/CMakeLists.txt | 12 ++++++------
+ 2 files changed, 12 insertions(+), 12 deletions(-)
 
 diff --git a/librepo/python/python2/CMakeLists.txt b/librepo/python/python2/CMakeLists.txt
-index 3615e17..cffa99f 100644
+index 5ffbd62..90d3c22 100644
 --- a/librepo/python/python2/CMakeLists.txt
 +++ b/librepo/python/python2/CMakeLists.txt
-@@ -1,6 +1,6 @@
+@@ -1,11 +1,11 @@
  FIND_PACKAGE (PythonLibs 2 )
  FIND_PACKAGE (PythonInterp 2 REQUIRED)
--EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
-+#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
+-from sys import stdout
+-from distutils import sysconfig
+-path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
+-stdout.write(path)"
+-OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
++#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
++#from sys import stdout
++#from distutils import sysconfig
++#path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
++#stdout.write(path)"
++#OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
  INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
  
  MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
 diff --git a/librepo/python/python3/CMakeLists.txt b/librepo/python/python3/CMakeLists.txt
-index dfecac9..38bcc72 100644
+index 47559f7..b39adc2 100644
 --- a/librepo/python/python3/CMakeLists.txt
 +++ b/librepo/python/python3/CMakeLists.txt
-@@ -10,7 +10,7 @@ message("--- ${PYTHON_INCLUDE_DIR}")
+@@ -10,12 +10,12 @@ message("--- ${PYTHON_INCLUDE_DIR}")
  
  FIND_PACKAGE(PythonLibs 3.0)
  FIND_PACKAGE(PythonInterp 3.0 REQUIRED)
--EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
-+#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
+-from sys import stdout
+-from distutils import sysconfig
+-path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
+-stdout.write(path)"
+-OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
++#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
++#from sys import stdout
++#from distutils import sysconfig
++#path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
++#stdout.write(path)"
++#OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
  INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
  
  MESSAGE(STATUS "Python3 install dir is ${PYTHON_INSTALL_DIR}")
 -- 
-2.11.0
+2.14.1
 
diff --git a/meta/recipes-devtools/librepo/librepo/0003-tests-fix-a-race-when-deleting-temporary-directories.patch b/meta/recipes-devtools/librepo/librepo/0003-tests-fix-a-race-when-deleting-temporary-directories.patch
deleted file mode 100644
index 89ca60e8186..00000000000
--- a/meta/recipes-devtools/librepo/librepo/0003-tests-fix-a-race-when-deleting-temporary-directories.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From b1a5c92dbd1d11f1afdc094fccea64de334d2783 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 30 Dec 2016 18:06:24 +0200
-Subject: [PATCH 3/4] tests: fix a race when deleting temporary directories
-
-Upstream-Status: Submitted [https://github.com/rpm-software-management/librepo/pull/110]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- tests/python/tests/test_yum_repo_downloading.py | 2 +-
- tests/python/tests/test_yum_repo_locating.py    | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/python/tests/test_yum_repo_downloading.py b/tests/python/tests/test_yum_repo_downloading.py
-index ad597dc..4a32519 100644
---- a/tests/python/tests/test_yum_repo_downloading.py
-+++ b/tests/python/tests/test_yum_repo_downloading.py
-@@ -32,7 +32,7 @@ class TestCaseYumRepoDownloading(TestCaseWithFlask):
-             os.environ.pop('GNUPGHOME')
-         else:
-             os.environ['GNUPGHOME'] = self._gnupghome
--        shutil.rmtree(self.tmpdir)
-+        shutil.rmtree(self.tmpdir, True)
- 
-     def test_download_repo_01(self):
-         h = librepo.Handle()
-diff --git a/tests/python/tests/test_yum_repo_locating.py b/tests/python/tests/test_yum_repo_locating.py
-index 8f4bea5..db4294c 100644
---- a/tests/python/tests/test_yum_repo_locating.py
-+++ b/tests/python/tests/test_yum_repo_locating.py
-@@ -34,7 +34,7 @@ class TestCaseYumRepoLocating(TestCase):
-             os.environ.pop('GNUPGHOME')
-         else:
-             os.environ['GNUPGHOME'] = self._gnupghome
--        shutil.rmtree(self.tmpdir)
-+        shutil.rmtree(self.tmpdir, True)
- 
-     def test_read_mirrorlist(self):
-         h = librepo.Handle()
--- 
-2.11.0
-
diff --git a/meta/recipes-devtools/librepo/librepo/0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch b/meta/recipes-devtools/librepo/librepo/0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch
deleted file mode 100644
index b0c7d1ca309..00000000000
--- a/meta/recipes-devtools/librepo/librepo/0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From a4bbbccce6edc1a2d1bd475506e2975fd7696c88 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Thu, 8 Jun 2017 16:31:30 +0800
-Subject: [PATCH] Fix typo: correct LRO_SSLVERIFYHOST with
- CURLOPT_SSL_VERIFYHOST
-
-In commit 51d32c6cd88ba0139c32793183fd6a236c1ef456
----
-Author: Tomas Mlcoch <tmlcoch@redhat.com>
-Date:   Mon May 5 14:31:35 2014 +0200
-
-    Add LRO_SSLVERIFYPEER and LRO_SSLVERIFYHOST options (RhBug: 1093014)
----
-
-It incorrectly setopt CURLOPT_SSL_VERIFYPEER for LRO_SSLVERIFYHOST.
-Use CURLOPT_SSL_VERIFYHOST to correct.
-
-Upstream-Status: Submitted
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- librepo/handle.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/librepo/handle.c b/librepo/handle.c
-index ccea79b..ff39db4 100644
---- a/librepo/handle.c
-+++ b/librepo/handle.c
-@@ -629,7 +629,7 @@ lr_handle_setopt(LrHandle *handle,
- 
-     case LRO_SSLVERIFYHOST:
-         handle->sslverifyhost = va_arg(arg, long) ? 2 : 0;
--        c_rc = curl_easy_setopt(c_h, CURLOPT_SSL_VERIFYPEER, handle->sslverifyhost);
-+        c_rc = curl_easy_setopt(c_h, CURLOPT_SSL_VERIFYHOST, handle->sslverifyhost);
-         break;
- 
-     case LRO_SSLCLIENTCERT:
--- 
-2.7.4
-
diff --git a/meta/recipes-devtools/librepo/librepo_git.bb b/meta/recipes-devtools/librepo/librepo_1.8.1.bb
similarity index 68%
rename from meta/recipes-devtools/librepo/librepo_git.bb
rename to meta/recipes-devtools/librepo/librepo_1.8.1.bb
index 3238b14face..0324104a37a 100644
--- a/meta/recipes-devtools/librepo/librepo_git.bb
+++ b/meta/recipes-devtools/librepo/librepo_1.8.1.bb
@@ -3,15 +3,11 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = "git://github.com/rpm-software-management/librepo.git \
-           file://0001-Correctly-set-the-library-installation-directory.patch \
            file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \
-           file://0003-tests-fix-a-race-when-deleting-temporary-directories.patch \
            file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
-           file://0005-Fix-typo-correct-LRO_SSLVERIFYHOST-with-CURLOPT_SSL_.patch \
            "
 
-PV = "1.7.20+git${SRCPV}"
-SRCREV = "e1137cbbda78fecb192146300790680a5bc811b1"
+SRCREV = "7b9b7bf388f3f059529c6f50c40b30919fef30f9"
 
 S = "${WORKDIR}/git"
 
-- 
2.14.1



  parent reply	other threads:[~2017-10-11 15:38 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-11 15:33 [PATCH 00/50] Recipe updates and fixes Alexander Kanavin
2017-10-11 15:33 ` [PATCH 01/50] oprofile: remove the recipe Alexander Kanavin
2017-10-12  1:09   ` Denys Dmytriyenko
2017-10-12  1:20     ` Khem Raj
2017-10-12 12:50       ` Alexander Kanavin
2017-10-11 15:33 ` [PATCH 02/50] libpfm4: " Alexander Kanavin
2017-10-11 15:33 ` [PATCH 03/50] glib-2.0: update to 2.54.1 Alexander Kanavin
2017-11-07 23:42   ` Alistair Francis
2017-10-11 15:33 ` [PATCH 04/50] glib-networking: update to 2.54.0 Alexander Kanavin
2017-10-11 15:33 ` [PATCH 05/50] eudev: fix upstream version check Alexander Kanavin
2017-10-11 15:33 ` [PATCH 06/50] tcf-agent: latest upstream version is now known Alexander Kanavin
2017-10-11 15:33 ` [PATCH 07/50] go-helloworld: add an acknowledgement of unknown upstream version Alexander Kanavin
2017-10-11 15:34 ` [PATCH 08/50] dtc: update to 1.4.5 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 09/50] lz4: fix upstream version check Alexander Kanavin
2017-10-11 15:34 ` [PATCH 10/50] freetype: " Alexander Kanavin
2017-10-11 15:34 ` [PATCH 11/50] libxslt: update to 1.1.31 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 12/50] vala: update to 0.38.2 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 13/50] btrfs-tools: update to 4.13.2 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 14/50] mpg123: update to 1.25.7 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 15/50] libsolv: update to 0.6.29 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 16/50] libdnf: update to 0.11.0 Alexander Kanavin
2017-10-11 15:34 ` Alexander Kanavin [this message]
2017-10-11 15:34 ` [PATCH 18/50] dnf: update to 2.7.3 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 19/50] ffmpeg: upgrade to 3.3.4 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 20/50] gobject-introspection: update to 1.54.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 21/50] boost: update to 1.65.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 22/50] gnome-desktop3: Update to 3.26.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 23/50] iso-codes: update to 3.76 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 24/50] sysprof: update to 3.26.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 25/50] gtk-doc.bbclass: correctly make the list of directories with shared libraries Alexander Kanavin
2017-10-11 15:34 ` [PATCH 26/50] webkitgtk: update to 2.18.0 Alexander Kanavin
2017-10-12  5:09   ` Khem Raj
2017-10-12 12:55     ` Alexander Kanavin
2017-10-12 13:57       ` Khem Raj
2017-10-11 15:34 ` [PATCH 27/50] gtk+3: update to 3.22.24 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 28/50] freetype: update to 2.8.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 29/50] vulkan: update to 1.0.61.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 30/50] xdg-utils: update to 1.1.2 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 31/50] gsettings-desktop-schemas: update to 3.24.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 32/50] libsoup-2.4: update to 2.60.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 33/50] adwaita-icon-theme: update to 3.26.0 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 34/50] shared-mime-info: update to 1.9 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 35/50] assimp: update to 4.0.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 36/50] gdk-pixbuf: update to 2.36.11 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 37/50] hicolor-icon-theme: update to 0.17 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 38/50] libgudev: update to 232 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 39/50] pango: update to 1.40.12 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 40/50] fontconfig: update to 2.12.6 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 41/50] libinput: update to 1.8.3 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 42/50] vte: update to 0.50.1 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 43/50] librsvg: update to 2.40.19 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 44/50] clutter-gtk-1.0: update to 1.8.4 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 45/50] at-spi2-core: update to 2.26.0 Alexander Kanavin
2017-11-08 21:03   ` Burton, Ross
2017-10-11 15:34 ` [PATCH 46/50] at-spi2-atk: " Alexander Kanavin
2017-10-11 15:34 ` [PATCH 47/50] atk: " Alexander Kanavin
2017-10-11 15:34 ` [PATCH 48/50] glew: update to 2.1.0 Alexander Kanavin
2017-10-11 15:34 ` [PATCH 49/50] maintainers.inc: add Mark Hatle for libmnl Alexander Kanavin
2017-10-11 16:10   ` Mark Hatle
2017-10-12  0:39     ` Khem Raj
2017-10-12 12:49       ` Alexander Kanavin
2017-10-11 15:34 ` [PATCH 50/50] maintainers.inc: add Otavio Salvador for go-dep Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81aa6d6c58678a7d85464bda484d1f78a86ec6e4.1507735448.git.alexander.kanavin@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.