Opened 11 years ago

Last modified 2 years ago

#40116 reopened update

yelp @2.31.6_1: update to 3.8.0? and add quartz support

Reported by: c.herbig@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager), mascguy (Christopher Nielsen), jjstickel (Jonathan Stickel)
Port: yelp

Description

Now that the webkit-gtk issues seem to be sorted out (for X11 anyway), I've been playing with trying to upgrade to yelp 3.8.x. I am able to use the following portfiles to get it to build and install, but there is a runtime error that always comes up:

(yelp:89381): GLib-GIO-ERROR **: Settings schema 'org.gnome.yelp' is not installed

I've tried the few things I've seen about --enable-schema-compile or the one in the post-activate section of ports like numeric, but nothing seems to fix it. The end of the install log gives this:

:info:activate gtk-update-icon-cache: Cache file created successfully.
:info:activate warning: Schema 'org.freedesktop.Geoclue' has path '/apps/geoclue/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
:info:activate warning: Schema 'org.gnome.system.locale' has path '/system/locale/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
:info:activate warning: Schema 'org.gnome.system.proxy' has path '/system/proxy/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
:info:activate warning: Schema 'org.gnome.system.proxy.http' has path '/system/proxy/http/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
:info:activate warning: Schema 'org.gnome.system.proxy.https' has path '/system/proxy/https/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
:info:activate warning: Schema 'org.gnome.system.proxy.ftp' has path '/system/proxy/ftp/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
:info:activate warning: Schema 'org.gnome.system.proxy.socks' has path '/system/proxy/socks/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.

If this is something that is easily fixable, please let me know, and perhaps we can upgrade yelp (this might be a better quartz-able version). If it is something that requires an inordinate amount of work, then we can just forget about it, since yelp is really not worth that much trouble.

Attachments (9)

Portfile (1.0 KB) - added by c.herbig@… 11 years ago.
yelp-xsl @3.9.1
Portfile.2 (1.5 KB) - added by c.herbig@… 11 years ago.
yelp @3.8.0
main.log (570.4 KB) - added by c.herbig@… 11 years ago.
build log
patch_quartz-libyelp-yelp-view.c.diff (291 bytes) - added by c.herbig@… 11 years ago.
patch_quartz-src-yelp-application.c.diff (1.2 KB) - added by c.herbig@… 11 years ago.
Portfile-yelp.diff (874 bytes) - added by c.herbig@… 11 years ago.
adds +quartz
Portfile-yelp.2.diff (1.2 KB) - added by c.herbig@… 11 years ago.
makes patchfiles default
patch-libyelp-yelp-view.c.diff (313 bytes) - added by c.herbig@… 11 years ago.
replaces <gdk/gdkx.h> with <gdk/gdk.h>
patch_quartz-src-yelp-application.c.2.diff (1.2 KB) - added by c.herbig@… 11 years ago.
replaces <gdk/gdkx.h> with <gdk/gdk.h>, removes metacity-specific kludge

Download all attachments as: .zip

Change History (29)

Changed 11 years ago by c.herbig@…

Attachment: Portfile added

yelp-xsl @3.9.1

Changed 11 years ago by c.herbig@…

Attachment: Portfile.2 added

yelp @3.8.0

Changed 11 years ago by c.herbig@…

Attachment: main.log added

build log

comment:1 Changed 11 years ago by c.herbig@…

P.S. This is for an X11 environment, not quartz (yet).

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: devans@… removed
Owner: changed from macports-tickets@… to devans@…
Summary: yelp to 3.8.0 ?yelp @2.31.6_1: update to 3.8.0?
Version: 2.2.0

As per the Guide, please attach unified diffs of the Portfiles instead of whole Portfiles.

comment:3 Changed 11 years ago by c.herbig@…

Well, in another batch of updates from devans, it appears that he did this today anyway, r109403. I guess we can close this as fixed.

comment:4 in reply to:  3 Changed 11 years ago by larryv (Lawrence Velázquez)

That change is in his personal ports tree. He can close if he wants, but it would also be reasonable to keep this open until he merges it into trunk.

comment:5 Changed 11 years ago by c.herbig@…

Eh, either way. The only reason I was playing with it was to try to get a more "quartz-able" yelp as opposed to the quick-fix for #39756, which still needs some X11 dependencies either way.

comment:6 Changed 11 years ago by dbevans (David B. Evans)

Well, hold on there!

The commits that I made today were to my test branch not the main port tree. Since there are many inter-dependencies between the various GNOME ports and several of the updated dependencies are incompatible with the current version, its better to get things worked out off line and then commit the changes in a compatible batch. As you can see, the current stable version of yelp is 3.8.1 and unfortunately it continues to rely heavily on X11 mechanisms as do some of the dependencies so an official quartz version continues to be iffy for now. However, you can always hack at it for yourself.

For those interested in my GNOME-3 test branch (testing with feedback is appreciated) you can access it via svn

cd  ~/macports
svn co http://svn.macports.org/repository/macports/users/devans/GNOME-3/stable/dports
cd ~/macports/dports
portindex

