Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415167 - =app-text/texi2html-5.0-r1 installs bundled copies of libintl-perl and Unicode-EastAsianWidth in /usr/share/texi2html/lib/
Summary: =app-text/texi2html-5.0-r1 installs bundled copies of libintl-perl and Unicod...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TeX project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2012-05-08 19:03 UTC by Jeroen Roovers (RETIRED)
Modified: 2021-05-24 04:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2012-05-08 19:03:17 UTC
--- a/Makefile.am
+++ b/Makefile.am
@@ -259,17 +259,6 @@
 install-data-local: i18n
        $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/i18n
        $(INSTALL_DATA) i18n/*.thl  $(DESTDIR)$(pkgdatadir)/i18n
-       $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/lib/libintl-perl/lib/Locale/Recode \
-         $(DESTDIR)$(pkgdatadir)/lib/libintl-perl/lib/Locale/RecodeData
-       $(INSTALL_DATA) $(srcdir)/lib/libintl-perl/lib/Locale/*.pm \
-         $(DESTDIR)$(pkgdatadir)/lib/libintl-perl/lib/Locale
-       $(INSTALL_DATA) $(srcdir)/lib/libintl-perl/lib/Locale/Recode/*.pm \
-         $(DESTDIR)$(pkgdatadir)/lib/libintl-perl/lib/Locale/Recode
-       $(INSTALL_DATA) $(srcdir)/lib/libintl-perl/lib/Locale/RecodeData/*.pm \
-         $(DESTDIR)$(pkgdatadir)/lib/libintl-perl/lib/Locale/RecodeData
-       $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/lib/Unicode-EastAsianWidth/lib/Unicode
-       $(INSTALL_DATA) $(srcdir)/lib/Unicode-EastAsianWidth/lib/Unicode/EastAsianWidth.pm \
-        $(DESTDIR)$(pkgdatadir)/lib/Unicode-EastAsianWidth/lib/Unicode
 
 uninstall-local:
        rm -rf $(DESTDIR)$(pkgdatadir)/lib/ $(DESTDIR)$(pkgdatadir)/i18n
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-08 19:23:36 UTC
That patch would probably not be enough - we'd need to set T2H_SOURCE_EASTASIANWIDTH and T2H_SOURCE_LIBINTL to something appropriate in the environment too, probably in texi2html.init, which we do not currently install (or in env.d if we have to).
Comment 2 Alexey Kretov 2012-05-31 01:12:58 UTC
cat /etc/portage/patches/dev-perl/libintl-perl-1.200.0/libintl-perl-1.200.patch 
diff -urN a/libintl-perl-1.20/gettext_xs/Makefile.PL b/libintl-perl-1.20/gettext_xs/Makefile.PL
--- a/libintl-perl-1.20/gettext_xs/Makefile.PL  2009-06-23 11:04:48.000000000 +0400
+++ b/libintl-perl-1.20/gettext_xs/Makefile.PL  2012-05-31 05:01:48.000000000 +0400
@@ -38,7 +38,7 @@
     ),
     PREREQ_PM => { File::Spec => 0 },
        PL_FILES        => {},
-       LIBS => ['-lintl -liconv'],
+       LIBS => ['-liconv'],
 );
 
 __END__
diff -urN a/libintl-perl-1.20/Makefile.PL b/libintl-perl-1.20/Makefile.PL
--- a/libintl-perl-1.20/Makefile.PL     2009-06-24 14:53:30.000000000 +0400
+++ b/libintl-perl-1.20/Makefile.PL     2012-05-31 05:01:40.000000000 +0400
@@ -114,11 +114,6 @@
 print "$cmd\n";
 my $result = system $cmd;
 unless ($result == 0) {
-       $cmd .= " -lintl";
-       print "$cmd\n";
-       $result = system $cmd;
-}
-unless ($result == 0) {
        $cmd .= " -liconv";
        print "$cmd\n";
        $result = system $cmd;