Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: libdecsync-2.2.1
@ 2022-09-13 14:07 08A
  2022-09-13 14:21 ` [PR PATCH] [Updated] " 08A
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: 08A @ 2022-09-13 14:07 UTC (permalink / raw)
  To: ml

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

There is a new pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New package: libdecsync-2.2.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test

main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````
When I have the time I will test with https://github.com/39aldo39/libdecsync-bindings-python3.

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 2161 bytes --]

From 317cf1233473b08afce508548fae72fd8e042a12 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index ae39d4551d59..9791506fa73e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
 libglibutil.so.1 libglibutil-1.0.64_1
 libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..433c47b6a768
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,32 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

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

* Re: [PR PATCH] [Updated] New package: libdecsync-2.2.1
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
@ 2022-09-13 14:21 ` 08A
  2022-09-13 17:24 ` 08A
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-09-13 14:21 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New package: libdecsync-2.2.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test

main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````
When I have the time I will test with https://github.com/39aldo39/libdecsync-bindings-python3.

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 2190 bytes --]

From 3d08646fafba86a1c82528f40b576e29f7fe957e Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index ae39d4551d59..9791506fa73e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
 libglibutil.so.1 libglibutil-1.0.64_1
 libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..928ed07b8b57
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,33 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

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

* Re: [PR PATCH] [Updated] New package: libdecsync-2.2.1
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
  2022-09-13 14:21 ` [PR PATCH] [Updated] " 08A
@ 2022-09-13 17:24 ` 08A
  2022-09-13 18:22 ` [PR PATCH] [Updated] [WIP] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0 08A
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-09-13 17:24 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New package: libdecsync-2.2.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test

main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````
When I have the time I will test with https://github.com/39aldo39/libdecsync-bindings-python3.

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 6251 bytes --]

From 3d08646fafba86a1c82528f40b576e29f7fe957e Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/2] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index ae39d4551d59..9791506fa73e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
 libglibutil.so.1 libglibutil-1.0.64_1
 libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..928ed07b8b57
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,33 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From 451ae1a15ba44aa45d8d114732f470318ec67c29 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/2] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 16 +++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..897ac14bbb9e
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+wrksrc="libdecsync-bindings-python3-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

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

* Re: [PR PATCH] [Updated] [WIP] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
  2022-09-13 14:21 ` [PR PATCH] [Updated] " 08A
  2022-09-13 17:24 ` 08A
@ 2022-09-13 18:22 ` 08A
  2022-09-13 18:33 ` 08A
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-09-13 18:22 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

[WIP] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test

main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````
When I have the time I will test with https://github.com/39aldo39/libdecsync-bindings-python3.

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7558 bytes --]

From 913413673e77c1fe5fb70e98adb5804decfc0688 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index ae39d4551d59..9791506fa73e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
 libglibutil.so.1 libglibutil-1.0.64_1
 libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..baf957a98c54
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,33 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From 3f5404c1e7552f854abbdb4dbff82a4a90f5f5eb Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 16 +++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..0a0d4989fc67
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+wrksrc="libdecsync-bindings-python3-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From b876961770b3f3d5b24757b5de46d3845a02cb94 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 .../python3-radicale_storage_decsync/template    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..b9efb10ec187
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+wrksrc="Radicale-DecSync-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: [PR PATCH] [Updated] [WIP] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (2 preceding siblings ...)
  2022-09-13 18:22 ` [PR PATCH] [Updated] [WIP] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0 08A
@ 2022-09-13 18:33 ` 08A
  2022-09-13 18:58 ` eoli3n
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-09-13 18:33 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

[WIP] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7568 bytes --]

From bcdc8a9239a2b780caafb9712cc5207c93cc01a9 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index ae39d4551d59..9791506fa73e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
 libglibutil.so.1 libglibutil-1.0.64_1
 libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..1fbc42a40e35
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,33 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From 7a0d47a3daf32d23ed3938962e74757200ea186a Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 16 +++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..bb5db27ab412
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+wrksrc="libdecsync-bindings-python3-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From 69720b36ae55642486dec6e461f7a3b40ac1f131 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 .../python3-radicale_storage_decsync/template    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..b9efb10ec187
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+wrksrc="Radicale-DecSync-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (3 preceding siblings ...)
  2022-09-13 18:33 ` 08A
