Opened 18 years ago

Closed 18 years ago

#7844 closed defect (fixed)

BUG: planner 0.13_1 overwrites mime data for gnome

Reported by: rhwood@… Owned by: jml@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: gnome-darwinports@…
Port:

Description

The planner 0.13_1 installation overwrites the following files: ${prefix}/share/mime/glob ${prefix}/share/mime/magic ${prefix}/share/mime/XMLnamespaces

It needs to append data to these files or rebuild them somehow during the post-install phase.

Attachments (6)

globs (158 bytes) - added by rhwood@… 18 years ago.
globs (planner 0.13_1)
globs.dp_1142618215 (10.5 KB) - added by rhwood@… 18 years ago.
globs (prior to installation)
magic (67 bytes) - added by rhwood@… 18 years ago.
magic (planner 0.13_1)
magic.dp_1142618215 (9.9 KB) - added by rhwood@… 18 years ago.
magic (prior to installation)
XMLnamespaces.dp_1142618215 (56 bytes) - added by rhwood@… 18 years ago.
XMLnamespaces (prior to installation)
Portfile.patch (677 bytes) - added by rhwood@… 18 years ago.
Portfile diffs

Download all attachments as: .zip

Change History (13)

Changed 18 years ago by rhwood@…

Attachment: globs added

globs (planner 0.13_1)

Changed 18 years ago by rhwood@…

Attachment: globs.dp_1142618215 added

globs (prior to installation)

Changed 18 years ago by rhwood@…

Attachment: magic added

magic (planner 0.13_1)

Changed 18 years ago by rhwood@…

Attachment: magic.dp_1142618215 added

magic (prior to installation)

Changed 18 years ago by rhwood@…

Attachment: XMLnamespaces.dp_1142618215 added

XMLnamespaces (prior to installation)

comment:1 Changed 18 years ago by rhwood@…

attachments.description: globs file installed by planner 0.13_1globs (planner 0.13_1)

comment:2 Changed 18 years ago by rhwood@…

attachments.description: globs file prior to installation of planner 0.13_1globs (prior to installation)

comment:3 Changed 18 years ago by rhwood@…

Attached the new and older files to the bug so you can see the damage. I think it would be best to use the --disable-update-mimedb configure option and then do your updates in a post-install phase.

comment:4 Changed 18 years ago by rhwood@…

suggested post-install phase:

post-install {

system "update-mime-database ${prefix}/share/mime"

}

This requires a depends_build on bin:update-mime-database:shared-mime-info

comment:5 Changed 18 years ago by mww@…

Summary: planner 0.13_1 overwrites mime data for gnomeBUG: planner 0.13_1 overwrites mime data for gnome

will planner work on copies that live in another directory?

comment:6 Changed 18 years ago by rhwood@…

(In reply to comment #8)

will planner work on copies that live in another directory?

No.

Planner, per se, actually never uses these files. GTK and GNOME libraries use these files so that this information is available for any application built using those libraries. KDE libraries may also use these files, I just don't know where KDE pulls its mime data.

Changed 18 years ago by rhwood@…

Attachment: Portfile.patch added

Portfile diffs

comment:7 Changed 18 years ago by rhwood@…

Resolution: fixed
Status: newclosed

Committed fixed Portfile to CVS.

Note: See TracTickets for help on using tickets.