[MacPorts] #49459: routino @3.0 port submission
#49459: routino @3.0 port submission ------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: routino ------------------------+-------------------------------- I'd like to propose to add routino to MacPorts. It is a route planner for OpenStreetMap data. qlandkartegt, which is also part of MacPorts is not developed anymore and is succeeded by qmapshack, which has routino as dependency. The port can be used as a simple route planner, an example can be found here: http://www.routino.org/documentation/usage.html Tested under OS X 10.11 with Xcode 7.1 Any comment on the Portfile is very much appreciated. -- Ticket URL: <https://trac.macports.org/ticket/49459> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: routino | -------------------------+-------------------------------- Comment (by khindenburg@…): I don't see anything major wrong. We do however try to add new ports only if they have a maintainer - are you willing to do that? 1. distname can be removed - default works 2. livecheck can be removed - default works 3. add depends on bzip2 and libzip (try using "sudo port -t build" which will show dependencies) 4. I would suggest removing doc variant and just including the docs as default -- Ticket URL: <https://trac.macports.org/ticket/49459#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: routino | -------------------------+-------------------------------- Comment (by framic5@…): Thank you very much for your comments, of course I'll adopt all of them. But allow me two questions: 1. How can I see bzip2 and libzip dependency, {{{sudo port -t build}}} gives only standard output for me: {{{ $ sudo port -t build ---> Fetching distfiles for routino ---> Verifying checksums for routino ---> Extracting routino ---> Applying patches to routino ---> Configuring routino ---> Building routino }}} 2. livecheck default works, but how? According to the guide {{{freecode}}} will be used as default for {{{livecheck.type}}}, routino is not listed there. Replying to [comment:2 khindenburg@…]:
We do however try to add new ports only if they have a maintainer - are you willing to do that? Yes, this is fine with me, let's give it a try.
-- Ticket URL: <https://trac.macports.org/ticket/49459#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: routino | -------------------------+-------------------------------- Comment (by khindenburg@…): take a look at the diff - let me know if you have any concerns. 1. You can use 'otool -L <library' to determine what libraries are using - we try to use macports' libraries if possible 2. If a Portfile has no livecheck.*, there are default which are used (try using 'port -d livecheck' -- Ticket URL: <https://trac.macports.org/ticket/49459#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: routino | -------------------------+-------------------------------- Comment (by khindenburg@…): When using -t you should this output {{{ ---> Building routino Warning: The following existing files were hidden from the build system by trace mode: /opt/local/bin/perl /opt/local/include/bzlib.h /opt/local/include/zlib.h /opt/local/lib/libbz2.a /opt/local/lib/libbz2.dylib /opt/local/lib/libz.a /opt/local/lib/libz.dylib }}} this tells you that it is using the system libraries. -- Ticket URL: <https://trac.macports.org/ticket/49459#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: routino | -------------------------+-------------------------------- Comment (by framic5@…): 1. With otool I found the dependencies, but as I said, trace mode has no such output for me. 2. With debug mode I found master-sites.tcl, which answers all my livecheck questions, it seems guide is out of date. Portfile with all changes (your patch) and changed maintainers tag will follow. Thanks for your help! -- Ticket URL: <https://trac.macports.org/ticket/49459#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: routino | -------------------------+-------------------------------- Comment (by khindenburg@…): I forgot about this ticket; we should try to use the right compiler https://trac.macports.org/wiki/UsingTheRightCompiler I'll see if I can easily fix it -- Ticket URL: <https://trac.macports.org/ticket/49459#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: routino | -------------------------+-------------------------------- Comment (by framic5@…): If I understand 'Using The Right Compiler' correctly, setting the {{{CC}}} and {{{LD}}} variable to {{{${configure.cc}}}} before the build phase, is enough. I'll attach an updated Portfile. -- Ticket URL: <https://trac.macports.org/ticket/49459#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: routino | -------------------------+-------------------------------- Comment (by khindenburg@…): Yea that doesn't really help. I think if we want to commit this as is and try to fix this issue later. https://trac.macports.org/wiki/UsingTheRightCompiler#testing -- Ticket URL: <https://trac.macports.org/ticket/49459#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: routino | -------------------------+-------------------------------- Comment (by framic5@…): Replying to [comment:9 khindenburg@…]:
https://trac.macports.org/wiki/UsingTheRightCompiler#testing
That's exactly what I did before I posted the updated Portfile. Did I miss something? -- Ticket URL: <https://trac.macports.org/ticket/49459#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#49459: routino @3.0 port submission -------------------------+-------------------------------- Reporter: framic5@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: routino | -------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: Sorry for the delay - you can always ping a ticket and/or ping the mailing list If you want to open a new ticket to update to 3.1.1 go ahead and add me and I'll commit it for you r153886 -- Ticket URL: <https://trac.macports.org/ticket/49459#comment:11> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts