Bug 239859

Summary: deskutils/{g}xneur: Update to 0.20
Product: Ports & Packages Reporter: Michael Zhilin <mizhka>
Component: Individual Port(s)Assignee: Fernando Apesteguía <fernape>
Status: Closed FIXED    
Severity: Affects Only Me CC: fernape, meta, mizhka
Priority: --- Keywords: needs-qa
Version: LatestFlags: koobs: maintainer-feedback? (mizhka)
Hardware: Any   
OS: Any   
Description Flags
SVN patch for gxneur
SVN patch for xneur
Patch to properly update [g]xneur to 0.20.0 fernape: maintainer-approval? (mizhka)

Description Michael Zhilin 2019-08-14 16:33:21 UTC
Created attachment 206545 [details]
SVN patch for gxneur


Here is patch for XNeur ports (deskutils/xneur and deskutils/gxneur).
Mostly it's just version bump with minor build changes. 

It works for me, portlint looks me, but poudriere tests are required. 

Thank you for your effort!
Comment 1 Michael Zhilin 2019-08-14 16:33:50 UTC
Created attachment 206546 [details]
SVN patch for xneur
Comment 2 Koichiro Iwao freebsd_committer 2019-10-12 04:06:54 UTC
It doesn't build.

checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc9 accepts -g... yes
checking for gcc9 option to accept ISO C89... none needed
checking whether gcc9 understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc9... gcc3
checking how to run the C preprocessor... cpp9
checking for X... disabled
checking whether NLS is requested... yes
./configure: intltool-update: not found
checking for intltool >= 0.35.0...  found
configure: error: Your intltool is too old.  You need intltool 0.35.0 or later.
===>  Script "configure" failed unexpectedly.
Please report the problem to mizhka@gmail.com [maintainer] and attach the
"/wrkdirs/usr/ports/deskutils/xneur/work/xneur-0.20.0/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

make: stopped in /usr/ports/deskutils/xneur
build of deskutils/xneur | xneur-0.20.0 ended at Fri Oct 11 18:29:21 JST 2019
build time: 00:00:39
!!! build failure encountered !!!
[03:21:20] Error: Build failed in phase: configure
[03:21:20] Cleaning up
[03:21:20] Unmounting file systems
Comment 3 Koichiro Iwao freebsd_committer 2019-10-12 04:30:15 UTC
After adding missing dependencies, I still get this.

ocal/lib/xneur -Wl,-rpath -Wl,/usr/local/lib                                                                            /usr/local/bin/ld: ../lib/lib/.libs/libxneur.so: undefined reference to `loKg_message'
collect2: error: ld returned 1 exit status
*** [xneur] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/deskutils/xneur/work/xneur-0.20.0/src
1 error

make[3]: stopped in /wrkdirs/usr/ports/deskutils/xneur/work/xneur-0.20.0/src
*** [all-recursive] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/deskutils/xneur/work/xneur-0.20.0
1 error

make[2]: stopped in /wrkdirs/usr/ports/deskutils/xneur/work/xneur-0.20.0
*** [all] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/deskutils/xneur/work/xneur-0.20.0
1 error

make[1]: stopped in /wrkdirs/usr/ports/deskutils/xneur/work/xneur-0.20.0
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Comment 4 Koichiro Iwao freebsd_committer 2019-10-12 04:31:20 UTC
Give up until the submitter fixes this. Please finish poudriere test before submitting.
Comment 5 Fernando Apesteguía freebsd_committer 2020-03-27 10:07:23 UTC
Created attachment 212747 [details]
Patch to properly update [g]xneur to 0.20.0

This patch updates deskutils/[g]xneur to 0.20.0

The fact that the release has two typos that avoid building doesn't reflect good on the upstream project. Anyway, this builds now in {11.3,12.1}{amd64,i386} and 13-CURRENT amd64.

Seems to work fine in 12.1 amd64
Comment 6 Fernando Apesteguía freebsd_committer 2020-03-27 10:09:55 UTC
Hi Michael,

As meta@ suggested, it would be useful if you run your tests through poudriere first.

Have a look at https://www.freebsd.org/doc/en/books/porters-handbook/book.html#testing-poudriere.

It is pretty straightforward to configure and catches most of the problems we face when dealing with port updates :)

Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-27 11:44:49 UTC

 - Request feedback/approval from deskutils/gxneur maintainer
 - Patch author is FreeBSD committer, assign accordingly
Comment 8 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-27 11:45:10 UTC
Comment on attachment 212747 [details]
Patch to properly update [g]xneur to 0.20.0

^Triage: Set maintainer address in maintainer-approval flag value
Comment 9 commit-hook freebsd_committer 2020-04-05 11:25:11 UTC
A commit references this bug:

Author: fernape
Date: Sun Apr  5 11:24:16 UTC 2020
New revision: 530768
URL: https://svnweb.freebsd.org/changeset/ports/530768

  deskutils/{g}xneur: Update to 0.20

  PR:	239859
  Submitted by:	mizhka@gmail.com (maintainer)

Comment 10 Fernando Apesteguía freebsd_committer 2020-04-05 11:27:22 UTC