[gentoo-commits] repo/gentoo:master commit in: dev-libs/dqlite/files/, dev-libs/dqlite/

2024-07-29 Thread Joonas Niilola
commit: e0fff5c2cf7bd7558f3a442323ee1ab04d5c9205
Author: Brahmajit Das  gmail  com>
AuthorDate: Mon Jul 29 17:54:15 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Jul 30 05:26:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0fff5c2

dev-libs/dqlite: add 1.16.6

Signed-off-by: Brahmajit Das  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/dqlite/Manifest   |  1 +
 dev-libs/dqlite/dqlite-1.16.6.ebuild   | 59 ++
 .../files/dqlite-1.16.6-respect-cflags.patch   | 13 +
 3 files changed, 73 insertions(+)

diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest
index 0bf7f61c62bb..210d4c6e24f8 100644
--- a/dev-libs/dqlite/Manifest
+++ b/dev-libs/dqlite/Manifest
@@ -1 +1,2 @@
 DIST dqlite-1.16.4.tar.gz 499174 BLAKE2B 
3a5f28dd352ada1d0866d3563c450aad10413118a30fc9369aaadc5f46acefaa8f28e21118e71ef3eb801c51c9946664882d82a15eff71eefbbd51f6fd68c4b3
 SHA512 
164a63ce9224b9a4f10d2312ac03e98ccdec8c6c4fe22e6fc595dc792f9a7c75317cf8e839eb31a8db2501a094d67053300532a92bca26c86ef5097dd3c06a2b
+DIST dqlite-1.16.6.tar.gz 528753 BLAKE2B 
ce189198bd1edd311bd76f50d780af63cabaecc0c0f6c5ba49d3d3e04cafcfcb215c0297bba8d86db83f1457dad71fa0c7c018af076ccbf7c647918c10265399
 SHA512 
c71c9da8c0a0ed2ea70d2a2a8eb45470818b1cc80126483fefbcdf84a772dbc85ed38fe0e860e6e085ad11356981375c41626888a53ea20cc4a00d840774

diff --git a/dev-libs/dqlite/dqlite-1.16.6.ebuild 
b/dev-libs/dqlite/dqlite-1.16.6.ebuild
new file mode 100644
index ..11256abc34ee
--- /dev/null
+++ b/dev-libs/dqlite/dqlite-1.16.6.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Embeddable, replicated and fault tolerant SQL engine"
+HOMEPAGE="https://dqlite.io/ https://github.com/canonical/dqlite;
+SRC_URI="https://github.com/canonical/dqlite/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0/1.15.1"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+lz4 test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-db/sqlite:3
+   dev-libs/libuv:=
+   lz4? ( app-arch/lz4:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/dqlite-1.12.0-disable-werror.patch
+   "${FILESDIR}"/dqlite-1.16.6-respect-cflags.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-backtrace
+   --disable-debug
+   --disable-sanitize
+   --disable-static
+
+   # Will use bundled raft instead of system raft. See bugs 
#915960, #925012.
+   --enable-build-raft
+
+   # Will build a bundled libsqlite3.so.
+   --enable-build-sqlite=no
+
+   # Will build with experimental dqlite backend
+   --enable-dqlite-next=no
+
+   $(use_with lz4)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+}

diff --git a/dev-libs/dqlite/files/dqlite-1.16.6-respect-cflags.patch 
b/dev-libs/dqlite/files/dqlite-1.16.6-respect-cflags.patch
new file mode 100644
index ..8d4fa6b8af7c
--- /dev/null
+++ b/dev-libs/dqlite/files/dqlite-1.16.6-respect-cflags.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 0936760..ce8feb7 100644
+--- a/configure.ac
 b/configure.ac
