Ravenports generated: 21 Feb 2024 20:00
[ravenports.git] / bucket_D1 / kf5-sonnet
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               kf5-sonnet
4 VERSION=                5.115.0
5 KEYWORDS=               textproc
6 VARIANTS=               standard
7 SDESC[standard]=        KF5 plugin-based spell checking library
8 HOMEPAGE=               https://api.kde.org/frameworks/sonnet/html/index.html
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://download.kde.org/stable/frameworks/5.115/
13 DISTFILE[1]=            sonnet-5.115.0.tar.xz:main
14 DIST_SUBDIR=            kde5
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         dev
19                         tools
20                         nls
21
22 OPTIONS_AVAILABLE=      none
23 OPTIONS_STANDARD=       none
24
25 BUILD_DEPENDS=          kf5-extra-cmake-modules:primary:standard
26                         qt5-qtdeclarative:dev:standard
27 BUILDRUN_DEPENDS=       aspell:primary:standard
28                         hunspell:single:standard
29                         qt5-qtdeclarative:primary:standard
30 EXRUN[tools]=           primary
31
32 USES=                   cmake
33
34 DISTNAME=               sonnet-5.115.0
35
36 LICENSE=                LGPL20+:primary LGPL21+:primary
37 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
38 LICENSE_FILE=           LGPL20+:{{WRKSRC}}/LICENSES/LGPL-2.0-or-later.txt
39                         LGPL21+:{{WRKSRC}}/LICENSES/LGPL-2.1-or-later.txt
40 LICENSE_SCHEME=         multi
41
42 FPC_EQUIVALENT=         textproc/kf5-sonnet
43
44 SOVERSION=              5.115.0
45
46 CMAKE_ARGS=             -DCMAKE_PREFIX_PATH:PATH={{PREFIX}}/lib/qt5/cmake
47
48 post-stage:
49         (cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/gentrigrams \
50                 bin/parsetrigrams \
51                 lib/libKF5SonnetCore.so \
52                 lib/libKF5SonnetUi.so \
53                 lib/qt5/plugins/designer/sonnetui5widgets.so \
54                 lib/qt5/plugins/kf5/sonnet/sonnet_aspell.so \
55                 lib/qt5/plugins/kf5/sonnet/sonnet_hunspell.so \
56                 lib/qt5/qml/org/kde/sonnet/libsonnetquickplugin.so)
57
58 post-extract:
59         ${ECHO} "Terms extracted from 'src/core/tokenizer_p.h':" > ${WRKDIR}/TERMS
60         ${SED} -n '/ifndef/!p;//q' ${WRKSRC}/src/core/tokenizer_p.h >> ${WRKDIR}/TERMS
61         ${ECHO} "Terms extracted from 'src/ui/dialog.h':" >> ${WRKDIR}/TERMS
62         ${SED} -n '/ifndef/!p;//q' ${WRKSRC}/src/ui/dialog.h >> ${WRKDIR}/TERMS
63
64 [FILE:164:descriptions/desc.primary]
65 Sonnet is a plugin-based spell checking library for Qt-based applications. 
66 It supports several different plugins, including HSpell, Enchant, ASpell 
67 and HUNSPELL.
68
69
70 [FILE:40:descriptions/desc.tools]
71 This package contains KF5 sonnet tools.
72
73
74 [FILE:105:distinfo]
75 de6182cf02507f686c1e236e52e1c9ca69f0493fcd0dc7827066f3ba67519914      2438396 kde5/sonnet-5.115.0.tar.xz
76
77
78 [FILE:399:manifests/plist.primary]
79 lib/
80  libKF5SonnetCore.so.%%SOMAJOR%%
81  libKF5SonnetCore.so.%%SOVERSION%%
82  libKF5SonnetUi.so.%%SOMAJOR%%
83  libKF5SonnetUi.so.%%SOVERSION%%
84 lib/qt5/plugins/designer/sonnetui5widgets.so
85 lib/qt5/plugins/kf5/sonnet/
86  sonnet_aspell.so
87  sonnet_hunspell.so
88 lib/qt5/qml/org/kde/sonnet/
89  libsonnetquickplugin.so
90  plugins.qmltypes
91  qmldir
92 share/qlogging-categories5/
93  sonnet.categories
94  sonnet.renamecategories
95
96
97 [FILE:764:manifests/plist.dev]
98 include/KF5/Sonnet/sonnet_version.h
99 include/KF5/SonnetCore/Sonnet/
100  BackgroundChecker
101  GuessLanguage
102  Settings
103  Speller
104 include/KF5/SonnetCore/sonnet/
105  backgroundchecker.h
106  guesslanguage.h
107  settings.h
108  sonnetcore_export.h
109  speller.h
110 include/KF5/SonnetUi/Sonnet/
111  ConfigDialog
112  ConfigView
113  ConfigWidget
114  Dialog
115  DictionaryComboBox
116  Highlighter
117  SpellCheckDecorator
118 include/KF5/SonnetUi/sonnet/
119  configdialog.h
120  configview.h
121  configwidget.h
122  dialog.h
123  dictionarycombobox.h
124  highlighter.h
125  sonnetui_export.h
126  spellcheckdecorator.h
127 lib/
128  libKF5SonnetCore.so
129  libKF5SonnetUi.so
130 lib/cmake/KF5Sonnet/
131  KF5SonnetConfig.cmake
132  KF5SonnetConfigVersion.cmake
133  KF5SonnetTargets-release.cmake
134  KF5SonnetTargets.cmake
135 lib/qt5/mkspecs/modules/
136  qt_SonnetCore.pri
137  qt_SonnetUi.pri
138
139
140 [FILE:33:manifests/plist.tools]
141 bin/
142  gentrigrams
143  parsetrigrams
144
145
146 [FILE:4279:manifests/plist.nls]
147 share/locale/af/LC_MESSAGES/sonnet5_qt.qm
148 share/locale/ar/LC_MESSAGES/sonnet5_qt.qm
149 share/locale/as/LC_MESSAGES/sonnet5_qt.qm
150 share/locale/az/LC_MESSAGES/sonnet5_qt.qm
151 share/locale/be/LC_MESSAGES/sonnet5_qt.qm
152 share/locale/be@latin/LC_MESSAGES/sonnet5_qt.qm
153 share/locale/bg/LC_MESSAGES/sonnet5_qt.qm
154 share/locale/bn/LC_MESSAGES/sonnet5_qt.qm
155 share/locale/bn_IN/LC_MESSAGES/sonnet5_qt.qm
156 share/locale/br/LC_MESSAGES/sonnet5_qt.qm
157 share/locale/bs/LC_MESSAGES/sonnet5_qt.qm
158 share/locale/ca/LC_MESSAGES/sonnet5_qt.qm
159 share/locale/ca@valencia/LC_MESSAGES/sonnet5_qt.qm
160 share/locale/crh/LC_MESSAGES/sonnet5_qt.qm
161 share/locale/cs/LC_MESSAGES/sonnet5_qt.qm
162 share/locale/csb/LC_MESSAGES/sonnet5_qt.qm
163 share/locale/cy/LC_MESSAGES/sonnet5_qt.qm
164 share/locale/da/LC_MESSAGES/sonnet5_qt.qm
165 share/locale/de/LC_MESSAGES/sonnet5_qt.qm
166 share/locale/el/LC_MESSAGES/sonnet5_qt.qm
167 share/locale/en_GB/LC_MESSAGES/sonnet5_qt.qm
168 share/locale/eo/LC_MESSAGES/sonnet5_qt.qm
169 share/locale/es/LC_MESSAGES/sonnet5_qt.qm
170 share/locale/et/LC_MESSAGES/sonnet5_qt.qm
171 share/locale/eu/LC_MESSAGES/sonnet5_qt.qm
172 share/locale/fa/LC_MESSAGES/sonnet5_qt.qm
173 share/locale/fi/LC_MESSAGES/sonnet5_qt.qm
174 share/locale/fr/LC_MESSAGES/sonnet5_qt.qm
175 share/locale/fy/LC_MESSAGES/sonnet5_qt.qm
176 share/locale/ga/LC_MESSAGES/sonnet5_qt.qm
177 share/locale/gd/LC_MESSAGES/sonnet5_qt.qm
178 share/locale/gl/LC_MESSAGES/sonnet5_qt.qm
179 share/locale/gu/LC_MESSAGES/sonnet5_qt.qm
180 share/locale/ha/LC_MESSAGES/sonnet5_qt.qm
181 share/locale/he/LC_MESSAGES/sonnet5_qt.qm
182 share/locale/hi/LC_MESSAGES/sonnet5_qt.qm
183 share/locale/hne/LC_MESSAGES/sonnet5_qt.qm
184 share/locale/hr/LC_MESSAGES/sonnet5_qt.qm
185 share/locale/hsb/LC_MESSAGES/sonnet5_qt.qm
186 share/locale/hu/LC_MESSAGES/sonnet5_qt.qm
187 share/locale/hy/LC_MESSAGES/sonnet5_qt.qm
188 share/locale/ia/LC_MESSAGES/sonnet5_qt.qm
189 share/locale/id/LC_MESSAGES/sonnet5_qt.qm
190 share/locale/is/LC_MESSAGES/sonnet5_qt.qm
191 share/locale/it/LC_MESSAGES/sonnet5_qt.qm
192 share/locale/ja/LC_MESSAGES/sonnet5_qt.qm
193 share/locale/ka/LC_MESSAGES/sonnet5_qt.qm
194 share/locale/kk/LC_MESSAGES/sonnet5_qt.qm
195 share/locale/km/LC_MESSAGES/sonnet5_qt.qm
196 share/locale/kn/LC_MESSAGES/sonnet5_qt.qm
197 share/locale/ko/LC_MESSAGES/sonnet5_qt.qm
198 share/locale/ku/LC_MESSAGES/sonnet5_qt.qm
199 share/locale/lb/LC_MESSAGES/sonnet5_qt.qm
200 share/locale/lt/LC_MESSAGES/sonnet5_qt.qm
201 share/locale/lv/LC_MESSAGES/sonnet5_qt.qm
202 share/locale/mai/LC_MESSAGES/sonnet5_qt.qm
203 share/locale/mk/LC_MESSAGES/sonnet5_qt.qm
204 share/locale/ml/LC_MESSAGES/sonnet5_qt.qm
205 share/locale/mr/LC_MESSAGES/sonnet5_qt.qm
206 share/locale/ms/LC_MESSAGES/sonnet5_qt.qm
207 share/locale/nb/LC_MESSAGES/sonnet5_qt.qm
208 share/locale/nds/LC_MESSAGES/sonnet5_qt.qm
209 share/locale/ne/LC_MESSAGES/sonnet5_qt.qm
210 share/locale/nl/LC_MESSAGES/sonnet5_qt.qm
211 share/locale/nn/LC_MESSAGES/sonnet5_qt.qm
212 share/locale/oc/LC_MESSAGES/sonnet5_qt.qm
213 share/locale/or/LC_MESSAGES/sonnet5_qt.qm
214 share/locale/pa/LC_MESSAGES/sonnet5_qt.qm
215 share/locale/pl/LC_MESSAGES/sonnet5_qt.qm
216 share/locale/ps/LC_MESSAGES/sonnet5_qt.qm
217 share/locale/pt/LC_MESSAGES/sonnet5_qt.qm
218 share/locale/pt_BR/LC_MESSAGES/sonnet5_qt.qm
219 share/locale/ro/LC_MESSAGES/sonnet5_qt.qm
220 share/locale/ru/LC_MESSAGES/sonnet5_qt.qm
221 share/locale/se/LC_MESSAGES/sonnet5_qt.qm
222 share/locale/si/LC_MESSAGES/sonnet5_qt.qm
223 share/locale/sk/LC_MESSAGES/sonnet5_qt.qm
224 share/locale/sl/LC_MESSAGES/sonnet5_qt.qm
225 share/locale/sq/LC_MESSAGES/sonnet5_qt.qm
226 share/locale/sr/LC_MESSAGES/sonnet5_qt.qm
227 share/locale/sr@ijekavian/LC_MESSAGES/sonnet5_qt.qm
228 share/locale/sr@ijekavianlatin/LC_MESSAGES/sonnet5_qt.qm
229 share/locale/sr@latin/LC_MESSAGES/sonnet5_qt.qm
230 share/locale/sv/LC_MESSAGES/sonnet5_qt.qm
231 share/locale/ta/LC_MESSAGES/sonnet5_qt.qm
232 share/locale/te/LC_MESSAGES/sonnet5_qt.qm
233 share/locale/tg/LC_MESSAGES/sonnet5_qt.qm
234 share/locale/th/LC_MESSAGES/sonnet5_qt.qm
235 share/locale/tr/LC_MESSAGES/sonnet5_qt.qm
236 share/locale/tt/LC_MESSAGES/sonnet5_qt.qm
237 share/locale/ug/LC_MESSAGES/sonnet5_qt.qm
238 share/locale/uk/LC_MESSAGES/sonnet5_qt.qm
239 share/locale/uz/LC_MESSAGES/sonnet5_qt.qm
240 share/locale/uz@cyrillic/LC_MESSAGES/sonnet5_qt.qm
241 share/locale/vi/LC_MESSAGES/sonnet5_qt.qm
242 share/locale/wa/LC_MESSAGES/sonnet5_qt.qm
243 share/locale/xh/LC_MESSAGES/sonnet5_qt.qm
244 share/locale/zh_CN/LC_MESSAGES/sonnet5_qt.qm
245 share/locale/zh_HK/LC_MESSAGES/sonnet5_qt.qm
246 share/locale/zh_TW/LC_MESSAGES/sonnet5_qt.qm
247
248
249 [FILE:550:patches/patch-cmake_FindHUNSPELL.cmake]
250 --- cmake/FindHUNSPELL.cmake.orig       2023-01-11 22:49:57 UTC
251 +++ cmake/FindHUNSPELL.cmake
252 @@ -17,7 +17,7 @@ find_path(HUNSPELL_INCLUDE_DIRS
253            HINTS ${PKG_HUNSPELL_INCLUDE_DIRS}
254  )
255  find_library(HUNSPELL_LIBRARIES
256 -             NAMES ${PKG_HUNSPELL_LIBRARIES} hunspell hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2 libhunspell
257 +             NAMES ${PKG_HUNSPELL_LIBRARIES} hunspell hunspell-1.7 hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2 libhunspell
258               HINTS ${PKG_HUNSPELL_LIBRARY_DIRS}
259  )
260  
261
262
263 [FILE:277:patches/patch-metainfo.yaml]
264 --- metainfo.yaml.orig  2023-01-11 22:49:57 UTC
265 +++ metainfo.yaml
266 @@ -5,6 +5,9 @@ type: solution
267  platforms:
268      - name: Linux
269      - name: FreeBSD
270 +    - name: DragonFly
271 +    - name: NetBSD
272 +    - name: MidnightBSD
273      - name: Windows
274      - name: macOS
275      - name: Android
276
277
278 [FILE:616:patches/patch-src_plugins_hunspell_CMakeLists.txt]
279 --- src/plugins/hunspell/CMakeLists.txt.orig    2023-07-01 10:04:49 UTC
280 +++ src/plugins/hunspell/CMakeLists.txt
281 @@ -22,7 +22,7 @@ configure_file(config-hunspell.h.cmake $
282  
283  add_library(sonnet_hunspell MODULE ${sonnet_hunspell_PART_SRCS})
284  target_include_directories(sonnet_hunspell SYSTEM PUBLIC ${HUNSPELL_INCLUDE_DIRS})
285 -target_link_libraries(sonnet_hunspell PRIVATE KF5::SonnetCore ${HUNSPELL_LIBRARIES})
286 +target_link_libraries(sonnet_hunspell PRIVATE KF5::SonnetCore ${HUNSPELL_LIBRARIES} "pthread")
287  
288  if (TARGET Qt6::Core5Compat)
289      target_link_libraries(sonnet_hunspell PRIVATE Qt6::Core5Compat) # QTextCodec
290