Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] workrave: update to 1.10.34
@ 2019-11-04  2:25 voidlinux-github
  2019-11-04  2:55 ` [No Merge] " voidlinux-github
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-04  2:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ndowens/void-packages workrave
https://github.com/void-linux/void-packages/pull/16094

workrave: update to 1.10.34
Add missing SONAME
Fix musl build, thanks to q66

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-workrave-16094.patch --]
[-- Type: text/x-diff, Size: 3261 bytes --]

From bce7949c8032235e8f3bc49923c0c6aa109d3624 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Sun, 3 Nov 2019 17:47:56 -0600
Subject: [PATCH] workrave: update to 1.10.34

Add missing SONAME
Fix musl build, thanks to q66
---
 common/shlibs                                 |  1 +
 .../patches/musl-nl_msg_cat_cntr.patch        | 23 +++++++++++++++++++
 srcpkgs/workrave/template                     | 16 +++++--------
 3 files changed, 30 insertions(+), 10 deletions(-)
 create mode 100644 srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch

diff --git a/common/shlibs b/common/shlibs
index 8983239618b..c21e8b24527 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -16,6 +16,7 @@
 # PLEASE NOTE: when multiple packages provide the same SONAME, the first
 # one (order top->bottom) is preferred over the next ones.
 #
+libworkrave-private-1.0.so.0 workrave-1.10.34_1
 libc.so musl-1.1.21_1
 libc.so.6 glibc-2.29_1
 libm.so.6 glibc-2.29_1
diff --git a/srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch b/srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch
new file mode 100644
index 00000000000..9f7cf197098
--- /dev/null
+++ b/srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch
@@ -0,0 +1,23 @@
+Avoid glibc-specific libintl symbol on musl.
+
+--- common/src/Locale.cc
++++ common/src/Locale.cc
+@@ -34,7 +34,9 @@
+ 
+ #include "locale.inc"
+ 
++#if defined(__GLIBC__)
+ extern "C" int _nl_msg_cat_cntr;
++#endif
+ 
+ Locale::LanguageMap Locale::languages_native_locale;
+ 
+@@ -102,7 +104,7 @@ Locale::set_locale(const std::string &code)
+       g_unsetenv("LANG");
+     }
+ 
+-#ifndef PLATFORM_OS_WIN32_NATIVE
++#if defined(__GLIBC__)
+     ++_nl_msg_cat_cntr;
+ #endif
+ }
diff --git a/srcpkgs/workrave/template b/srcpkgs/workrave/template
index f34f232ef22..a07d5358be9 100644
--- a/srcpkgs/workrave/template
+++ b/srcpkgs/workrave/template
@@ -1,30 +1,26 @@
 # Template file for 'workrave'
 pkgname=workrave
-version=1.10.22
-revision=2
+version=1.10.34
+revision=1
 _realversion="${version//./_}"
 wrksrc="${pkgname}-${_realversion}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-gnome --disable-gsettings
  $(vopt_enable pulseaudio pulse)"
-hostmakedepends="automake autoconf-archive gettext-devel intltool pkg-config
- python-cheetah libtool"
-makedepends="gtkmm-devel libSM-devel libXtst-devel libXScrnSaver-devel
+hostmakedepends="automake autoconf-archive gettext-devel intltool python3-Jinja2
+pkg-config python-cheetah libtool"
+makedepends="boost-devel gtkmm-devel libSM-devel libXtst-devel libXScrnSaver-devel
  $(vopt_if pulseaudio pulseaudio-devel)"
 short_desc="Program that assists in the recovery and prevention of RSI"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="http://www.workrave.org/"
 distfiles="https://github.com/rcaelers/${pkgname}/archive/v${_realversion}.tar.gz"
-checksum=969fb8a6cb14aed08b2294bd01dbb2c2485a4c9bf6936fa8a513867aed759f63
+checksum=31a090b48c67c5a2ccb73fb56633f182fcc6d7aca5ec6376146671c72fda1444
 
 build_options="pulseaudio"
 
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	nocross="Locale.cc: undefined reference to '_nl_msg_cat_cntr'"
-fi
-
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

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

* Re: [No Merge] workrave: update to 1.10.34
  2019-11-04  2:25 [PR PATCH] workrave: update to 1.10.34 voidlinux-github
@ 2019-11-04  2:55 ` voidlinux-github
  2019-11-04  2:57 ` voidlinux-github
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-04  2:55 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/16094#issuecomment-549210970

Comment:
Are you sure that shlibs addition is correct

Only libraries that will be linked to by other things go in there - and this one seems, well, private

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

* Re: [No Merge] workrave: update to 1.10.34
  2019-11-04  2:25 [PR PATCH] workrave: update to 1.10.34 voidlinux-github
  2019-11-04  2:55 ` [No Merge] " voidlinux-github
