Opened 14 years ago
Closed 13 years ago
#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: | bgrupe27, hsivank@…, a.y.harano@…, danlipsitt@…, rizwank@…, philip.chimento@…, pavel@…, timwhite88@…, nerdling (Jeremy Lavergne) | |
Port: | gtksourceview2 |
Description (last modified by jmroot (Joshua Root))
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 (2)
Change History (20)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|
comment:3 Changed 14 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to micah.lerner@… |
Port: | gtksourceview2 added; gtkintegration2 removed |
Summary: | gtkintegration2 does not build properly against gtk2 +quartz → gtksourceview2 does not build properly against gtk2 +quartz |
Changed 14 years ago by hsivank@…
Attachment: | gtksourceview_gtksourceview-i18n.c.diff added |
---|
Changed 14 years ago by hsivank@…
Attachment: | Portfile_gtksourceview2.diff added |
---|
comment:8 follow-up: 10 Changed 14 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 Changed 13 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 13 years ago by rizwank@…
Is this all thats required to get gtksourceview2 to work with the new gtk-osx-application?
comment:15 Changed 13 years 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 13 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.