Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 64-bit builds #545

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Support 64-bit builds #545

wants to merge 12 commits into from

Conversation

darchons
Copy link

@darchons darchons commented Jan 4, 2016

Babun is pretty awesome but there have been some requests for a 64-bit build of Babun (e.g. issues #234 and #405). With these patches, I was able to make a 64-bit build of Babun. My test build is available at https://people.mozilla.org/~nchen/babun/babun-1.2.1-x86_64-dist.zip (md5=674087d8432952e4b4f593616c489432 sha1=af2fa88de76159b44497bea66f20a76f8f858c1e). It installs and runs, but I haven't tested updates yet.

Some of these patches are about making a custom build of Babun work (like my 64-bit build), so I think it'd okay if they don't get upstreamed, but I think most of the patches are improvements and are good candidates for upstreaming.

Jim Chen added 12 commits January 3, 2016 20:05
Instead of hard-coding 'x86', make bash scripts and the update.bat batch
file automatically detect the current Cygwin architecture.
Add and implement the '--64bit' command line argument that performs
x86_64 builds.
For the copy of the Babun source in the target repository, instead of
always cloning from the Babun GitHub repository, clone it from whichever
repository is set as the origin of the local repository used for
building. This ensures that any commits not in upstream are included in
the build.
Pass the "--no-admin" flag to the Cygwin setup so it doesn't try to
run with elevated privileges.
Replace the perl_vendor package in the packages list with its individual
components, because the perl_vendor package is obsolete and does not
exist on x86_64.
The cygfix plug-in patches certain executables in the target. For now,
limit it to x86 so that we don't end up with x86 executables in x86_64
builds.
Instead of keeping a version number in $babun/installed/cygwin, use the
actual Cygwin version number obtained from 'uname'.
Use the remote repository specified by the local Babun source when
checking for updates. This makes sure that any custom commits are kept
when updating.

'cygwin.version' is added to the root directory to check for updated
Cygwin. This gives the benefit of limited control over Cygwin updates
that's branch-specific; e.g. new Cygwin updates can be tested on the
branch first before changing 'cygwin.version' to allow all installations
to update.
@leycec
Copy link
Contributor

leycec commented Jun 5, 2016

Thanks for the awesome work, darchons! Two tentacles way up. 🐙

Unfortunately for all involved, your pull request has sprouted merge conflicts since you first submitted it several months ago. You've invested an extraordinary amount of volunteer effort into this. I'd hate to see that go to waste. I lack the time to resolve these conflicts myself. Would anyone else be able to chip in?

Babun really needs 64-bit support. This pull request is the only practical means of making that happen within the lifetime of the known Universe. It deserves our full attention – and, hopefully, assistance.

kenjones-cisco added a commit to kenjones-cisco/babun that referenced this pull request Apr 20, 2017
Adds all the changes from babun#545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants