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)
Change History (27)
Changed 11 years ago by odyx@…
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
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)
comment:4 Changed 11 years ago by odyx@…
Ping. Is there something more I need to fix for this to be integrated?
comment:6 follow-up: 7 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
andsha256
. You can also have md5 if upstream publishes it.
comment:7 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
andsha256
. You can also have md5 if upstream publishes it.
Done.
- Portfile.8 => p5-text-wrapi18n
- Portfile.10 => p5-unicode-gcstring
- Portfile.11 => po4a
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 follow-up: 10 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 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: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: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: | new → closed |
Version: | 2.2.1 |
r120066. It fetches now. I also added the correct license.
po4a Portfile