+@@ -6,8 +6,6 @@ AC_CONFIG_AUX_DIR([ac])
+ AM_INIT_AUTOMAKE([subdir-objects -Wall -Wno-portability foreign])
+ AM_SILENT_RULES([yes])
+ 
+-# Without this line, AC_PROG_CC boneheadedly adds `-g -O2` to our CFLAGS.
+-AC_SUBST(CFLAGS, "")
+ AC_PROG_CC
+ AC_USE_SYSTEM_EXTENSIONS
+ 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/dqlite/files/, dev-libs/dqlite/

2022-07-14 Thread Joonas Niilola
commit: 3e3732fe5c8a000e699edc6e73508071b12ded3c
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Jul 14 05:22:41 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul 14 05:22:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3732fe

dev-libs/dqlite: drop 1.11.0

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/dqlite/Manifest   |  1 -
 dev-libs/dqlite/dqlite-1.11.0.ebuild   | 44 --
 .../dqlite-1.11.0-fix-version-information.patch| 10 -
 3 files changed, 55 deletions(-)

diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest
index dec762cdfdc7..8027e6e12b81 100644
--- a/dev-libs/dqlite/Manifest
+++ b/dev-libs/dqlite/Manifest
@@ -1,3 +1,2 @@
 DIST dqlite-1.10.0.tar.gz 170908 BLAKE2B 
b65cd39a4eb175a016934a174f27043ff1e9fc5404f5324030ddadf15567390edb6388e42b83ab76a0d1d3262343f8a4407d7756b85af30cf281a4b5076f87cd
 SHA512 
f7364d968d0d2aef0bbd59f55bb7f775b41d509b0d1af106357bdb470703e143081649742870491e5c75760d3f6159568395b4a671c446a26df744fd4f631d33
-DIST dqlite-1.11.0.tar.gz 172030 BLAKE2B 
2626f73f351abeedfed686838c9f74edd94b6fecb5fa61e5b90c86b37582975d86e42ebbb61934121912e1356f30a545e3fcc2236b5c5d5d4eee82b6412e0aaa
 SHA512 
0dbd07bc3ccbb889d6b3a5fbf9e7658caeffe652666d819c1291420d1a18aa0c2e382dcc8bb3910f7d2d184b7e3a09d6ac557bf9400120712c2e6e2e41006dc8
 DIST dqlite-1.11.1.tar.gz 172024 BLAKE2B 
48fb3c4eebc1f1a2d341254f9f0ad01f871b65fac727b132b80ac59eceb7d1ab95ac6118549ab39c8b032053a8791d6abef5e0d4856da7e45f00939b083463e5
 SHA512 
64d9a6548a4d75e3045adf5e31d54c508a02b255573225d32119225260c3d5219c4ac29c857ba054cd3fa3df54ee81cf88bbc2f9769839902f63f0f8c02cc6c7

diff --git a/dev-libs/dqlite/dqlite-1.11.0.ebuild 
b/dev-libs/dqlite/dqlite-1.11.0.ebuild
deleted file mode 100644
index 972892a7f794..
--- a/dev-libs/dqlite/dqlite-1.11.0.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Embeddable, replicated and fault tolerant SQL engine"
-HOMEPAGE="https://dqlite.io/ https://github.com/canonical/dqlite;
-SRC_URI="https://github.com/canonical/dqlite/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-3-with-linking-exception"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-db/sqlite:3
-   dev-libs/libuv:=
-   >=dev-libs/raft-0.13.0"
-DEPEND="${RDEPEND}
-   test? ( >=dev-libs/raft-0.13.0[lz4,test] )"
-
-PATCHES=( "${FILESDIR}"/dqlite-1.11.0-fix-version-information.patch )
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-debug
-   --disable-sanitize
-   --disable-static
-   )
-
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   find "${ED}" -name '*.la' -delete || die
-}

diff --git a/dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch 
b/dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch
deleted file mode 100644
index 0d1f0023b3c2..
--- a/dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -Naur a/configure.ac b/configure.ac
 a/configure.ac 2022-04-26 23:46:37.0 +0300
