[MacPorts] #27563: libnotify update to 0.5.2
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------------+---------------------------------- My macports jsut wanted to install zenity on an "upgrade outdated" (don't ask me why), and compiling this always failed. Nailed it down to libnotify 0.4.5 which did not have a required symbol for zenity. Therefore I updated libnotify to 0.5.2 and zenity compiled fine (didn't try higher than 0.5.2 because it worked with zenity). Here are the diffs for the update. One thing not in diffs: I changed the sources-location on my build, too (since the src for 0.5.2 is not on any mirror). So to have the patch working either the sources-location must be changed to {{{ ftp://ftp.gnome.org/pub/GNOME/sources/libnotify/0.5/ }}} or libnotify-0.5.2.tar.bz2 must be put on the mirrors. I don't know if the update breaks anything, it just got me to compile zenity fine... -- Ticket URL: <https://trac.macports.org/ticket/27563> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libnotify -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * type: enhancement => update * port: => libnotify -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libnotify -----------------------------------------+---------------------------------- Comment(by ryandesign@…): Perhaps you have winetricks installed? I recently added a zenity dependency to winetricks. -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libnotify -----------------------------------------+---------------------------------- Comment(by ryandesign@…): I would guess that libnotify version numbering conventions hold that odd- numbered versions (0.5.x, 0.7.x) are development versions. So we should instead update to the latest stable version, which looks like 0.6.0. -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libnotify -----------------------------------------+---------------------------------- Comment(by markus.doits@…): Replying to [comment:2 ryandesign@…]:
Perhaps you have winetricks installed? I recently added a zenity dependency to winetricks.
yes, good hint. That's the reason. -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: libnotify -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * status: new => assigned * cc: ryandesign@… (removed) * owner: macports-tickets@… => ryandesign@… * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: libnotify -----------------------------------------+---------------------------------- Comment(by markus.doits@…): Replying to [comment:3 ryandesign@…]:
I would guess that libnotify version numbering conventions hold that odd-numbered versions (0.5.x, 0.7.x) are development versions. So we should instead update to the latest stable version, which looks like 0.6.0.
just tried it, but looks like 0.6.0 requires gtk3 {{{ :info:configure checking for GTK3... configure: error: Package requirements (gtk+-3.0) were not met: :info:configure :info:configure No package 'gtk+-3.0' found :info:configure :info:configure Consider adjusting the PKG_CONFIG_PATH environment variable if you :info:configure installed software in a non-standard prefix. :info:configure :info:configure Alternatively, you may set the environment variables GTK3_CFLAGS :info:configure and GTK3_LIBS to avoid the need to call pkg-config. :info:configure See the pkg-config man page for more details. :info:configure }}} -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: libnotify -----------------------------------------+---------------------------------- Comment(by ryandesign@…): Replying to [comment:6 markus.doits@…]:
just tried it, but looks like 0.6.0 requires gtk3 I just discovered that too. So we cannot update to 0.6.0. And we cannot update to 0.5.x because it is a development version.
The libnotify 0.4.5 currently in the ports tree builds fine for me. If you're having trouble building it, perhaps you could clean and try again, and if it still fails, attach the main.log and maybe we can get that working for you? -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: libnotify -----------------------------------------+---------------------------------- Comment(by markus.doits@…): Replying to [comment:7 ryandesign@…]:
Replying to [comment:6 markus.doits@…]: The libnotify 0.4.5 currently in the ports tree builds fine for me. If you're having trouble building it, perhaps you could clean and try again, and if it still fails, attach the main.log and maybe we can get that working for you?
libnotify 0.4.5 builds fine fore me, too, but zenity+quartz does not with it (should be discussed in another ticket). But the solution for zenity+quartz is to upgrade libnotify to 0.5.2. I'll open another ticket for zenity if you like. -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: libnotify -----------------------------------------+---------------------------------- Comment(by markus.doits@…): zenity ticket at #27564 -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 -----------------------------------------+---------------------------------- Reporter: markus.doits@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: libnotify -----------------------------------------+---------------------------------- Comment(by ryandesign@…): Ah, +quartz; I haven't used that. From the NEWS file in the libnotify 0.6.0 distfile I see: {{{ NEW in 0.6.0: ============== The 0.5.1 release included changes that should not have been made on a stable branch. It should have been a 0.6 series release. So here it is. - Fixed #623096 Fix notify_get_server_info results NEW in 0.5.1: ============== - Remove explicit GTK+ 2.x linking, so that libnotify can link against both GTK+ 2.x or GTK+ 3.x }}} What I learn from this is: * 0.5.x is a stable branch after all * 0.5.x can use gtk2 or gtk3 (You demonstrated 0.5.2 could use gtk2) * there is no entry for 0.5.2 From the NEWS file in the libnotify 0.5.2 distfile I see: {{{ NEW in 0.5.2: ============== Note that the 0.5.1 release was released from the 0.6 branch in error. Sorry about that. - Fixed #623096, Use correct variable in NULL check - Added a macro NOTIFY_CHECK_VERSION }}} So I guess that means we can update to 0.5.2 after all. I incorrectly guessed they used the odd-number-is-unstable rule, based on experience with other GNOME software (like gtk2, glib2, and pango), and I could not find a libnotify web site or release announcements from which to learn their actual policies. -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27563: libnotify update to 0.5.2 ------------------------------------------+--------------------------------- Reporter: markus.doits@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: haspatch Port: libnotify | ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Updated to 0.5.2 in r74098. -- Ticket URL: <https://trac.macports.org/ticket/27563#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts