Tue Nov 21 16:26:36 2023 UTC ()
rawtherappe: fix man page installation

Ride update


(wiz)
diff -r1.32 -r1.33 pkgsrc/graphics/rawtherapee/Makefile
diff -r1.4 -r1.5 pkgsrc/graphics/rawtherapee/PLIST
diff -r1.7 -r1.8 pkgsrc/graphics/rawtherapee/distinfo
diff -r1.2 -r1.3 pkgsrc/graphics/rawtherapee/patches/patch-CMakeLists.txt

cvs diff -r1.32 -r1.33 pkgsrc/graphics/rawtherapee/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/rawtherapee/Makefile 2023/11/21 16:09:25 1.32
+++ pkgsrc/graphics/rawtherapee/Makefile 2023/11/21 16:26:36 1.33
@@ -1,34 +1,31 @@ @@ -1,34 +1,31 @@
1# $NetBSD: Makefile,v 1.32 2023/11/21 16:09:25 wiz Exp $ 1# $NetBSD: Makefile,v 1.33 2023/11/21 16:26:36 wiz Exp $
2 2
3DISTNAME= rawtherapee-5.9 3DISTNAME= rawtherapee-5.9
4CATEGORIES= graphics 4CATEGORIES= graphics
5MASTER_SITES= http://rawtherapee.com/shared/source/ 5MASTER_SITES= http://rawtherapee.com/shared/source/
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= ryoon@NetBSD.org 8MAINTAINER= ryoon@NetBSD.org
9HOMEPAGE= https://rawtherapee.com/ 9HOMEPAGE= https://rawtherapee.com/
10COMMENT= Powerful cross-platform raw photo processing program 10COMMENT= Powerful cross-platform raw photo processing program
11LICENSE= gnu-gpl-v3 11LICENSE= gnu-gpl-v3
12 12
13USE_CMAKE= yes 13USE_CMAKE= yes
14USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
15USE_TOOLS+= pkg-config 15USE_TOOLS+= pkg-config
16 16
 17# for patch-CMakeLists.txt
17CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR} 18CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR}
18 19
19# ReleaseInfo.cmake must exist or it will try to use git(1) to regen it. 
20pre-configure: 
21 touch ${WRKSRC}/ReleaseInfo.cmake 
22 
23.include "../../audio/libcanberra/buildlink3.mk" 20.include "../../audio/libcanberra/buildlink3.mk"
24.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 21.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
25.include "../../graphics/lcms2/buildlink3.mk" 22.include "../../graphics/lcms2/buildlink3.mk"
26.include "../../graphics/lensfun/buildlink3.mk" 23.include "../../graphics/lensfun/buildlink3.mk"
27.include "../../graphics/libiptcdata/buildlink3.mk" 24.include "../../graphics/libiptcdata/buildlink3.mk"
28.include "../../graphics/librsvg/buildlink3.mk" 25.include "../../graphics/librsvg/buildlink3.mk"
29.include "../../graphics/tiff/buildlink3.mk" 26.include "../../graphics/tiff/buildlink3.mk"
30.include "../../math/fftw/buildlink3.mk" 27.include "../../math/fftw/buildlink3.mk"
31.include "../../textproc/expat/buildlink3.mk" 28.include "../../textproc/expat/buildlink3.mk"
32.include "../../x11/gtkmm3/buildlink3.mk" 29.include "../../x11/gtkmm3/buildlink3.mk"
33.include "../../mk/jpeg.buildlink3.mk" 30.include "../../mk/jpeg.buildlink3.mk"
34.include "../../mk/bsd.pkg.mk" 31.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/graphics/rawtherapee/PLIST (expand / switch to unified diff)

--- pkgsrc/graphics/rawtherapee/PLIST 2023/11/21 16:09:25 1.4
+++ pkgsrc/graphics/rawtherapee/PLIST 2023/11/21 16:26:36 1.5
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1@comment $NetBSD: PLIST,v 1.4 2023/11/21 16:09:25 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.5 2023/11/21 16:26:36 wiz Exp $
2bin/rawtherapee 2bin/rawtherapee
3bin/rawtherapee-cli 3bin/rawtherapee-cli
 4man/man1/rawtherapee.1
