Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159824 - libpng ebuilds do not install LICENSE file (libpng versions 1.2.12-r1 1.2.13 1.2.14 1.2.14-r1)
Summary: libpng ebuilds do not install LICENSE file (libpng versions 1.2.12-r1 1.2.13 ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-03 03:02 UTC by Mikko Oilinki
Modified: 2007-01-03 03:07 UTC (History)
0 users

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 Mikko Oilinki 2007-01-03 03:02:36 UTC
The README file in /usr/share/doc/libpng-1.2.14 mentions LICENSE file:
      
      LICENSE       =>  License to use and redistribute libpng

But this file is missing in the system. None of the ebuilds seem
to install this file. 

Below please find included a patch that fixed it for me, for the 
version that is currently most up-to-date and marked stable in x86
platform (for the other versions, the patch should be almost verbatim):

--- /usr/portage/media-libs/libpng/libpng-1.2.14.ebuild 2007-01-03 13:05:59.000000000 +0800
+++ /root/portage/local-overlay/media-libs/libpng/libpng-1.2.14.ebuild  2007-01-03 16:51:17.000000000 +0800
@@ -39,7 +39,7 @@

 src_install() {
        make DESTDIR="${D}" install || die
-       dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO
+       dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO LICENSE
        use doc && dodoc libpng-manual.txt
 }
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-03 03:07:59 UTC
/usr/portage/licenses/as-is; we won't be duplicating this stuff across tons of places.