Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

lsyncd 2.1.6 #48400

Closed
wants to merge 1 commit into from
Closed

lsyncd 2.1.6 #48400

wants to merge 1 commit into from

Conversation

nijikon
Copy link
Contributor

@nijikon nijikon commented Jan 23, 2016

No description provided.

@DomT4
Copy link
Member

DomT4 commented Jan 23, 2016

Build failed, for some slightly confusing reason:

==> ./autogen.sh
Failed to execute: ./autogen.sh

@apjanke
Copy link
Contributor

apjanke commented Jan 24, 2016

autogen.sh doesn't exist in the 2.1.6 release, even though it's there in the 2.1.5 release.

It looks like they have switched from GNU Autotools to CMake in the 2.1.6 release. The formula will have to be changed to work with the new build system. See the INSTALL file in the lsync distribution.

@nijikon
Copy link
Contributor Author

nijikon commented Jan 27, 2016

Need feedback on inreplace and depends_on :macos => :lion being removed.

@nijikon nijikon force-pushed the lsyncd branch 3 times, most recently from 10c6459 to c4ae15d Compare January 30, 2016 15:33
args << "-DXNU_DIR=#{buildpath/"xnu"}"

# DESTINATION bin
inreplace "CMakeLists.txt", "DESTINATION bin",
Copy link
Member

Choose a reason for hiding this comment

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

Why the need to change these? What happens without the inreplace?

Copy link
Member

Choose a reason for hiding this comment

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

Ding? :)

Copy link
Contributor

Choose a reason for hiding this comment

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

🔔 😄

Copy link
Member

Choose a reason for hiding this comment

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

Gently coughs 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How did I missed this 😡

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, bin inreplace is not needed.

Copy link
Member

Choose a reason for hiding this comment

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

Bit surprised either of them are. They should be relative to the prefix we pass, which might be problematic for man but cmake is usually intelligent enough to handle that.

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 is why we patch man

==> Finishing up
ln -s ../Cellar/lsyncd/2.1.6/bin/lsyncd lsyncd
Warning: A top-level "man" directory was found
Homebrew requires that man pages live under share.
This can often be fixed by passing "--mandir=#{man}" to configure.

Copy link
Member

Choose a reason for hiding this comment

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

There's usually a CMake build flag available on this, but if there isn't 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was not able to find such a flag in this build. Maybe someone more experienced in cmake can take a look. If not then we can pull this.

@nijikon nijikon closed this in 93c33b2 Mar 25, 2016
xu-cheng pushed a commit to Homebrew/homebrew-core that referenced this pull request Mar 26, 2016
Closes Homebrew/legacy-homebrew#48400.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
@nijikon nijikon deleted the lsyncd branch March 28, 2016 09:21
benjaminfrank pushed a commit to benjaminfrank/homebrew that referenced this pull request Apr 9, 2016
Closes Homebrew#48400.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
@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.

None yet

4 participants