From owner-svn-ports-all@FreeBSD.ORG Sun Nov 17 12:33:52 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34432D1; Sun, 17 Nov 2013 12:33:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 079C92BE1; Sun, 17 Nov 2013 12:33:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAHCXpxR084578; Sun, 17 Nov 2013 12:33:51 GMT (envelope-from mva@svn.freebsd.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAHCXnmZ084566; Sun, 17 Nov 2013 12:33:49 GMT (envelope-from mva@svn.freebsd.org) Message-Id: <201311171233.rAHCXnmZ084566@svn.freebsd.org> From: Marcus von Appen Date: Sun, 17 Nov 2013 12:33:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334079 - in head: audio/sdl2_mixer devel/sdl20 emulators/joytran emulators/mame emulators/mess graphics/sdl2_gfx graphics/sdl2_image graphics/sdl2_ttf multimedia/smpeg2 net/sdl2_net x1... X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 12:33:52 -0000 Author: mva Date: Sun Nov 17 12:33:49 2013 New Revision: 334079 URL: http://svnweb.freebsd.org/changeset/ports/334079 Log: - Switch devel/sdl20 to use the autotools-based configuration, since the cmake-based one is not maintained that well - Fix library naming to ensure backwards compatibility on minor version changes - Bump the PORTREVISION on ports depending on devel/sdl20, since its shared library name changed PR: ports/183975 Submitted by: Jan Kokemüller Modified: head/audio/sdl2_mixer/Makefile head/devel/sdl20/Makefile head/devel/sdl20/pkg-plist head/emulators/joytran/Makefile head/emulators/mame/Makefile head/emulators/mess/Makefile head/graphics/sdl2_gfx/Makefile head/graphics/sdl2_image/Makefile head/graphics/sdl2_ttf/Makefile head/multimedia/smpeg2/Makefile head/net/sdl2_net/Makefile head/x11-toolkits/py-kivy/Makefile Modified: head/audio/sdl2_mixer/Makefile ============================================================================== --- head/audio/sdl2_mixer/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/audio/sdl2_mixer/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -2,7 +2,7 @@ PORTNAME= sdl2_mixer PORTVERSION= 2.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/ DISTNAME= SDL2_mixer-${PORTVERSION} Modified: head/devel/sdl20/Makefile ============================================================================== --- head/devel/sdl20/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/devel/sdl20/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -12,11 +12,25 @@ COMMENT= Cross-platform multimedia devel LICENSE= ZLIB -USES= pathfix cmake:outsource iconv +USES= gmake iconv pathfix pkgconfig +USE_GNOME= ltverhack +USE_AUTOTOOLS= libtool +GNU_CONFIGURE= yes USE_LDCONFIG= yes -CMAKE_ARGS+= -DVIDEO_OPENGLES:BOOL=OFF -DALTIVEC:BOOL=OFF -DARTS:BOOL=OFF -CMAKE_ENV+= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --disable-video-opengles \ + --disable-altivec \ + --disable-arts \ + --enable-diskaudio \ + --enable-dummyaudio \ + --enable-video-dummy \ + --disable-dbus \ + --disable-input-tslib \ + --disable-rpath + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + OPTIONS_DEFINE= ALSA ASM DLOPEN ESOUND MMX NAS OSS \ PULSEAUDIO PTHREADS SSE SDL_ATOMIC SDL_AUDIO \ @@ -53,192 +67,112 @@ SDL_VIDEO_DESC= Eanble the SDL Video su VIDEO_OPENGL_DESC= OpenGL rendering support VIDEO_X11_DESC= X11 rendering support +ASM_CONFIGURE_ENABLE= assembly +DLOPEN_CONFIGURE_ENABLE= sdl-dlopen +MMX_CONFIGURE_ENABLE= mmx 3dnow +PTHREADS_CONFIGURE_ENABLE= pthreads pthreads-sem +SDL_ATOMIC_CONFIGURE_ENABLE= atomic gcc-atomics +SDL_AUDIO_CONFIGURE_ENABLE= audio +SDL_CPUINFO_CONFIGURE_ENABLE= cpuinfo +SDL_EVENTS_CONFIGURE_ENABLE= events +SDL_FILE_CONFIGURE_ENABLE= filesystem +SDL_HAPTIC_CONFIGURE_ENABLE= haptic +SDL_JOYSTICK_CONFIGURE_ENABLE= joystick +SDL_LOADSO_CONFIGURE_ENABLE= loadso +SDL_POWER_CONFIGURE_ENABLE= power +SDL_RENDER_CONFIGURE_ENABLE= render +SDL_THREADS_CONFIGURE_ENABLE= threads +SDL_TIMERS_CONFIGURE_ENABLE= timers +SDL_VIDEO_CONFIGURE_EANBLE= video +SSE_CONFIGURE_ENABLE= sse sse2 ssemath + .include .if ${PORT_OPTIONS:MALSA} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option ALSA requires SDL_AUDIO .endif -CMAKE_ARGS+= -DALSA:BOOL=ON -DALSA_SHARED:BOOL=ON -LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib -.else -CMAKE_ARGS+= -DALSA:BOOL=OFF -.endif - -CMAKE_ARGS+= -DARTS:BOOL=OFF - -.if ${PORT_OPTIONS:MASM} -CMAKE_ARGS+= -DASSEMBLY:BOOL=ON +CONFIGURE_ARGS+= --enable-alsa --enable-alsa-shared +LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib .else -CMAKE_ARGS+= -DASSEMBLY:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MDLOPEN} -CMAKE_ARGS+= -DSDL_DLOPEN:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_DLOPEN:BOOL=OFF +CONFIGURE_ARGS+= --disable-alsa --disable-alsa-shared .endif .if ${PORT_OPTIONS:MESOUND} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option ESOUND requires SDL_AUDIO .endif -CMAKE_ARGS+= -DESD:BOOL=ON -DESD_SHARED:BOOL=ON -USE_GNOME+= esound +CONFIGURE_ARGS+= --enable-esd --enable-esd-shared +USE_GNOME+= esound .else -CMAKE_ARGS+= -DESD:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MMMX} -CMAKE_ARGS+= -DMMX:BOOL=ON -D3DNOW:BOOL=ON -.else -CMAKE_ARGS+= -DMMX:BOOL=OFF -D3DNOW:BOOL=OFF +CONFIGURE_ARGS+= --disable-esd --disable-esd-shared .endif .if ${PORT_OPTIONS:MNAS} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option NAS requires SDL_AUDIO .endif -CMAKE_ARGS+= -DNAS:BOOL=ON -LIB_DEPENDS+= libaudio.so:${PORTSDIR}/audio/nas +CONFIGURE_ARGS+= --enable-nas --enable-nas-shared +LIB_DEPENDS+= libaudio.so:${PORTSDIR}/audio/nas .else -CMAKE_ARGS+= -DNAS:BOOL=OFF +CONFIGURE_ARGS+= --disable-nas --disable-nas-shared .endif .if ${PORT_OPTIONS:MOSS} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option OSS requires SDL_AUDIO .endif -CMAKE_ARGS+= -DOSS:BOOL=ON +CONFIGURE_ARGS+= --enable-oss .else -CMAKE_ARGS+= -DOSS:BOOL=OFF +CONFIGURE_ARGS+= --disable-oss .endif .if ${PORT_OPTIONS:MPULSEAUDIO} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option PULSEAUDIO requires SDL_AUDIO .endif -CMAKE_ARGS+= -DPULSEAUDIO:BOOL=ON -DPULSEAUDIO_SHARED:BOOL=ON -.else -CMAKE_ARGS+= -DPULSEAUDIO:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MPTHREADS} -CMAKE_ARGS+= -DPTHREADS:BOOL=ON -.else -CMAKE_ARGS+= -DPTHREADS:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_ATOMIC} -CMAKE_ARGS+= -DSDL_ATOMIC:BOOL=ON +CONFIGURE_ARGS+= --enable-pulseaudio --enable-pulseaudio-shared .else -CMAKE_ARGS+= -DSDL_ATOMIC:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_AUDIO} -CMAKE_ARGS+= -DSDL_AUDIO:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_AUDIO:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_CPUINFO} -CMAKE_ARGS+= -DSDL_CPUINFO:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_CPUINFO:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_EVENTS} -CMAKE_ARGS+= -DSDL_EVENTS:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_EVENTS:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_FILE} -CMAKE_ARGS+= -DSDL_FILE:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_FILE:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_HAPTIC} -CMAKE_ARGS+= -DSDL_HAPTIC:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_HAPTIC:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_JOYSTICK} -CMAKE_ARGS+= -DSDL_JOYSTICK:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_JOYSTICK:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_LOADSO} -CMAKE_ARGS+= -DSDL_LOADSO:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_LOADSO:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_POWER} -CMAKE_ARGS+= -DSDL_POWER:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_POWER:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_RENDER} -CMAKE_ARGS+= -DSDL_RENDER:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_RENDER:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_THREADS} -CMAKE_ARGS+= -DSDL_THREADS:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_THREADS:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_TIMERS} -CMAKE_ARGS+= -DSDL_TIMERS:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_TIMERS:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSDL_VIDEO} -CMAKE_ARGS+= -DSDL_VIDEO:BOOL=ON -.else -CMAKE_ARGS+= -DSDL_VIDEO:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MSSE} -CMAKE_ARGS+= -DSSE:BOOL=ON -DSSE2:BOOL=ON -DSSEMATH:BOOL=ON -.else -CMAKE_ARGS+= -DSSE:BOOL=OFF -DSSE2:BOOL=OFF -DSSEMATH:BOOL=OFF +CONFIGURE_ARGS+= --disable-pulseaudio --disable-pulseaudio-shared .endif .if ${PORT_OPTIONS:MVIDEO_OPENGL} .if !${PORT_OPTIONS:MSDL_VIDEO} IGNORE= option VIDEO_OPENGL requires SDL_VIDEO .endif -CMAKE_ARGS+= -DVIDEO_OPENGL:BOOL=ON -USE_GL= gl +CONFIGURE_ARGS+= --enable-video-opengl +USE_GL= gl .else -CMAKE_ARGS+= -DVIDEO_OPENGL:BOOL=OFF +CONFIGURE_ARGS+= --disable-video-opengl .endif .if ${PORT_OPTIONS:MVIDEO_X11} .if !${PORT_OPTIONS:MSDL_VIDEO} IGNORE= option VIDEO_X11 requires SDL_VIDEO .endif -CMAKE_ARGS+= -DVIDEO_X11:BOOL=ON -DVIDEO_X11_XCURSOR:BOOL=ON \ - -DVIDEO_X11_XINERAMA:BOOL=ON -DVIDEO_X11_XINPUT:BOOL=ON \ - -DVIDEO_X11_XRANDR:BOOL=ON -DVIDEO_X11_XSCRNSAVER:BOOL=ON \ - -DVIDEO_X11_XSHAPE:BOOL=ON -DVIDEO_X11_XVM:BOOL=ON \ - -DX11_SHARED:BOOL=ON +CONFIGURE_ARGS+= --enable-video-x11 \ + --enable-x11-shared \ + --enable-video-x11-xcursor \ + --enable-video-x11-xinerama \ + --enable-video-x11-xinput \ + --enable-video-x11-xrandr \ + --enable-video-x11-scrnsaver \ + --enable-video-x11-xshape \ + --enable-video-x11-vm USE_XORG+= xinerama xcursor xi xrandr xscrnsaver xxf86vm xext .else -CMAKE_ARGS+= -DVIDEO_X11:BOOL=OFF -DVIDEO_X11_XCURSOR:BOOL=OFF \ - -DVIDEO_X11_XINERAMA:BOOL=OFF -DVIDEO_X11_XINPUT:BOOL=OFF \ - -DVIDEO_X11_XRANDR:BOOL=OFF -DVIDEO_X11_XSCRNSAVER:BOOL=OFF \ - -DVIDEO_X11_XSHAPE:BOOL=OFF -DVIDEO_X11_XVM:BOOL=OFF \ - -DX11_SHARED:BOOL=OFF +CONFIGURE_ARGS+= --disable-video-x11 \ + --disable-x11-shared \ + --disable-video-x11-xcursor \ + --disable-video-x11-xinerama \ + --disable-video-x11-xinput \ + --disable-video-x11-xrandr \ + --disable-video-x11-scrnsaver \ + --disable-video-x11-xshape \ + --disable-video-x11-vm .endif +post-patch: + @${REINPLACE_CMD} -e '/ CheckInputEvents$$/d' ${WRKSRC}/configure + .include Modified: head/devel/sdl20/pkg-plist ============================================================================== --- head/devel/sdl20/pkg-plist Sun Nov 17 11:51:01 2013 (r334078) +++ head/devel/sdl20/pkg-plist Sun Nov 17 12:33:49 2013 (r334079) @@ -7,15 +7,6 @@ include/SDL2/SDL_bits.h include/SDL2/SDL_blendmode.h include/SDL2/SDL_clipboard.h include/SDL2/SDL_config.h -include/SDL2/SDL_config_android.h -include/SDL2/SDL_config_iphoneos.h -include/SDL2/SDL_config_macosx.h -include/SDL2/SDL_config_minimal.h -include/SDL2/SDL_config_pandora.h -include/SDL2/SDL_config_psp.h -include/SDL2/SDL_config_windows.h -include/SDL2/SDL_config_wiz.h -include/SDL2/SDL_copying.h include/SDL2/SDL_cpuinfo.h include/SDL2/SDL_endian.h include/SDL2/SDL_error.h @@ -72,12 +63,13 @@ include/SDL2/SDL_version.h include/SDL2/SDL_video.h include/SDL2/begin_code.h include/SDL2/close_code.h -share/aclocal/sdl2.m4 +lib/libSDL2-2.0.so +lib/libSDL2-2.0.so.0 lib/libSDL2.a +lib/libSDL2.la lib/libSDL2.so -lib/libSDL2-2.0.so -lib/libSDL2-2.0.so.1 -lib/libSDL2-2.0.so.1.0.1 +lib/libSDL2_test.a lib/libSDL2main.a libdata/pkgconfig/sdl2.pc +share/aclocal/sdl2.m4 @dirrm include/SDL2 Modified: head/emulators/joytran/Makefile ============================================================================== --- head/emulators/joytran/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/emulators/joytran/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -3,7 +3,7 @@ PORTNAME= joytran PORTVERSION= 0.9.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= BERLIOS GOOGLE_CODE MASTER_SITE_SUBDIR= joytran Modified: head/emulators/mame/Makefile ============================================================================== --- head/emulators/mame/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/emulators/mame/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -3,6 +3,7 @@ PORTNAME= mame PORTVERSION= 0.150${PATCHSUFFIX} +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}.mirror/${PORTNAME:U}%20${PORTVERSION} \ http://mame.mirrors.zippykid.com/releases/ \ Modified: head/emulators/mess/Makefile ============================================================================== --- head/emulators/mess/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/emulators/mess/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -3,6 +3,7 @@ PORTNAME= mess PORTVERSION= 0.150${PATCHSUFFIX} +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF/mame.mirror/MAME%20${PORTVERSION} \ http://mame.mirrors.zippykid.com/releases/ \ Modified: head/graphics/sdl2_gfx/Makefile ============================================================================== --- head/graphics/sdl2_gfx/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/graphics/sdl2_gfx/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -3,6 +3,7 @@ PORTNAME= sdl2_gfx PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.ferzkopp.net/Software/%SUBDIR%/ MASTER_SITE_SUBDIR= SDL2_gfx Modified: head/graphics/sdl2_image/Makefile ============================================================================== --- head/graphics/sdl2_image/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/graphics/sdl2_image/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -2,7 +2,7 @@ PORTNAME= sdl2_image PORTVERSION= 2.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://www.libsdl.org/projects/SDL_image/release/ DISTNAME= SDL2_image-${PORTVERSION} Modified: head/graphics/sdl2_ttf/Makefile ============================================================================== --- head/graphics/sdl2_ttf/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/graphics/sdl2_ttf/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -2,7 +2,7 @@ PORTNAME= sdl2_ttf PORTVERSION= 2.0.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/ DISTNAME= SDL2_ttf-${PORTVERSION} Modified: head/multimedia/smpeg2/Makefile ============================================================================== --- head/multimedia/smpeg2/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/multimedia/smpeg2/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -3,6 +3,7 @@ PORTNAME= smpeg2 PORTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://www.libsdl.org/projects/smpeg/release/ \ http://rsync.macports.org/smpeg2/ Modified: head/net/sdl2_net/Makefile ============================================================================== --- head/net/sdl2_net/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/net/sdl2_net/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -2,7 +2,7 @@ PORTNAME= sdl2_net PORTVERSION= 2.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.libsdl.org/projects/SDL_net/release/ DISTNAME= SDL2_net-${PORTVERSION} Modified: head/x11-toolkits/py-kivy/Makefile ============================================================================== --- head/x11-toolkits/py-kivy/Makefile Sun Nov 17 11:51:01 2013 (r334078) +++ head/x11-toolkits/py-kivy/Makefile Sun Nov 17 12:33:49 2013 (r334079) @@ -3,7 +3,7 @@ PORTNAME= kivy PORTVERSION= 1.7.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits python MASTER_SITES= LOCAL/dbn/${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}