Comments (4)
sed -i 's/LDADD.*/\0 -lgthread-2.0/' src/Makefile.am
from resynthesizer.
Thanks. Please give your advice on the following question:
g_thread_init() is deprecated in glib starting at some (that I can't say without looking it up) version of glib. Should I eliminate g_thread_init from the code? That might break resynthesizer for users of older versions of glib.
I don't know whether lgthread-2.0 exists in older versions of GLIB. I would guess that it does exist in older versions of GLIB, and that this build error is about a change in the linker: it no longer links in dependent libraries. See the resynthesizer issue about not building because lmath was not explicitly specified in LDADD.
On the other hand, it seems strange that only g_thread_init() is undefined and not all the threading functions ofGLIB. Maybe lgthread-2.0 is a compatibility library only included in newer versions of GLIB?
Bottom line: I am still studying the issue. I am open to your fix. I am not yet sure it is backward compatible for older GLIB.
from resynthesizer.
libgthread-2.0 is present at least as far back as glib 2.16 from early 2008 (I checked the package in Ubuntu Hardy), so explicitly linking it should be safe.
I wouldn't recommend dropping the old threading API entirely at this point; glib 2.32 (which is where that API was deprecated) only came out this year. You could #ifdef the functions in question (the changes affect more than g_thread_init(); there's a list of deprecated functions here), but I'm not sure there'd be any particular benefit to doing that.
from resynthesizer.
Thanks. Fixed.
from resynthesizer.
Related Issues (20)
- Great tool, but wondering zip file consists of files of 2011 - 2013
- deprecations branch changes HOT 5
- ambiguity in which flatpak package to use HOT 3
- This plug-in didn't work on zorin os 16.1
- Uncrop doesn't work when there is an alpha channel HOT 1
- 404 link to gimp repositry HOT 2
- Nightly releases via GitHub Actions
- Menu strings should use Header Capitalization
- Cannot install in Arch linux HOT 6
- Can't build the deprecations branch on windows. HOT 6
- Not working on Fedora 36 HOT 1
- Most functionality does not appear in GIMP 2.10.30 on Ubuntu 22.04.1 HOT 15
- it doesn't run on ARM64 linux distros HOT 2
- An error occurred running python_fu_heal_selection HOT 2
- Error message HOT 3
- Roadmap for resynthesizer to Gimp 3 HOT 2
- Enhance enlarge by resynthesis
- The input map should be the same size as the input texture image
- resynthesizer_gui plugin crashes Mac OSX Sonoma 14.2 HOT 2
- Misbehaviour on context aware features within folders
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resynthesizer.