Opened 11 years ago

Last modified 9 years ago

#42035 closed request

gnome-utils: port outdated, replaced by new individual GNOME packages, maintainers wanted. — at Version 7

Reported by: dbevans (David B. Evans) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: egall@…, juanrgar@…
Port: gnome-utils

Description (last modified by dbevans (David B. Evans))

gnome-utils is outdated and has not been updated since GNOME 3.2. In the current GNOME 3.10 distribution, it has been replaced by individual packages for the utilities that have been carried forward. This is a good opportunity for developers wanting to contribute to MacPorts' GNOME3 coverage by contributing one or more of these missing ports.

Utilities provided by the current gnome-utils port are

baobab (DISABLED)
gnome-dictionary (DISABLED)
gnome-font-viewer
gnome-panel-screenshot
gnome-screenshot
gnome-search-tool
gnome-system-log
gnome-thumbnail-font

Equivalent packages provided in the current GNOME 3.10 distribution are

baobab (previously part of gnome-utils) (COMPLETED juanrgar@)
gnome-dictionary (previously part of gnome-utils) (COMPLETED juanrgar@)
gnome-font-viewer (previously part of gnome-utils)
gnome-screenshot (previously part of gnome-utils)
gnome-system-log (previously part of gnome-utils)

The following utilities are obsolete, are not provided by GNOME 3.10 and will disappear when gnome-utils is fully replaced

gnome-panel-screenshot
gnome-search-tool
gnome-thumbnail-font

If you are interested in responding to this request, I suggest the following procedure

  • Indicate your intent in a comment to this ticket
  • Create a new port for your submission.
  • To prevent a conflict, modify the existing gnome-utils port to disable building of the outdated equivalent of your port, add your port in depends_run and revbump.
  • Modify the existing gnome3-core port by moving your port from the commented list of unported packages to depends_lib and revbump.

If you don't have commit privileges you can post your new Portfiles here for review and committal. Otherwise, post a comment here when you have completed the above steps.

Let me know if you have any questions or suggestions and thanks for any help you can provide.

Change History (12)

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

Cc: egall@… added

Cc Me!

comment:2 Changed 11 years ago by juanrgar (Juan R. García Blanco)

Cc: juanrgar@… added

Cc Me!

comment:3 Changed 11 years ago by juanrgar (Juan R. García Blanco)

I've created a Portfile for baobab@3.10.1. It builds and runs ok on OSX 10.9, as far as I've tested it. GNOME's new approach to applications, global menu and merged toolbar-decoration, seem to cause some problems here: once the window is maximised I've not found a way to unmaximise it properly; this is not strictly related to the port though.

I've created a patch to gnome3-core's Portfile. However, I don't know what to do with gnome-utils' Portfile; I've not found a way to disable compilation of baobab through a configure flag. I guess it requires patching configure.ac and Makefile.am, but please correct me if I'm wrong.

Changed 11 years ago by juanrgar (Juan R. García Blanco)

Attachment: baobab-Portfile added

baobab Portfile

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

The baobab Portfile looks good from here. I think the minimizing issue has to do with the fact that it is not running in a proper GNOME session.

With respect to gnome3-core, you've made the appropriate changes but I would prefer that you keep the dependencies in alphabetical order so its easier to find a particular port.

With respect to gnome-utils, I agree you need to patch it to disable baobab. Since each utility is built in a separate subdir all you need to do is remove baobab from the SUBDIRS declaration in Makefile.am and remove any baobab specific dependencies check in configure.ac. The port is already built with autoreconf so you don't need to change anything there.

I'm leaving the office right now but I'll test build the port and commit it when I get home this evening.

Thanks for your help.

Changed 11 years ago by juanrgar (Juan R. García Blanco)

gnome3-core Portfile patch to add baobab

Changed 11 years ago by juanrgar (Juan R. García Blanco)

Attachment: gnome-dictionary-Portfile added

gnome-dictionary Portfile

Changed 11 years ago by juanrgar (Juan R. García Blanco)

baobab and gnome-dictionary added to gnome3-core

Changed 11 years ago by juanrgar (Juan R. García Blanco)

gnome-utils patches to not compile and install baobab and gnome-dictionary

comment:5 Changed 11 years ago by juanrgar (Juan R. García Blanco)

I've added a gnome-dictionary Portfile. I've also updated gnome3-core patch to add both baobab and gnome-dictionary. Also attached is a set of patches to gnome-utils that prevent baobab and gnome-dictionary inside gnome-utils from compiling and installing.

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

baobab committed in r115683
gnome-dictionary committed in r115684
gnome-utils changes committed in r115685 (disable outdated baobab and gnome-dictionary and depend on the new versions)
gnome3-core updated to include baobab and gnome-dictionary in r115693

I made a few dependency changes (using configure/configure.ac as guide to required dependencies), fixed license info (multiple licenses are separated by spaces not commas), and added a pre-activate phase to baobab and gnome-dictionary to guard against activation errors when upgrading gnome-utils after this change. Finally had to make a few further fixes to baobab to get it to build on the Lion and SL buildbots (r115688, r115692).

Let me know if you have any questions about any of this.

Thanks again for your submissions

Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)

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

Description: modified (diff)
Note: See TracTickets for help on using tickets.