Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 104384
Alias:
Product:
Component:
Status: CLOSED
Resolution: TEST-REQUEST
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Natanael Copa <natanael.copa@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
fetchmail-6.2.5.2-nonls.patch fetchmail-6.2.5.2-nonls.patch patch Natanael Copa 2005-08-31 07:57 0000 1.61 KB Details | Diff
fetchmail-6.2.5.2-nonls.patch fetchmail-6.2.5.2-nonls.patch patch Natanael Copa 2005-08-31 09:01 0000 2.18 KB Details | Diff
fetchmail-6.2.5.2.ebuild.patch fetchmail-6.2.5.2.ebuild.patch patch Natanael Copa 2005-08-31 09:03 0000 573 bytes Details | Diff
fetchmail-6.2.5.2.ebuild.patch fetchmail-6.2.5.2.ebuild.patch (update) patch Natanael Copa 2005-10-08 08:44 0000 832 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 104384 depends on: Show dependency tree
Bug 104384 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: 2005-08-31 07:49 0000
Even if -nls is set in USE, fetchmail requires libiconv and gettext (its in the
DEPEND).

Reproducible: Always
Steps to Reproduce:
1. USE=-nls
2.
3.

Actual Results:  
fetchmail gets compiled with localization.

Expected Results:  
fetchmail should be compiled without localization.

libiconv and gettext creates problems in embedded.

------- Comment #1 From Natanael Copa 2005-08-31 07:57:11 0000 -------
Created an attachment (id=67344) [details]
fetchmail-6.2.5.2-nonls.patch

This patch should be applied when USE=-nls.
sys-devel/gettext should *only* be in RDEPEND when USE=nls

------- Comment #2 From Natanael Copa 2005-08-31 09:01:21 0000 -------
Created an attachment (id=67347) [details]
fetchmail-6.2.5.2-nonls.patch

This patch also strips some lines in the install section in Makefile.in that I
forgot in the previous.

------- Comment #3 From Natanael Copa 2005-08-31 09:03:41 0000 -------
Created an attachment (id=67348) [details]
fetchmail-6.2.5.2.ebuild.patch

Patch for the ebuild to apply the previously posted nonls patch.

------- Comment #4 From Natanael Copa 2005-10-08 08:40:21 0000 -------
Sorry for making noise, but...

I just fixed this thing once again and were just about to submit a new, very
similar patch when I found out that I already had submitted one.

While I were there, I noticed that the entire thing is trigged by the kerberos
patch who modifies configure.in. That makes make execute autoconf and autoconf
needs the AM_GNU_GETTEXT which fails on embedded (uclibc) systems.

So, I suggest this should happen:

if kerberos is turned on:
    apply kerberos path
    if nls is disabled: apply the nonls-patch
otherwise... just ingnore those patches.

That way will neither the kerberos patch or nonls patch be applied if kerberos
is turned off and autoconf will not be executed. That will dramatically reduce
build time for all non-kerberos users and it will work without the nonsl patch
on embedded.


------- Comment #5 From Natanael Copa 2005-10-08 08:44:10 0000 -------
Created an attachment (id=70159) [details]
fetchmail-6.2.5.2.ebuild.patch (update)

It would be nice if this could be commited. (so I won't forget it and fix it a
third time)

------- Comment #6 From Andrej Kacian (RETIRED) 2005-12-10 04:43:04 0000 -------
This should be OK in freshly added fetchmail-6.3.0 - it builds fine with
USE=-nls, and it doesn't install .po files into system.

Please test and comment here. Thank you.

------- Comment #7 From Natanael Copa 2005-12-16 02:02:04 0000 -------
Works like a charm.

Thanks!

------- Comment #8 From Andrej Kacian (RETIRED) 2005-12-16 02:15:38 0000 -------
I'm glad. Closing bug.

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