head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.8 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.6 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.4 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.2 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.1.0.6 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.4 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.2 pkgsrc-2024Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2025.05.07.12.20.08; author micha; state Exp; branches; next 1.1; commitid DCd2CxzVXS10iYTF; 1.1 date 2024.07.08.14.04.42; author micha; state Exp; branches; next ; commitid D60ibF449gFUC2hF; desc @@ 1.2 log @games/eureka: Try to fix build for macOS @ text @$NetBSD: patch-CMakeLists.txt,v 1.1 2024/07/08 14:04:42 micha Exp $ Treat macOS like every other Unix. Let pkgsrc handle icon and desktop files. --- CMakeLists.txt.orig 2024-07-09 18:15:50.000000000 +0000 +++ CMakeLists.txt @@@@ -69,11 +69,11 @@@@ if(WIN32) ) endif() -if(NOT APPLE) +#if(NOT APPLE) target_sources(eureka PRIVATE mainroot.cc) -endif() +#endif() -if(APPLE) +if(APPLE_DISABLED) set(exe_display_name "Eureka Doom Editor") set_target_properties(eureka PROPERTIES OUTPUT_NAME "${exe_display_name}") @@@@ -139,7 +139,7 @@@@ else() endif() add_subdirectory(src) -if(APPLE) +if(APPLE_DISABLED) target_link_libraries(eurekasrc PRIVATE eurekamac) target_link_libraries(eurekamac PRIVATE eurekasrc) endif() @@@@ -170,10 +170,12 @@@@ if(UNIX AND NOT APPLE) # Linux DESTINATION "${eureka_install_dir}" ) # The full-install sequence is here - install(CODE "execute_process( - COMMAND xdg-desktop-menu install --novendor ${CMAKE_CURRENT_SOURCE_DIR}/misc/eureka.desktop - COMMAND xdg-icon-resource install --novendor --size 32 ${CMAKE_CURRENT_SOURCE_DIR}/misc/eureka.xpm - )") + #install(CODE "execute_process( + # COMMAND xdg-desktop-menu install --novendor ${CMAKE_CURRENT_SOURCE_DIR}/misc/eureka.desktop + # COMMAND xdg-icon-resource install --novendor --size 32 ${CMAKE_CURRENT_SOURCE_DIR}/misc/eureka.xpm + #)") + install(FILES misc/eureka.xpm DESTINATION share/icons/hicolor/32x32/apps) + install(FILES misc/eureka.desktop DESTINATION share/applications) # uninstall target if(NOT TARGET uninstall) @ 1.1 log @games/eureka: Update to 2.0.1 Removed some pkgsrc patches (merged upstream). Switch to CMake build system. # CHANGES IN Eureka 2.0.1 (Since version 2.0.0) ## View * Corrected the copyright year for my contributions. ## Bug fixes * Fixed a crash happening when selecting neighbor sectors while no-sided linedefs are in the map. * Fixed a regression from 1.27b where selected 1-sided lines in 3D view wouldn't change texture unless the side panel texture thumbnail also gets selected. ## Development * Fixed some compilation errors on Linux. # CHANGES IN Eureka 2.0.0 (Since version 1.27b) ## Resource and project setup * Wads are now loaded fully in memory. **Note**: currently it still doesn't autodetect file changes, so take care not to open the level in other editors at the same time. * Resources can be loaded as folders, having the standard PK3/PKE layout. * Added Dehacked resource support, by contribution of Isaac Colón ([https://github.com/iccolon818](https://github.com/iccolon818)). * Fixed the EUREKA lump to store relative paths so that the user settings are portable between computers. * Removed the Hexen format support from Eternity. This format is only meant for vanilla Hexen wads and should not be used for new Eternity maps. * Do not throw a fatal error when loading invalid project resource files. ## Editing and interface * Dragging lines or sectors can also split other lines. Currently still no support for the dragged lines getting split by existing vertices. * Fixed a bug where dragging a vertex into a neighbouring linedef to split it resulted in two overlapping lines. * Testing map now opens the game without blocking Eureka, just like user would start another app. Also, for macOS you can now use app bundles. * Added tutti-frutti texture check * Now the tagged items (regardless of type) get highlighted properly, depending on the triggering special. * The tags check is now aware of the linedef special so it doesn't look for tagged sector if the special doesn't deal with sectors. * Now the Jump to Objects dialog allows you to choose multiple items. * Fixed so clicking a button while editing a panel field won't reset the field. * Fixed wrong labelling of sidedef texture boxes. * Now the menu commands show their actual shortcuts as set in user preferences. ## View * Sprites are displayed with rotations both in 2D and 3D views. * Spectral sprite view also shows up as such in the editor views, not just the sprite browser. * Fixed Heretic torches looking wrong in the 3D mode * Fixed the Strife klaxon things to hang from ceiling. * Fixed the Strife Sigil sprite not displaying correctly. * Fixed Heretic multiplayer sprite color translation * Fixed missing 'm' texture category from heretic.ugh. Added it and named it "magic". * Fixed failure to locate a patch if an equally named flat exists. ## Bug fixes * Fixed an access violation happening when starting a new ZDoom project. * Fixed a crash happening when starting a new project while a linedef is selected. * Fixed a crash happening when using R to change sidedef offset in 3D mode on a selected (but not highlighted) linedef. * Fixed a fatal error happening when deleting the last vertex. * Fixed the initial grid being set one step higher than intended in preferences. * Fixed an illegal operation being run when rendering 3D mode. ## Development * Project uses CMake * Deleted Makefile.xming. * Fixed failure to compile on SmartOS. @ text @d1 1 a1 1 $NetBSD$ d3 1 d6 1 a6 1 --- CMakeLists.txt.orig 2024-07-07 19:06:38.000000000 +0000 d8 24 @