[MacPorts] #23100: New port for grisbi 0.5.9
#23100: New port for grisbi 0.5.9 -------------------------------+-------------------------------------------- Reporter: gerald@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: grisbi | Port: -------------------------------+-------------------------------------------- Patch for grisbi 0.5.9 work on Snow Leopard -- Ticket URL: <http://trac.macports.org/ticket/23100> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * keywords: grisbi => haspatch maintainer * version: 1.8.2 => * type: submission => enhancement * port: => grisbi -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Comment(by jmr@…): Please don't patch the Id line. And why on earth is the patch file called "Portfile-rrdtool.diff"? -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Comment(by gerald@…): Sorry, it was a mistake. I have stupidly copied the example from the documentation. Attached the good file, with the good name. Regards. -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Changes (by jann@…): * cc: jann@… (added) Comment: I think you should distinguish on platform i386 and ppc. What you are doing with build_arch seems wrong. -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Comment(by gerald@…): Sorry for my english... some dependancies are not compiled in universal arch (x86_64 and i386) on a x86_64 platform. If grisbi compiled with universal flags on x86_64 platform execution of grisbi failed with a core dumped. I think i have find how to make this work : if {$build_arch == "x86_64"} { configure.universal_archs i386 } I will submit another patch for this Portfile, because the latest version of Grisbi is now the 0.6.0. -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Comment(by gerald@…): I have submited the new diff file for the new 0.6.0 version of Grisbi. I have tested this and it works fine for me. I hope it is right. -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Comment(by jann@…): {{{ if {$build_arch == "x86_64"} { configure.universal_archs i386 } }}} This is not a good idea and I don't see the purpose of this. universal_archs is a user-setable variable to configure the platforms to build in a universal build. It should not be set in a portfile. If universal builds don't work for a port use {{{ universal_variant no }}} Also if you update the version of a port the revision should be reset to 0. i.e. remove the revision line. -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Comment(by gerald@…): Using universal_variant do not work by default on x86_64 architecture on Snow Leopard. Some dependences require by Grisbi are not compiled in x86_64 mode and if i do not make that grisbi will be compiled for X86_64 architecture and his execution failed with a core dumped. -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Comment(by jann@…): I'm not quite sure I understand you correctly. So I will rephrase: 1. Grisbi must be compiled in 32bit mode because of some dependencies 2. Grisbi will not work properly in 64bit mode 3. You force the universal variant to be 32bit only, so that the port will work as intended when installed as universal variant However, if you install the port normally (i.e. not the universal variant) it will be built in 64bit mode and thus not work properly. Is that correct? Therefore I suggest you disable universal builds and force a 32bit build on intel platforms by patching the makefile or passing the -arch compiler flag. -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Comment(by gerald@…): You understand correctly. I have look how make other ports to do that. I think the new Portfile i will submit now will be right. -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 ---------------------------------+------------------------------------------ Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch maintainer | Port: grisbi ---------------------------------+------------------------------------------ Comment(by snc@…): I think what you're after is this: {{{ universal_variant no supported_archs ppc i386 }}} -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23100: New port for grisbi 0.5.9 --------------------------------+------------------------------------------- Reporter: gerald@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch maintainer Port: grisbi | --------------------------------+------------------------------------------- Changes (by snc@…): * status: new => closed * resolution: => fixed Comment: Updated in r70900. -- Ticket URL: <http://trac.macports.org/ticket/23100#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts