[-- Attachment #1: Type: text/plain, Size: 1101 bytes --] There is a new pull request by eoli3n against master on the void-packages repository https://github.com/eoli3n/void-packages evolution-decsync https://github.com/void-linux/void-packages/pull/34731 New Packages: Evolution-DecSync and libdecsync <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** <!-- #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** --> <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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 --> A patch file from https://github.com/void-linux/void-packages/pull/34731.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-evolution-decsync-34731.patch --] [-- Type: text/x-diff, Size: 3758 bytes --] From 399a15ff7f7d234a30453592382a0827f48290b2 Mon Sep 17 00:00:00 2001 From: eoli3n <jonathan.kirszling@runbox.com> Date: Sun, 26 Dec 2021 23:44:58 +0100 Subject: [PATCH 1/2] New package: libdecsync-2.2.1 --- common/shlibs | 1 + srcpkgs/libdecsync-devel | 1 + srcpkgs/libdecsync/INSTALL | 1 + srcpkgs/libdecsync/template | 27 +++++++++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 120000 srcpkgs/libdecsync-devel create mode 100644 srcpkgs/libdecsync/INSTALL create mode 100644 srcpkgs/libdecsync/template diff --git a/common/shlibs b/common/shlibs index e1a175684656..9311b09871e9 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4096,3 +4096,4 @@ libkaddressbookmergelibprivate.so.5 kdepim-addons-21.08.3_1 libkmailconfirmbeforedeleting.so.5 kdepim-addons-21.08.3_1 libkaddressbookprivate.so.5 kaddressbook-21.08.3_1 libcodec2.so.1.0 codec2-1.0.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/INSTALL b/srcpkgs/libdecsync/INSTALL new file mode 100644 index 000000000000..543ab488da9e --- /dev/null +++ b/srcpkgs/libdecsync/INSTALL @@ -0,0 +1 @@ +ln -rs /usr/lib/libdecsync.so /usr/lib/libdecsync.so.0 diff --git a/srcpkgs/libdecsync/template b/srcpkgs/libdecsync/template new file mode 100644 index 000000000000..f49d9493d661 --- /dev/null +++ b/srcpkgs/libdecsync/template @@ -0,0 +1,27 @@ +# Template file for 'libdecsync' +pkgname=libdecsync +version=2.2.1 +revision=1 +build_style=gnu-makefile +hostmakedepends="pkg-config openjdk8 tar patchelf" +makedepends="ncurses-devel" +short_desc="Multiplatform library for synchronizing using DecSync" +maintainer="eoli3n <jonathan.kirszling@runbox.com>" +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 +} + +libdecsync-devel_package() { + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/share/pkgconfig + } +} From 3c3a861337d75623974a071f29fcfa78a3379cd8 Mon Sep 17 00:00:00 2001 From: eoli3n <jonathan.kirszling@runbox.com> Date: Mon, 27 Dec 2021 00:33:13 +0100 Subject: [PATCH 2/2] New package: Evolution-DecSync-2.0.0 --- srcpkgs/Evolution-DecSync/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/Evolution-DecSync/template diff --git a/srcpkgs/Evolution-DecSync/template b/srcpkgs/Evolution-DecSync/template new file mode 100644 index 000000000000..f745769dd017 --- /dev/null +++ b/srcpkgs/Evolution-DecSync/template @@ -0,0 +1,15 @@ +# Template file for 'Evolution-DecSync' +pkgname=Evolution-DecSync +version=2.0.0 +revision=1 +_evolution_version=3.40 +wrksrc="${pkgname}-${version}-evolution-${_evolution_version}" +build_style=meson +hostmakedepends="cmake meson ninja pkg-config libdecsync" +makedepends="json-c-devel evolution-data-server-devel evolution-devel gnome-desktop-devel libdecsync-devel" +short_desc="Evolution plugin which synchronizes contacts/calendars using DecSync" +maintainer="eoli3n <jonathan.kirszling@runbox.com>" +license="LGPL-2.0-or-later" +homepage="https://github.com/39aldo39/Evolution-DecSync" +distfiles="${homepage}/archive/refs/tags/v${version}-evolution-${_evolution_version}.tar.gz" +checksum=8772a8fcaf07cffe15163cf4d0b598d2cb8806bea4ddaa9ddfe150771da1679b
[-- Attachment #1: Type: text/plain, Size: 932 bytes --] New comment by eoli3n on void-packages repository https://github.com/void-linux/void-packages/pull/34731#issuecomment-1002006859 Comment: When I check build log ``` BUILD SUCCESSFUL in 2m 19s 2 actionable tasks: 2 executed => ERROR: libdecsync-2.2.1_1: do_build: '${make_cmd} CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" CPP="$CPP" AS="$AS" OBJCOPY="$OBJCOPY" OBJDUMP="$OBJDUMP" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" ${makejobs} ${make_build_args} ${make_build_target}' exited with 2 => ERROR: in do_build() at common/build-style/gnu-makefile.sh:9 Error: Process completed with exit code 1. ``` From https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libdecsync#n17 ``` build() { cd "$srcdir/$pkgname-$pkgver" # For some reason, make exits with status 2 even if the build succeeded. env -u _JAVA_OPTIONS JAVA_HOME=/usr/lib/jvm/java-8-openjdk/jre make || : } ```
[-- Attachment #1: Type: text/plain, Size: 972 bytes --] New comment by eoli3n on void-packages repository https://github.com/void-linux/void-packages/pull/34731#issuecomment-1002006859 Comment: When I check build log ``` BUILD SUCCESSFUL in 2m 19s 2 actionable tasks: 2 executed => ERROR: libdecsync-2.2.1_1: do_build: '${make_cmd} CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" CPP="$CPP" AS="$AS" OBJCOPY="$OBJCOPY" OBJDUMP="$OBJDUMP" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" ${makejobs} ${make_build_args} ${make_build_target}' exited with 2 => ERROR: in do_build() at common/build-style/gnu-makefile.sh:9 Error: Process completed with exit code 1. ``` From https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libdecsync#n17 ``` build() { cd "$srcdir/$pkgname-$pkgver" # For some reason, make exits with status 2 even if the build succeeded. env -u _JAVA_OPTIONS JAVA_HOME=/usr/lib/jvm/java-8-openjdk/jre make || : } ``` What's the best way to handle this ?
[-- Attachment #1: Type: text/plain, Size: 189 bytes --] New comment by eoli3n on void-packages repository https://github.com/void-linux/void-packages/pull/34731#issuecomment-1007186561 Comment: https://github.com/39aldo39/libdecsync/issues/13
[-- Attachment #1: Type: text/plain, Size: 253 bytes --] New comment by eoli3n on void-packages repository https://github.com/void-linux/void-packages/pull/34731#issuecomment-1007186561 Comment: [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/13) : makefile exit 2 even if the build succeed
[-- Attachment #1: Type: text/plain, Size: 327 bytes --] New comment by eoli3n on void-packages repository https://github.com/void-linux/void-packages/pull/34731#issuecomment-1007186561 Comment: [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/13) : makefile exit 2 even if the build succeed [missing soname issue](https://github.com/39aldo39/libdecsync/issues/12)
[-- Attachment #1: Type: text/plain, Size: 340 bytes --] New comment by eoli3n on void-packages repository https://github.com/void-linux/void-packages/pull/34731#issuecomment-1007186561 Comment: [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/13) : makefile exit 2 even if the build succeed [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/12) : missing soname
[-- Attachment #1: Type: text/plain, Size: 344 bytes --] New comment by eoli3n on void-packages repository https://github.com/void-linux/void-packages/pull/34731#issuecomment-1007186561 Comment: - [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/13) : makefile exit 2 even if the build succeed - [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/12) : missing soname
[-- Attachment #1: Type: text/plain, Size: 359 bytes --] New comment by eoli3n on void-packages repository https://github.com/void-linux/void-packages/pull/34731#issuecomment-1007186561 Comment: - [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/13) : makefile exit 2 even if the build succeed -> help needed - [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/12) : missing soname
[-- Attachment #1: Type: text/plain, Size: 367 bytes --] New comment by eoli3n on void-packages repository https://github.com/void-linux/void-packages/pull/34731#issuecomment-1007186561 Comment: - [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/13) : makefile exit 2 even if the build succeed :warning: help needed - [libdecsync issue](https://github.com/39aldo39/libdecsync/issues/12) : missing soname
[-- 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/34731#issuecomment-1159892037 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.
[-- Attachment #1: Type: text/plain, Size: 927 bytes --] There's a closed pull request on the void-packages repository New Packages: Evolution-DecSync and libdecsync https://github.com/void-linux/void-packages/pull/34731 Description: <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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