@ 2022-09-13 18:58 ` eoli3n
  2022-09-13 19:02 ` eoli3n
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: eoli3n @ 2022-09-13 18:58 UTC (permalink / raw)
  To: ml

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

New comment by eoli3n on void-packages repository

https://github.com/void-linux/void-packages/pull/39258#issuecomment-1245835895

Comment:
Cool, did you figure those issues out ? 
https://github.com/void-linux/void-packages/pull/34731#issuecomment-1007186561

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

* Re: New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (4 preceding siblings ...)
  2022-09-13 18:58 ` eoli3n
@ 2022-09-13 19:02 ` eoli3n
  2022-09-14  7:12 ` [PR PATCH] [Updated] " 08A
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: eoli3n @ 2022-09-13 19:02 UTC (permalink / raw)
  To: ml

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

New comment by eoli3n on void-packages repository

https://github.com/void-linux/void-packages/pull/39258#issuecomment-1245835895

Comment:
Cool, did you figure those issues out ? 
https://github.com/void-linux/void-packages/pull/34731#issuecomment-1007186561

EDIT : just saw your comment about parallelization 

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

* Re: [PR PATCH] [Updated] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (5 preceding siblings ...)
  2022-09-13 19:02 ` eoli3n
@ 2022-09-14  7:12 ` 08A
  2022-09-14 10:33 ` 08A
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-09-14  7:12 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7554 bytes --]

From baf45c0b1ca465c749efbf7c6ed0b06793f71992 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index ec58b8c40619..df199cd4f9e5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4162,3 +4162,4 @@ libglibutil.so.1 libglibutil-1.0.64_1
 libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
 libtpm2-totp.so.0 libtpm2-totp-0.3.0_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..1fbc42a40e35
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,33 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From bb9c08871ff34ec0806deba5dfc32420212c218e Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 16 +++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..bb5db27ab412
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+wrksrc="libdecsync-bindings-python3-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From d97ac10cb6f0fed0a1ff2f1bda1444d74a663984 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 .../python3-radicale_storage_decsync/template    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..b9efb10ec187
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+wrksrc="Radicale-DecSync-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: [PR PATCH] [Updated] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (6 preceding siblings ...)
  2022-09-14  7:12 ` [PR PATCH] [Updated] " 08A
@ 2022-09-14 10:33 ` 08A
  2022-09-25 10:54 ` 08A
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-09-14 10:33 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7636 bytes --]

From 6dd77a94d91106f78aad1831f5f7f11c4cabd472 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index ec58b8c40619..df199cd4f9e5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4162,3 +4162,4 @@ libglibutil.so.1 libglibutil-1.0.64_1
 libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
 libtpm2-totp.so.0 libtpm2-totp-0.3.0_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..aabd2b0dc3c8
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,35 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+subpackages="libdecsync-devel"
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From 8d5a77c034647a280461b110c69483108de5ebbf Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 16 +++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..bb5db27ab412
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+wrksrc="libdecsync-bindings-python3-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From 676f3f71cb66235e05d02f0617da012ed08c3594 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 .../python3-radicale_storage_decsync/template    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..b9efb10ec187
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+wrksrc="Radicale-DecSync-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: [PR PATCH] [Updated] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (7 preceding siblings ...)
  2022-09-14 10:33 ` 08A
@ 2022-09-25 10:54 ` 08A
  2022-09-26  9:00 ` 08A
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-09-25 10:54 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7628 bytes --]

