Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #779 (assigned enhancement)

Opened 3 years ago

Last modified 3 years ago

Mac OS X MacPorts Compilation

Reported by: jonesc@… Owned by: alwin
Priority: normal Milestone: not applicable
Component: All Version: 1.5.x
Severity: tweak Keywords:
Cc:

Description

Hi,

I have been experimenting recently with making an OS X MacPorts? Portfile for kdesvn, to build it against the KDE4 libraries currently in MacPorts?.

I have it working fine, but had to make a few tweaks to get it to work, which I want to feedback here in case they can be added to the main release.

  1. MacPorts? uses a custom installation location for the final Application /Applications/MacPorts/KDE4. To get this to work I had to patch src/CMakeLists.txt to change

INSTALL(TARGETS kdesvn kdesvnaskpass kdesvnpart

RUNTIME DESTINATION ${BIN_INSTALL_DIR}

LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR})

to

INSTALL(TARGETS kdesvn kdesvnaskpass kdesvnpart

${INSTALL_TARGETS_DEFAULT_ARGS}

LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR})

With this it worked fine. I am not sure what these means, but the MacPorts? experts (which I am not one of, not am I a cmake expert) asked me to feed this back upstream..

  1. To get the application icon properly installed, the line

KDE4_ADD_APP_ICON(kdesvnsrc "${CMAKE_CURRENT_SOURCE_DIR}/hi*-app-kdesvn.png")

needs adding before the line

KDE4_ADD_EXECUTABLE(kdesvn ${kdesvnsrc})

in the same CMakeLists.txt file.

With these I have kdesvn working very nicely on OS X via MacPorts? (not yet commited but hopefully soon).

cheers Chris

Attachments

Change History

comment:1 Changed 3 years ago by alwin

  • Status changed from new to assigned

sounds good. I'll check the changes ASAP and put them into the repository.

comment:2 Changed 3 years ago by anonymous

Hi,

Great thanks. In case you are interested I've submitted a ticket to MacPorts? to include the Portfile for this.

 http://trac.macports.org/ticket/23999

Chris

comment:3 Changed 3 years ago by Chris Jones <jonesc@…>

Great thanks !

For reference, the ticket to include this in MacPorts? is here...

 http://trac.macports.org/ticket/23999

Chris

View

Add a comment

Modify Ticket

Action
as assigned
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.