4share/applications/rawtherapee.desktop 5share/applications/rawtherapee.desktop
5share/doc/rawtherapee/AUTHORS.txt 6share/doc/rawtherapee/AUTHORS.txt
6share/doc/rawtherapee/AboutThisBuild.txt 7share/doc/rawtherapee/AboutThisBuild.txt
7share/doc/rawtherapee/LICENSE 8share/doc/rawtherapee/LICENSE
8share/doc/rawtherapee/RELEASE_NOTES.txt 9share/doc/rawtherapee/RELEASE_NOTES.txt
9share/icons/hicolor/128x128/apps/rawtherapee.png 10share/icons/hicolor/128x128/apps/rawtherapee.png
10share/icons/hicolor/16x16/apps/rawtherapee.png 11share/icons/hicolor/16x16/apps/rawtherapee.png
11share/icons/hicolor/24x24/apps/rawtherapee.png 12share/icons/hicolor/24x24/apps/rawtherapee.png
12share/icons/hicolor/256x256/apps/rawtherapee.png 13share/icons/hicolor/256x256/apps/rawtherapee.png
13share/icons/hicolor/32x32/apps/rawtherapee.png 14share/icons/hicolor/32x32/apps/rawtherapee.png
14share/icons/hicolor/48x48/apps/rawtherapee.png 15share/icons/hicolor/48x48/apps/rawtherapee.png
15share/icons/hicolor/64x64/apps/rawtherapee.png 16share/icons/hicolor/64x64/apps/rawtherapee.png
16share/icons/hicolor/scalable/apps/rawtherapee.svg 17share/icons/hicolor/scalable/apps/rawtherapee.svg
@@ -553,27 +554,26 @@ share/rawtherapee/languages/Italiano @@ -553,27 +554,26 @@ share/rawtherapee/languages/Italiano
553share/rawtherapee/languages/Japanese 554share/rawtherapee/languages/Japanese
554share/rawtherapee/languages/LICENSE 555share/rawtherapee/languages/LICENSE
555share/rawtherapee/languages/Magyar 556share/rawtherapee/languages/Magyar
556share/rawtherapee/languages/Nederlands 557share/rawtherapee/languages/Nederlands
557share/rawtherapee/languages/Polish 558share/rawtherapee/languages/Polish
558share/rawtherapee/languages/Portugues 559share/rawtherapee/languages/Portugues
559share/rawtherapee/languages/Portugues (Brasil) 560share/rawtherapee/languages/Portugues (Brasil)
560share/rawtherapee/languages/README 561share/rawtherapee/languages/README
561share/rawtherapee/languages/Russian 562share/rawtherapee/languages/Russian
562share/rawtherapee/languages/Serbian (Cyrilic Characters) 563share/rawtherapee/languages/Serbian (Cyrilic Characters)
563share/rawtherapee/languages/Slovenian 564share/rawtherapee/languages/Slovenian
564share/rawtherapee/languages/Swedish 565share/rawtherapee/languages/Swedish
565share/rawtherapee/languages/default 566share/rawtherapee/languages/default
566share/rawtherapee/man/man1/rawtherapee.1 
567share/rawtherapee/options 567share/rawtherapee/options
568share/rawtherapee/profiles/Auto-Matched Curve - ISO High.pp3 568share/rawtherapee/profiles/Auto-Matched Curve - ISO High.pp3
569share/rawtherapee/profiles/Auto-Matched Curve - ISO Low.pp3 569share/rawtherapee/profiles/Auto-Matched Curve - ISO Low.pp3
570share/rawtherapee/profiles/Auto-Matched Curve - ISO Medium.pp3 570share/rawtherapee/profiles/Auto-Matched Curve - ISO Medium.pp3
571share/rawtherapee/profiles/Film Negative - Black and White.pp3 571share/rawtherapee/profiles/Film Negative - Black and White.pp3
572share/rawtherapee/profiles/Film Negative.pp3 572share/rawtherapee/profiles/Film Negative.pp3
573share/rawtherapee/profiles/Non-raw/Brighten.pp3 573share/rawtherapee/profiles/Non-raw/Brighten.pp3
574share/rawtherapee/profiles/Pixel Shift/PS ISO High.pp3 574share/rawtherapee/profiles/Pixel Shift/PS ISO High.pp3
575share/rawtherapee/profiles/Pixel Shift/PS ISO Low.pp3 575share/rawtherapee/profiles/Pixel Shift/PS ISO Low.pp3
576share/rawtherapee/profiles/Pixel Shift/PS ISO Medium.pp3 576share/rawtherapee/profiles/Pixel Shift/PS ISO Medium.pp3
577share/rawtherapee/profiles/Pixel Shift/PS No Motion.pp3 577share/rawtherapee/profiles/Pixel Shift/PS No Motion.pp3
578share/rawtherapee/profiles/Pop/Pop 1.pp3 578share/rawtherapee/profiles/Pop/Pop 1.pp3
579share/rawtherapee/profiles/Pop/Pop 2 Lab.pp3 579share/rawtherapee/profiles/Pop/Pop 2 Lab.pp3