From fbc033c9e3c7065f00fa1f561ca1c7c564429319 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index c962f0ab7622..ce9b7ac772aa 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4162,3 +4162,4 @@ libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
 libtpm2-totp.so.0 libtpm2-totp-0.3.0_1
 libmujs.so.1.2.0 mujs-1.2.0_2
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..aabd2b0dc3c8
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,35 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+subpackages="libdecsync-devel"
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From b6922484959c35ba0e8f5b047dec6da5082dc7c0 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 16 +++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..bb5db27ab412
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+wrksrc="libdecsync-bindings-python3-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From 788e71db996473994fde3b1dcb31af13766a96ac Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 .../python3-radicale_storage_decsync/template    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..b9efb10ec187
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+wrksrc="Radicale-DecSync-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: [PR PATCH] [Updated] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (8 preceding siblings ...)
  2022-09-25 10:54 ` 08A
@ 2022-09-26  9:00 ` 08A
  2022-09-28  9:01 ` 08A
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-09-26  9:00 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7628 bytes --]

From fb93551228cdcb80e93ca7cc779c007adf7ce948 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index c962f0ab7622..ce9b7ac772aa 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4162,3 +4162,4 @@ libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
 libtpm2-totp.so.0 libtpm2-totp-0.3.0_1
 libmujs.so.1.2.0 mujs-1.2.0_2
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..aabd2b0dc3c8
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,35 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+subpackages="libdecsync-devel"
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From e663583a562f7290a180b7c791f24f8f9415435f Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 16 +++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..bb5db27ab412
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+wrksrc="libdecsync-bindings-python3-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From 6f75c95719e4837917fad050ddf9ca3ecd862a60 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 .../python3-radicale_storage_decsync/template    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..b9efb10ec187
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+wrksrc="Radicale-DecSync-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: [PR PATCH] [Updated] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (9 preceding siblings ...)
  2022-09-26  9:00 ` 08A
@ 2022-09-28  9:01 ` 08A
  2022-11-12 11:43 ` 08A
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-09-28  9:01 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7628 bytes --]

From c078a64fe6109424c7f57b3d67842f6c476a60bd Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index c962f0ab7622..ce9b7ac772aa 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4162,3 +4162,4 @@ libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
 libtpm2-totp.so.0 libtpm2-totp-0.3.0_1
 libmujs.so.1.2.0 mujs-1.2.0_2
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..aabd2b0dc3c8
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,35 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+subpackages="libdecsync-devel"
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From 93fb7a21995f1dd8c8b0ccaf2155ed8df4291f36 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 16 +++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..bb5db27ab412
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+wrksrc="libdecsync-bindings-python3-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From da323a16210ad7c2de0a25ca3a0d333e699f1327 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 .../python3-radicale_storage_decsync/template    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..b9efb10ec187
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+wrksrc="Radicale-DecSync-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: [PR PATCH] [Updated] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (10 preceding siblings ...)
  2022-09-28  9:01 ` 08A
@ 2022-11-12 11:43 ` 08A
  2022-11-12 11:45 ` 08A
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-11-12 11:43 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7704 bytes --]

From 514f982ea3ca7ec7ce22503cc06f8f2025fc1243 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index 76512744735e..549fbe9ea89d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4197,3 +4197,4 @@ libabsl_strings.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_throw_delegate.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_time_zone.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_spinlock_wait.so.2206.0.0 abseil-cpp-20220623.1_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..aabd2b0dc3c8
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,35 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+subpackages="libdecsync-devel"
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From a4d03e9cac864766f53beeb7d0e6e10d2ddad981 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 16 +++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..bb5db27ab412
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+wrksrc="libdecsync-bindings-python3-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From 97e1617450786893e1dd5eb1d8604b7490b2d3df Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 .../python3-radicale_storage_decsync/template    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..b9efb10ec187
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+wrksrc="Radicale-DecSync-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (11 preceding siblings ...)
  2022-11-12 11:43 ` 08A
@ 2022-11-12 11:45 ` 08A
  2022-11-12 19:32 ` [PR PATCH] [Updated] " 08A
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-11-12 11:45 UTC (permalink / raw)
  To: ml

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

New comment by 08A on void-packages repository

https://github.com/void-linux/void-packages/pull/39258#issuecomment-1312461332

Comment:
@classabbyamp Hi, sorry to ping you. It has been a long time since this PR opening. Is there any chance to see this merged?

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

* Re: [PR PATCH] [Updated] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (12 preceding siblings ...)
  2022-11-12 11:45 ` 08A
@ 2022-11-12 19:32 ` 08A
  2022-11-15 12:23 ` 08A
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-11-12 19:32 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7617 bytes --]

From 514f982ea3ca7ec7ce22503cc06f8f2025fc1243 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index 76512744735e..549fbe9ea89d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4197,3 +4197,4 @@ libabsl_strings.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_throw_delegate.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_time_zone.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_spinlock_wait.so.2206.0.0 abseil-cpp-20220623.1_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..aabd2b0dc3c8
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,35 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+subpackages="libdecsync-devel"
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From de61eee92b1f13b7c5e765853f0e67eb7c2d3695 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 15 +++++
 2 files changed, 79 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..23f4cb3cf86b
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From d466af89e8f8b0fcc9884f7349c40c4206b25d9b Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 srcpkgs/python3-radicale_storage_decsync/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..50d59e00e01a
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: [PR PATCH] [Updated] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (13 preceding siblings ...)
  2022-11-12 19:32 ` [PR PATCH] [Updated] " 08A