@ 2019-11-04  2:57 ` voidlinux-github
  2019-11-04  2:58 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-04  2:57 UTC (permalink / raw)
  To: ml

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

New comment by ndowens on void-packages repository

https://github.com/void-linux/void-packages/pull/16094#issuecomment-549211247

Comment:
> Are you sure that shlibs addition is correct
> 
> Only libraries that will be linked to by other things go in there - and this one seems, well, private

Removing it in newest push

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

* Re: [PR PATCH] [Updated] [No Merge] workrave: update to 1.10.34
  2019-11-04  2:25 [PR PATCH] workrave: update to 1.10.34 voidlinux-github
  2019-11-04  2:55 ` [No Merge] " voidlinux-github
  2019-11-04  2:57 ` voidlinux-github
@ 2019-11-04  2:58 ` voidlinux-github
  2019-11-04  3:00 ` voidlinux-github
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-04  2:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ndowens/void-packages workrave
https://github.com/void-linux/void-packages/pull/16094

[No Merge] workrave: update to 1.10.34
Add missing SONAME
Fix musl build, thanks to q66

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-workrave-16094.patch --]
[-- Type: text/x-diff, Size: 2762 bytes --]

From 6f28c97675ba12504ce4b8c6269fb08bb542994e Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Sun, 3 Nov 2019 20:57:12 -0600
Subject: [PATCH] workrave: update to 1.10.34

---
 .../patches/musl-nl_msg_cat_cntr.patch        | 23 +++++++++++++++++++
 srcpkgs/workrave/template                     | 16 +++++--------
 2 files changed, 29 insertions(+), 10 deletions(-)
 create mode 100644 srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch

diff --git a/srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch b/srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch
new file mode 100644
index 00000000000..9f7cf197098
--- /dev/null
+++ b/srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch
@@ -0,0 +1,23 @@
+Avoid glibc-specific libintl symbol on musl.
+
+--- common/src/Locale.cc
++++ common/src/Locale.cc
+@@ -34,7 +34,9 @@
+ 
+ #include "locale.inc"
+ 
++#if defined(__GLIBC__)
+ extern "C" int _nl_msg_cat_cntr;
++#endif
+ 
+ Locale::LanguageMap Locale::languages_native_locale;
+ 
+@@ -102,7 +104,7 @@ Locale::set_locale(const std::string &code)
+       g_unsetenv("LANG");
+     }
+ 
+-#ifndef PLATFORM_OS_WIN32_NATIVE
++#if defined(__GLIBC__)
+     ++_nl_msg_cat_cntr;
+ #endif
+ }
diff --git a/srcpkgs/workrave/template b/srcpkgs/workrave/template
index f34f232ef22..a07d5358be9 100644
--- a/srcpkgs/workrave/template
+++ b/srcpkgs/workrave/template
@@ -1,30 +1,26 @@
 # Template file for 'workrave'
 pkgname=workrave
-version=1.10.22
-revision=2
+version=1.10.34
+revision=1
 _realversion="${version//./_}"
 wrksrc="${pkgname}-${_realversion}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-gnome --disable-gsettings
  $(vopt_enable pulseaudio pulse)"
-hostmakedepends="automake autoconf-archive gettext-devel intltool pkg-config
- python-cheetah libtool"
-makedepends="gtkmm-devel libSM-devel libXtst-devel libXScrnSaver-devel
+hostmakedepends="automake autoconf-archive gettext-devel intltool python3-Jinja2
+pkg-config python-cheetah libtool"
+makedepends="boost-devel gtkmm-devel libSM-devel libXtst-devel libXScrnSaver-devel
  $(vopt_if pulseaudio pulseaudio-devel)"
 short_desc="Program that assists in the recovery and prevention of RSI"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="http://www.workrave.org/"
 distfiles="https://github.com/rcaelers/${pkgname}/archive/v${_realversion}.tar.gz"
-checksum=969fb8a6cb14aed08b2294bd01dbb2c2485a4c9bf6936fa8a513867aed759f63
+checksum=31a090b48c67c5a2ccb73fb56633f182fcc6d7aca5ec6376146671c72fda1444
 
 build_options="pulseaudio"
 
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	nocross="Locale.cc: undefined reference to '_nl_msg_cat_cntr'"
-fi
-
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

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

* Re: [PR PATCH] [Updated] [No Merge] workrave: update to 1.10.34
  2019-11-04  2:25 [PR PATCH] workrave: update to 1.10.34 voidlinux-github
                   ` (2 preceding siblings ...)
  2019-11-04  2:58 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-04  3:00 ` voidlinux-github
  2019-11-04  4:02 ` voidlinux-github
  2019-11-04 18:33 ` [PR PATCH] [Merged]: " voidlinux-github
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-04  3:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ndowens/void-packages workrave
https://github.com/void-linux/void-packages/pull/16094

[No Merge] workrave: update to 1.10.34
Add missing SONAME
Fix musl build, thanks to q66

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-workrave-16094.patch --]
[-- Type: text/x-diff, Size: 2792 bytes --]

From 6ab746a3f65b09d0f07e56eb243ea81f83521b76 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Sun, 3 Nov 2019 20:57:12 -0600
Subject: [PATCH] workrave: update to 1.10.34

Fix musl build, thanks to q66
---
 .../patches/musl-nl_msg_cat_cntr.patch        | 23 +++++++++++++++++++
 srcpkgs/workrave/template                     | 16 +++++--------
 2 files changed, 29 insertions(+), 10 deletions(-)
 create mode 100644 srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch

diff --git a/srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch b/srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch
new file mode 100644
index 00000000000..9f7cf197098
--- /dev/null
+++ b/srcpkgs/workrave/patches/musl-nl_msg_cat_cntr.patch
@@ -0,0 +1,23 @@
+Avoid glibc-specific libintl symbol on musl.
+
+--- common/src/Locale.cc
++++ common/src/Locale.cc
+@@ -34,7 +34,9 @@
+ 
+ #include "locale.inc"
+ 
++#if defined(__GLIBC__)
+ extern "C" int _nl_msg_cat_cntr;
++#endif
+ 
+ Locale::LanguageMap Locale::languages_native_locale;
+ 
+@@ -102,7 +104,7 @@ Locale::set_locale(const std::string &code)
+       g_unsetenv("LANG");
+     }
+ 
+-#ifndef PLATFORM_OS_WIN32_NATIVE
++#if defined(__GLIBC__)
+     ++_nl_msg_cat_cntr;
+ #endif
+ }
diff --git a/srcpkgs/workrave/template b/srcpkgs/workrave/template
index f34f232ef22..a07d5358be9 100644
--- a/srcpkgs/workrave/template
+++ b/srcpkgs/workrave/template
@@ -1,30 +1,26 @@
 # Template file for 'workrave'
 pkgname=workrave
-version=1.10.22
-revision=2
+version=1.10.34
+revision=1
 _realversion="${version//./_}"
 wrksrc="${pkgname}-${_realversion}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-gnome --disable-gsettings
  $(vopt_enable pulseaudio pulse)"
-hostmakedepends="automake autoconf-archive gettext-devel intltool pkg-config
- python-cheetah libtool"
-makedepends="gtkmm-devel libSM-devel libXtst-devel libXScrnSaver-devel
+hostmakedepends="automake autoconf-archive gettext-devel intltool python3-Jinja2
+pkg-config python-cheetah libtool"
+makedepends="boost-devel gtkmm-devel libSM-devel libXtst-devel libXScrnSaver-devel
  $(vopt_if pulseaudio pulseaudio-devel)"
 short_desc="Program that assists in the recovery and prevention of RSI"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="http://www.workrave.org/"
 distfiles="https://github.com/rcaelers/${pkgname}/archive/v${_realversion}.tar.gz"
-checksum=969fb8a6cb14aed08b2294bd01dbb2c2485a4c9bf6936fa8a513867aed759f63
+checksum=31a090b48c67c5a2ccb73fb56633f182fcc6d7aca5ec6376146671c72fda1444
 
 build_options="pulseaudio"
 
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	nocross="Locale.cc: undefined reference to '_nl_msg_cat_cntr'"
-fi
-
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }

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

* Re: workrave: update to 1.10.34
  2019-11-04  2:25 [PR PATCH] workrave: update to 1.10.34 voidlinux-github
                   ` (3 preceding siblings ...)
  2019-11-04  3:00 ` voidlinux-github
@ 2019-11-04  4:02 ` voidlinux-github
  2019-11-04 18:33 ` [PR PATCH] [Merged]: " voidlinux-github
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-04  4:02 UTC (permalink / raw)
  To: ml

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

New comment by ndowens on void-packages repository

https://github.com/void-linux/void-packages/pull/16094#issuecomment-549219249

Comment:
https://travis-ci.org/ndowens/void-packages/builds/606934036 builds fine it seems; not sure why it is timing out here.

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

* Re: [PR PATCH] [Merged]: workrave: update to 1.10.34
  2019-11-04  2:25 [PR PATCH] workrave: update to 1.10.34 voidlinux-github
                   ` (4 preceding siblings ...)
  2019-11-04  4:02 ` voidlinux-github
@ 2019-11-04 18:33 ` voidlinux-github
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-04 18:33 UTC (permalink / raw)
  To: ml

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

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

workrave: update to 1.10.34
https://github.com/void-linux/void-packages/pull/16094

Description:
Add missing SONAME
Fix musl build, thanks to q66

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

end of thread, other threads:[~2019-11-04 18:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04  2:25 [PR PATCH] workrave: update to 1.10.34 voidlinux-github
2019-11-04  2:55 ` [No Merge] " voidlinux-github
2019-11-04  2:57 ` voidlinux-github
2019-11-04  2:58 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-04  3:00 ` voidlinux-github
2019-11-04  4:02 ` voidlinux-github
2019-11-04 18:33 ` [PR PATCH] [Merged]: " voidlinux-github

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).