Opened 11 years ago

Closed 11 years ago

#43429 closed update (fixed)

logtalk-devel @3.00.0-b1: update to 3.00.0-b2

Reported by: pmoura (Paulo Moura) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch maintainer Cc: mojca (Mojca Miklavec)
Port: logtalk-devel

Description

Update the logtalk-devel portfile for the latest release.

Attachments (1)

Portfile-logtalk-devel.diff (524 bytes) - added by pmoura (Paulo Moura) 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by pmoura (Paulo Moura)

Attachment: Portfile-logtalk-devel.diff added

comment:1 Changed 11 years ago by mojca (Mojca Miklavec)

The port builds and installs fine, but one final remark bothers me:

xinstall: /opt/local/share/logtalk-3.00.0-b2/scripts/freedesktop/logtalk.xml -> /opt/local/share/mime/packages/logtalk.xml

Note that '/opt/local/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /opt/local/var/macports/build/_path_to_lang_logtalk-devel/logtalk-devel/work/.home/.local/share
- /usr/local/share/
- /usr/share/

comment:2 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added
Version: 2.2.1

comment:3 Changed 11 years ago by pmoura (Paulo Moura)

What's troublesome here is that a MacPorts installed freedesktop doesn't search by default in /opt/local/share instead or in addition to /user/local/share and /usr/share. And that have nothing to do with the logtalk(-devel) portfiles.

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Is there any ticket already open with that problem? Is it possible to fix it somehow?

Also, storing the nonexistent (build) path to search path cannot be freedesktop's fault.

So should I simply commit as-is and worry about the warning later? May I please also fix the whitespace?

comment:5 in reply to:  4 Changed 11 years ago by pmoura (Paulo Moura)

Replying to mojca@…:

Is there any ticket already open with that problem? Is it possible to fix it somehow?

No idea. I would expect that it should be easy to fix, however.

Also, storing the nonexistent (build) path to search path cannot be freedesktop's fault.

The relevant command in the portfile is:

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

According to MacPorts policies, freedesktop should not mess with /usr/... directories and instead default to directories under the prefix used by MacPorts.

So should I simply commit as-is and worry about the warning later? May I please also fix the whitespace?

The warning will be automatically fixed as soon as freedesktop is fixed. Feel free to fix any whitespace issue.

comment:6 Changed 11 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

Committed in r119382 and r119383.

I would suggest you to open a new ticket about the wrong path.

Note: See TracTickets for help on using tickets.