@ 2022-11-15 12:23 ` 08A
  2023-02-14  2:02 ` github-actions
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2022-11-15 12:23 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by 08A against master on the void-packages repository

https://github.com/08A/void-packages new-package-libdecsync
https://github.com/void-linux/void-packages/pull/39258

New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




A patch file from https://github.com/void-linux/void-packages/pull/39258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-libdecsync-39258.patch --]
[-- Type: text/x-diff, Size: 7617 bytes --]

From 514f982ea3ca7ec7ce22503cc06f8f2025fc1243 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 13:33:29 +0200
Subject: [PATCH 1/3] New package: libdecsync-2.2.1

---
 common/shlibs               |  1 +
 srcpkgs/libdecsync-devel    |  1 +
 srcpkgs/libdecsync/template | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/libdecsync-devel
 create mode 100644 srcpkgs/libdecsync/template

diff --git a/common/shlibs b/common/shlibs
index 76512744735e..549fbe9ea89d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4197,3 +4197,4 @@ libabsl_strings.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_throw_delegate.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_time_zone.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_spinlock_wait.so.2206.0.0 abseil-cpp-20220623.1_1
+libdecsync.so.0 libdecsync-2.2.1_1
diff --git a/srcpkgs/libdecsync-devel b/srcpkgs/libdecsync-devel
new file mode 120000
index 000000000000..e72513c6dcf1
--- /dev/null
+++ b/srcpkgs/libdecsync-devel
@@ -0,0 +1 @@
+libdecsync
\ No newline at end of file
diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template
new file mode 100644
index 000000000000..aabd2b0dc3c8
--- /dev/null
+++ b/srcpkgs/libdecsync/template
@@ -0,0 +1,35 @@
+# Template file for 'libdecsync'
+pkgname=libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="gradle openjdk8 patchelf pkg-config tar"
+makedepends="ncurses-devel"
+short_desc="Multiplatform library for synchronizing using DecSync"
+maintainer="08a <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=3e08b35efed3bafb079aa52a8dcd51217f6602cde64accba1a10cf5c25029d45
+subpackages="libdecsync-devel"
+disable_parallel_build=yes
+
+export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+
+pre_install() {
+	patchelf --set-soname libdecsync.so.0 build/bin/linuxX64/releaseShared/libdecsync.so
+}
+
+post_install() {
+	ln -rsf "${DESTDIR}/usr/lib/libdecsync.so" "${DESTDIR}/usr/lib/libdecsync.so.0"
+}
+
+libdecsync-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+		pkg_install() {
+			vmove usr/include
+			vmove usr/share/pkgconfig
+		}
+}

From de61eee92b1f13b7c5e765853f0e67eb7c2d3695 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 18:18:15 +0200
Subject: [PATCH 2/3] New package: python3-libdecsync-2.2.1

---
 .../0001-hardcode-libpath-for-voidlinux.patch | 64 +++++++++++++++++++
 srcpkgs/python3-libdecsync/template           | 15 +++++
 2 files changed, 79 insertions(+)
 create mode 100644 srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
 create mode 100644 srcpkgs/python3-libdecsync/template

