[packages/libphonenumber] - updated to 8.13.22

qboosh qboosh at pld-linux.org
Sat Oct 14 22:38:50 CEST 2023


commit 46f30bf2b67936bf7911532ead0715c5454acd15
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 14 22:40:54 2023 +0200

    - updated to 8.13.22

 libphonenumber-no-fetch.patch | 20 --------------------
 libphonenumber.spec           |  7 +++++--
 2 files changed, 5 insertions(+), 22 deletions(-)
---
diff --git a/libphonenumber.spec b/libphonenumber.spec
index 406dd02..e6f2b05 100644
--- a/libphonenumber.spec
+++ b/libphonenumber.spec
@@ -7,13 +7,15 @@
 Summary:	Library to handle international phone numbers
 Summary(pl.UTF-8):	Biblioteka do obsługi międzynarodowych numerów telefonów
 Name:		libphonenumber
-Version:	8.13.17
+# note: 8.13.23 doesn't include tools/java/cpp-build/target/cpp-build-1.0-SNAPSHOT-jar-with-dependencies.jar
+# and requires building it by maven(?)
+Version:	8.13.22
 Release:	1
 License:	Apache v2.0 with BSD parts
 Group:		Libraries
 #Source0Download: https://github.com/google/libphonenumber/releases/
 Source0:	https://github.com/google/libphonenumber/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	5a931737f4415b7b427d8fdad2620ac2
+# Source0-md5:	50a7448cabf738d65b30abca9b51f947
 Patch0:		%{name}-link.patch
 Patch1:		%{name}-no-fetch.patch
 Patch2:		no-static.patch
@@ -79,6 +81,7 @@ install -d build/cpp
 cd build/cpp
 %cmake ../../cpp \
 	%{!?with_static_libs:-DBUILD_STATIC_LIB=OFF} \
+	-DCMAKE_CXX_STANDARD=17 \
 	%{?with_re2:-DUSE_RE2=ON}
 
 %{__make}
diff --git a/libphonenumber-no-fetch.patch b/libphonenumber-no-fetch.patch
index 7e4d36b..c9aa873 100644
--- a/libphonenumber-no-fetch.patch
+++ b/libphonenumber-no-fetch.patch
@@ -1,14 +1,5 @@
 --- libphonenumber-8.13.8/cpp/CMakeLists.txt.orig	2023-02-26 10:49:15.997683242 +0100
 +++ libphonenumber-8.13.8/cpp/CMakeLists.txt	2023-02-26 17:16:58.674991835 +0100
-@@ -20,7 +20,7 @@ project (libphonenumber VERSION 8.13.0)
- 
- # Pick the C++ standard to compile with.
- # Abseil currently supports C++11, C++14, and C++17.
--set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard used to compile this project")
-+set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard used to compile this project")
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
- set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
- 
 @@ -106,7 +106,7 @@ if (USE_ALTERNATE_FORMATS)
  endif ()
  
@@ -18,14 +9,3 @@
  
  if(NOT absl_FOUND)
    # Overide abseil install rules for subprojects
---- libphonenumber-8.12.57/tools/cpp/CMakeLists.txt.orig	2023-02-26 10:49:16.001016558 +0100
-+++ libphonenumber-8.12.57/tools/cpp/CMakeLists.txt	2023-02-26 17:39:18.954397584 +0100
-@@ -18,7 +18,7 @@ cmake_minimum_required (VERSION 3.11)
- 
- # Pick the C++ standard to compile with.
- # Abseil currently supports C++11, C++14, and C++17.
--set(CMAKE_CXX_STANDARD 11)
-+set(CMAKE_CXX_STANDARD 17)
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
- 
- project (generate_geocoding_data)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libphonenumber.git/commitdiff/46f30bf2b67936bf7911532ead0715c5454acd15



More information about the pld-cvs-commit mailing list