Ticket #27923 (closed defect: fixed)
gtksourceview2 does not build properly against gtk2 +quartz
| Reported by: | tigerfishdaisy@… | Owned by: | micah.lerner@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | bgrupe@…, hsivank@…, a.y.harano@…, danlipsitt@…, rizwank@…, philip.chimento@…, pavel@…, timwhite88@…, snc@… | |
| Port: | gtksourceview2 |
Description (last modified by jmr@…) (diff)
gtksourceview2 will not build properly against gtk2 +quartz
--> does not pull in ige-mac-integration for menus --> does not include headers for IgeMacBundle
info:build gtksourceview-i18n.c: In function 'get_locale_dir': :info:build gtksourceview-i18n.c:48: error: 'IgeMacBundle' undeclared (first use in this function) :info:build gtksourceview-i18n.c:48: error: (Each undeclared identifier is reported only once :info:build gtksourceview-i18n.c:48: error: for each function it appears in.) :info:build gtksourceview-i18n.c:48: error: 'bundle' undeclared (first use in this function)
Attachments
Change History
comment:3 Changed 2 years ago by jmr@…
- Port changed from gtkintegration2 to gtksourceview2
- Owner changed from macports-tickets@… to micah.lerner@…
- Description modified (diff)
- Summary changed from gtkintegration2 does not build properly against gtk2 +quartz to gtksourceview2 does not build properly against gtk2 +quartz
comment:8 follow-up: ↓ 10 Changed 2 years ago by bskaplan14@…
Digging through some stuff, it seems that ige-mac-bundle uses Carbon, so it won't work in 64-bit. The entire header is wrapped in an #ifndef x86_64. Until gtksourceivew switches to using GtkOSXApplication, we can't get a 64-bit quartz gtksourceview.
comment:10 in reply to: ↑ 8 Changed 2 years ago by danlipsitt@…
Replying to bskaplan14@…:
Digging through some stuff, it seems that ige-mac-bundle uses Carbon, so it won't work in 64-bit. The entire header is wrapped in an #ifndef x86_64. Until gtksourceivew switches to using GtkOSXApplication, we can't get a 64-bit quartz gtksourceview.
I think hsivank's patches are all that is needed. The only code it's using is for determining the path to the locale files. Can we get this into the official package?
comment:12 Changed 2 years ago by rizwank@…
Is this all thats required to get gtksourceview2 to work with the new gtk-osx-application?
comment:15 Changed 22 months ago by timwhite88@…
After applying the attached patches (and correcting the checksums to include the checksum for the patch file), I was able to get gtksourceview2 to compile and install. I needed it for gedit to install. However I've hit another problem with Gedit to do with IgeMacMenuGroup so not sure if the patches are all thats needed. This is under Lion
comment:18 Changed 20 months ago by snc@…
- Status changed from new to closed
- Resolution set to fixed
Patched in r85979. maintainer timeout


There doesn't appear to be a port named gtkintegration2. Which port did you mean to report this against? Also, please remember to preview and use WikiFormatting.