diff --git a/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
new file mode 100644
index 000000000000..f55a0a11bf07
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/patches/0001-hardcode-libpath-for-voidlinux.patch
@@ -0,0 +1,64 @@
+From 5a2024669f4cc03e79c2a5ae856edd635bd87b9e Mon Sep 17 00:00:00 2001
+From: Alexis Ehret <git@08a.re>
+Date: Tue, 13 Sep 2022 18:04:32 +0200
+Subject: [PATCH 1/1] hardcode libpath for voidlinux
+
+Signed-off-by: Alexis Ehret <git@08a.re>
+---
+ libdecsync/__init__.py | 27 +--------------------------
+ setup.py               |  1 -
+ 2 files changed, 1 insertion(+), 27 deletions(-)
+
+diff --git a/libdecsync/__init__.py b/libdecsync/__init__.py
+index fa2d14d..484c6dc 100644
+--- a/libdecsync/__init__.py
++++ b/libdecsync/__init__.py
+@@ -29,32 +29,7 @@ import sys
+ class DecsyncException(Exception):
+     pass
+ 
+-os_name = platform.system()
+-machine_type = platform.machine()
+-platform_bits = platform.architecture()[0]
+-if os_name == "Linux":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.so")
+-    elif machine_type.startswith("arm") or machine_type.startswith("aarch"):
+-        if platform_bits == "64bit":
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm64.so")
+-        else:
+-            libpath = resource_filename(__name__, "libs/libdecsync_arm32.so")
+-    else:
+-        raise Exception("libdecsync: Machine type '" + machine_type + "' not supported")
+-elif os_name == "Windows":
+-    if platform_bits == "64bit":
+-        libpath = resource_filename(__name__, "libs/decsync_x64.dll")
+-    else:
+-        libpath = resource_filename(__name__, "libs/decsync_x86.dll")
+-elif os_name == "Darwin":
+-    if machine_type == "x86_64":
+-        libpath = resource_filename(__name__, "libs/libdecsync_amd64.dylib")
+-    else:
+-        libpath = resource_filename(__name__, "libs/libdecsync_arm64.dylib")
+-else:
+-    raise Exception("libdecsync: Operating system '" + os_name + "' not supported")
+-
++libpath = "/usr/lib/libdecsync.so.0"
+ _libdecsync = CDLL(libpath)
+ 
+ def _errcheckDecsync(result, func, args):
+diff --git a/setup.py b/setup.py
+index a79755a..6853f70 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,6 @@ setup(
+     keywords=["decsync"],
+     license="LGPLv2+",
+     packages=["libdecsync"],
+-    package_data={"libdecsync":["libs/*"]},
+     classifiers=[
+         "Programming Language :: Python :: 3",
+         "Operating System :: POSIX :: Linux",
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-libdecsync/template b/srcpkgs/python3-libdecsync/template
new file mode 100644
index 000000000000..23f4cb3cf86b
--- /dev/null
+++ b/srcpkgs/python3-libdecsync/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-libdecsync'
+pkgname=python3-libdecsync
+version=2.2.1
+revision=1
+archs="x86_64"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 libdecsync-${version}_${revision}"
+checkdepends="${depends}"
+short_desc="Python3 wrapper around libdecsync for synchronizing using DecSync"
+maintainer="Alexis Ehret <dev@08a.re>"
+license="LGPL-2.0-only"
+homepage="https://github.com/39aldo39/libdecsync-bindings-python3"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=68e0452c128306981dc8e7aa58248cc57855a2de241326b37fbeb5469446d10e

From 102ede4db7d6ec1a7a9c9ec11fd2aad1142c9d33 Mon Sep 17 00:00:00 2001
From: Alexis Ehret <git@08a.re>
Date: Tue, 13 Sep 2022 20:21:54 +0200
Subject: [PATCH 3/3] New package: python3-radicale_storage_decsync-2.1.0

---
 srcpkgs/python3-radicale_storage_decsync/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-radicale_storage_decsync/template

diff --git a/srcpkgs/python3-radicale_storage_decsync/template b/srcpkgs/python3-radicale_storage_decsync/template
new file mode 100644
index 000000000000..50d59e00e01a
--- /dev/null
+++ b/srcpkgs/python3-radicale_storage_decsync/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-radicale_storage_decsync'
+pkgname=python3-radicale_storage_decsync
+version=2.1.0
+revision=1
+archs="x86_64"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="radicale>=3 python3-libdecsync>=2.0.0"
+short_desc="Radicale DecSync is an Radicale storage plugin using DecSync"
+maintainer="Alexis Ehret <git@08a.re>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/39aldo39/Radicale-DecSync"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c5879a447b2d9b73cb12c941504d796bf86a8fd19683df695331f8f5e59188c9
+make_check=no # Empty check

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

* Re: New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (14 preceding siblings ...)
  2022-11-15 12:23 ` 08A
@ 2023-02-14  2:02 ` github-actions
  2023-03-01  5:18 ` [PR PATCH] [Closed]: " github-actions
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: github-actions @ 2023-02-14  2:02 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/39258#issuecomment-1428997086

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (15 preceding siblings ...)
  2023-02-14  2:02 ` github-actions
@ 2023-03-01  5:18 ` github-actions
  2023-03-01 13:06 ` 08A
  2023-03-01 13:07 ` 08A
  18 siblings, 0 replies; 20+ messages in thread
From: github-actions @ 2023-03-01  5:18 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
https://github.com/void-linux/void-packages/pull/39258

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Questions

I put my email in the maintainer field. I don't know if it is the expected behavior.

#### Test libdecsync
main.c:
````c
#include <libdecsync.h>
#include <stddef.h>


int main() {
	Decsync tmp = NULL;
	return 0;
}
````

````sh
$ gcc main.c $(pkg-config --libs decsync)
$ ldd a.out
        linux-vdso.so.1 (0x00007ffca77d6000)
        libdecsync.so.0 => /usr/lib64/libdecsync.so.0 (0x00007f24572b8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f24570f2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f24570d8000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f2456f93000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2456f72000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2456f6d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f2456f31000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f2456f26000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2456f20000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f2456f06000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f24575f6000)


````

#### Test python3-libdecsync

````sh
$ ./xbps-src -Q pkg python3-libdecsync
````

#### Test all packages

````sh
$ xi python3-radicale_storage_decsync
$ htpasswd -B -c /tmp/radicale-test-passwd void-user # enter a paswd
````

/tmp/radicale.conf:
````
[storage]
type = radicale_storage_decsync
filesystem_folder = /tmp/radicale-collections
decsync_dir = /tmp/decsync

[auth]
type = htpasswd
htpasswd_filename = /tmp/radicale-test-passwd
htpasswd_encryption = bcrypt
````

````sh
$ radicale --config ~/.config/radicale/config
````

Connect to localhost:5232 with your browser (user: void-user, passwd: what you typed)

tested:
* create collection
* delete collection
* create contact
* delete contact

#### PS
This PR is heavily inspired by https://github.com/void-linux/void-packages/pull/34731.

All of the credit should go to @eoli3n.
All of the blame should go to me.




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

* Re: New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (16 preceding siblings ...)
  2023-03-01  5:18 ` [PR PATCH] [Closed]: " github-actions
@ 2023-03-01 13:06 ` 08A
  2023-03-01 13:07 ` 08A
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2023-03-01 13:06 UTC (permalink / raw)
  To: ml

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

New comment by 08A on void-packages repository

https://github.com/void-linux/void-packages/pull/39258#issuecomment-1450126628

Comment:
@classabbyamp Hi, sorry to ping you again. I have used those packages for 6 month. And they work as expected. Can you review this PR ?

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

* Re: New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0
  2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
                   ` (17 preceding siblings ...)
  2023-03-01 13:06 ` 08A
@ 2023-03-01 13:07 ` 08A
  18 siblings, 0 replies; 20+ messages in thread
From: 08A @ 2023-03-01 13:07 UTC (permalink / raw)
  To: ml

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

New comment by 08A on void-packages repository

https://github.com/void-linux/void-packages/pull/39258#issuecomment-1450126628

Comment:
@classabbyamp Hi, sorry to ping you again. I have used those packages for 6 months. And they work as expected. Can you review this PR ?

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

end of thread, other threads:[~2023-03-01 13:07 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13 14:07 [PR PATCH] New package: libdecsync-2.2.1 08A
2022-09-13 14:21 ` [PR PATCH] [Updated] " 08A
2022-09-13 17:24 ` 08A
2022-09-13 18:22 ` [PR PATCH] [Updated] [WIP] New packages: libdecsync-2.2.1, python3-libdecsync-2.2.1, python3-radicale_storage_decsync-2.1.0 08A
2022-09-13 18:33 ` 08A
2022-09-13 18:58 ` eoli3n
2022-09-13 19:02 ` eoli3n
2022-09-14  7:12 ` [PR PATCH] [Updated] " 08A
2022-09-14 10:33 ` 08A
2022-09-25 10:54 ` 08A
2022-09-26  9:00 ` 08A
2022-09-28  9:01 ` 08A
2022-11-12 11:43 ` 08A
2022-11-12 11:45 ` 08A
2022-11-12 19:32 ` [PR PATCH] [Updated] " 08A
2022-11-15 12:23 ` 08A
2023-02-14  2:02 ` github-actions
2023-03-01  5:18 ` [PR PATCH] [Closed]: " github-actions
2023-03-01 13:06 ` 08A
2023-03-01 13:07 ` 08A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).