Merge pull request #16996 from suvari/master

new packages: libphonenumber and futuresql
This commit is contained in:
Kamil ATLI
2025-07-13 16:15:45 +03:00
committed by GitHub
11 changed files with 381 additions and 11 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import kde6
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
kde6.configure()
def build():
kde6.make()
def install():
kde6.install()
pisitools.dodoc("README.md")
+54
View File
@@ -0,0 +1,54 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>futuresql</Name>
<Homepage>https://api.kde.org/futuresql/html/index.html</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<Icon>futuresql</Icon>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Non-blocking Qt database framework</Summary>
<Description>A non-blocking database framework for Qt. FutureSQL was in part inspired by Diesel, and provides a higher level of abstraction than QtSql. Its features include non-blocking database access by default, relatively boilderplate-free queries, automatic database migrations and simple mapping to objects.</Description>
<Archive sha1sum="6eae044d65752264f838f8e578427d67fc86076b" type="targz">https://github.com/KDE/futuresql/archive/refs/tags/v0.1.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>qt6-sql-odbc</Dependency>
<Dependency>qt6-sql-mysql</Dependency>
<Dependency>qt6-sql-sqlite</Dependency>
<Dependency>qt6-sql-postgresql</Dependency>
<Dependency>extra-cmake-modules</Dependency>
<Dependency versionFrom="6.9.0">qt6-base-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>futuresql</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency versionFrom="6.9.0">qt6-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/FutureSQL6</Path>
<Path fileType="library">/usr/lib/libfuturesql6.so*</Path>
<Path fileType="library">/usr/lib/cmake/FutureSQL6</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-07-13</Date>
<Version>0.1.1</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+126 -9
View File
@@ -92345,6 +92345,55 @@ talking to the kernel.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>futuresql</Name>
<Homepage>https://api.kde.org/futuresql/html/index.html</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<PartOf>desktop.misc</PartOf>
<Summary xml:lang="en">Non-blocking Qt database framework</Summary>
<Description xml:lang="en">A non-blocking database framework for Qt. FutureSQL was in part inspired by Diesel, and provides a higher level of abstraction than QtSql. Its features include non-blocking database access by default, relatively boilderplate-free queries, automatic database migrations and simple mapping to objects.</Description>
<Icon>futuresql</Icon>
<Archive type="targz" sha1sum="6eae044d65752264f838f8e578427d67fc86076b" name="v0.1.1.tar.gz">https://github.com/KDE/futuresql/archive/refs/tags/v0.1.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>qt6-sql-odbc</Dependency>
<Dependency>qt6-sql-mysql</Dependency>
<Dependency>qt6-sql-sqlite</Dependency>
<Dependency>qt6-sql-postgresql</Dependency>
<Dependency>extra-cmake-modules</Dependency>
<Dependency versionFrom="6.9.0">qt6-base-devel</Dependency>
</BuildDependencies>
<SourceURI>desktop/misc/futuresql/pspec.xml</SourceURI>
</Source>
<Package>
<Name>futuresql</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency versionFrom="6.9.0">qt6-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/FutureSQL6</Path>
<Path fileType="library">/usr/lib/libfuturesql6.so*</Path>
<Path fileType="library">/usr/lib/cmake/FutureSQL6</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-07-13</Date>
<Version>0.1.1</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>gdm</Name>
@@ -236527,7 +236576,7 @@ complete albums that you have purchased from Amazon.</Description>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libLLVM*.so</Path>
<Path fileType="library">/usr/lib/libLLVM*.so.19*</Path>
<Path fileType="library">/usr/lib/libLLVM*.so*</Path>
<Path fileType="library">/usr/lib/LLVMgold.*</Path>
<Path fileType="library">/usr/lib/libLTO.*</Path>
<Path fileType="library">/usr/lib/libRemarks.so*</Path>
@@ -236648,11 +236697,11 @@ complete albums that you have purchased from Amazon.</Description>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/clang/19/lib/linux/*.so</Path>
<Path fileType="library">/usr/lib/clang/19/lib/i386-pc-linux-gnu/*.so</Path>
<Path fileType="library">/usr/lib/clang/19/lib/i386-pc-linux-gnu/*.a</Path>
<Path fileType="library">/usr/lib/clang/19/lib/x86_64-pc-linux-gnu/*.so</Path>
<Path fileType="library">/usr/lib/clang/19/lib/x86_64-pc-linux-gnu/*.a</Path>
<Path fileType="library">/usr/lib/clang/20/lib/linux/*.so</Path>
<Path fileType="library">/usr/lib/clang/20/lib/i386-pc-linux-gnu/*.so</Path>
<Path fileType="library">/usr/lib/clang/20/lib/i386-pc-linux-gnu/*.a</Path>
<Path fileType="library">/usr/lib/clang/20/lib/x86_64-pc-linux-gnu/*.so</Path>
<Path fileType="library">/usr/lib/clang/20/lib/x86_64-pc-linux-gnu/*.a</Path>
</Files>
</Package>
<Package>
@@ -236706,10 +236755,10 @@ complete albums that you have purchased from Amazon.</Description>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/clang</Path>
<Path fileType="header">/usr/lib/clang/19.1.7/include</Path>
<Path fileType="header">/usr/lib32/clang/19/include</Path>
<Path fileType="header">/usr/lib/clang/20.1.8/include</Path>
<Path fileType="header">/usr/lib32/clang/20/include</Path>
<Path fileType="data">/usr/lib32/cmake/clang/Clang*</Path>
<Path fileType="header">/usr/lib/clang/19/include</Path>
<Path fileType="header">/usr/lib/clang/20/include</Path>
<Path fileType="data">/usr/lib/cmake/clang/Clang*</Path>
<Path fileType="header">/usr/include/clang-c</Path>
<Path fileType="header">/usr/include/clang-tidy</Path>
@@ -294158,6 +294207,74 @@ yığın. Üç bölüm sağlar:</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>libphonenumber</Name>
<Homepage>https://github.com/googlei18n/libphonenumber</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>Apache</License>
<IsA>library</IsA>
<PartOf>programming.library</PartOf>
<Summary xml:lang="en">Google&apos;s common library for parsing, formatting, and validating international phone numbers</Summary>
<Summary xml:lang="tr">Google&apos;ın uluslararası telefon numaralarını ayrıştırma, biçimlendirme ve doğrulama için ortak kütüphanesi</Summary>
<Description xml:lang="en">Google&apos;s common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers. The Java version is optimized for running on smartphones, and is used by the Android framework since 4.0</Description>
<Description xml:lang="tr">Google&apos;ın uluslararası telefon numaralarını ayrıştırma, biçimlendirme ve doğrulama için ortak Java, C++ ve JavaScript kitaplığı. Java sürümü akıllı telefonlarda çalışmak üzere optimize edilmiştir ve 4.0&apos;dan beri Android çerçevesi tarafından kullanılmaktadır.</Description>
<Archive type="targz" sha1sum="ad6c4dc459b9029b3eaad5f4431a756a2a040291" name="v9.0.9.tar.gz">https://github.com/google/libphonenumber/archive/refs/tags/v9.0.9.tar.gz</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>cmake</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>icu4c-devel</Dependency>
<Dependency>gtest-devel</Dependency>
<Dependency>protobuf-devel</Dependency>
<Dependency>abseil-cpp-devel</Dependency>
<Dependency>jre8-openjdk-headless</Dependency>
</BuildDependencies>
<Patches>
<Patch>0002-Remove-Werror.patch</Patch>
<Patch>libphonenumber-8.13.47-cmake.patch</Patch>
</Patches>
<SourceURI>programming/library/libphonenumber/pspec.xml</SourceURI>
</Source>
<Package>
<Name>libphonenumber</Name>
<RuntimeDependencies>
<Dependency>icu4c</Dependency>
<Dependency>boost</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>protobuf</Dependency>
<Dependency>abseil-cpp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib/libgeocoding.so*</Path>
<Path fileType="library">/usr/lib/libphonenumber.so*</Path>
</Files>
</Package>
<Package>
<Name>libphonenumber-devel</Name>
<RuntimeDependencies>
<Dependency>abseil-cpp-devel</Dependency>
<Dependency release="1">libphonenumber</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/cmake</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-07-03</Date>
<Version>9.0.9</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>libportal</Name>
+1 -1
View File
@@ -1 +1 @@
4e12ae63a6c68842bee41c0e4f12a9995bd855f9
db8e96d2a16605130a151e1473b966b7f95f9daa
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
7cb2a008983e6ee626b2c42d13b93046934a4763
7aa4b1d62d7daf0bb28c960dec947f7dc29cf420
@@ -0,0 +1,34 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.makedirs("cpp/build")
shelltools.cd("cpp/build")
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr", sourceDir="..")
def build():
shelltools.cd("cpp/build")
cmaketools.make()
def install():
shelltools.cd("cpp/build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
# No static libs
pisitools.remove("/usr/lib/*.a")
shelltools.cd("../..")
pisitools.dodoc("LICENSE")
@@ -0,0 +1,36 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Tue, 29 Apr 2025 19:58:36 +0200
Subject: [PATCH] Remove -Werror
---
cpp/CMakeLists.txt | 2 +-
tools/cpp/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index ad773567dde8..cd606e50ffb9 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -416,7 +416,7 @@ if (USE_ICU_REGEXP)
endif ()
if (NOT WIN32)
- add_definitions ("-Wall -Werror")
+ add_definitions ("-Wall")
endif ()
include_directories ("src")
diff --git a/tools/cpp/CMakeLists.txt b/tools/cpp/CMakeLists.txt
index 314d91cf64c6..1ded960cc4fc 100644
--- a/tools/cpp/CMakeLists.txt
+++ b/tools/cpp/CMakeLists.txt
@@ -25,7 +25,7 @@ set (
)
if (NOT WIN32)
- add_definitions ("-Wall -Werror")
+ add_definitions ("-Wall")
endif ()
include_directories ("src")
@@ -0,0 +1,31 @@
https://gitlab.exherbo.org/exherbo/kde/-/blob/master/packages/dev-libs/libphonenumber/files/Link-the-test-program-to-the-shared-lib-to-allow-bui.patch?ref_type=heads
https://github.com/google/libphonenumber/pull/2556 (previous version)
Upstream: no
Reason: fails to link with -DBUILD_STATIC_LIB=OFF
From 0b50dcf8299e3c18cdc158f40aa97cdb0318b08e Mon Sep 17 00:00:00 2001
From: Bernd Steinhauser <berniyh@exherbo.org>
Date: Tue, 10 Jan 2023 09:14:44 +0100
Subject: [PATCH] Link the test program to the shared lib to allow building
without static libs
---
cpp/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index d2d111d5..932b5e63 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -599,7 +599,7 @@ if(BUILD_TESTING)
# libraries are built properly.
if (BUILD_GEOCODER)
add_executable (geocoding_test_program "test/phonenumbers/geocoding/geocoding_test_program.cc")
- target_link_libraries (geocoding_test_program geocoding phonenumber)
+ target_link_libraries (geocoding_test_program geocoding-shared phonenumber-shared)
endif ()
endif()
--
2.39.0
@@ -0,0 +1,70 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libphonenumber</Name>
<Homepage>https://github.com/googlei18n/libphonenumber</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>Apache</License>
<IsA>library</IsA>
<Summary>Google's common library for parsing, formatting, and validating international phone numbers</Summary>
<Description>Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers. The Java version is optimized for running on smartphones, and is used by the Android framework since 4.0</Description>
<Archive sha1sum="ad6c4dc459b9029b3eaad5f4431a756a2a040291" type="targz">https://github.com/google/libphonenumber/archive/refs/tags/v9.0.9.tar.gz</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>cmake</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>icu4c-devel</Dependency>
<Dependency>gtest-devel</Dependency>
<Dependency>protobuf-devel</Dependency>
<Dependency>abseil-cpp-devel</Dependency>
<Dependency>jre8-openjdk-headless</Dependency>
</BuildDependencies>
<Patches>
<Patch>0002-Remove-Werror.patch</Patch>
<Patch>libphonenumber-8.13.47-cmake.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libphonenumber</Name>
<RuntimeDependencies>
<Dependency>icu4c</Dependency>
<Dependency>boost</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>protobuf</Dependency>
<Dependency>abseil-cpp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib/libgeocoding.so*</Path>
<Path fileType="library">/usr/lib/libphonenumber.so*</Path>
</Files>
</Package>
<Package>
<Name>libphonenumber-devel</Name>
<RuntimeDependencies>
<Dependency>abseil-cpp-devel</Dependency>
<Dependency release="current">libphonenumber</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/cmake</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-07-03</Date>
<Version>9.0.9</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libphonenumber</Name>
<Summary xml:lang="tr">Google'ın uluslararası telefon numaralarını ayrıştırma, biçimlendirme ve doğrulama için ortak kütüphanesi</Summary>
<Description xml:lang="tr">Google'ın uluslararası telefon numaralarını ayrıştırma, biçimlendirme ve doğrulama için ortak Java, C++ ve JavaScript kitaplığı. Java sürümü akıllı telefonlarda çalışmak üzere optimize edilmiştir ve 4.0'dan beri Android çerçevesi tarafından kullanılmaktadır.</Description>
</Source>
</PISI>