Bug 191297 - textproc/utf8cpp: new port
textproc/utf8cpp: new port
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Many People
Assigned To: FreeBSD ports mailing list
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-23 05:56 UTC by Keith Gaughan
Modified: 2014-06-23 20:55 UTC (History)
1 user (show)

See Also:


Attachments
Source for utf8cpp 2.3.4 port (2.31 KB, application/x-shar)
2014-06-23 05:56 UTC, Keith Gaughan
no flags Details
Source for utf8cpp 2.3.4 port (2.31 KB, application/x-shar)
2014-06-23 19:29 UTC, Keith Gaughan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Gaughan 2014-06-23 05:56:10 UTC
Created attachment 144055 [details]
Source for utf8cpp 2.3.4 port

utf8cpp is a C++ library for handling UTF-8 strings. I'm submitting it as I intend on submitting an update to finance/ledger to bring it up to 3.0.3, and utf8cpp is a dependency ledger 3.0.3.
Comment 1 Raphael Kubo da Costa freebsd_committer 2014-06-23 17:33:33 UTC
Fetching fails here:

=> Attempting to fetch http://downloads.sourceforge.net/project/utfcpp/PORTNAME_2x/Release%202.3.4/utf8_v2_3_4.zip
fetch: http://downloads.sourceforge.net/project/utfcpp/PORTNAME_2x/Release%202.3.4/utf8_v2_3_4.zip: Not Found

on and on for all mirrors.

> do-build:
>

You can just set NO_BUILD instead.
Comment 2 Keith Gaughan 2014-06-23 18:01:00 UTC
(In reply to Raphael Kubo da Costa from comment #1)
> Fetching fails here:
> 
> => Attempting to fetch
> http://downloads.sourceforge.net/project/utfcpp/PORTNAME_2x/Release%202.3.4/
> utf8_v2_3_4.zip
> fetch:
> http://downloads.sourceforge.net/project/utfcpp/PORTNAME_2x/Release%202.3.4/
> utf8_v2_3_4.zip: Not Found

I'm looking at the shar file, and it looks fine. It's almost like something went wrong when it was extracted.

The line that must be being corrupted is this one:

MASTER_SITES=	SF/utfcpp/${PORTNAME:L}_2x/Release%20${PORTVERSION}/

Is that intact in the shar file?

> on and on for all mirrors.
> 
> > do-build:
> 
> You can just set NO_BUILD instead.

Ah, thanks! I was looking through the porter's handbook for that. I must've missed it.
Comment 3 Raphael Kubo da Costa freebsd_committer 2014-06-23 18:16:03 UTC
> The line that must be being corrupted is this one:
>
> MASTER_SITES=	SF/utfcpp/${PORTNAME:L}_2x/Release%20${PORTVERSION}/
>
> Is that intact in the shar file?

It is, but the :L is wrong -- :L means "the name of the variable is the value", you were probably thinking of :tl.

I believe you're using an older FreeBSD release which still supports :L as :tl, which is not the case on HEAD.
Comment 4 Keith Gaughan 2014-06-23 19:29:48 UTC
Created attachment 144079 [details]
Source for utf8cpp 2.3.4 port

Here's a fixed version of the port using :tl instead of :L and with NO_BUILD=yes.
Comment 5 commit-hook freebsd_committer 2014-06-23 19:48:32 UTC
A commit references this bug:

Author: rakuco
Date: Mon Jun 23 19:47:56 UTC 2014
New revision: 359001
URL: http://svnweb.freebsd.org/changeset/ports/359001

Log:
  Add devel/utf8cpp.

  utf8cpp is a C++ library for handling UTF-8 strings.

  It is also a requirement for updating finance/ledger.

  PR:		191297
  Submitted by:	Keith Gaughan <k@stereochro.me>

Changes:
  head/devel/Makefile
  head/devel/utf8cpp/
  head/devel/utf8cpp/Makefile
  head/devel/utf8cpp/distinfo
  head/devel/utf8cpp/pkg-descr
Comment 6 Raphael Kubo da Costa freebsd_committer 2014-06-23 19:48:50 UTC
Committed, thank you!
Comment 7 commit-hook freebsd_committer 2014-06-23 20:55:36 UTC
A commit references this bug:

Author: rakuco
Date: Mon Jun 23 20:54:52 UTC 2014
New revision: 359009
URL: http://svnweb.freebsd.org/changeset/ports/359009

Log:
  Fix CATEGORIES.

  PR:		191297

Changes:
  head/devel/utf8cpp/Makefile