From owner-svn-ports-head@freebsd.org Sun Jul 28 22:21:26 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 09CA3B6567; Sun, 28 Jul 2019 22:21:26 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E055A8235B; Sun, 28 Jul 2019 22:21:25 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD2711E8D3; Sun, 28 Jul 2019 22:21:25 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6SMLPNc006994; Sun, 28 Jul 2019 22:21:25 GMT (envelope-from cmt@FreeBSD.org) Received: (from cmt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6SMLO0T006989; Sun, 28 Jul 2019 22:21:24 GMT (envelope-from cmt@FreeBSD.org) Message-Id: <201907282221.x6SMLO0T006989@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cmt set sender to cmt@FreeBSD.org using -f From: Christoph Moench-Tegeder Date: Sun, 28 Jul 2019 22:21:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507539 - in head/devel/erlang-esdl: . files X-SVN-Group: ports-head X-SVN-Commit-Author: cmt X-SVN-Commit-Paths: in head/devel/erlang-esdl: . files X-SVN-Commit-Revision: 507539 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E055A8235B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; NEURAL_HAM_SHORT(-0.95)[-0.953,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2019 22:21:26 -0000 Author: cmt Date: Sun Jul 28 22:21:24 2019 New Revision: 507539 URL: https://svnweb.freebsd.org/changeset/ports/507539 Log: update erlang-esdl to 1.3.1 This is required for updating and unbreaking graphics/wings, erlang-esdl's only consumer. (The current port's version is 1.0.1 is 10 years old, 1.3.1 is only 6 years old, and the whole thing has been declared "legacy", but wings still requires it, so here we go). The upstream maintainer has switched the build system from Makefiles to rebar (rebar 2, rebar3 doesn't cut it) and made the former optional dependencies on SDL-image and SDL-ttf mandatory. esdl's former home at SourceForge has disappeared, the most current version (even if it's not really current) is now available at Github, WWW has been updated to reflect that change. PR: 239173 Approved by: maintainer-timeout (erlang@) Added: head/devel/erlang-esdl/files/patch-rebar.config (contents, props changed) Deleted: head/devel/erlang-esdl/files/patch-Makefile head/devel/erlang-esdl/files/patch-c__src_Makefile head/devel/erlang-esdl/files/patch-c__src_esdl__driver.c Modified: head/devel/erlang-esdl/Makefile head/devel/erlang-esdl/distinfo head/devel/erlang-esdl/pkg-descr head/devel/erlang-esdl/pkg-plist Modified: head/devel/erlang-esdl/Makefile ============================================================================== --- head/devel/erlang-esdl/Makefile Sun Jul 28 21:57:42 2019 (r507538) +++ head/devel/erlang-esdl/Makefile Sun Jul 28 22:21:24 2019 (r507539) @@ -1,13 +1,10 @@ # $FreeBSD$ PORTNAME= esdl -PORTVERSION= 1.0.1 -PORTREVISION= 13 +DISTVERSIONPREFIX= esdl- +DISTVERSION= 1.3.1 CATEGORIES= devel -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= erlang- -DISTNAME= ${PORTNAME}-${PORTVERSION}.src -DIST_SUBDIR= erlang MAINTAINER= erlang@FreeBSD.org COMMENT= Library for accessing SDL and OpenGL through Erlang @@ -18,31 +15,17 @@ LICENSE_FILE= ${WRKSRC}/license.terms BUILD_DEPENDS= erl:lang/erlang RUN_DEPENDS:= ${BUILD_DEPENDS} -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USES= erlang:rebar gl sdl +USE_GITHUB= yes +GH_ACCOUNT= dgud -USES= dos2unix gmake -DOS2UNIX_GLOB= Makefile USE_GL= gl glu -USE_SDL= sdl -ALL_TARGET= target +USE_SDL= sdl image ttf + PLIST_SUB= VERSION="${PORTVERSION}" -OPTIONS_DEFINE= SDL_TTF SDL_IMAGE -OPTIONS_DEFAULT=SDL_TTF SDL_IMAGE -OPTIONS_SUB= yes -SDL_TTF_DESC= SDL_ttf support -SDL_TTF_USE= SDL=ttf -SDL_IMAGE_DESC= SDL_image support -SDL_IMAGE_USE= SDL=image - post-patch: - @${REINPLACE_CMD} -Ee 's|addons|lib|' ${WRKSRC}/Makefile - -post-patch-SDL_TTF-on: - @${REINPLACE_CMD} -e '/ENABLE_SDL_TTF = / s|no|yes|' ${WRKSRC}/Makefile - -post-patch-SDL_IMAGE-on: - @${REINPLACE_CMD} -e '/ENABLE_SDL_IMAGE = / s|no|yes|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} "s/\(vsn,\) git/\1 \"${DISTVERSION}\"/" "${WRKSRC}/src/sdl.app.src" post-install: @${LN} -sf ${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME} Modified: head/devel/erlang-esdl/distinfo ============================================================================== --- head/devel/erlang-esdl/distinfo Sun Jul 28 21:57:42 2019 (r507538) +++ head/devel/erlang-esdl/distinfo Sun Jul 28 22:21:24 2019 (r507539) @@ -1,2 +1,3 @@ -SHA256 (erlang/esdl-1.0.1.src.tar.gz) = 16fcf29656e6a54c9e10d0a73faa3e5b305c6aab3ab691cad2206c427265877d -SIZE (erlang/esdl-1.0.1.src.tar.gz) = 428917 +TIMESTAMP = 1562963418 +SHA256 (dgud-esdl-esdl-1.3.1_GH0.tar.gz) = 54723f487c384f04de404309454825361fa6eac8cb3c62bfadc2a559dfa928b4 +SIZE (dgud-esdl-esdl-1.3.1_GH0.tar.gz) = 323534 Added: head/devel/erlang-esdl/files/patch-rebar.config ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-esdl/files/patch-rebar.config Sun Jul 28 22:21:24 2019 (r507539) @@ -0,0 +1,12 @@ +--- rebar.config.orig 2019-07-12 20:04:39 UTC ++++ rebar.config +@@ -11,6 +11,9 @@ + {"darwin", "CFLAGS", "$CFLAGS -ObjC -D_OSX_COCOA -I/opt/X11/include"}, + {"darwin", "LDFLAGS", "$LDFLAGS -framework SDL -rpath @executable_path/../Frameworks"}, + ++ {"freebsd", "CFLAGS", "$CFLAGS $SDL_CFLAGS"}, ++ {"freebsd", "LDFLAGS", "$LDFLAGS $SDL_LIBDIR"}, ++ + {"win32", "CFLAGS", "$CFLAGS -DWIN32 -D_WIN32 -D__WIN32__ $SDL_INCDIR"}, + {"win32", "DRV_CFLAGS", "/Zi /W3 $ERL_CFLAGS"}, + {"win32", "ERL_LDFLAGS", " /debug /LIBPATH:$SDL_LIBDIR SDL.lib user32.lib"} Modified: head/devel/erlang-esdl/pkg-descr ============================================================================== --- head/devel/erlang-esdl/pkg-descr Sun Jul 28 21:57:42 2019 (r507538) +++ head/devel/erlang-esdl/pkg-descr Sun Jul 28 22:21:24 2019 (r507539) @@ -1,3 +1,3 @@ Esdl is library for accessing SDL and OpenGL through Erlang. -WWW: http://esdl.sourceforge.net/ +WWW: https://github.com/dgud/esdl Modified: head/devel/erlang-esdl/pkg-plist ============================================================================== --- head/devel/erlang-esdl/pkg-plist Sun Jul 28 21:57:42 2019 (r507538) +++ head/devel/erlang-esdl/pkg-plist Sun Jul 28 22:21:24 2019 (r507539) @@ -1,65 +1,16 @@ -lib/erlang/lib/esdl-%%VERSION%%/Readme -lib/erlang/lib/esdl-%%VERSION%%/Readme.MacOSX-Cocoa -lib/erlang/lib/esdl-%%VERSION%%/Readme.win32 -lib/erlang/lib/esdl-%%VERSION%%/c_src/CPS.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/SDLMain.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_audio.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_audio.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_conv.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_driver.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_events.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_events.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gen.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gl.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gl.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_gl_fp.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glext.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glext.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glext_fp.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glu.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glu.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_glu_fp.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_sdl_fp.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_spec.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_util.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_ttf.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_ttf.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_img.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_img.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_util.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_video.c -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_video.h -lib/erlang/lib/esdl-%%VERSION%%/c_src/esdl_wrapper.c -lib/erlang/lib/esdl-%%VERSION%%/doc/gl.html -lib/erlang/lib/esdl-%%VERSION%%/doc/glu.html -lib/erlang/lib/esdl-%%VERSION%%/doc/index.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_active.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_audio.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_events.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_img.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_joystick.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_keyboard.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_mouse.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_ttf.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_util.html -lib/erlang/lib/esdl-%%VERSION%%/doc/sdl_video.html -lib/erlang/lib/esdl-%%VERSION%%/ebin/gl.beam -lib/erlang/lib/esdl-%%VERSION%%/ebin/glu.beam +lib/erlang/lib/esdl +lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl.app lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl.beam lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_active.beam lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_audio.beam lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_events.beam -%%SDL_IMAGE%%lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_img.beam +lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_img.beam lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_joystick.beam lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_keyboard.beam lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_mouse.beam -%%SDL_TTF%%lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_ttf.beam +lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_ttf.beam lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_util.beam lib/erlang/lib/esdl-%%VERSION%%/ebin/sdl_video.beam -lib/erlang/lib/esdl-%%VERSION%%/include/gl.hrl -lib/erlang/lib/esdl-%%VERSION%%/include/glu.hrl lib/erlang/lib/esdl-%%VERSION%%/include/sdl.hrl lib/erlang/lib/esdl-%%VERSION%%/include/sdl_active.hrl lib/erlang/lib/esdl-%%VERSION%%/include/sdl_audio.hrl @@ -69,14 +20,9 @@ lib/erlang/lib/esdl-%%VERSION%%/include/sdl_keyboard.h lib/erlang/lib/esdl-%%VERSION%%/include/sdl_mouse.hrl lib/erlang/lib/esdl-%%VERSION%%/include/sdl_ttf.hrl lib/erlang/lib/esdl-%%VERSION%%/include/sdl_video.hrl -lib/erlang/lib/esdl-%%VERSION%%/license.terms lib/erlang/lib/esdl-%%VERSION%%/priv/sdl_driver.so lib/erlang/lib/esdl-%%VERSION%%/src/esdl.hrl -lib/erlang/lib/esdl-%%VERSION%%/src/gl.erl -lib/erlang/lib/esdl-%%VERSION%%/src/gl_funcs.hrl -lib/erlang/lib/esdl-%%VERSION%%/src/glext_funcs.hrl -lib/erlang/lib/esdl-%%VERSION%%/src/glu.erl -lib/erlang/lib/esdl-%%VERSION%%/src/glu_funcs.hrl +lib/erlang/lib/esdl-%%VERSION%%/src/sdl.app.src lib/erlang/lib/esdl-%%VERSION%%/src/sdl.erl lib/erlang/lib/esdl-%%VERSION%%/src/sdl_active.erl lib/erlang/lib/esdl-%%VERSION%%/src/sdl_audio.erl @@ -92,5 +38,3 @@ lib/erlang/lib/esdl-%%VERSION%%/src/sdl_util.erl lib/erlang/lib/esdl-%%VERSION%%/src/sdl_util.hrl lib/erlang/lib/esdl-%%VERSION%%/src/sdl_video.erl lib/erlang/lib/esdl-%%VERSION%%/src/sdl_video_funcs.hrl -lib/erlang/lib/esdl-%%VERSION%%/vsn.mk -lib/erlang/lib/esdl