Bug 120178 - [PATCH] graphics/cegui: fix DevIL support and other things
Summary: [PATCH] graphics/cegui: fix DevIL support and other things
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Oliver Lehmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-31 04:10 UTC by Dmitry Marakasov
Modified: 2008-01-31 21:00 UTC (History)
0 users

See Also:


Attachments
cegui.patch (4.49 KB, patch)
2008-01-31 04:10 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2008-01-31 04:10:00 UTC
Currently, CEGUI is quite broken. First, it cannot detect DevIL:

...
checking for ilLoadL in -lIL... no
checking for iluFlipImage in -lILU... yes
...
Building DevIL Image Codec:                   no
...

while it should support it (it's listed in port depends, and actually in most cases cegui will be useless without ability to load images).

Next, on some (most of) installations, there will be hidden dependencies and plist will be incorrect, as configure script may automatically detect, for example, additional XML parsers (libxml, expat, xerces) and build+install additional .so files.

This patch does following:
* Correct CPPFLAGS/LDFLAGS so DevIL is detected properly
* Correct ILvoid in DevIL support code (there's no such type in DevIL, guess cegui is a bit outdated?)
* Add more CONFIGURE_ARGS disabling certain features, as they introduce multiple hidden dependencies and drive plist incorrect
While I'm here:
* Make use of PORTDOCS
* Use SF macro
* Make portlint happy (USE_LDCONFIG and whitespace before end of line in PLIST)
* Update and sort plist
* Bump portrevision
Comment 1 Edwin Groothuis freebsd_committer 2008-01-31 04:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2008-01-31 20:52:43 UTC
oliver      2008-01-31 20:52:38 UTC

  FreeBSD ports repository

  Modified files:
    graphics/cegui       Makefile pkg-plist 
  Log:
  fix DevIL support and other things
  bump PORTREVISION
  
  PR:             120178
  Submitted by:   Dmitry Marakasov <amdmi3@amdmi3.ru>
  
  Revision  Changes    Path
  1.15      +21 -10    ports/graphics/cegui/Makefile
  1.5       +17 -17    ports/graphics/cegui/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Oliver Lehmann freebsd_committer 2008-01-31 20:52:52 UTC
State Changed
From-To: open->closed

committed, thanks!