From owner-svn-ports-head@FreeBSD.ORG Sun Jan 26 03:20:57 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B155E8B; Sun, 26 Jan 2014 03:20:57 +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 E143B1238; Sun, 26 Jan 2014 03:20:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0Q3KuYN014046; Sun, 26 Jan 2014 03:20:56 GMT (envelope-from ak@svn.freebsd.org) Received: (from ak@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0Q3Kte3014038; Sun, 26 Jan 2014 03:20:55 GMT (envelope-from ak@svn.freebsd.org) Message-Id: <201401260320.s0Q3Kte3014038@svn.freebsd.org> From: Alex Kozlov Date: Sun, 26 Jan 2014 03:20:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341154 - in head/emulators/desmume: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 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, 26 Jan 2014 03:20:57 -0000 Author: ak Date: Sun Jan 26 03:20:55 2014 New Revision: 341154 URL: http://svnweb.freebsd.org/changeset/ports/341154 QAT: https://qat.redports.org/buildarchive/r341154/ Log: - Update to 0.9.10 [1] - Fix build with clang [1] - Fix ncpu detection [1] - Pass maintainership to submitter - Convert to USES=dos2unix - Support STAGEDIR - Remove support for FreeBSD 7.x - Remove LICENSE_FILE for standard license PR: ports/184111 [1] Submitted by: Hardy Schumacher (based on) [1] Approved by: llc2w@virginia.edu (old maintainer) Added: head/emulators/desmume/files/ head/emulators/desmume/files/patch-src_gtk_glx_3Demu.cpp (contents, props changed) head/emulators/desmume/files/patch-src_utils_task.cpp (contents, props changed) Modified: head/emulators/desmume/Makefile head/emulators/desmume/distinfo head/emulators/desmume/pkg-plist Modified: head/emulators/desmume/Makefile ============================================================================== --- head/emulators/desmume/Makefile Sun Jan 26 01:06:24 2014 (r341153) +++ head/emulators/desmume/Makefile Sun Jan 26 03:20:55 2014 (r341154) @@ -2,24 +2,27 @@ # $FreeBSD$ PORTNAME= desmume -PORTVERSION= 0.9.8 +PORTVERSION= 0.9.10 CATEGORIES= emulators MASTER_SITES= SF -MAINTAINER= llc2w@virginia.edu +MAINTAINER= hardy.schumacher@gmx.de COMMENT= Nintendo DS emulator LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext +LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext \ + libSoundTouch.so:${PORTSDIR}/audio/soundtouch USE_GL= gl USE_SDL= sdl USE_GNOME= gtk20 libglade2 -USES= gettext gmake pkgconfig +USES= dos2unix gettext gmake pkgconfig +DOS2UNIX_FILES= src/utils/task.cpp + GNU_CONFIGURE= yes CONFIGURE_ENV= GMSGFMT=msgfmt DATADIRNAME=share +CONFIGURE_ARGS= --enable-glade USE_AUTOTOOLS= aclocal autoconf ACLOCAL_ARGS= @@ -29,23 +32,6 @@ CFLAGS+= -I${LOCALBASE}/include -L${LOCA -DHAVE_LIBGDKGLEXT_X11_1_0 -DHAVE_GL_GL_H -DHAVE_GL_GLU_H CXXFLAGS+= ${CFLAGS} -MAN1= desmume-cli.1 \ - desmume-glade.1 \ - desmume.1 - -NO_STAGE= yes -.include - -.if ${ARCH} == "ia64" -BROKEN= Does not compile on ia64 -.endif - -post-patch: -# FreeBSD 7.x is missing strnlen(), adjusting this enables a builtin version of strnlen() -.if ${OSVERSION} < 800000 - @${REINPLACE_CMD} -e 's|#ifdef __APPLE__|#if 1|g; \ - /AvailabilityMacros\.h/d' \ - ${WRKSRC}/src/utils/libfat/directory.cpp -.endif +BROKEN_ia64= Does not compile on ia64 -.include +.include Modified: head/emulators/desmume/distinfo ============================================================================== --- head/emulators/desmume/distinfo Sun Jan 26 01:06:24 2014 (r341153) +++ head/emulators/desmume/distinfo Sun Jan 26 03:20:55 2014 (r341154) @@ -1,2 +1,2 @@ -SHA256 (desmume-0.9.8.tar.gz) = 78363468a2d5efba95de57739a9c81a3757ecd76c2a183ec68336e30d47a5e01 -SIZE (desmume-0.9.8.tar.gz) = 3677290 +SHA256 (desmume-0.9.10.tar.gz) = 8900a7a1fc849fdd33b014748dd97a6cda4c32548b8d2e06511e6ed8d5ba7445 +SIZE (desmume-0.9.10.tar.gz) = 4141586 Added: head/emulators/desmume/files/patch-src_gtk_glx_3Demu.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/desmume/files/patch-src_gtk_glx_3Demu.cpp Sun Jan 26 03:20:55 2014 (r341154) @@ -0,0 +1,14 @@ +--- src/gtk/glx_3Demu.cpp.orig 2013-11-28 01:36:53.712615000 +0100 ++++ src/gtk/glx_3Demu.cpp 2013-12-14 20:08:01.000000000 +0100 +@@ -41,11 +41,7 @@ + glXDestroyContext(dpy, ctx); + + XCloseDisplay(dpy); +- +- return true; + } +- +- return false; + } + + int init_glx_3Demu(void) Added: head/emulators/desmume/files/patch-src_utils_task.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/desmume/files/patch-src_utils_task.cpp Sun Jan 26 03:20:55 2014 (r341154) @@ -0,0 +1,22 @@ +--- src/utils/task.cpp.orig 2013-11-28 01:37:27.373159000 +0100 ++++ src/utils/task.cpp 2013-12-14 19:49:02.000000000 +0100 +@@ -26,6 +26,7 @@ + #if defined HOST_LINUX || defined HOST_DARWIN + #include + #elif defined HOST_BSD ++#include + #include + #endif + #endif // HOST_WINDOWS +@@ -41,9 +42,8 @@ + return sysconf(_SC_NPROCESSORS_ONLN); + #elif defined HOST_BSD + int cores; +- const int mib[4] = { CTL_HW, HW_NCPU, 0, 0 }; +- const size_t len = sizeof(cores); +- sysctl(mib, 2, &cores, &len, NULL, 0); ++ size_t len = sizeof(cores); ++ sysctlbyname("hw.ncpu", &cores, &len, NULL, 0); + return (cores < 1) ? 1 : cores; + #else + return 1; Modified: head/emulators/desmume/pkg-plist ============================================================================== --- head/emulators/desmume/pkg-plist Sun Jan 26 01:06:24 2014 (r341153) +++ head/emulators/desmume/pkg-plist Sun Jan 26 03:20:55 2014 (r341154) @@ -1,6 +1,9 @@ bin/desmume bin/desmume-cli bin/desmume-glade +man/man1/desmume-cli.1.gz +man/man1/desmume-glade.1.gz +man/man1/desmume.1.gz share/applications/desmume-glade.desktop share/applications/desmume.desktop %%DATADIR%%/glade/DeSmuME.xpm