[MacPorts] #45294: Request for a new port - toxcore
#45294: Request for a new port - toxcore --------------------------+-------------------------------- Reporter: lubodiakov@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: net devel | Port: toxcore --------------------------+-------------------------------- Toxcore contains all the libraries on which Tox depends. See: github.com/irungentoo/toxcore. -- Ticket URL: <https://trac.macports.org/ticket/45294> MacPorts <http://www.macports.org/> Ports system for OS X
#45294: Request for a new port - toxcore ---------------------------+-------------------------------- Reporter: lubodiakov@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: net devel Port: toxcore | ---------------------------+-------------------------------- Comment (by ryandesign@…): Thanks. Some observations: * Are you certain all of the dependencies you're listed are only build dependencies? None of them are used as libraries? * The `maintainers` line must be you valid email address, in our obfuscated host:user format. * I see you are using the github portgroup but are downloading from the git repository directly. Is there a reason why you cannot use the tarballs github will automatically generate? Take a look at the documentation in the comments in the [browser:trunk/dports/_resources/port1.0/group/github-1.0.tcl github portgroup file] for proper usage. * You don't need to set the `name` since running `github.setup` sets it for you. -- Ticket URL: <https://trac.macports.org/ticket/45294#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45294: Request for a new port - toxcore ---------------------------+-------------------------------- Reporter: lubodiakov@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: net devel Port: toxcore | ---------------------------+-------------------------------- Comment (by lubodiakov@…): Replying to [comment:2 ryandesign@…]: I think most (all?) of them are indeed used to build only. Toxcore builds only libraries for use by client apps, but no binaries by itself. I may be mistaken, not a programmer. Missed that. Thanks. Ditto. No reason other than I got confused by the docs, and pieced this together from other Portfiles found online. I actually think it would be much more maintainable the way you suggest, so I'll rework it. Ok, I'll skip name then. -- Ticket URL: <https://trac.macports.org/ticket/45294#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45294: Request for a new port - toxcore ---------------------------+-------------------------------- Reporter: lubodiakov@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: net devel Port: toxcore | ---------------------------+-------------------------------- Comment (by ryandesign@…): There don't need to be releases on github to be able to use automatically- generated tarballs. Just try omitting the "fetch.type git" line, and add the checksums line with appropriate values. -- Ticket URL: <https://trac.macports.org/ticket/45294#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#45294: Request for a new port - toxcore ---------------------------+-------------------------------- Reporter: lubodiakov@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: net devel Port: toxcore | ---------------------------+-------------------------------- Comment (by lubodiakov@…): Replying to [comment:4 ryandesign@…]: I can omit the "fetch.type git" line, but I have no idea where to get the checksum with "the appropriate values". I don't see any option to download a tarball, and no checksums generated by github. I can generate rmd160 and sha256 sums myself if I download the file, but which file? The zip on the project page, or what? Trying to understand, but still not clear. -- Ticket URL: <https://trac.macports.org/ticket/45294#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#45294: Request for a new port - toxcore ---------------------------+-------------------------------- Reporter: lubodiakov@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: net devel Port: toxcore | ---------------------------+-------------------------------- Comment (by ctreleaven@…): Replying to [comment:5 lubodiakov@…]:
Replying to [comment:4 ryandesign@…]: I can omit the "fetch.type git" line, but I have no idea where to get the checksum with "the appropriate values". I don't see any option to download a tarball, and no checksums generated by github. I can generate rmd160 and sha256 sums myself if I download the file, but which file? The zip on the right side of the project page, or what? Other github hosted projects with releases have both a zip and a tarball in the releases page, but this project has no releases (yet) so where would the tarball be? I'm not finding it.
It is a feature of github that they will automatically create an archive of the project reflecting the state of the project as of the commit you specify in our github.setup line. If you run 'sudo port -d checksum' as you are developing the port (before adding the checksums), the output will include appropriately formatted checksum lines that you can copy/paste into your Portfile. -- Ticket URL: <https://trac.macports.org/ticket/45294#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#45294: Request for a new port - toxcore ---------------------------+-------------------------------- Reporter: lubodiakov@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: net devel Port: toxcore | ---------------------------+-------------------------------- Comment (by lubodiakov@…): Replying to [comment:6 ctreleaven@…]:
Replying to [comment:5 lubodiakov@…]:
Replying to [comment:4 ryandesign@…]:
Thank you ctreleaven. I did not know that. I'll go try it right now. -- Ticket URL: <https://trac.macports.org/ticket/45294#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts