Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Alexey I. Froloff
On Wed, May 27, 2015 at 11:12:23AM +0200, Martin Dietze wrote: I would take the latest Fedora WindowMaker src.rpm, replace the tarball in it and rebuild it OK, got it. The problem was that I have a GNUstep installation in ~/GNUstep and several environment variables pointing to it. Better use

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Martin Dietze
On 27 May 2015 at 11:44, Carlos R. Mafra crma...@gmail.com wrote: This service can build packages for multiple distros and I always had the impression that it could potentially unify the work done by each distro, they would all just pick up the wmaker package from that build system. So the

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Alexey I. Froloff
On Wed, May 27, 2015 at 11:41:14AM +0200, Martin Dietze wrote: Better use mock instead of just rpm-build. mock? Never heard of that. I am rather unfamiliar with the RH family of distributions and its tools... It's a tool, to build rpm packages in chroot, so your environment doesn't affect the

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Martin Dietze
On 27 May 2015 at 10:03, Nerijus Baliunas neri...@users.sourceforge.net wrote: I would take the latest Fedora WindowMaker src.rpm, replace the tarball in it and rebuild it OK, got it. The problem was that I have a GNUstep installation in ~/GNUstep and several environment variables pointing to

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Alexey I. Froloff
On Wed, May 27, 2015 at 10:44:54AM +0100, Carlos R. Mafra wrote: I think there are distro packagers in this mailing list. Can I ask them if a unified wmaker package from build.opensuse.org is something worth having? There's no suck thing like unified package, sorry to disappoint you. Some

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Martin Dietze
On 27 May 2015 at 11:32, Alexey I. Froloff ra...@raorn.name wrote: Better use mock instead of just rpm-build. mock? Never heard of that. I am rather unfamiliar with the RH family of distributions and its tools... -- -- mdie...@gmail.com --/-- mar...@the-little-red-haired-girl.org

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Carlos R. Mafra
On Wed, 27 May 2015 at 9:57:07 +0200, Martin Dietze wrote: Still being a diehard Debian user I have to use RHEL at work (gasp). I have long searched for more or less up-to-date ready-made packages, and I ended up with the repo on li.nux.ro. This is nice, but I've always liked to play around

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Carlos R. Mafra
On Wed, 27 May 2015 at 13:59:08 +0300, Alexey I. Froloff wrote: It is possible to use one source package to build RPMs for different distros (like Fedora, RHEL, SUSE, whatever), but due to little differences in macros, specfile would look like spaghetti of %ifdef's, each section maintained

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Carlos R. Mafra
On Wed, 27 May 2015 at 15:33:27 +0200, Martin Dietze wrote: On 27 May 2015 at 15:27, Alexey I. Froloff ra...@raorn.name wrote: It was actually imported from (already dead) KSI Linux distro, last updated ten years ago. But still, this is better than nothing. Need to take a look, maybe

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Alexey I. Froloff
On Wed, May 27, 2015 at 12:31:38PM +0100, Carlos R. Mafra wrote: Could you consider to submit your work with the specfile to the wmaker git repository? The idea being that other people could add the %ifdef's needed for other distros too, and we would have a central specfile for wmaker. I

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Martin Dietze
On 27 May 2015 at 12:59, Alexey I. Froloff ra...@raorn.name wrote: There's no suck thing like unified package, sorry to disappoint you. It is possible to use one source package to build RPMs for different distros (like Fedora, RHEL, SUSE, whatever), but due to little differences in macros,

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Alexey I. Froloff
On Wed, May 27, 2015 at 03:00:47PM +0200, Martin Dietze wrote: I was happy to see that somebody has actually made them by now (I had planned to do this myself for long, but for a non-native speaker this kind of thing usually takes a bit longer of course). It was actually imported from (already

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Martin Dietze
On 27 May 2015 at 14:12, Alexey I. Froloff ra...@raorn.name wrote: P.S. You can simplify this by importing Ukrainian translations and converting manpages from iso8859-1 to utf-8. Я тільки за :) I was happy to see that somebody has actually made them by now (I had planned to do this myself for

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Alexey I. Froloff
On Wed, May 27, 2015 at 08:37:56AM -0400, Charles Philip Chan wrote: There's no suck thing like unified package, sorry to disappoint you. OBS have been used successfully to build packages for many distros, including: I am aware what OBS is, thank you. -- Regards,-- Sir Raorn. ---

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Martin Dietze
On 27 May 2015 at 15:44, Carlos R. Mafra crma...@gmail.com wrote: Can someone send this to the main git repo for greater visibility? I've committed them, see appended. I haven't tried it out though. Cheers, Martin -- -- mdie...@gmail.com --/-- mar...@the-little-red-haired-girl.org

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Alexey I. Froloff
On Wed, May 27, 2015 at 05:28:45PM +0300, Alexey I. Froloff wrote: I've made a COPR repo and built wmaker-crm-next for EPEL-7, F20, F21, F22 and Rawhide. Totally forgot the URL. Here it is: https://copr.fedoraproject.org/coprs/raorn/wmaker-crm-next/ You can either use dnf copr plugin or

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Alexey I. Froloff
On Wed, May 27, 2015 at 12:31:38PM +0100, Carlos R. Mafra wrote: Could you consider to submit your work with the specfile to the wmaker git repository? The idea being that other people could add the %ifdef's needed for other distros too, and we would have a central specfile for wmaker. I've

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Carlos R. Mafra
On Wed, 27 May 2015 at 16:13:48 +0200, Martin Dietze wrote: On 27 May 2015 at 15:44, Carlos R. Mafra crma...@gmail.com wrote: Can someone send this to the main git repo for greater visibility? I've committed them, see appended. I haven't tried it out though. Thank you! -- To unsubscribe,

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Carlos R. Mafra
On Wed, 27 May 2015 at 17:28:45 +0300, Alexey I. Froloff wrote: On Wed, May 27, 2015 at 12:31:38PM +0100, Carlos R. Mafra wrote: Could you consider to submit your work with the specfile to the wmaker git repository? The idea being that other people could add the %ifdef's needed for other

Re: Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Shawn W Dunn
Actually, on OBS, if you want to avoid the %ifdef mess, when building for openSUSE and Fedora, for instance, just use two specfiles. One would be Package-openSUSE_13.2.spec and the other would be Package-Fedora_21.spec On May 27, 2015 5:55 AM, Martin Dietze mdie...@gmail.com wrote: On 27 May

[PATCH 14/24] wmgeneral: Add support for X geometry strings to -geometry option.

2015-05-27 Thread Doug Torrance
In particular, we can specify the offsets from the right and bottom of the screen using '-', e.g., '-geometry -64-64' places the dockapp in the lower right corner of the screen. --- wmSMPmon/wmgeneral/wmgeneral.c | 16 ++-- wmckgmail/wmgeneral/wmgeneral.c | 16 ++--

[PATCH 12/24] wmifs: Add support for wmgeneral's -geometry command line option.

2015-05-27 Thread Doug Torrance
Also take the opportunity to correct the manpage; the -d option should be -display. --- wmifs/wmifs.1 | 5 - wmifs/wmifs.c | 7 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/wmifs/wmifs.1 b/wmifs/wmifs.1 index 42f4b1b..3583a86 100644 --- a/wmifs/wmifs.1 +++

[PATCH 16/24] wmifs: Throw out first /proc/net/dev reading.

2015-05-27 Thread Doug Torrance
If we keep it, we start with a huge spike and everything else is zero until the spike finally leaves the window several moments later. --- wmifs/wmifs.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 07097f2..64f8b67 100644 ---

[PATCH 17/24] wmifs: Tidy #includes using include-what-you-use.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 47 +++ 1 file changed, 19 insertions(+), 28 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 64f8b67..b42811b 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -177,34 +177,25 @@ */ #define _DEFAULT_SOURCE

[PATCH 19/24] wmifs: Convert strtok() calls to thread-safe strtok_r().

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 93ea6a3..36e1081 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -714,7 +714,7 @@ int get_statistics(char *devname, long *ip, long *op, long *is, long *os)

[PATCH 18/24] wmifs: Reduce scopes of variables (fixes style warnings from cppcheck).

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index b42811b..93ea6a3 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -665,7 +665,6 @@ void DrawActiveIFS(char *real_name) */ size_t

[PATCH 20/24] wmifs: Add proper copyright header.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 36e1081..4ced234 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -1,4 +1,21 @@ -/* +/* WMiFS - a complete network monitoring dock.app +Copyright (C)

[PATCH 21/24] wmifs: Update Window Maker instructions in HINTS.

2015-05-27 Thread Doug Torrance
--- wmifs/HINTS | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/wmifs/HINTS b/wmifs/HINTS index 163f721..7f36a61 100644 --- a/wmifs/HINTS +++ b/wmifs/HINTS @@ -29,9 +29,13 @@ lo was mainly build in for testing purposes ;-) WindowMaker

[PATCH 24/24] wmifs: Bump to version 1.5.

2015-05-27 Thread Doug Torrance
--- wmifs/CHANGES | 72 +++ wmifs/wmifs.c | 2 +- 2 files changed, 73 insertions(+), 1 deletion(-) diff --git a/wmifs/CHANGES b/wmifs/CHANGES index b30fc0e..1be1263 100644 --- a/wmifs/CHANGES +++ b/wmifs/CHANGES @@ -1,5 +1,77 @@ Version

[PATCH 22/24] wmifs: Remove first two installation steps in INSTALL.

2015-05-27 Thread Doug Torrance
The user must have already done these two things already to be able to read INSTALL in the first place. --- wmifs/INSTALL | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/wmifs/INSTALL b/wmifs/INSTALL index 7727d6c..a072540 100644 --- a/wmifs/INSTALL +++

[PATCH 00/24] wmifs

2015-05-27 Thread Doug Torrance
Here are some patches for wmifs (and one for all wmgeneral dockapps). Carlos, could you tag the last commit wmifs-1.5? Thanks! Doug Torrance (24): wmifs: Move source files to top directory. wmifs: Fix spelling error and escape hyphen in manpage. wmifs: Fix variable 'ppp_old set but not

[PATCH 03/24] wmifs: Fix variable 'ppp_old set but not used compiler warning.

2015-05-27 Thread Doug Torrance
Based on a patch from the Debian package [1]. [1] https://sources.debian.net/src/wmifs/1.4-2/debian/patches/fix-compiler-warning.patch/ --- wmifs/wmifs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index ecd00e9..c1c2ac9 100644 ---

[PATCH 02/24] wmifs: Fix spelling error and escape hyphen in manpage.

2015-05-27 Thread Doug Torrance
Based on a patch in the Debian package [1]. [1] https://sources.debian.net/src/wmifs/1.4-2/debian/patches/fix-manpage.patch/ --- wmifs/wmifs.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmifs/wmifs.1 b/wmifs/wmifs.1 index 9d57ed1..d22b954 100644 --- a/wmifs/wmifs.1

[PATCH 09/24] wmifs: Replace deprecated usleep with nanosleep.

2015-05-27 Thread Doug Torrance
Although defining _DEFAULT_SOURCE is overkill for nanosleep, it also fixes field ‘b’ has incomplete type errors, as we need __USE_MISC defined to pick up the definition of ifreq in net/if.h. --- wmifs/wmifs.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[PATCH 01/24] wmifs: Move source files to top directory.

2015-05-27 Thread Doug Torrance
--- wmifs/{wmifs = }/Makefile | 6 +++--- wmifs/{wmifs = }/sample.wmifsrc | 0 wmifs/{wmifs = }/wmifs-mask.xbm | 0 wmifs/{wmifs = }/wmifs-master.xpm | 0 wmifs/{wmifs = }/wmifs.1 | 0 wmifs/{wmifs = }/wmifs.c | 4 ++-- 6 files changed, 5 insertions(+), 5

[PATCH 06/24] wmifs: Fix comparison between signed and unsigned integer expressions compiler warning.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index c124cc3..9c56f63 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -584,10 +584,10 @@ void DrawActiveIFS(char *real_name) Destinatie: 5,5 */ -

[PATCH 05/24] wmifs: Fix suggest braces around empty body in an ‘if’ statement compiler warning.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index c1c2ac9..c124cc3 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -961,8 +961,9 @@ void get_ppp_stats(struct ppp_stats *cur) sprintf(req.ifr__name, ppp%d,

[PATCH 04/24] wmifs: Update Makefile.

2015-05-27 Thread Doug Torrance
In particular, - Drop unnecessary definition of DESTDIR. - Drop LIBDIR; pointed to deprecated X11R6 directory. - Honors CPPFLAGS and LDFLAGS build flags. - Remove out-of-date version number from installation message. Based in part on a patch from the Debian package [1]. [1]

[PATCH 10/24] wmifs: Add -c command line option allowing users to set color.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.1 | 3 +++ wmifs/wmifs.c | 73 +++ 2 files changed, 76 insertions(+) diff --git a/wmifs/wmifs.1 b/wmifs/wmifs.1 index d22b954..42f4b1b 100644 --- a/wmifs/wmifs.1 +++ b/wmifs/wmifs.1 @@ -54,6 +54,9 @@ Scrolling interval, in

[PATCH 13/24] wmifs: Honor CONF Makefile variable when parsing system config files.

2015-05-27 Thread Doug Torrance
--- wmifs/Makefile | 2 +- wmifs/wmifs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wmifs/Makefile b/wmifs/Makefile index e2d8986..e442ed3 100755 --- a/wmifs/Makefile +++ b/wmifs/Makefile @@ -20,7 +20,7 @@ INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755

[PATCH 11/24] wmifs: Reformat help text for readability.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 1344405..7b128da 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -1001,15 +1001,15 @@ void usage(void) fprintf(stderr, \nwmifs - programming:

Is anybody building rpms from wmaker-crm/next?

2015-05-27 Thread Martin Dietze
Still being a diehard Debian user I have to use RHEL at work (gasp). I have long searched for more or less up-to-date ready-made packages, and I ended up with the repo on li.nux.ro. This is nice, but I've always liked to play around with the most recent features and benefit from bugfixes (e.g.