Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

linenoise 1.0 (new formula) #40052

Closed
wants to merge 1 commit into from
Closed

linenoise 1.0 (new formula) #40052

wants to merge 1 commit into from

Conversation

zostay
Copy link
Contributor

@zostay zostay commented May 24, 2015

Basic formula for the released version of the linenoise readline lib.

This should supersede #23833 from 2013.

sha256 "f5054a4fe120d43d85427cf58af93e56b9bb80389d507a9bec9b75531a340014"

def install
system "make", "install"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The install location needs to be specified.

@zostay
Copy link
Contributor Author

zostay commented May 24, 2015

My original pull request was missing a required patch. Added.


def patches
# add dylib to the makefile
DATA
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just make this patch :DATA without wrapping it in a def.

@zostay zostay force-pushed the linenoise branch 3 times, most recently from d4dde34 to babe137 Compare May 24, 2015 20:26
@zostay
Copy link
Contributor Author

zostay commented May 25, 2015

I believe I've now straightened out all the strict audit and testing issues unless someone can point out a new problem.

@DomT4
Copy link
Member

DomT4 commented May 25, 2015

One last thing and then it looks good. The patch needs a comment, and ideally a link to an upstream report about the issue, i.e.

# Why I needed to change this
# Link to report upstream where I reported the need to patch this element
patch :DATA

Basic formula for the released version of the linenoise readline lib.
@zostay
Copy link
Contributor Author

zostay commented May 26, 2015

Added a comment and submitted an issue upstream to link to as suggested.


# Added patch to build linenoise as a dynamic library
# Upstream Issue: https://github.com/antirez/linenoise/issues/94
patch :DATA
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please file this as a pull-request rather than just an issue. Until then I think we shouldn't release this as a dynamic library until upstream supports it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch is OS X centric and the upstream library is not, so I don't feel that it's legit as an upstream pull-request. I don't have the expertise to build such a patch.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove it then, thanks.

@DomT4
Copy link
Member

DomT4 commented Jun 16, 2015

Any update here?

@DomT4
Copy link
Member

DomT4 commented Jun 30, 2015

This seems to have gone dead. Closing consequently.

If you pick up interest later please feel free to resubmit as a new PR with the comments above addressed, Thanks!

Thank you for the submission!

@DomT4 DomT4 closed this Jun 30, 2015
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants