Opened 14 years ago

Closed 12 years ago

#25233 closed submission (fixed)

libmcs submission

Reported by: jdunn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: libmcs

Description (last modified by ryandesign (Ryan Carsten Schmidt))

libmcs 0.7.1

Portfile is attached.

The libmcs package is a library and set of tools which abstract the storage of configuration settings away from userland applications. There are similar projects like this (such as GConf), but unlike those projects, libmcs strictly handles abstraction. It does not impose any specific data storage requirement, nor is it tied to any desktop environment or software suite.

This portfile has only been tested on snow leopard 10.6.3

Attachments (2)

Portfile (1.7 KB) - added by jdunn@… 14 years ago.
Portfile.diff (565 bytes) - added by jdunn@… 14 years ago.
New portfile with kconfig figured out.

Download all attachments as: .zip

Change History (10)

Changed 14 years ago by jdunn@…

Attachment: Portfile added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: libmcs removed

FYI, you need to use WikiFormatting, not HTML, in Trac tickets.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

You use "--disable-gconf" in the main configure args, and have a "gconf" variant, therefore gconf should not be listed in the port's main dependencies.

If you list something as a library dependency, you shouldn't also list it as a build dependency. In MacPorts, "library dependency" means "build dependency and runtime dependency".

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

There is no category called "dev"; you meant "devel"?

The kconfig variant doesn't work because there is no port called "kconfig" and I can't find a ticket for that either.

Could you discuss why the muniversal portgroup is being used? On first glance it seems to build fine without that.

libmcs.dylib is not installed with the proper install_name:

$ otool -L /opt/local/lib/libmcs.dylib 
/opt/local/lib/libmcs.dylib:
	libmcs.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
	/opt/local/lib/libmowgli.dylib (compatibility version 0.0.0, current version 0.0.0)

The desired output is:

$ otool -L /opt/local/lib/libmcs.dylib 
/opt/local/lib/libmcs.dylib:
	/opt/local/lib/libmcs.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
	/opt/local/lib/libmowgli.dylib (compatibility version 0.0.0, current version 0.0.0)

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

I added a version of the port in r68798; we can go from there.

comment:5 Changed 14 years ago by jdunn@…

I apologize for the errors, this is my first Portfile. The build and library dependency thing i was not sure about so i thought i would include both of them. Let me know how i can further help.

comment:6 Changed 14 years ago by jdunn@…

I think i figured out the kconfig variant. diff is attached. I havent been able to test yet since i dont have access to the macbook.

Changed 14 years ago by jdunn@…

Attachment: Portfile.diff added

New portfile with kconfig figured out.

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

The kconfig variant doesn't seem to work for me:

In file included from /opt/local/include/kdecore_export.h:24,
:info:build                  from /opt/local/include/kconfigbase.h:27,
:info:build                  from /opt/local/include/kconfig.h:27,
:info:build                  from kconfig.cc:47:
:info:build /opt/local/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory

QtCore/qglobal.h does exist on my system:

$ ls -l /opt/local/libexec/qt4-mac/include/QtCore/qglobal.h
-rw-r--r--  2 root  wheel  85434 Mar 20 15:16 /opt/local/libexec/qt4-mac/include/QtCore/qglobal.h

comment:8 in reply to:  7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

I added a version of the port in r68798; we can go from there.

This ticket should have been closed as fixed when the port was committed.

Replying to ryandesign@…:

The kconfig variant doesn't seem to work for me:

If you can get the kconfig variant to work with libmcs 0.7.2 (#25264) please file a new ticket and attach a patch; the patch attached here still does not work for me.

Note: See TracTickets for help on using tickets.