![]() |
#16 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,252
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
If it is the same popup as I linked an image of in message #7, you would click on More info to get the install enabled.
|
![]() |
![]() |
![]() |
#17 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I get the warning on some machines and not on others. But I've made so many administrative changes and registry hacks to various machines (virtual or otherwise) that I have no idea why that might be at this point.
|
![]() |
![]() |
![]() |
#19 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Back then you needed them because programs were installed on multiple PCs from diskettes. My first encounter with a virus came via a PC Support techie installing an infected 3270 emulator on my PC. Immediately after installing it on my machine she installed it on the COO's… oops. We traced it back to one of her PC Support colleagues… he and his supervisor were shown the door. |
|
![]() |
![]() |
![]() |
#20 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 266
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Deprecated stuff in 1.4.0
Got 1.4.0 installed on W10 and MacBook ok.
Built from source on Linux (UBStudio 24.04.1), OK but during the 'sudo make install' part, the slow and steady flow of progress lines in the terminal was suddenly interrupted by a rapid flow of messages indicating that there was some deprecated stuff. It all concerns the source file SpellCheck.cpp and Hunspell. The listing is here : Code:
igil.dir/Misc/SettingsStore.cpp.o [ 79%] Building CXX object src/CMakeFiles/sigil.dir/Misc/SpellCheck.cpp.o /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp: In member function ‘bool SpellCheck::spell(const QString&)’: /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp:212:34: warning: ‘int Hunspell::spell(const char*, int*, char**)’ is deprecated [-Wdeprecated-declarations] 212 | bool res = hdic.handle->spell(ba.constData()) != 0; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp:23: /usr/include/hunspell/hunspell.hxx:132:20: note: declared here 132 | H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL); | ^~~~~ /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp: In member function ‘bool SpellCheck::spellPS(const QString&)’: /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp:227:39: warning: ‘int Hunspell::spell(const char*, int*, char**)’ is deprecated [-Wdeprecated-declarations] 227 | bool res = m_primary.handle->spell(pba.constData()) !=0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/hunspell/hunspell.hxx:132:20: note: declared here 132 | H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL); | ^~~~~ /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp:231:37: warning: ‘int Hunspell::spell(const char*, int*, char**)’ is deprecated [-Wdeprecated-declarations] 231 | return m_secondary.handle->spell(sba.constData()) != 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/hunspell/hunspell.hxx:132:20: note: declared here 132 | H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL); | ^~~~~ /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp: In member function ‘QStringList SpellCheck::suggest(const QString&)’: /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp:248:37: warning: ‘int Hunspell::suggest(char***, const char*)’ is deprecated [-Wdeprecated-declarations] 248 | int count = hdic.handle->suggest(&suggestedWords, wba.constData()); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/hunspell/hunspell.hxx:142:20: note: declared here 142 | H_DEPRECATED int suggest(char*** slst, const char* word); | ^~~~~~~ /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp:256:27: warning: ‘void Hunspell::free_list(char***, int)’ is deprecated [-Wdeprecated-declarations] 256 | hdic.handle->free_list(&suggestedWords, count); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/hunspell/hunspell.hxx:156:21: note: declared here 156 | H_DEPRECATED void free_list(char*** slst, int n); | ^~~~~~~~~ /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp: In member function ‘QStringList SpellCheck::suggestPS(const QString&)’: /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp:270:42: warning: ‘int Hunspell::suggest(char***, const char*)’ is deprecated [-Wdeprecated-declarations] 270 | int count = m_primary.handle->suggest(&suggestedWords, pba.constData()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/hunspell/hunspell.hxx:142:20: note: declared here 142 | H_DEPRECATED int suggest(char*** slst, const char* word); | ^~~~~~~ /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp:280:40: warning: ‘int Hunspell::suggest(char***, const char*)’ is deprecated [-Wdeprecated-declarations] 280 | count = m_secondary.handle->suggest(&suggestedWords2, sba.constData()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/hunspell/hunspell.hxx:142:20: note: declared here 142 | H_DEPRECATED int suggest(char*** slst, const char* word); | ^~~~~~~ /home/pnj/Downloads/Sigil-2.4.0-download/sigil-src/src/Misc/SpellCheck.cpp:288:34: warning: ‘void Hunspell::free_list(char***, int)’ is deprecated [-Wdeprecated-declarations] 288 | m_secondary.handle->free_list(&suggestedWords2, count); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/hunspell/hunspell.hxx:156:21: note: declared here 156 | H_DEPRECATED void free_list(char*** slst, int n); | ^~~~~~~~~ Last edited by philja; 01-14-2025 at 08:15 AM. |
![]() |
![]() |
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Nah. More likely outdated stuff in Sigil's hunspell code. It's probably because your system's gcc compiler was updated and is now flashing more warnings. We've not updated any hunspell code in Sigil 2.4.0.
I've always gotten a lot of hunspell warnings when building on Linux with more recent versions of gcc. We'll take a look to be sure though. Thanks. NOTE: you can also use your distro's own hunspell (instead of Sigil's bundled version) by installing your distro's hunspell development package (libhunspell-dev on Ubuntu) and telling cmake to use it instead by adding -DUSE_SYSTEM_LIBS=1 to your original sigil cmake configure command. That might reduce some of the deprecation warnings. Last edited by DiapDealer; 01-14-2025 at 09:01 AM. |
![]() |
![]() |
![]() |
#22 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
I have actually turned off those deprecations (they have been there for years and years) in our Sigil version of hunspell as the code they deprecated would break the entire C interface to hunspell and are required for python code to use hunspell and so should never go away.
Whoever deprecated that interface, clearly was not thinking clearly. If that C interface ever does get actually removed, we will simply move to our own version of hunspell. You must be building with system hunspell on Linux as both Windows and Mac use our own supplied hunspell. You can safely ignore those deprecations. Last edited by KevinH; 01-14-2025 at 09:40 AM. |
![]() |
![]() |
![]() |
#23 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 266
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
|
|
![]() |
![]() |
![]() |
#25 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
There's likely very little difference. The deprecation warnings are just turned off in the bundled version. The repo maintainers have been using the system version (with deprecation warnings) for a long, long time.
|
![]() |
![]() |
![]() |
#26 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
This release of Sigil is now available to Windows users via winget.
For reasons that drive me absolutely bonkers: Sigil will only be available for installation from winget as a system wide (machine scope) installation from now on. Getting a user scope installation of software that has a system wide dependency (VCRedist) validated on winget-pkgs is unfortunately broken. Has been for a while. I'd hoped they would fix it, but I've given up trying to get them to tackle fixing it. |
![]() |
![]() |
![]() |
#27 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
The maintainers of hunspell already broke things back in 2016 when they released hunspell 1.5 and the had to backtrack and release 1.5.1
Here is the pertinent issue: https://github.com/Sigil-Ebook/Sigil/issues/261 And for the record, here is my change disabling those idiotic deprecations that has been used since 2016: https://github.com/Sigil-Ebook/Sigil...nspell.hxx#L92 until line 102. I created that interface for MySpell which later became hunspell when I retired from that project. It was designed to mimic the interface of its predecessor ispell so it has existed for over 30 years now. So silly to deprecate a C interface to a C++ library for no good reason. And hunspell 1.7.2 is still the latest official release of hunspell, so aside from disabling the deprecation warnings there should be no difference in a Linux system hunspell and ours, unless they have tweaked their version somehow. Last edited by KevinH; 01-14-2025 at 01:13 PM. |
![]() |
![]() |
![]() |
#28 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 521
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
|
Quote:
Every single update was blocked on download by Microsoft reputation filters. |
|
![]() |
![]() |
![]() |
#29 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
What drives me nuts is that as an individual, I can't even buy a code-signing certificate that would eliminate 100% of the warnings that Microsoft scares its users with. And an organizational cert is out of the question without formally creating a full-blown org with a dba, mailing address, and all the checks that go with it. So I'm not doing any of it. This a hobby for me. Trust me or don't.
![]() Or use one of the Windows software repositories that Microsoft lends more credibility to: winget install -e --id Sigil-Ebook.Sigil |
![]() |
![]() |
![]() |
#30 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2025
Device: none
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-1.3.0 Released | DiapDealer | Sigil | 8 | 09-15-2020 08:03 AM |
Sigil-0.9.12 Released | DiapDealer | Sigil | 194 | 03-15-2019 03:51 PM |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil 0.8.5 Released | user_none | Sigil | 12 | 03-30-2015 11:28 AM |
Sigil 0.6.0 Released | user_none | Sigil | 93 | 11-24-2012 06:50 PM |