Bug 197856 - [MAINTAINER] deskutils/treesheets: Update to v0.0.20150117
Summary: [MAINTAINER] deskutils/treesheets: Update to v0.0.20150117
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bartek Rutkowski
URL:
Keywords: patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-02-20 18:05 UTC by lightside
Modified: 2015-03-01 17:09 UTC (History)
2 users (show)

See Also:


Attachments
Proposed patch (since 379431 revision) (2.58 KB, patch)
2015-02-20 18:05 UTC, lightside
no flags Details | Diff
The poudriere testport log (FreeBSD 10 amd64) (33.42 KB, text/plain)
2015-02-20 18:05 UTC, lightside
no flags Details
Proposed patch (since 379431 revision) (1.74 KB, patch)
2015-02-21 01:23 UTC, lightside
no flags Details | Diff
The poudriere testport log (FreeBSD 10 amd64) (33.22 KB, text/x-log)
2015-02-21 01:23 UTC, lightside
no flags Details
Proposed patch (since 379431 revision) (1.77 KB, patch)
2015-02-21 01:48 UTC, lightside
no flags Details | Diff
The poudriere testport log (FreeBSD 10 amd64) (34.22 KB, text/plain)
2015-02-21 01:48 UTC, lightside
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lightside 2015-02-20 18:05:11 UTC
Created attachment 153226 [details]
Proposed patch (since 379431 revision)

Patch to update deskutils/treesheets port from 0.0.20141225 to v0.0.20150117 version.

Look following link for changes:
https://github.com/aardappel/treesheets/compare/6ff99fb...0191b1f

The current method of building software just works. But there is some claims from ports r379431, which unrelated to the actual practice (i.e. the possibility to do the same with different methods), in my opinion. Therefore, I created manual Makefile also. It not so generic as previous method (from maintenance point of view), but it also just works.

- Add manual Makefile to build application
Comment 1 lightside 2015-02-20 18:05:49 UTC
Created attachment 153227 [details]
The poudriere testport log (FreeBSD 10 amd64)
Comment 2 lightside 2015-02-21 01:23:28 UTC
Created attachment 153256 [details]
Proposed patch (since 379431 revision)

Looks like, I understood the ports r379431 claims wrong. Basically, it meant to simplify the building, without the need to change the build.sh file.

The changed patch attached.
Comment 3 lightside 2015-02-21 01:23:55 UTC
Created attachment 153257 [details]
The poudriere testport log (FreeBSD 10 amd64)
Comment 4 lightside 2015-02-21 01:48:14 UTC
Created attachment 153259 [details]
Proposed patch (since 379431 revision)

Return "${SETENV} ${MAKE_ENV}" for port's Makefile.
Comment 5 lightside 2015-02-21 01:48:42 UTC
Created attachment 153260 [details]
The poudriere testport log (FreeBSD 10 amd64)
Comment 6 lightside 2015-02-21 02:18:19 UTC
(In reply to comment #4)
> Return "${SETENV} ${MAKE_ENV}" for port's Makefile.

But I think, that it is not needed, in case of direct build method.
In previous method, the WX_CONFIG variable might be missing, which caused build failure on DragonFly BSD.

I renew the attachments.
Comment 7 John Marino freebsd_committer freebsd_triage 2015-02-21 08:31:48 UTC
Comment on attachment 153259 [details]
Proposed patch (since 379431 revision)

This is the attachment you want.  Failure to set environment is an error, full stop.  Whether or not the port builds on a particular environment without it is irrelevant.  It is the same principle of porters handbook 12.9 (not overriding flags).  You can't "override" or prevent the alteration of the environment either.
Comment 8 John Marino freebsd_committer freebsd_triage 2015-02-21 08:34:40 UTC
The attached patch looks good to me and is an improvement over the current build target.  I'm moving this PR to patch-ready status.
Comment 9 lightside 2015-02-21 10:13:57 UTC
(In reply to comment #8)

Ok, thanks.
Comment 10 commit-hook freebsd_committer freebsd_triage 2015-03-01 17:08:03 UTC
A commit references this bug:

Author: robak
Date: Sun Mar  1 17:07:39 UTC 2015
New revision: 380213
URL: https://svnweb.freebsd.org/changeset/ports/380213

Log:
  deskutils/treesheets: update 0.0.20141225 -> 0.0.20150117

  PR:		197856
  Submitted by:	lightside@gmx.com

Changes:
  head/deskutils/treesheets/Makefile
  head/deskutils/treesheets/distinfo
Comment 11 Bartek Rutkowski freebsd_committer freebsd_triage 2015-03-01 17:09:51 UTC
Committed, thanks for your work!