Opened 11 years ago

Closed 10 years ago

#41227 closed submission (fixed)

New port: po4a and missing depends

Reported by: odyx@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: po4a p5-text-wrapi18n

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

in the course of the colobot [0] packaging for MacOS, I've come to need po4a [1]. I've therefore tried to create MacPorts' Portfile's for po4a and its missing dependencies:

  • po4a
  • p5-text-wrapi18n
  • p5-unicode-gcstring

Portfiles are attached, please consider.

Cheers,

OdyX

[0] http://github.com/colobot/colobot
[1] http://po4a.alioth.debian.org/

Attachments (11)

Portfile (1.3 KB) - added by odyx@… 11 years ago.
po4a Portfile
Portfile.2 (1.3 KB) - added by odyx@… 11 years ago.
p5-text-wrapi18n Portfile
Portfile.3 (972 bytes) - added by odyx@… 11 years ago.
p5-unicode-gcstring Portfile
Portfile.4 (1.9 KB) - added by odyx@… 11 years ago.
po4a Portfile v2
Portfile.5 (1.5 KB) - added by odyx@… 11 years ago.
p5-wrapi18n Portfile v2
Portfile.6 (1.5 KB) - added by odyx@… 11 years ago.
p5-wrapi18n Portfile v2
Portfile.7 (1.2 KB) - added by odyx@… 11 years ago.
p5-unicode-gcstring Portfile v2
Portfile.8 (1.5 KB) - added by odyx@… 11 years ago.
p5-text-wrapi18n Portfile v3
Portfile.9 (1.1 KB) - added by odyx@… 11 years ago.
p5-unic
Portfile.10 (1.1 KB) - added by odyx@… 11 years ago.
p5-unicode-gcstring Portfile v3
Portfile.11 (1.9 KB) - added by odyx@… 11 years ago.
po4a Portfile v3

Download all attachments as: .zip

Change History (27)

Changed 11 years ago by odyx@…

Attachment: Portfile added

po4a Portfile

Changed 11 years ago by odyx@…

Attachment: Portfile.2 added

p5-text-wrapi18n Portfile

Changed 11 years ago by odyx@…

Attachment: Portfile.3 added

p5-unicode-gcstring Portfile

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks. Some observations:

In the portfile for po4a:

  • dependencies on p5-* stub ports are not legal; depend on the specific p5 subports you want; also depend on the specific perl you want, and ensure it gets used

In the portfiles for p5-text-wrapi18n and p5-unicode-gcstring:

  • the standard modeline should be added and you should ensure the portfile's whitespace conforms to it

In all three portfiles:

  • the revision line should be removed to allow the default value of 0 to be used
  • md5 checksum types and using only a single checksum type are deprecated; please use at least rmd160 and sha256 checksums

Changed 11 years ago by odyx@…

Attachment: Portfile.4 added

po4a Portfile v2

Changed 11 years ago by odyx@…

Attachment: Portfile.5 added

p5-wrapi18n Portfile v2

Changed 11 years ago by odyx@…

Attachment: Portfile.6 added

p5-wrapi18n Portfile v2

Changed 11 years ago by odyx@…

Attachment: Portfile.7 added

p5-unicode-gcstring Portfile v2

comment:3 Changed 11 years ago by odyx@…

Thanks for the comments, I think I fixed all reported issues. Thanks in advance for the further review.

(oops, p5-wrapi18n got uploaded twice, sorry)

Last edited 11 years ago by odyx@… (previous) (diff)

comment:4 Changed 11 years ago by odyx@…

Ping. Is there something more I need to fix for this to be integrated?

comment:5 Changed 11 years ago by odyx@…

Ping again; how can I get this in?

comment:6 Changed 11 years ago by mf2k (Frank Schima)

looking at your latest po4a Portfile:

  • Use Perl 5.16 since that is the default now.
  • All checksums should be rmd160 and sha256. You can also have md5 if upstream publishes it.

Changed 11 years ago by odyx@…

Attachment: Portfile.8 added

p5-text-wrapi18n Portfile v3

Changed 11 years ago by odyx@…

Attachment: Portfile.9 added

p5-unic

Changed 11 years ago by odyx@…

Attachment: Portfile.10 added

p5-unicode-gcstring Portfile v3

Changed 11 years ago by odyx@…

Attachment: Portfile.11 added

po4a Portfile v3

comment:7 in reply to:  6 Changed 11 years ago by odyx@…

Replying to macsforever2000@…:

looking at your latest po4a Portfile:

  • Use Perl 5.16 since that is the default now.
  • All checksums should be rmd160 and sha256. You can also have md5 if upstream publishes it.

Done.

I had to force the perl version used for configure, build and destroot in po4a as module-build insisted to use perl5.12 for some reason.

comment:8 Changed 11 years ago by mf2k (Frank Schima)

Added p5-text-wrapi18n in r117952 with the following changes:

  • Added supported_archs noarch
  • Added perl 5.18 version.

comment:9 Changed 11 years ago by mf2k (Frank Schima)

p5-unicode-gcstring already exists as the p5-unicode-linebreak port.

po4a should not go in the perl category because that is for perl modules. I'm thinking textproc?

comment:10 in reply to:  9 Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to macsforever2000@…:

po4a should not go in the perl category because that is for perl modules. I'm thinking textproc?

Fink puts it under "devel": http://pdb.finkproject.org/pdb/package.php/po4a
Of course their sections do not line up exactly with the categories in MacPorts, so "textproc" might actually be a better fit here in MacPorts, idk...

comment:11 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:12 Changed 11 years ago by cooljeanius (Eric Gallager)

Also, having a port for po4a committed as per this ticket could be helpful for the update for dpkg in ticket #39018, as then I could direct the dpkg port to use the po4a from this po4a port...

comment:13 Changed 11 years ago by cooljeanius (Eric Gallager)

It would also be useful to have a port for po4a for the port for sensible-utils that I am working on... right now I have to skip the po4a parts in the sensible-utils source because the po4a port has not been committed yet...

comment:14 Changed 11 years ago by mf2k (Frank Schima)

The po4a Portfile needs the correct license.

comment:15 Changed 11 years ago by mf2k (Frank Schima)

Also fetching po4a fails:

$ sudo port -v build
--->  Computing dependencies for po4a.
--->  Fetching distfiles for po4a
--->  po4a-0.45.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/po4a
--->  Attempting to fetch po4a-0.45.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://alioth.debian.org/frs/download.php/file/3942/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   360  100   360    0     0   1298      0 --:--:-- --:--:-- --:--:--  1294
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://nue.de.distfiles.macports.org/macports/distfiles/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://lil.fr.distfiles.macports.org/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://distfiles.macports.org/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://cjj.kr.distfiles.macports.org/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch po4a-0.45.tar.gz from http://svn.macports.org/repository/macports/distfiles/po4a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Error: Failed to fetch po4a: The requested URL returned error: 404 Not Found

comment:16 Changed 10 years ago by mf2k (Frank Schima)

Port: po4a p5-text-wrapi18n added
Resolution: fixed
Status: newclosed
Version: 2.2.1

r120066. It fetches now. I also added the correct license.

Note: See TracTickets for help on using tickets.