head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.14 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.12 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.10 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.8 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.6 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.4 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.2 pkgsrc-2024Q3-base:1.3 pkgsrc-2019Q2:1.1.0.4 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.2 pkgsrc-2019Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2024.07.30.03.32.36; author adam; state Exp; branches; next 1.2; commitid 5qJmSuimAEXsqOjF; 1.2 date 2019.07.30.08.47.36; author nia; state dead; branches; next 1.1; commitid R39xUNkIFolqT2xB; 1.1 date 2019.02.02.08.48.06; author brook; state Exp; branches; next ; commitid 2IXyfLthqLr2zaaB; desc @@ 1.3 log @sqlitebrowser: add missing patch @ text @$NetBSD$ On Darwin, do not build application bundle. Do not link against libdl. --- CMakeLists.txt.orig 2024-06-29 06:33:40.000000000 +0000 +++ CMakeLists.txt @@@@ -40,7 +40,7 @@@@ set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) if(APPLE) - add_executable(${PROJECT_NAME} MACOSX_BUNDLE) + add_executable(${PROJECT_NAME}) elseif(WIN32) add_executable(${PROJECT_NAME} WIN32) else() @@@@ -107,7 +107,7 @@@@ if(MSVC) endif() -if(APPLE) +if(FALSE) # For Intel Mac's if(EXISTS /usr/local/opt/qt5) list(APPEND CMAKE_PREFIX_PATH "/usr/local/opt/qt5") @@@@ -510,14 +510,14 @@@@ if(MSVC) endif() endif() -if((NOT WIN32 AND NOT APPLE) OR MINGW) +if((NOT WIN32) OR MINGW) install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ) endif() -if(UNIX) +if(LINUX) target_link_libraries(${PROJECT_NAME} dl) endif() @@@@ -630,7 +630,7 @@@@ if(WIN32 AND MSVC) ) endif() -if(APPLE) +if(FALSE) set_target_properties(${PROJECT_NAME} PROPERTIES BUNDLE True OUTPUT_NAME "DB Browser for SQLite" @ 1.2 log @sqlitebrowser: Update to 3.11.2 Switches from Qt4 to Qt5. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2019/02/02 08:48:06 brook Exp $ d3 2 a4 1 Icons and application resources should be installed on all unix platforms. d6 1 a6 3 See upstream commit 21d8800ce613775c995212f61d7e95c2189f6da6. --- CMakeLists.txt.orig 2015-12-26 12:10:05.000000000 +0000 d8 20 a27 2 @@@@ -301,7 +301,7 @@@@ if(ENABLE_TESTING) add_subdirectory(src/tests) d30 16 a45 11 -if(UNIX AND NOT APPLE) +if(UNIX) install(FILES src/icons/${PROJECT_NAME}.png DESTINATION share/icons/hicolor/256x256/apps/) @@@@ -310,7 +310,7 @@@@ if(UNIX AND NOT APPLE) install(FILES distri/${PROJECT_NAME}.desktop.appdata.xml DESTINATION share/appdata/) -endif(UNIX AND NOT APPLE) +endif(UNIX) d47 5 a51 2 if(WIN32 AND MSVC) set(QT5_BIN_PATH ${QT5_PATH}/bin) @ 1.1 log @Install icons and application resources on all Unix platforms. As discussed on tech-pkg, icons and application resources should be installed uniformly on all Unix platforms. Previously, CMakeLists.txt excluded these on Darwin but not on other Unix platforms. Consequently, the PLIST was broken on Darwin. This was fixed with upstream commit 21d8800ce613775c995212f61d7e95c2189f6da6, which has been backported here to v3.8.0. While here, add two buildlink3.mk files, also discussed on tech-pkg, that should have been present all along but for some reason were not. @ text @d1 1 a1 1 $NetBSD$ @