-+++ b/configure.ac 2022-07-13 14:25:18.039895152 +0300
-@@ -1,5 +1,5 @@
- AC_PREREQ(2.60)
--AC_INIT([libdqlite], [1.10.0], [https://github.com/canonical/dqlite])
-+AC_INIT([libdqlite], [1.11.0], [https://github.com/canonical/dqlite])
- AC_CONFIG_MACRO_DIR([m4])
- AC_CONFIG_AUX_DIR([ac])
- 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/dqlite/files/, dev-libs/dqlite/

2022-07-13 Thread Joonas Niilola
commit: fd84948282bea4a63d105c5c01aa1329db66cf36
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Jul 13 11:36:35 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jul 13 15:13:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd849482

dev-libs/dqlite: add 1.11.0

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/dqlite/Manifest   |  1 +
 dev-libs/dqlite/dqlite-1.11.0.ebuild   | 44 ++
 .../dqlite-1.11.0-fix-version-information.patch| 10 +
 3 files changed, 55 insertions(+)

diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest
index 7f9c6c025d31..654f5d084722 100644
--- a/dev-libs/dqlite/Manifest
+++ b/dev-libs/dqlite/Manifest
@@ -1 +1,2 @@
 DIST dqlite-1.10.0.tar.gz 170908 BLAKE2B 
b65cd39a4eb175a016934a174f27043ff1e9fc5404f5324030ddadf15567390edb6388e42b83ab76a0d1d3262343f8a4407d7756b85af30cf281a4b5076f87cd
 SHA512 
f7364d968d0d2aef0bbd59f55bb7f775b41d509b0d1af106357bdb470703e143081649742870491e5c75760d3f6159568395b4a671c446a26df744fd4f631d33
+DIST dqlite-1.11.0.tar.gz 172030 BLAKE2B 
2626f73f351abeedfed686838c9f74edd94b6fecb5fa61e5b90c86b37582975d86e42ebbb61934121912e1356f30a545e3fcc2236b5c5d5d4eee82b6412e0aaa
 SHA512 
0dbd07bc3ccbb889d6b3a5fbf9e7658caeffe652666d819c1291420d1a18aa0c2e382dcc8bb3910f7d2d184b7e3a09d6ac557bf9400120712c2e6e2e41006dc8

diff --git a/dev-libs/dqlite/dqlite-1.11.0.ebuild 
b/dev-libs/dqlite/dqlite-1.11.0.ebuild
new file mode 100644
index ..972892a7f794
--- /dev/null
+++ b/dev-libs/dqlite/dqlite-1.11.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Embeddable, replicated and fault tolerant SQL engine"
+HOMEPAGE="https://dqlite.io/ https://github.com/canonical/dqlite;
+SRC_URI="https://github.com/canonical/dqlite/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-db/sqlite:3
+   dev-libs/libuv:=
+   >=dev-libs/raft-0.13.0"
+DEPEND="${RDEPEND}
+   test? ( >=dev-libs/raft-0.13.0[lz4,test] )"
+
+PATCHES=( "${FILESDIR}"/dqlite-1.11.0-fix-version-information.patch )
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-debug
+   --disable-sanitize
+   --disable-static
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+}

diff --git a/dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch 
b/dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch
new file mode 100644
index ..0d1f0023b3c2
--- /dev/null
+++ b/dev-libs/dqlite/files/dqlite-1.11.0-fix-version-information.patch
@@ -0,0 +1,10 @@
+diff -Naur a/configure.ac b/configure.ac
+--- a/configure.ac 2022-04-26 23:46:37.0 +0300
 b/configure.ac 2022-07-13 14:25:18.039895152 +0300
+@@ -1,5 +1,5 @@
+ AC_PREREQ(2.60)
+-AC_INIT([libdqlite], [1.10.0], [https://github.com/canonical/dqlite])
++AC_INIT([libdqlite], [1.11.0], [https://github.com/canonical/dqlite])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_AUX_DIR([ac])
+