cvs diff -r1.7 -r1.8 pkgsrc/graphics/rawtherapee/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/rawtherapee/distinfo 2023/11/21 16:09:25 1.7
+++ pkgsrc/graphics/rawtherapee/distinfo 2023/11/21 16:26:36 1.8
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.7 2023/11/21 16:09:25 wiz Exp $ 1$NetBSD: distinfo,v 1.8 2023/11/21 16:26:36 wiz Exp $
2 2
3BLAKE2s (rawtherapee-5.9.tar.xz) = 7c1c20e6504d34752b70f597df97b37eb1be68803528eb3e00343d58fa3ff692 3BLAKE2s (rawtherapee-5.9.tar.xz) = 7c1c20e6504d34752b70f597df97b37eb1be68803528eb3e00343d58fa3ff692
4SHA512 (rawtherapee-5.9.tar.xz) = 0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8 4SHA512 (rawtherapee-5.9.tar.xz) = 0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8
5Size (rawtherapee-5.9.tar.xz) = 16219076 bytes 5Size (rawtherapee-5.9.tar.xz) = 16219076 bytes
6SHA1 (patch-CMakeLists.txt) = fcbfca37cbf5c1952aea44376a5d5e8a556acc87 6SHA1 (patch-CMakeLists.txt) = f96c3edf8dd61f595f4e447dfb8c843ab132bcd6
7SHA1 (patch-rtgui_CMakeLists.txt) = 563c3fa1efcbe9767fbecbd8c866fa7362dd3e8b 7SHA1 (patch-rtgui_CMakeLists.txt) = 563c3fa1efcbe9767fbecbd8c866fa7362dd3e8b

cvs diff -r1.2 -r1.3 pkgsrc/graphics/rawtherapee/patches/patch-CMakeLists.txt (expand / switch to unified diff)

--- pkgsrc/graphics/rawtherapee/patches/patch-CMakeLists.txt 2023/11/21 16:09:25 1.2
+++ pkgsrc/graphics/rawtherapee/patches/patch-CMakeLists.txt 2023/11/21 16:26:36 1.3
@@ -1,26 +1,15 @@ @@ -1,26 +1,15 @@
1$NetBSD: patch-CMakeLists.txt,v 1.2 2023/11/21 16:09:25 wiz Exp $ 1$NetBSD: patch-CMakeLists.txt,v 1.3 2023/11/21 16:26:36 wiz Exp $
2 2
3Adapt man path. 3Fix man page installation path.
4 4
5--- CMakeLists.txt.orig 2022-11-27 18:04:23.000000000 +0000 5--- CMakeLists.txt.orig 2023-11-21 16:16:22.166786047 +0000
6+++ CMakeLists.txt 6+++ CMakeLists.txt
7@@ -757,18 +757,8 @@ install( 7@@ -767,7 +767,7 @@ if(BUILD_BUNDLE)
8  8 endif()
9 # The standard location for man pages in Linux is /usr/share/man Use "manpath" 9 else()
10 # to see the search paths for man pages on your system. 10 install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1"
11-if(BUILD_BUNDLE) 
12- if(APPLE) 
13- install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1" 
14+install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1" 
15 DESTINATION "${DATADIR}/man/man1") 
16- else() 
17- install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1" 
18- DESTINATION "${DATADIR}/share/man/man1") 
19- endif() 
20-else() 
21- install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1" 
22- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1") 11- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1")
23-endif() 12+ DESTINATION "${CMAKE_INSTALL_PREFIX}/${PKGMANDIR}/man1")
 13 endif()
24  14
25 if(WIN32) 15 if(WIN32)
26 install(DIRECTORY "licenses" DESTINATION "${LICENCEDIR}")