FreeBSD Bugzilla – Attachment 162982 Details for
Bug 204443
[PATCH] games/stepmania-devel: Update to version 5.0.10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
games_stepmania-devel.diff
games_stepmania-devel.diff (text/plain), 11.22 KB, created by
tkato432
on 2015-11-10 18:33:07 UTC
(
hide
)
Description:
games_stepmania-devel.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2015-11-10 18:33:07 UTC
Size:
11.22 KB
patch
obsolete
>diff -urN /usr/ports/games/stepmania-devel/Makefile games/stepmania-devel/Makefile >--- /usr/ports/games/stepmania-devel/Makefile 2015-10-11 07:06:52.311091000 +0900 >+++ games/stepmania-devel/Makefile 2015-11-11 00:00:00.000000000 +0900 >@@ -2,10 +2,11 @@ > # $FreeBSD: head/games/stepmania-devel/Makefile 398997 2015-10-10 14:18:31Z marino $ > > PORTNAME= stepmania >-PORTVERSION= 5.0.9 >+PORTVERSION= 5.0.10 > DISTVERSIONPREFIX= v > PORTEPOCH= 1 > CATEGORIES= games >+MASTER_SITES= GH > PKGNAMESUFFIX= -devel > > MAINTAINER= ports@FreeBSD.org >@@ -19,49 +20,39 @@ > > USE_GITHUB= yes > >-USES= autoreconf gmake iconv jpeg pathfix perl5 pkgconfig shebangfix >+USES= cmake:outsource iconv jpeg pathfix perl5 pkgconfig shebangfix >+SHEBANG_FILES= Utils/*.pl extern/zlib/zlib2ansi > USE_XORG= x11 xrandr xtst > USE_GL= glew > USE_PERL5= build >-GNU_CONFIGURE= yes >-CONFIGURE_ARGS= --with-system-pcre \ >- ${ICONV_CONFIGURE_ARG} >+CMAKE_ARGS= -DHAVE__MKDIR:BOOL=OFF > INSTALLS_ICONS= yes >-SHEBANG_FILES= Utils/*.pl \ >- extern/zlib/zlib2ansi > >-CPPFLAGS+= -I${LOCALBASE}/include >+CFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > >-OPTIONS_DEFINE= ALSA DOCS FFMPEG GTK2 JACK MAD PULSEAUDIO VORBIS >+OPTIONS_DEFINE= ALSA DOCS FFMPEG GTK2 JACK MAD PULSEAUDIO VAAPI VORBIS > OPTIONS_DEFAULT= GTK2 MAD VORBIS > OPTIONS_SUB= yes > > ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib >-ALSA_CONFIGURE_ENV_OFF= ac_cv_lib_asound_snd_ctl_open=no >+ALSA_CMAKE_OFF= -DWITH_ALSA:BOOL=OFF >+FFMEPG_BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm > FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg >-FFMPEG_CONFIGURE_ON= --with-system-ffmpeg >-FFMPEG_CONFIGURE_WITH= ffmpeg >+FFMPEG_CMAKE_ON= -DWITH_SYSTEM_FFMPEG:BOOL=ON >+FFMPEG_CMAKE_OFF= -DWITH_FFMPEG:BOOL=OFF > GTK2_USE= gnome=gtk20 >-GTK2_CONFIGURE_ENABLE= gtk2 >+GTK2_CMAKE_ON= -DWITH_GTK2:BOOL=ON > JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack >-JACK_CONFIGURE_WITH= jack >+JACK_CONFIGURE_OFF= -DWITH_JACK:BOOL=OFF > MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad >-MAD_CONFIGURE_WITH= mp3 >+MAD_CMAKE_OFF= -DWITH_MP3:BOOL=OFF > PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio >-PULSEAUDIO_CONFIGURE_ENV_OFF= ac_cv_lib_pulse_pa_stream_new=no >+PULSEAUDIO_CMAKE_OFF= -DWITH_PULSE:BOOL=OFF >+VAAPI_LIB_DEPENDS= libva.so:${PORTSDIR}/multimedia/libva >+VAAPI_CMAKE_OFF= -DVA_FOUND:BOOL=OFF > VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis >-VORBIS_CONFIGURE_WITH= vorbis >- >-post-patch: >- @${REINPLACE_CMD} -e \ >- 's|^\(x86_64\)|amd64*\|\1| ; \ >- s|-lpthread|-pthread|' ${WRKSRC}/configure.ac >- @${REINPLACE_CMD} -e \ >- 's|XLIBS+="-l|XLIBS="$$XLIBS -l|' ${WRKSRC}/autoconf/m4/x11.m4 >- @${REINPLACE_CMD} -e \ >- 's|-rdynamic|-Wl,-export-dynamic| ; \ >- s|-finline-limit=300||' ${WRKSRC}/src/Makefile.am >+VORBIS_CMAKE_OFF= -DWITH_OGG:BOOL=OFF > > pre-build: > @${MKDIR} ${WRKDIR}/wrappers >@@ -79,25 +70,24 @@ > ${STAGEDIR}${PREFIX}/bin) > @${MKDIR} ${STAGEDIR}${PREFIX}/lib/stepmania > .for i in Announcers BGAnimations BackgroundEffects BackgroundTransitions \ >- Characters Courses Data NoteSkins Scripts Themes >+ Characters Courses Data NoteSkins Scripts Songs Themes > @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} \ > ${STAGEDIR}${PREFIX}/lib/stepmania) > .endfor >- (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} stepmania \ >+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} stepmania \ > ${STAGEDIR}${PREFIX}/lib/stepmania) >- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/stepmania/Songs > (cd ${WRKSRC} && ${INSTALL_DATA} stepmania.desktop \ > ${STAGEDIR}${PREFIX}/share/applications) > @(cd ${WRKSRC} && ${COPYTREE_SHARE} icons \ > ${STAGEDIR}${PREFIX}/share) > >+post-install-GTK2-on: >+ (cd ${WRKSRC} && ${INSTALL_LIB} GtkModule.so \ >+ ${STAGEDIR}${PREFIX}/lib/stepmania) >+ > post-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > @(cd ${WRKSRC}/Docs && ${COPYTREE_SHARE} . \ > ${STAGEDIR}${DOCSDIR} "! -name Licenses.txt") > >-post-install-GTK2-on: >- (cd ${WRKSRC}/src && ${INSTALL_LIB} GtkModule.so \ >- ${STAGEDIR}${PREFIX}/lib/stepmania) >- > .include <bsd.port.mk> >diff -urN /usr/ports/games/stepmania-devel/distinfo games/stepmania-devel/distinfo >--- /usr/ports/games/stepmania-devel/distinfo 2015-10-11 07:06:52.311977000 +0900 >+++ games/stepmania-devel/distinfo 2015-11-11 00:00:00.000000000 +0900 >@@ -1,2 +1,2 @@ >-SHA256 (stepmania-stepmania-v5.0.9_GH0.tar.gz) = 9f0566e36a578d499f6cbbb4e32b4d762182a991f6bc37df762c433976a80142 >-SIZE (stepmania-stepmania-v5.0.9_GH0.tar.gz) = 197144798 >+SHA256 (stepmania-stepmania-v5.0.10_GH0.tar.gz) = 8c6d375da82fede5752442c39254b76d3013102bb6f73f2fa8053f8e6fff0b70 >+SIZE (stepmania-stepmania-v5.0.10_GH0.tar.gz) = 176559619 >diff -urN /usr/ports/games/stepmania-devel/files/patch-StepmaniaCore.cmake games/stepmania-devel/files/patch-StepmaniaCore.cmake >--- /usr/ports/games/stepmania-devel/files/patch-StepmaniaCore.cmake 1970-01-01 09:00:00.000000000 +0900 >+++ games/stepmania-devel/files/patch-StepmaniaCore.cmake 2015-11-11 00:00:00.000000000 +0900 >@@ -0,0 +1,44 @@ >+--- StepmaniaCore.cmake.orig 2015-10-30 15:55:52.000000000 +0900 >++++ StepmaniaCore.cmake 2015-11-09 01:49:26.062972000 +0900 >+@@ -308,7 +308,7 @@ >+ MAC_FRAME_OPENGL >+ MAC_FRAME_QUICKTIME >+ ) >+-elseif(LINUX) >++else() >+ if(WITH_GTK2) >+ find_package("GTK2" 2.0) >+ if (${GTK2_FOUND}) >+@@ -350,26 +350,32 @@ >+ set(HAX_XRANDR FALSE) >+ endif() >+ >++ if(WITH_PULSE) >+ find_package(PulseAudio) >+ if (PULSEAUDIO_FOUND) >+ set(HAS_PULSE TRUE) >+ else() >+ set(HAS_PULSE FALSE) >+ endif() >++ endif() >+ >++ if(WITH_ALSA) >+ find_package(ALSA) >+ if (ALSA_FOUND) >+ set(HAS_ALSA TRUE) >+ else() >+ set(HAS_ALSA FALSE) >+ endif() >++ endif() >+ >++ if(WITH_JACK) >+ find_package(JACK) >+ if (JACK_FOUND) >+ set(HAS_JACK TRUE) >+ else() >+ set(HAS_JACK FALSE) >+ endif() >++ endif() >+ >+ find_package(OSS) >+ if (OSS_FOUND) >diff -urN /usr/ports/games/stepmania-devel/files/patch-extern__CMakeLists.txt games/stepmania-devel/files/patch-extern__CMakeLists.txt >--- /usr/ports/games/stepmania-devel/files/patch-extern__CMakeLists.txt 1970-01-01 09:00:00.000000000 +0900 >+++ games/stepmania-devel/files/patch-extern__CMakeLists.txt 2015-11-11 00:00:00.000000000 +0900 >@@ -0,0 +1,14 @@ >+--- extern/CMakeLists.txt.orig 2015-10-30 06:55:52 UTC >++++ extern/CMakeLists.txt >+@@ -1,5 +1,4 @@ >+ include(CMakeProject-lua.cmake) >+-include(CMakeProject-glew.cmake) >+ include(CMakeProject-json.cmake) >+ if (APPLE OR MSVC) >+ include(CMakeProject-mad.cmake) >+@@ -16,5 +15,4 @@ if (NOT SYSTEM_PCRE_FOUND) >+ endif() >+ include(CMakeProject-tomcrypt.cmake) >+ include(CMakeProject-tommath.cmake) >+-include(CMakeProject-png.cmake) >+ >diff -urN /usr/ports/games/stepmania-devel/files/patch-src__CMakeData-arch.cmake games/stepmania-devel/files/patch-src__CMakeData-arch.cmake >--- /usr/ports/games/stepmania-devel/files/patch-src__CMakeData-arch.cmake 1970-01-01 09:00:00.000000000 +0900 >+++ games/stepmania-devel/files/patch-src__CMakeData-arch.cmake 2015-11-11 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- src/CMakeData-arch.cmake.orig 2015-10-30 06:55:52 UTC >++++ src/CMakeData-arch.cmake >+@@ -243,7 +243,7 @@ else() >+ list(APPEND SMDATA_ARCH_LOADING_HPP >+ "arch/LoadingWindow/LoadingWindow_MacOSX.h" >+ ) >+- elseif(LINUX) >++ else() >+ if (GTK2_FOUND) >+ list(APPEND SMDATA_ARCH_LOADING_SRC >+ "arch/LoadingWindow/LoadingWindow_Gtk.cpp" >diff -urN /usr/ports/games/stepmania-devel/files/patch-src__CMakeLists.txt games/stepmania-devel/files/patch-src__CMakeLists.txt >--- /usr/ports/games/stepmania-devel/files/patch-src__CMakeLists.txt 1970-01-01 09:00:00.000000000 +0900 >+++ games/stepmania-devel/files/patch-src__CMakeLists.txt 2015-11-11 00:00:00.000000000 +0900 >@@ -0,0 +1,19 @@ >+--- src/CMakeLists.txt.orig 2015-10-30 06:55:52 UTC >++++ src/CMakeLists.txt >+@@ -328,7 +328,7 @@ list(APPEND SMDATA_LINK_LIB >+ "zlib" >+ "jsoncpp" >+ "png" >+- "glew" >++ "GLEW" >+ "jpeg" >+ ) >+ >+@@ -521,7 +521,6 @@ list(APPEND SM_INCLUDE_DIRS >+ ) >+ if(NOT APPLE) >+ list(APPEND SM_INCLUDE_DIRS >+- "${SM_EXTERN_DIR}/glew-1.5.8/include" >+ "${SM_EXTERN_DIR}/jsoncpp/include" >+ "${SM_EXTERN_DIR}/zlib" >+ ) >diff -urN /usr/ports/games/stepmania-devel/pkg-plist games/stepmania-devel/pkg-plist >--- /usr/ports/games/stepmania-devel/pkg-plist 2015-10-11 07:06:52.310010000 +0900 >+++ games/stepmania-devel/pkg-plist 2015-11-11 00:00:00.000000000 +0900 >@@ -1594,6 +1594,21 @@ > lib/stepmania/Scripts/32log.lua > lib/stepmania/Scripts/extend_table.lua > lib/stepmania/Scripts/unavailable_functions.lua >+lib/stepmania/Songs/StepMania 5/Goin' Under/Goin' Under.ogg >+lib/stepmania/Songs/StepMania 5/Goin' Under/Goin' Under.sm >+lib/stepmania/Songs/StepMania 5/Goin' Under/Goin' Under.ssc >+lib/stepmania/Songs/StepMania 5/Goin' Under/bg.png >+lib/stepmania/Songs/StepMania 5/Goin' Under/bn.png >+lib/stepmania/Songs/StepMania 5/MechaTribe Assault/Mecha-Tribe Assault.ogg >+lib/stepmania/Songs/StepMania 5/MechaTribe Assault/Mecha-Tribe Assault.ssc >+lib/stepmania/Songs/StepMania 5/MechaTribe Assault/mechatribeassaultbg.png >+lib/stepmania/Songs/StepMania 5/MechaTribe Assault/mechatribeassaultbn.png >+lib/stepmania/Songs/StepMania 5/MechaTribe Assault/wyde cd-tital.png >+lib/stepmania/Songs/StepMania 5/Springtime/Kommisar - Springtime.mp3 >+lib/stepmania/Songs/StepMania 5/Springtime/Springtime.ssc >+lib/stepmania/Songs/StepMania 5/Springtime/spring.png >+lib/stepmania/Songs/StepMania 5/Springtime/springbn.png >+lib/stepmania/Songs/instructions.txt > lib/stepmania/Themes/_Installer/Languages/de.ini > lib/stepmania/Themes/_Installer/Languages/en.ini > lib/stepmania/Themes/_Installer/Languages/es.ini >@@ -1781,10 +1796,10 @@ > lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji 9] 8x8 (doubleres).png > lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-jis1-stroke] 32x32 (doubleres).png > lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-jis1] 32x32 (doubleres).png >-lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-jis2-stroke] 32x106 (doubleres).png >-lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-jis2] 32x106 (doubleres).png >-lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-regular-stroke] 32x61 (doubleres).png >-lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-regular] 32x61 (doubleres).png >+lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-jis2-stroke] 63x54 (doubleres).png >+lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-jis2] 63x54 (doubleres).png >+lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-regular-stroke] 48x41 (doubleres).png >+lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [kanji-regular] 48x41 (doubleres).png > lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [main-stroke] 16x16 (doubleres).png > lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [main] 16x16 (doubleres).png > lib/stepmania/Themes/_fallback/Fonts/_japanese 24px [symbol-stroke] 26x3 (doubleres).png >@@ -2850,6 +2865,7 @@ > %%PORTDOCS%%%%DOCSDIR%%/Themerdocs/moremsg.txt > %%PORTDOCS%%%%DOCSDIR%%/Themerdocs/recommended_practices.txt > %%PORTDOCS%%%%DOCSDIR%%/Themerdocs/sm-ssc_themeguide.txt >+%%PORTDOCS%%%%DOCSDIR%%/Userdocs/Keymaps_ini_format.md > %%PORTDOCS%%%%DOCSDIR%%/Userdocs/bgchanges_format.txt > %%PORTDOCS%%%%DOCSDIR%%/Userdocs/sm5_beginner.txt > %%PORTDOCS%%%%DOCSDIR%%/credits.txt >@@ -2883,4 +2899,3 @@ > share/icons/hicolor/72x72/apps/stepmania-ssc.png > share/icons/hicolor/96x96/apps/stepmania-ssc.png > share/icons/hicolor/scalable/apps/stepmania-ssc.svg >-@dir lib/stepmania/Songs
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204443
: 162982