Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 159824

Summary: libpng ebuilds do not install LICENSE file (libpng versions 1.2.12-r1 1.2.13 1.2.14 1.2.14-r1)
Product: Gentoo Linux Reporter: Mikko Oilinki <moilinki_os>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.