Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 68522
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Federico Zenith <zenith@mpi-magdeburg.mpg.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
k3b-0.11.17.ebuild Corrected K3b ebuild text/plain Federico Zenith 2004-10-22 03:34 0000 3.39 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 68522 depends on: Show dependency tree
Bug 68522 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-22 03:33 0000
Hi,
there are a few subtle mistakes in K3b's ebuild. First, there is no Italian documentation (there is a directory but it's empty), and if one has a "it" in LINGUAS a crash should ensue.

Another problem is the way the MAKE_PO and MAKE_DOC variables are found; for instance, MAKE_PO is:
MAKE_PO=$(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d)

This will result, if there are more than 1 language, in a vertical list; in my case,

it
fr
de

This will give a number of problems, as the sed calls based on MAKE_PO and MAKE_DOC will be terminated early. The typical effect will be a invalid sed call, and missing SUBDIRS correction. Probably this problem was not previously detected due to the fact that there are really few people with 6 languages in their LINGUAS (err...).

Solution is to pipe in fmt one more time, and things work out nice.

------- Comment #1 From Federico Zenith 2004-10-22 03:34:06 0000 -------
Created an attachment (id=42409) [details]
Corrected K3b ebuild

------- Comment #2 From Antonio 2004-10-24 06:03:34 0000 -------
Same problem;
k3b with LINGUAS=it does not install

------- Comment #3 From Simone Gotti (RETIRED) 2004-10-25 03:10:24 0000 -------
Thanks for reporting this:

I've tested your changes and they works, I made only a little one:
used 'fmt -w 10000' instead of 'fmt' or if the line is greater then 75 chars (if someone wants all the languages for example) it will break to a new one (with the same problem as before).

kde-other herds, if there aren't problems, I'll commit the change for the 0.11.17 ebuild, let me know.

------- Comment #4 From Simone Gotti (RETIRED) 2004-10-26 01:44:41 0000 -------
Committed in CVS.

------- Comment #5 From Federico Zenith 2004-10-26 03:53:43 0000 -------
Confirming spotting in portage, closing bug.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug