New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30206 (closed enhancement: fixed)

Opened 10 months ago

Last modified 9 months ago

mass change depends port:dbus to path:bin/dbus-daemon:dbus

Reported by: pixilla@… Owned by: pixilla@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc: afb@…, clubjuggler@…, dports@…, jwa@…, mcalhoun@…, michaelld@…, milosh@…, saispo@…, mk@…
Port:

Description

I would like the dbus-devel port to be able to satisfy dbus dependencies in other ports.

The attached patch file mass-patch-depends-dbus.diff changes all dbus dependent ports from port: style depends to path: style.

Does this seem reasonable?

Attachments

mass-patch-depends-dbus.diff Download (9.0 KB) - added by pixilla@… 10 months ago.

Change History

Changed 10 months ago by pixilla@…

  Changed 10 months ago by pixilla@…

mass-patch-depends-dbus.diff is against r80648.

  Changed 10 months ago by mk@…

  • cc mk@… added

Cc Me!

  Changed 10 months ago by pixilla@…

  • cc afb@…, clubjuggler@…, dports@…, jwa@…, mcalhoun@…, michaelld@…, milosh@…, saispo@… added
  • owner changed from afb@… to pixilla@…

follow-up: ↓ 5   Changed 10 months ago by mk@…

Replying to pixilla@…:

mass-patch-depends-dbus.diff is against r80648.

What do you mean here? I don't see a relation of python/py25-pgsql/Portfile's r80648 to dbus.

in reply to: ↑ 4 ; follow-up: ↓ 8   Changed 10 months ago by pixilla@…

Replying to mk@…:

Replying to pixilla@…:

mass-patch-depends-dbus.diff is against r80648.

What do you mean here? I don't see a relation of python/py25-pgsql/Portfile's r80648 to dbus.

r80648 is the svn revision I patched.

follow-up: ↓ 7   Changed 10 months ago by dports@…

Sounds fine to me, though note the following nitpicking:

path:bin/dbus-daemon:dbus should be written as bin:dbus-daemon:dbus (unless there's a reason not to). But I'd actually be inclined to write the dependency as lib:dbus:dbus since it's presumably the library that these ports are depending on.

in reply to: ↑ 6 ; follow-up: ↓ 9   Changed 10 months ago by mk@…

Replying to dports@…:

Sounds fine to me, though note the following nitpicking: path:bin/dbus-daemon:dbus should be written as bin:dbus-daemon:dbus (unless there's a reason not to). But I'd actually be inclined to write the dependency as lib:dbus:dbus since it's presumably the library that these ports are depending on.

bin: and lib: are dangerous, since they satisfy any executable or library found in the path. If you have multiple MacPorts setups on a system it is essential that the correct prefix is being used. So, the only workable way is to use path here! I am inclined to update the Guide accordingly. (This was the outcome of a thread on the dev mailing list a while ago.)

in reply to: ↑ 5   Changed 10 months ago by mk@…

Replying to pixilla@…:

Replying to mk@…:

Replying to pixilla@…:

mass-patch-depends-dbus.diff is against r80648.

What do you mean here? I don't see a relation of python/py25-pgsql/Portfile's r80648 to dbus.

r80648 is the svn revision I patched.

Ah, ok, I guess I now understand that you actually meant that you diffed your local tree against that revision. Me being stupid. Sorry! :-)

in reply to: ↑ 7   Changed 10 months ago by mk@…

Replying to mk@…:

I am inclined to update the Guide accordingly. (This was the outcome of a thread on the dev mailing list a while ago.)

I updated chapter 5.4.1:  http://guide.macports.org/#reference.dependencies.types

follow-up: ↓ 11   Changed 10 months ago by mk@…

So, since dports thinks it looks fine, I guess you could proceed, pixilla, and move ahead with committing this mass patch.

I just wonder whether it would be advisable to also revbump every single patched port...

in reply to: ↑ 10 ; follow-up: ↓ 12   Changed 10 months ago by pixilla@…

Replying to mk@…:

So, since dports thinks it looks fine, I guess you could proceed, pixilla, and move ahead with committing this mass patch. I just wonder whether it would be advisable to also revbump every single patched port...

This patch does not change any port installed files so a rev-bump would provide no advantage.

in reply to: ↑ 11   Changed 10 months ago by pixilla@…

Replying to pixilla@…:

Replying to mk@…:

So, since dports thinks it looks fine, I guess you could proceed, pixilla, and move ahead with committing this mass patch.

I am awaiting permission from michaelld (qt4-mac and qt4-mac-devel) and afb (Terminal and xfconf) as these ports are not openmaintainer.

  Changed 9 months ago by pixilla@…

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.