Date: Wed, 17 Jun 2009 19:12:02 +0900 (JST) From: Hiroto Kagotani <hiroto.kagotani@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/135662: [MAINTAINER] graphics/iulib: properly enable SDL option Message-ID: <200906171012.n5HAC2ci031667@luna3.auto.infsys.cne.okayama-u.ac.jp> Resent-Message-ID: <200906171020.n5HAK16N038312@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135662 >Category: ports >Synopsis: [MAINTAINER] graphics/iulib: properly enable SDL option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jun 17 10:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hiroto Kagotani >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: System: FreeBSD myhost.mydomain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC >Description: WITH_SDL option was not used properly. Add dependency on sdl_gfx. Add a plist entry for SDL-related header. Add lacking functions required by ocropus to non-SDL version. Added file(s): - files/patch-utils__dgraphics.cc - files/patch-utils__dgraphics_nosdl.cc Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- iulib-0.4_1.patch begins here --- diff -ruN --exclude=CVS /usr/origports/graphics/iulib/Makefile /usr/ports/graphics/iulib/Makefile --- /usr/origports/graphics/iulib/Makefile 2009-06-11 23:46:43.000000000 +0900 +++ /usr/ports/graphics/iulib/Makefile 2009-06-16 23:24:49.000000000 +0900 @@ -7,6 +7,7 @@ PORTNAME= iulib PORTVERSION= 0.4 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GOOGLE_CODE EXTRACT_SUFX= .tgz @@ -32,8 +33,10 @@ .if !defined(WITH_SDL) CONFIGURE_ARGS+=--without-SDL +PLIST_SUB+= SDL="@comment " .else -USE_SDL= sdl +USE_SDL= sdl gfx +PLIST_SUB+= SDL="" .endif .if defined(WITH_VIDIO) diff -ruN --exclude=CVS /usr/origports/graphics/iulib/files/patch-utils__dgraphics.cc /usr/ports/graphics/iulib/files/patch-utils__dgraphics.cc --- /usr/origports/graphics/iulib/files/patch-utils__dgraphics.cc 1970-01-01 09:00:00.000000000 +0900 +++ /usr/ports/graphics/iulib/files/patch-utils__dgraphics.cc 2009-06-17 18:21:13.000000000 +0900 @@ -0,0 +1,11 @@ +--- ./utils/dgraphics.cc.orig 2009-06-10 07:32:20.000000000 +0900 ++++ ./utils/dgraphics.cc 2009-06-17 17:46:19.000000000 +0900 +@@ -25,7 +25,7 @@ + + #include <SDL/SDL.h> + #include <SDL/SDL_gfxPrimitives.h> +-#include <SDL/SDL_image.h> ++//#include <SDL/SDL_image.h> + #include <SDL/SDL_imageFilter.h> + #include <SDL/SDL_rotozoom.h> + diff -ruN --exclude=CVS /usr/origports/graphics/iulib/files/patch-utils__dgraphics_nosdl.cc /usr/ports/graphics/iulib/files/patch-utils__dgraphics_nosdl.cc --- /usr/origports/graphics/iulib/files/patch-utils__dgraphics_nosdl.cc 1970-01-01 09:00:00.000000000 +0900 +++ /usr/ports/graphics/iulib/files/patch-utils__dgraphics_nosdl.cc 2009-06-17 18:21:13.000000000 +0900 @@ -0,0 +1,15 @@ +--- ./utils/dgraphics_nosdl.cc.orig 2009-06-10 07:32:20.000000000 +0900 ++++ ./utils/dgraphics_nosdl.cc 2009-06-17 18:21:05.000000000 +0900 +@@ -40,6 +40,12 @@ + } + } + ++ bool dactive() { ++ } ++ ++ const char *dsection_set(const char *section) { ++ } ++ + template <class T> + void dshow(narray<T> &data,const char *spec,double angle,int smooth,int rgb) { + } diff -ruN --exclude=CVS /usr/origports/graphics/iulib/pkg-plist /usr/ports/graphics/iulib/pkg-plist --- /usr/origports/graphics/iulib/pkg-plist 2009-06-11 23:46:43.000000000 +0900 +++ /usr/ports/graphics/iulib/pkg-plist 2009-06-16 20:07:58.000000000 +0900 @@ -51,6 +51,7 @@ include/iulib/io_tiff.h include/iulib/iulib.h include/iulib/vidio.h +%%SDL%%include/iulib/SDL_lines.h lib/libiulib.a lib/libiulib.la lib/libiulib.so --- iulib-0.4_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906171012.n5HAC2ci031667>