Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59666 - dev-libs/log4c-1.0.11 version bump/ebuild fixes
Summary: dev-libs/log4c-1.0.11 version bump/ebuild fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Daniel Black (RETIRED)
URL: http://log4c.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks: 59740
  Show dependency tree
 
Reported: 2004-08-06 23:21 UTC by Aaron Walker (RETIRED)
Modified: 2004-08-11 02:28 UTC (History)
0 users

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


Attachments
log4c-1.0.10.ebuild (log4c-1.0.10.ebuild,796 bytes, text/plain)
2004-08-06 23:21 UTC, Aaron Walker (RETIRED)
Details
log4c-1.0.11.ebuild (log4c-1.0.11.ebuild,733 bytes, text/plain)
2004-08-09 06:22 UTC, Aaron Walker (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Walker (RETIRED) gentoo-dev 2004-08-06 23:21:35 UTC
1.0.10 was released 2002-11-22

This ebuild fixes several bugs that are present in log4c-1.0.6-r1.ebuild.

1) the call to make install in src_install() causes two access violations caused by not setting docdir=${D}/usr/share/doc/${P} and not setting m4datadir=${D}/usr/share/aclocal.  Replacing all of this with einstall fixes this.

2) since make install installs the documents as well, the call to dodoc is redundant (not only that, but installs duplicates because those docs installed my make install aren't compressed).  The fix for this is to replace dodoc with a call to prepalldocs.new (because of the html docs) or prepalldocs (if prepalldocs.new doesn't exist).

3) The HOMEPAGE returns 404, and should be changed to http://log4c.sourceforge.net

Fixed ebuild attached.

Cheers
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2004-08-06 23:21:59 UTC
Created attachment 36929 [details]
log4c-1.0.10.ebuild
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-08-08 01:20:41 UTC
is it possible to remove the addwrites?
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2004-08-08 07:29:19 UTC
To be honest, I have no idea what the addwrite's to or what they're for... they are left over from the 1.0.6-r1 ebuild
Comment 4 Aaron Walker (RETIRED) gentoo-dev 2004-08-09 03:57:17 UTC
I've narrowed down the number of addwrite's to 1, and am working on a solution to that last one.  Also, I just found out there is a version 1.0.11 released in 2003, so I'll take of that as well.
Comment 5 Aaron Walker (RETIRED) gentoo-dev 2004-08-09 06:22:13 UTC
Created attachment 37094 [details]
log4c-1.0.11.ebuild

 - includes fixes from previous ebuild
 - added missing DEPEND virtual/ghostscript
 - removed unneeded (as of this version) DEPEND dev-libs/expat
 - removed 2 unnecessary calls to addwrite
Comment 6 Daniel Black (RETIRED) gentoo-dev 2004-08-11 02:28:07 UTC
Good one. thanks - I hacked it up a bit more though. Sorry for ebuild so pushy about the addwrite. I just don't like them but there is an acceptable precident set with a number of latex ebuilds using addwrite in this location.