openttd: update to 1.11.2 1.11.2 (2021-05-03) ------------------------------------------------------------------------ Change: More improvements to the GUI at different scales (#9075, #9102, #9107, #9133, #9174, #9183) Fix: Query windows could be partially drawn (#9184) Fix #9113: Crash when removing an airport that exists in an aircraft's orders (#9182) Fix #9117: [Fluidsynth] Hang when changing song (#9181) Fix: String validation could leave invalid UTF-8 encoded strings (#9096) Fix: [Network] Out-of-bounds memory access with modified servers sending too short password salts (#9176) Fix: Crash when extra viewport with zero height has sign in view (#9175) Fix #9147: Crash when taking screenshots (#9169) Fix #6598: [Network] Prevent crashes when (re)joining network game by falling back to main menu first (#9163) Fix #9152: Screenshot success popup window was treated as an error (#9159) Fix: Fast-forward stuttering when vsync is enabled (#9140) Fix: [Network] Savegame transfer could stall in rare cases (#9106) Fix #9097: [NewGRF] Cargo initial payment variable was being truncated (#9098) Fix: [NewGRF] Industry variable 66 and object variable 46 erroneously truncated the distance (#9088) Fix: [NewGRF] Industry variables 65 and 66 ignored the parameter, and always used the north tile (#9088) Fix: Do not include regression test AI in bundle (#9068, #9164) 1.11.1 (2021-04-18) ------------------------------------------------------------------------ Feature: Toggle to enable/disable vsync (#8997) Feature: Volume controls in the Game Options window, and better defaults (#8943) Add: Hotkey to focus object and rail filters (#8908) Add: Better plural support for Romanian (#8936) Change: Improve layout and spacing of several windows at different GUI scales (#9041, #9042, #9044, #9050) Change: Make effect volume scale more intuitively (#8945, #8950) Change: Improve padding of Object & Rail station windows (#8929) Fix #6322: [Script] Crash when script allocates too much memory, now kills script instead (#9047) Fix #7513: [Script] Crash on garbage collection with misbehaving script (#9040) Fix #9028: [OpenGL] Crash when changing max sprite zoom level (#9032) Fix #8874: show a warning when a NewGRF scan is requested multiple times (#9022) Fix: Desync when GS unlocks railtype with wagon unlock (#9021) Fix #9008: Validate starting year given on the command line (-t) (#9014) Fix #8878: [Network] Slow DNS queries could block the server and disconnect clients (#9013) Fix: Improve validation of OpenGL video driver to avoid crashes (#9007) Fix: Credits scrolled too slowly with larger font sizes (#8994) Fix #8977: Crash when altering max sprite resolution (#8993) Fix #8956: Industry disaster news messages showed the wrong location (#8992) Fix: [Network] Potential stale client entries in client list (#8959) Fix: Graphical issues when dragging measurement tooltips (#8951) Fix: [Fluidsynth] Use provided default soundfont if available (#8948, #8953) Fix #8935: [macOS] Crash on save (#8944) Fix #8922: Crash when selling shared vehicles with shared vehicle window open (#8926) Fix: Compiling on armhf (Raspberry Pi) (#8924) 1.11.0 (2021-04-01) ------------------------------------------------------------------------ Feature: Allow setting a custom terrain type to define highest peak (#8891) Feature: Auto-detect map height limit based on generated map (#8891) Feature: Setting to indicate desert coverage for tropic climate and snow coverage for arctic climate (replaces snow line height) (#8891) Add: Allow setting the highest mountain for heightmaps (#8891) Change: Scale exported heightmaps to highest peak and inform the user of this value (#8891) Change: Remove "maximum map height" from the New Game GUI (#8891) Fix #8803: Only auto-remove signals when rail can be built (#8904) Fix #8565: Stopped road vehicle displays a speed different than 0 (#8901) Fix #8886: Don't try to resolve folders within tars named '.' (#8893) Fix: Placing random trees in SE crashes the game (#8892) Fix #8875: Filter string in station window breaks flow in user interface (#8885) Fix #8871: [OpenGL] Initialize all buffers after resize and clear back buffer (#8877) Fix: OpenGL performance with some AMD GPUs (#8876) Fix: Recompute road/railtype availability after disabling the engine (#8872) Fix: OSK layout not scaled for 2x or 4x GUI scale (#8868) 1.11.0-RC1 (2021-03-14) ------------------------------------------------------------------------ Feature: Option to (dis-)allow hardware accelerated video drivers (#8819) Feature: Option to set display refresh rate (#8813) Feature: Allow custom width/height of screenshot and making heightmap screenshots via console (#8804) Feature: Allow filtering on name in rail station window (#8706) Feature: Setting for highest resolution of sprites to use (#8604) Add: Make NewGRF Scanner / World Generation update smoother and make aborting it react faster (#8830) Add: Malaysia Ringgit as Currency (#8783) Add: "Engines only" filter in build train window (#8733) Change: De-limit framerate window's framerate (#8772) Change: Clarify what effect town interactions have (#8744) Change: Don't show global goals in company goal windows (#8709) Change: Recolour graph windows to brown (#8700) Fix #8855: Bootstrap could result in an empty screen when bootstrap fails (#8856) Fix #8851: Don't allow infinite "exec" depth in script, but limit to 10 deep (#8852) Fix #8647: Incorrect drawing order of tram catenary sprites (#8843) Fix #8711: Having gui_zoom lower than zoom_min causes a crash (#8835) Fix #8810: "aircraft out of fuel" news shows the wrong place (#8832) Fix #8833: Don't reload NewGRFs when we are shutting down (#8830) Fix: Scale padding between elements the same as other padding (#8829) Fix #8808: [OSX, OpenGL] Crash on switching blitters due to double-mapping the video buffer (#8822) Fix #8784: Using Alt+Enter doesn't update the fullscreen toggle visibly (#8820) Fix #8817: Keep NewGRF order for object class sorting (#8818) Fix #8809: Crash when removing airport when hangar window open (#8815) Fix #8799: Crash when Search Internet in Multiplayer (#8801) Fix #8774: Black screenshots when using 40bpp-blitter (#8791) Fix: [OSX] Hide dock when entering fullscreen (#8789) Fix: Bootstrap fails to start on clean install (#8788) Fix: Terraform limit acts random when maxing out per_64k_frames setting (#8782) Fix: Max-value of fast-forward-speed-limit can be outside its storage size (#8769) 1.11.0-beta2 (2021-02-28) ------------------------------------------------------------------------ Feature: Add setting to limit fast-forward speed (#8766) Feature: Significant performance improvements to all video drivers (#8605, #8652, #8660, #8685, #8702, #8703, #8707, #8726, #8740) Feature: Configurable display refresh-rate, default to 60fps (#8680) Feature: Automatically upload releases to Steam (#8644) Feature: Generic Linux builds (#8641) Feature: [GS] Allow non-question type windows to have no buttons (#8638) Feature: [macOS] ZIP build (#8614) Feature: Object class selection string filtering (#8603) Feature: 'Remove all industries' button in scenario editor (#8550) Feature: Automatic UI and font zoom levels when supported by the OS (#8537) Feature: [macOS] Render screen at native resolution by default for HiDPI screens (#8519) Feature: OpenGL video driver (#7744) Add: Indonesia Rupiah currency (#8616) Change: Improve graph period markings (#8732) Change: Make pathfinder account for maximum order speed, if set (#8722) Change: Darken graph grid lines for legibility (#8690) Change: Make order window hotkeys toggle for load & unload variants (#8669) Change: Use a more specific error message when attempting to bulldoze your own HQ (#8667) Change: Convert .md to .rtf for Windows/Mac packages (#8617) Change: Move the 'tree placer algorithm' & 'road drive side' settings to the Settings window (#8566) Change: Move town name generator selection to mapgen GUI (#8566) Change: [macOS] Native font rendering (#8518) Fix: Display of network lobby windows for different GUI sizes (#8765) Fix: Don't desync if client leaves before you finish downloading map (#8755) Fix: Allow estimating vehicle clone cost even if short on money (#8748) Fix: Don't notify twice that a client left because of a timeout (#8746) Fix: Vehicle cursor size did not account for the interface zoom level (#8739) Fix #8123: Trams on half-tiles couldn't find depots (#8738) Fix #8276: [NewGRF] Crash when an object's size was not set (#8719) Fix #8349: Close depot vehicle list windows when closing the depot window (#8717) Fix #8594: [NRT] Road pathfinder did not account for roadtype speed limits or lengths of tunnels/bridges (#8710) Fix: Whole status bar instead of money widget refreshed on money change (#8692) Fix: Unnecessary status bar redraws when there is no news to show (#8691) Fix: New orders are non-stop by default (#8689) Fix: Framerate window showed a slightly higher rate than actually measured (#8682) Fix: Autorenew failure advice due to bad refit being shown to all companies (#8681) Fix #8625: Wrong ending year was displayed in highscore table (#8672) Fix #8620: Scale spacing between date & news in history window according to font scaling (#8671) Fix: Mention our websites with https:// (instead of http://) (#8657) Fix: Don't crash when towns upgrade road tiles during expansion (#8651) Fix #8029: [SDL2] Blank display when under Wayland (#8648) Fix: Default Network Server List sorter put compatible servers in wrong order (#8626) Fix: Use non-pulsating red highlight for coverage (#8622) Fix: Center text and image in vehicle statusbar vertically (#8602) Fix: Don't walk out of the map when trying to build tunnels (#8600) Fix: Off-by-one error in desert/rainforest positioning at world gen (#8588) Fix #8037: Crash when restarting AI that is controlling the same company as the player (#8587) Fix: Stopped ships shouldn't block depots (#8578) 1.11.0-beta1 (2021-01-22) ------------------------------------------------------------------------ Feature: [GS] Ability to set some extra text in the industry window (#8576) Feature: Show rainforest under vegetation on smallmap (#8562) Feature: Automatically determine window size on new install (#8536) Feature: Towns can build tunnels (#8473) Feature: Make maximum length of town bridges depend on population (with a minimum limit of 4) (#8439) Feature: New icons for renaming and go-to-location on GUI windows, and improve consistency of usage (#8455) Feature: Support for ARM64 on Apple Silicon and Windows (#8340, #8577, #8583) Feature: Add an option to disable tree growth completely (#8415) Feature: Show group name as part of the default vehicle name (#8307) Feature: "Frozen" economy setting that stops production changes and industry closures (#8282) Feature: New velocity unit "tiles/day" (#8278) Feature: Option to automatically remove signals when placing rail (#8274) Feature: Increase max possible distance from border for oil refineries and rigs (#8237) Feature: Improve tree planting window, and allow planting 'clumps' of trees by dragging in the scenario editor (#8234) Feature: Indian Rupee (INR) currency (#8136) Feature: [GS] Ability to give a company exclusive access to an industry (#8115) Feature: Hotkeys for Land Info window, News window & close error window (#8053, #8266) Feature: Improve rendering of large viewports (#7962) Feature: [GS] Influence industry production changes from GameScript (#7912) Feature: [GS] Push-buttons on storybook pages (#7896) Feature: Option to group vehicle lists by shared orders (#7028) Feature: Drag-and-drop vehicles in group GUI for shared order groups (#7028) Add: [GS] A tile parameter to GSCompany::ChangeBankBalance for showing changes more visually (#8573) Add: [NewGRF] Allow NewGRF vehicles to query the current rail/road/tram type (#8554) Add: [Script] ScriptCargo::GetName for the human readable name of cargoes (#8544) Add: "reload" console command to reload the current scenario or heightmap (#8527) Add: [NewGRF] Flag to test if inflation is on or off (#8427) Add: [Script] Native priority queue (useful for things like pathfinders) (#8091) Add: [NewGRF] Industry behaviour flag to override second cargo production clamping for water industries when using smooth economy (#8079) Change: [SDL2] Start game on the screen where the cursor is (#8572) Change: Use a dark background for all profit graphs to increase contrast (#8557) Change: Reword warning in cheat window (#8538) Change: Enable the toolbar for road/rail/dock/airport, regardless of vehicle availability (#8521) Change: For arctic and tropical climates, make sure at least a few hills are generated (#8513) Change: Destroying a tunnel/bridge now sells the tracks before destroying the tunnel/bridge (#8508) Change: Move "give money" from client-list to company window (#8500) Change: [MacOS] Hide Dock and menu when in fullscreen mode (#8487) Change: Improve performance for complex vehicle chains by resolving sprites less frequently (#8485) Change: Make engine reliability independent of introduction date (#8470) Change: Some default settings to improve gameplay for new players - default non-stop orders on, disable inflation, quick goto orders, show track reservations, and more (#8463) Change: Converting town-owned road types now requires a positive town rating (#8457) Change: Rework server list buttons for searching LAN/internet servers (#8426) Change: Add some styling to GS question windows depending on the type (#8422) Change: [Linkgraph] Speed up game exit by allowing job threads to be aborted early (#8416) Change: Prevent towns from building dead-end road bridges (#8401) Change: Send network error to the server before making an emergency save (#8387) Change: Extend the allowed range for max loan setting up to 贈2 billion (#8386) Change: Don't display OS name when exiting the game (#8366) Change: Save openttd.cfg immediately on changing a setting (#8358) Change: Autorenew now defaults to on (#8352) Change: [NewGRF] Also use aircraft property 12 for helicopters (#8347) Change: Service at depot also resets breakdown chance (#8317) Change: Use key names instead of characters in hotkey.cfg (#8291) Change: Allow command cost-estimation while paused (#8222) Change: Always apply inflation from 1920 to 2090, no matter the game start year (#7589) Change: Use CMake for build system (#7270) Change: [Linkgraph] Pause the game when linkgraph jobs lag (#7081) Change: Place "Group by" above "Sort by" in station window for consistency (#7028) Fix #8589: Prevent desyncs with vehicle motion counters and NewGRFs (#8591) Fix #7670: Improve pathfinder performance when lost vehicles are blocked from moving (#8568) Fix: Inform user if a custom font failed to load due to missing glyphs (#8559) Fix: Don't allow wagon chains (without an engine) to exceed maximum train length (#8533) Fix #7619: Super fast NewGRF aircraft could be unable to land (#8531) Fix: Improve connection retries for the content server in cases of broken networking (#8530) Fix #7972: Show invalid orders to stations that don't accept the vehicle (#8516) Fix: Error when trying to clone a vehicle with invalid orders (#8515) Fix #8050: Various off-by-one errors in how the end-year of the game was used (#8512) Fix #8332: Aborting vehicle group drag & drop could cause crashes (#8511) Fix #8168: Allow relocating HQ partially over an existing HQ (#8510) Fix #8068: Allow selling tram track regardless of bank balance (#8509) Fix #7604: Prevent houses from wandering away from roads (#8507) Fix: Make the "password" button the same size as the other buttons in the Company window (#8500) Fix #7611: Keep news about vehicle accidents around after the vehicle is cleaned up (#8497) Fix: [MacOS] Full animation in fullscreen mode was reducing the height of the window (#8491) Fix: [MacOS] Loading custom fonts (#8484) Fix: Network client makes emergency saves twice if the server is disconnected (#8477) Fix #8462: Stop towns from trying to build roads on water (#8471) Fix: [NewGRF] GetCurveSpeedLimit should use the railtype from the current tile (#8466) Fix #8437: Crash when using certain heliports with certain rotated airports (#8458) Fix #8437: Planes would land at the wrong height if the top corner of the airport was lowered (#8458) Fix #8297: Infrastructure counters for road tunnels, bridges & depots (#8454) Fix #6468: Don't store the version of AIs that are started via console (#8430) Fix: Don't lower tree density if spreading is not enabled (#8413) Fix: Prevent savegame version conflicts with certain old patchpacks (#8411) Fix: [NewGRF] Variable 0x44 was always HZB_TOWN_EDGE for road stops (#8400) Fix #8313: Use correct capitalization for TTO / DOS music files in the baseset metadata (#8385) Fix: [NewGRF] Action 7/9 conditions 0x0F to 0x12 failed, if 'param' was 0x88 (#8382) Fix: Change the working-dir searchpath when using '-c' (#8367) Fix: Useless warning with -snull and no BaseSounds available (#8361) Fix: Crash trying to load TTO/TTD savegames. (#8356) Fix: [Script] Don't echo script exceptions to console (#8331) Fix: Slovak ownname was using the wrong form (#8326) Fix #8311: [NewGRF] Industry probability at map generation was scaled differently when set via property or callback (#8312) Fix: Only check houses for cargo when generating subsidies with towns (#8305) Fix: Sprite preview in sprite aligner was too small with scaled UI (#8288) Fix: Spell 'Viewport' consistently (#8260) Fix #7772: Show vehicle destination on mouseover when vehicle stopped (#8236, #8543) Fix #8232: Huge screenshot warning was shown incorrectly (#8224) Fix #8153: Report incompatible cargo/order when autoreplace fails (#8169) Fix: [Script] ScriptMarine::AreWaterTilesConnected did not work for aqueducts (#8074) Fix #7645: Add cost of clearing the sloped tile to the price of a dock (#7947) Fix #6452: Reset only editable and visible settings from GUI (#7890) Fix: Original terrain generator did not keep a single gap of water at the borders (#7883) Remove: In-game console command "content select all" (#8363) Remove: [OSX] Support for OSX older than 10.7, including QuickTime music driver (#8078)diff -r1.97 -r1.98 pkgsrc/games/openttd/Makefile
(nia)
@@ -1,69 +1,56 @@ | @@ -1,69 +1,56 @@ | |||
1 | # $NetBSD: Makefile,v 1.97 2021/04/21 11:41:45 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.98 2021/05/04 17:08:05 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= openttd-1.10.3-source | 3 | DISTNAME= openttd-1.11.2-source | |
4 | PKGNAME= ${DISTNAME:S/-source//} | 4 | PKGNAME= ${DISTNAME:S/-source//} | |
5 | PKGREVISION= 3 | |||
6 | CATEGORIES= games | 5 | CATEGORIES= games | |
7 | MASTER_SITES= https://proxy.binaries.openttd.org/openttd-releases/${PKGVERSION_NOREV}/ | 6 | MASTER_SITES= https://proxy.binaries.openttd.org/openttd-releases/${PKGVERSION_NOREV}/ | |
8 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= https://www.openttd.org/ | 10 | HOMEPAGE= https://www.openttd.org/ | |
12 | COMMENT= Open source clone of Transport Tycoon Deluxe | 11 | COMMENT= Open source clone of Transport Tycoon Deluxe | |
13 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
14 | 13 | |||
15 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | 14 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | |
16 | HAS_CONFIGURE= yes | 15 | USE_CMAKE= yes | |
17 | USE_LANGUAGES= c c++ | 16 | USE_LANGUAGES= c c++ | |
18 | USE_TOOLS+= gmake pkg-config | 17 | USE_TOOLS+= pkg-config | |
19 | BUILD_DEFS+= VARBASE | 18 | CONFIGURE_DIRS= build | |
20 | BUILD_TARGET= bundle | 19 | CMAKE_ARG_PATH= .. | |
21 | ||||
22 | # C++11 | |||
23 | GCC_REQD+= 4.8 | |||
24 | 20 | |||
25 | CONFIGURE_ARGS+= --os=UNIX | 21 | # C++17 | |
26 | CONFIGURE_ARGS+= --prefix-dir=${PREFIX} | 22 | GCC_REQD+= 7 | |
27 | CONFIGURE_ARGS+= --binary-dir=bin | |||
28 | CONFIGURE_ARGS+= --data-dir=share/openttd | |||
29 | CONFIGURE_ARGS+= --doc-dir=share/doc/openttd | |||
30 | CONFIGURE_ARGS+= --icon-theme-dir=share/icons/hicolor | |||
31 | CONFIGURE_ARGS+= --install-dir=${DESTDIR} | |||
32 | CONFIGURE_ARGS+= --man-dir=${PKGMANDIR}/man6 | |||
33 | CONFIGURE_ARGS+= --menu-dir=share/applications | |||
34 | CONFIGURE_ARGS+= --personal-dir=.openttd | |||
35 | CONFIGURE_ARGS+= --shared-dir=${VARBASE}/games/openttd | |||
36 | 23 | |||
37 | CONFIGURE_ARGS+= --without-allegro | 24 | BUILD_DEFS+= VARBASE | |
38 | 25 | |||
39 | .include "../../mk/bsd.prefs.mk" | 26 | .include "../../mk/bsd.prefs.mk" | |
40 | 27 | |||
41 | .if ${OPSYS} == "Darwin" | 28 | CMAKE_ARGS+= -DPERSONAL_DIR=.openttd | |
42 | CONFIGURE_ARGS+= --disable-cocoa-quickdraw | 29 | CMAKE_ARGS+= -DSHARED_DIR=${VARBASE}/games/openttd | |
43 | CONFIGURE_ARGS+= --with-cocoa | 30 | CMAKE_ARGS+= -DGLOBAL_DIR=${PREFIX}/share/openttd | |
44 | CONFIGURE_ARGS+= --without-application-bundle | 31 | CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release | |
45 | CONFIGURE_ARGS+= --without-osx-sysroot | 32 | CMAKE_ARGS+= -DCMAKE_INSTALL_BINDIR=bin | |
46 | .else | 33 | CMAKE_ARGS+= -DCMAKE_INSTALL_DATADIR=share | |
47 | CONFIGURE_ARGS+= --with-sdl=sdl2 | 34 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Allegro=ON | |
48 | .include "../../devel/SDL2/buildlink3.mk" | 35 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON | |
49 | .include "../../x11/libxdg-basedir/buildlink3.mk" | 36 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Grfcodec=ON | |
50 | BUILDLINK_API_DEPENDS.libxdg-basedir+= libxdg-basedir>=1.2.0 | |||
51 | .endif | |||
52 | 37 | |||
53 | MAKE_FLAGS.NetBSD+= MD5SUM="/usr/bin/cksum -n -a md5" | 38 | BUILDLINK_TRANSFORM+= opt:-std=c++17:-std=gnu++17 # alloca | |
54 | 39 | |||
55 | BUILDLINK_TRANSFORM+= opt:-std=c++11:-std=gnu++11 # alloca | 40 | pre-configure: | |
41 | ${MKDIR} ${WRKSRC}/build | |||
56 | 42 | |||
57 | .include "../../archivers/lzo/buildlink3.mk" | 43 | .include "../../archivers/lzo/buildlink3.mk" | |
58 | .include "../../archivers/xz/buildlink3.mk" | 44 | .include "../../archivers/xz/buildlink3.mk" | |
59 | .include "../../audio/fluidsynth/buildlink3.mk" | 45 | .include "../../audio/fluidsynth/buildlink3.mk" | |
60 | .include "../../converters/libiconv/buildlink3.mk" | 46 | .include "../../converters/libiconv/buildlink3.mk" | |
47 | .include "../../devel/SDL2/buildlink3.mk" | |||
61 | .include "../../devel/zlib/buildlink3.mk" | 48 | .include "../../devel/zlib/buildlink3.mk" | |
62 | .include "../../fonts/fontconfig/buildlink3.mk" | 49 | .include "../../fonts/fontconfig/buildlink3.mk" | |
63 | .include "../../graphics/freetype2/buildlink3.mk" | 50 | .include "../../graphics/freetype2/buildlink3.mk" | |
64 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 51 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
65 | .include "../../graphics/png/buildlink3.mk" | 52 | .include "../../graphics/png/buildlink3.mk" | |
66 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 53 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
67 | .include "../../textproc/icu/buildlink3.mk" | 54 | .include "../../textproc/icu/buildlink3.mk" | |
68 | .include "../../mk/pthread.buildlink3.mk" | 55 | .include "../../mk/pthread.buildlink3.mk" | |
69 | .include "../../mk/bsd.pkg.mk" | 56 | .include "../../mk/bsd.pkg.mk" |
@@ -1,55 +1,56 @@ | @@ -1,55 +1,56 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.27 2020/04/05 14:41:21 nia Exp $ | 1 | @comment $NetBSD: PLIST,v 1.28 2021/05/04 17:08:05 nia Exp $ | |
2 | bin/openttd | 2 | bin/openttd | |
3 | man/man6/openttd.6 | 3 | man/man6/openttd.6 | |
4 | share/applications/openttd.desktop | 4 | share/applications/openttd.desktop | |
5 | share/doc/openttd/COPYING.md | 5 | share/doc/openttd/COPYING.md | |
6 | share/doc/openttd/README.md | 6 | share/doc/openttd/README.md | |
7 | share/doc/openttd/changelog.txt | 7 | share/doc/openttd/changelog.txt | |
8 | share/doc/openttd/known-bugs.txt | 8 | share/doc/openttd/known-bugs.txt | |
9 | share/doc/openttd/multiplayer.md | 9 | share/doc/openttd/multiplayer.md | |
10 | share/icons/hicolor/128x128/apps/openttd.png | 10 | share/icons/hicolor/128x128/apps/openttd.png | |
11 | share/icons/hicolor/16x16/apps/openttd.png | 11 | share/icons/hicolor/16x16/apps/openttd.png | |
12 | share/icons/hicolor/256x256/apps/openttd.png | 12 | share/icons/hicolor/256x256/apps/openttd.png | |
13 | share/icons/hicolor/32x32/apps/openttd.png | 13 | share/icons/hicolor/32x32/apps/openttd.png | |
14 | share/icons/hicolor/48x48/apps/openttd.png | 14 | share/icons/hicolor/48x48/apps/openttd.png | |
15 | share/icons/hicolor/64x64/apps/openttd.png | 15 | share/icons/hicolor/64x64/apps/openttd.png | |
16 | share/openttd/ai/compat_0.7.nut | 16 | share/openttd/ai/compat_0.7.nut | |
17 | share/openttd/ai/compat_1.0.nut | 17 | share/openttd/ai/compat_1.0.nut | |
18 | share/openttd/ai/compat_1.1.nut | 18 | share/openttd/ai/compat_1.1.nut | |
19 | share/openttd/ai/compat_1.10.nut | 19 | share/openttd/ai/compat_1.10.nut | |
20 | share/openttd/ai/compat_1.11.nut | |||
20 | share/openttd/ai/compat_1.2.nut | 21 | share/openttd/ai/compat_1.2.nut | |
21 | share/openttd/ai/compat_1.3.nut | 22 | share/openttd/ai/compat_1.3.nut | |
22 | share/openttd/ai/compat_1.4.nut | 23 | share/openttd/ai/compat_1.4.nut | |
23 | share/openttd/ai/compat_1.5.nut | 24 | share/openttd/ai/compat_1.5.nut | |
24 | share/openttd/ai/compat_1.6.nut | 25 | share/openttd/ai/compat_1.6.nut | |
25 | share/openttd/ai/compat_1.7.nut | 26 | share/openttd/ai/compat_1.7.nut | |
26 | share/openttd/ai/compat_1.8.nut | 27 | share/openttd/ai/compat_1.8.nut | |
27 | share/openttd/ai/compat_1.9.nut | 28 | share/openttd/ai/compat_1.9.nut | |
28 | share/openttd/baseset/no_music.obm | 29 | share/openttd/baseset/no_music.obm | |
29 | share/openttd/baseset/no_sound.obs | 30 | share/openttd/baseset/no_sound.obs | |
30 | share/openttd/baseset/openttd.32.bmp | |||
31 | share/openttd/baseset/openttd.grf | 31 | share/openttd/baseset/openttd.grf | |
32 | share/openttd/baseset/opntitle.dat | 32 | share/openttd/baseset/opntitle.dat | |
33 | share/openttd/baseset/orig_dos.obg | 33 | share/openttd/baseset/orig_dos.obg | |
34 | share/openttd/baseset/orig_dos.obm | 34 | share/openttd/baseset/orig_dos.obm | |
35 | share/openttd/baseset/orig_dos.obs | 35 | share/openttd/baseset/orig_dos.obs | |
36 | share/openttd/baseset/orig_dos_de.obg | 36 | share/openttd/baseset/orig_dos_de.obg | |
37 | share/openttd/baseset/orig_extra.grf | 37 | share/openttd/baseset/orig_extra.grf | |
38 | share/openttd/baseset/orig_tto.obm | 38 | share/openttd/baseset/orig_tto.obm | |
39 | share/openttd/baseset/orig_win.obg | 39 | share/openttd/baseset/orig_win.obg | |
40 | share/openttd/baseset/orig_win.obm | 40 | share/openttd/baseset/orig_win.obm | |
41 | share/openttd/baseset/orig_win.obs | 41 | share/openttd/baseset/orig_win.obs | |
42 | share/openttd/game/compat_1.10.nut | 42 | share/openttd/game/compat_1.10.nut | |
43 | share/openttd/game/compat_1.11.nut | |||
43 | share/openttd/game/compat_1.2.nut | 44 | share/openttd/game/compat_1.2.nut | |
44 | share/openttd/game/compat_1.3.nut | 45 | share/openttd/game/compat_1.3.nut | |
45 | share/openttd/game/compat_1.4.nut | 46 | share/openttd/game/compat_1.4.nut | |
46 | share/openttd/game/compat_1.5.nut | 47 | share/openttd/game/compat_1.5.nut | |
47 | share/openttd/game/compat_1.6.nut | 48 | share/openttd/game/compat_1.6.nut | |
48 | share/openttd/game/compat_1.7.nut | 49 | share/openttd/game/compat_1.7.nut | |
49 | share/openttd/game/compat_1.8.nut | 50 | share/openttd/game/compat_1.8.nut | |
50 | share/openttd/game/compat_1.9.nut | 51 | share/openttd/game/compat_1.9.nut | |
51 | share/openttd/lang/afrikaans.lng | 52 | share/openttd/lang/afrikaans.lng | |
52 | share/openttd/lang/arabic_egypt.lng | 53 | share/openttd/lang/arabic_egypt.lng | |
53 | share/openttd/lang/basque.lng | 54 | share/openttd/lang/basque.lng | |
54 | share/openttd/lang/belarusian.lng | 55 | share/openttd/lang/belarusian.lng | |
55 | share/openttd/lang/brazilian_portuguese.lng | 56 | share/openttd/lang/brazilian_portuguese.lng | |
@@ -104,13 +105,14 @@ share/openttd/lang/turkish.lng | @@ -104,13 +105,14 @@ share/openttd/lang/turkish.lng | |||
104 | share/openttd/lang/ukrainian.lng | 105 | share/openttd/lang/ukrainian.lng | |
105 | share/openttd/lang/vietnamese.lng | 106 | share/openttd/lang/vietnamese.lng | |
106 | share/openttd/lang/welsh.lng | 107 | share/openttd/lang/welsh.lng | |
107 | share/openttd/scripts/autoexec.scr.example | 108 | share/openttd/scripts/autoexec.scr.example | |
108 | share/openttd/scripts/game_start.scr.example | 109 | share/openttd/scripts/game_start.scr.example | |
109 | share/openttd/scripts/on_client.scr.example | 110 | share/openttd/scripts/on_client.scr.example | |
110 | share/openttd/scripts/on_dedicated.scr.example | 111 | share/openttd/scripts/on_dedicated.scr.example | |
111 | share/openttd/scripts/on_server.scr.example | 112 | share/openttd/scripts/on_server.scr.example | |
112 | share/openttd/scripts/on_server_connect.scr.example | 113 | share/openttd/scripts/on_server_connect.scr.example | |
113 | share/openttd/scripts/pre_dedicated.scr.example | 114 | share/openttd/scripts/pre_dedicated.scr.example | |
114 | share/openttd/scripts/pre_server.scr.example | 115 | share/openttd/scripts/pre_server.scr.example | |
115 | share/openttd/scripts/readme.txt | 116 | share/openttd/scripts/readme.txt | |
116 | share/pixmaps/openttd.32.xpm | 117 | share/pixmaps/openttd.32.xpm | |
118 | share/pixmaps/openttd.64.xpm |
@@ -1,9 +1,7 @@ | @@ -1,9 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.37 2020/10/03 10:17:15 nia Exp $ | 1 | $NetBSD: distinfo,v 1.38 2021/05/04 17:08:05 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (openttd-1.10.3-source.tar.xz) = 5a68b97d1f84e9f7e361c12996e741fe64537802 | 3 | SHA1 (openttd-1.11.2-source.tar.xz) = 1894134b7bfc7c645ce9c4fe5747db3dd40abf61 | |
4 | RMD160 (openttd-1.10.3-source.tar.xz) = 863de2742c84f198d44d02268575cd5233f1c56f | 4 | RMD160 (openttd-1.11.2-source.tar.xz) = 19d5edf788076fe562bcc8f095e44dd3910c83b0 | |
5 | SHA512 (openttd-1.10.3-source.tar.xz) = d1cd535e8e49f0ac147704341287af1b16bde6725fd9152dd36dcb780559b400da8bb31c4e8eb665a0d11e9b1f5bf8a96be0f97f7a85bd967eec534fdd3dd0d4 | 5 | SHA512 (openttd-1.11.2-source.tar.xz) = 9a6364bf19627db9f8ec58bfa85fa3a8febf1109f3b5fb9053bef810ac2d0c41df91b58f0b253dd45320a29cae2e8485df794afa7b5240f19759f98fd65c35ea | |
6 | Size (openttd-1.10.3-source.tar.xz) = 6815924 bytes | 6 | Size (openttd-1.11.2-source.tar.xz) = 6783972 bytes | |
7 | SHA1 (patch-config.lib) = 1e8319816aba9d7bf4d0f749c0a4725d1747388a | 7 | SHA1 (patch-cmake_InstallAndPackage.cmake) = 18b02c11bf59639124c2a852d5a19dda3ae0ff81 | |
8 | SHA1 (patch-src_core_alloc__func.hpp) = 17fcfe3ce984cd453f6756f4f212c8fe8ab15ed1 | |||
9 | SHA1 (patch-src_core_endian__type.hpp) = 23564a89fd0e2ebe97043c7d16d5831831b65f40 |
$NetBSD: patch-cmake_InstallAndPackage.cmake,v 1.1 2021/05/04 17:08:05 nia Exp $
Do not try to generate Linux distribution packages.
--- cmake/InstallAndPackage.cmake.orig 2021-05-03 18:41:45.000000000 +0000
+++ cmake/InstallAndPackage.cmake
@@ -145,47 +145,9 @@ elseif(UNIX)
if(OPTION_PACKAGE_DEPENDENCIES)
set(CPACK_GENERATOR "TXZ")
set(PLATFORM "generic")
- elseif(NOT OPTION_INSTALL_FHS)
+ else()
set(CPACK_GENERATOR "TXZ")
set(PLATFORM "unknown")
- else()
- find_program(LSB_RELEASE_EXEC lsb_release)
- execute_process(COMMAND ${LSB_RELEASE_EXEC} -is
- OUTPUT_VARIABLE LSB_RELEASE_ID
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
- if(LSB_RELEASE_ID)
- if(LSB_RELEASE_ID STREQUAL "Ubuntu" OR LSB_RELEASE_ID STREQUAL "Debian")
- execute_process(COMMAND ${LSB_RELEASE_EXEC} -cs
- OUTPUT_VARIABLE LSB_RELEASE_CODENAME
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
- string(TOLOWER "${LSB_RELEASE_ID}-${LSB_RELEASE_CODENAME}" PLATFORM)
-
- set(CPACK_GENERATOR "DEB")
- include(PackageDeb)
- else()
- set(UNSUPPORTED_PLATFORM_NAME "LSB-based Linux distribution '${LSB_RELEASE_ID}'")
- endif()
- elseif(EXISTS "/etc/os-release")
- file(STRINGS "/etc/os-release" OS_RELEASE_CONTENTS REGEX "^ID=")
- string(REGEX MATCH "ID=(.*)" _ ${OS_RELEASE_CONTENTS})
- set(DISTRO_ID ${CMAKE_MATCH_1})
- if(DISTRO_ID STREQUAL "arch")
- set(PLATFORM "arch")
- set(CPACK_GENERATOR "TXZ")
- else()
- set(UNSUPPORTED_PLATFORM_NAME "Linux distribution '${DISTRO_ID}' from /etc/os-release")
- endif()
- else()
- set(UNSUPPORTED_PLATFORM_NAME "Linux distribution")
- endif()
-
- if(NOT PLATFORM)
- set(PLATFORM "generic")
- set(CPACK_GENERATOR "TXZ")
- message(WARNING "Unknown ${UNSUPPORTED_PLATFORM_NAME} found for packaging; can only pack to a txz. Please consider creating a Pull Request to add support for this distribution.")
- endif()
endif()
set(CPACK_PACKAGE_FILE_NAME "openttd-#CPACK_PACKAGE_VERSION#-linux-${PLATFORM}-${CPACK_SYSTEM_NAME}")