Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55156 - New ebuild: po4a (po for anything)
Summary: New ebuild: po4a (po for anything)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michael Cummings (RETIRED)
URL: http://alioth.debian.org/projects/po4a
Whiteboard:
Keywords: EBUILD
Depends on: 47788
Blocks:
  Show dependency tree
 
Reported: 2004-06-25 07:49 UTC by Jordi Vilalta
Modified: 2005-01-18 04:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The proposed ebuild (po4a-0.16.3.ebuild,1.08 KB, text/plain)
2004-06-25 07:52 UTC, Jordi Vilalta
Details
Fixed ebuild (po4a-0.16.3.ebuild,1.05 KB, text/plain)
2004-06-25 10:41 UTC, Jordi Vilalta
Details
New version 0.17.1 (po4a-0.17.1.ebuild,589 bytes, application/octet-stream)
2004-07-20 20:06 UTC, Jordi Vilalta
Details
New version 0.17.2 (po4a-0.17.2.ebuild,589 bytes, text/plain)
2004-08-07 23:10 UTC, Jordi Vilalta
Details
New version 0.18 (po4a-0.18.ebuild,566 bytes, text/plain)
2004-08-27 02:18 UTC, Jordi Vilalta
Details
New version 0.18.1 (po4a-0.18.1.ebuild,587 bytes, text/plain)
2004-08-27 23:03 UTC, Jordi Vilalta
Details
po4a-0.18.1.ebuild (po4a-0.18.1.ebuild,673 bytes, text/plain)
2004-10-03 08:03 UTC, Michael Cummings (RETIRED)
Details
po4a-0.19.ebuild (po4a-0.19.ebuild,587 bytes, text/plain)
2004-11-09 19:24 UTC, Jordi Vilalta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jordi Vilalta 2004-06-25 07:49:58 UTC
The po4a (po for anything) project goal is to ease translations (and more interestingly, the maintenance of translations) using gettext tools on areas where they were not expected like documentation.

It's written in perl, and it's very modular, so you can easily add a new module that extracts text strings and translates a new file format.

I suggest the app-text category

Reproducible: Always
Steps to Reproduce:
Comment 1 Jordi Vilalta 2004-06-25 07:52:02 UTC
Created attachment 34136 [details]
The proposed ebuild

I only put the ~x86 flag because it's the only one where I could test the
ebuild, but the program itself is known to work in many architectures.
Comment 2 Ciaran McCreesh 2004-06-25 07:56:47 UTC
Things you probably want to change:
1. Use ${PN} and ${PV} inside SRC_URI, don't hardcode names or versions
2. What's the first line of src_compile doing?
3. Wrong copyright header -- as of ~yesterday we're "Gentoo Foundation"
Comment 3 Jordi Vilalta 2004-06-25 10:41:32 UTC
Created attachment 34146 [details]
Fixed ebuild

1. Now it uses ${PN} and ${PV} (HOMEPAGE and SRC_URI fixed)
2. What's the first line of src_compile doing? <- it was for debugging, now
it's removed
3. Copyright header changed to "Gentoo Foundation"
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-25 11:34:27 UTC
we can't use Gentoo Foundation yet, as we don't own yet own the copyrights
Comment 5 Jordi Vilalta 2004-06-25 11:40:06 UTC
I've seen there are some recent ebuilds that already use "Gentoo Foundation" (as  sys-kernel/development-sources-2.6.7). Then what's the right form?
Comment 6 Ciaran McCreesh 2004-06-25 15:05:42 UTC
skel.ebuild and everything in the tree uses Gentoo Foundation now. According to cvs log it was a combination of vapier and agriffis doing the changes. For example:

date: 2004/06/24 21:57:58;  author: agriffis;  state: Exp;  lines: +2 -2
update copyright line: Gentoo Technologies => Gentoo Foundation
Comment 7 Jordi Vilalta 2004-07-20 20:06:56 UTC
Created attachment 35845 [details]
New version 0.17.1

This is a new ebuild for the last release of po4a. In this version we've
updated the build system to use Module::Build (and there are a lot of bug
fixes).
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2004-07-24 00:00:13 UTC
sorry bugwranglers, but i don't know much about po files and have no interest in this package. please re-assign.
Comment 9 Jordi Vilalta 2004-08-07 23:10:00 UTC
Created attachment 37001 [details]
New version 0.17.2

New bug-fix release. It could be a pure version bump, if Alioth threw away the
damn numbers in the download url :(
Comment 10 Daniel Black (RETIRED) gentoo-dev 2004-08-15 06:48:33 UTC
Perl persons, is this ebuild done correctly (in the perl way of thinking)?
Comment 11 Jordi Vilalta 2004-08-27 01:45:31 UTC
It needs gettext-0.13 or later
Comment 12 Jordi Vilalta 2004-08-27 02:18:26 UTC
Created attachment 38284 [details]
New version 0.18
Comment 13 Jordi Vilalta 2004-08-27 23:03:45 UTC
Created attachment 38370 [details]
New version 0.18.1
Comment 14 Michael Cummings (RETIRED) gentoo-dev 2004-10-03 08:02:28 UTC
Can anyone explain to me how you depend on >= gettext 0.13 when it only goes up to .12? why the dep on jade when it isn't referenced by any of the documentation or deps? and then there's the missing dep...that breaks this package...

OK, 'nuff ranting from the perl guy. Corrected ebuild forthcoming - would like a sign off before committing (and would appreciate comments on the gettext mismatching)
Comment 15 Michael Cummings (RETIRED) gentoo-dev 2004-10-03 08:03:54 UTC
Created attachment 40992 [details]
po4a-0.18.1.ebuild

Corrected deps (including typo in the actual dep line)
Comment 16 Michael Cummings (RETIRED) gentoo-dev 2004-10-03 08:07:24 UTC
please ignore the commented out PN stuff - that was my using the wrong version number and not realizing it
Comment 17 Jordi Vilalta 2004-10-05 08:44:01 UTC
> Can anyone explain to me how you depend on >= gettext 0.13 when it only goes up to .12?

It wasn't in portage, but they are at version 0.14.1: http://directory.fsf.org/localization/gettext.html

It needs 0.13 when installing in order to update its own translations. This is why it depends on #47788 (that they have solved today)

> why the dep on jade when it isn't referenced by any of the documentation or deps?

The documented sp (James Clark's SGML parsing tools) dependency isn't in portage, so I searched for a replacement:

$ qpkg -f /usr/bin/nsgmls
app-text/openjade *

And this is where this dep comes from ;)

> and then there's the missing dep...that breaks this package...

Are you talking about dev-perl/libintl-perl? This dependancy was removed in 0.18 (but we didn't document it :( ). It shouldn't break anything now.

I hope it cleared some things :P
Comment 18 Michael Cummings (RETIRED) gentoo-dev 2004-10-07 13:16:49 UTC
yes, thank you :)

ok, so as soon as the newer gettext is available this should be doable (though I had no problems on this end with what is in portage currently - current as of the third that is)
Comment 19 Jordi Vilalta 2004-11-09 19:24:14 UTC
Created attachment 43634 [details]
po4a-0.19.ebuild

New release.
Comment 20 Michael Cummings (RETIRED) gentoo-dev 2005-01-18 04:03:04 UTC
app-text/po4a