then add a reference to it as a local repository in your sources.conf file before the default one. The entries in the sources.conf file should look something like this

file:///Users/devans/macports/dports
rsync://rsync.macports.org/release/tarballs/ports.tar [default]

the newer ports in the test tree will override the ones in the default tree.

Give it a try and let me know how it works (works for me anyway).

comment:7 in reply to:  6 Changed 11 years ago by c.herbig@…

Replying to devans@…:

Well, hold on there!

The commits that I made today were to my test branch not the main port tree. Since there are many inter-dependencies between the various GNOME ports and several of the updated dependencies are incompatible with the current version, its better to get things worked out off line and then commit the changes in a compatible batch. As you can see, the current stable version of yelp is 3.8.1 and unfortunately it continues to rely heavily on X11 mechanisms as do some of the dependencies so an official quartz version continues to be iffy for now. However, you can always hack at it for yourself.

I'm trying, but I don't really know how all this stuff works yet. Even the quartz patch that I made for the old yelp seemed a bit temperamental based on what I installed first, without just throwing xorg-libX11 at it (a quick-fix, but defeats the purpose of +quartz, and a bit sketchy). Basically, I just thought that since you have a working version, never mind my version.

For those interested in my GNOME-3 test branch (testing with feedback is appreciated) you can access it via svn

cd  ~/macports
svn co http://svn.macports.org/repository/macports/users/devans/GNOME-3/stable/dports
cd ~/macports/dports
portindex

then add a reference to it as a local repository in your sources.conf file before the default one. The entries in the sources.conf file should look something like this

file:///Users/devans/macports/dports
rsync://rsync.macports.org/release/tarballs/ports.tar [default]

the newer ports in the test tree will override the ones in the default tree.

Give it a try and let me know how it works (works for me anyway).

Awesome, I didn't know I could do that; much better than copy-pasting. I've just been going off of what Archlinux, FreeBSD or Linux From Scratch document, which doesn't always work. And yes, I've come to see that these interdependencies are rather subtle and sneaky; probably why I can't get gnome-chemistry-utils to work properly either.

comment:8 Changed 11 years ago by c.herbig@…

Using devans's repository, and the given patchfiles above, with a modification of the portfile which removes the x11 stuff, I have been able to compile and run yelp 3.8.1 +quartz. Additionally, it seems that yelp 3.8.1 does not actually need depends_run port:gnome-settings-daemon, and therefore possibly not depends_skip_archcheck gnome-settings-daemon, or at least it works without it for me. Note that in order to compile webkit-gtk3 +quartz, you will need to use the patches from #39898, and might need to install it as webkit-gtk3 +quartz -video.

Changed 11 years ago by c.herbig@…

Changed 11 years ago by c.herbig@…

Changed 11 years ago by c.herbig@…

Attachment: Portfile-yelp.diff added

adds +quartz

comment:9 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:10 Changed 11 years ago by c.herbig@…

I was just able to compile and run yelp @3.8.1 from a clean macports installation without needing the rest of devans repository, except for yelp-xsl. So once the webkit-gtk patches in #39898 are accepted, I don't see any reason myself why this couldn't be committed to the main macports.

comment:11 Changed 11 years ago by c.herbig@…

I submitted the patches to the yelp developers, I hope to hear that they will be able to incorporate them.

comment:12 Changed 11 years ago by c.herbig@…

I have been examining the gdk/ header files, and I wonder if gdkx.h can simply be replaced with gdk.h. It compiles that way fine for a +quartz environment, but I am wondering if somebody would be willing to test this for the default x11 environment. Please see attached patches.

Changed 11 years ago by c.herbig@…

Attachment: Portfile-yelp.2.diff added

makes patchfiles default

Changed 11 years ago by c.herbig@…

replaces <gdk/gdkx.h> with <gdk/gdk.h>

Changed 11 years ago by c.herbig@…

replaces <gdk/gdkx.h> with <gdk/gdk.h>, removes metacity-specific kludge

comment:13 Changed 11 years ago by dbevans (David B. Evans)

yelp updated to version 3.10.1 without quartz patches in r113246

comment:14 in reply to:  13 Changed 11 years ago by c.herbig@…

Replying to devans@…:

yelp updated to version 3.10.1 without quartz patches in r113246

Awesome! Did they incorporate changes upstream that solve those issues?

comment:15 Changed 6 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

yelp is presently at 3.17.x

comment:16 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: closedreopened

the +quartz issue is not fixed

Last edited 4 years ago by kencu (Ken) (previous) (diff)

comment:17 Changed 4 years ago by kencu (Ken)

Summary: yelp @2.31.6_1: update to 3.8.0?yelp @2.31.6_1: update to 3.8.0? and add quatz support

comment:18 Changed 4 years ago by kencu (Ken)

Summary: yelp @2.31.6_1: update to 3.8.0? and add quatz supportyelp @2.31.6_1: update to 3.8.0? and add quartz support

comment:19 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:20 Changed 2 years ago by jjstickel (Jonathan Stickel)

Cc: jjstickel added
Note: See TracTickets for help on using tickets.