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

Update http-parser version #27

Closed
wants to merge 3 commits into from
Closed

Update http-parser version #27

wants to merge 3 commits into from

Conversation

IainNZ
Copy link
Contributor

@IainNZ IainNZ commented Sep 23, 2014

WIP as I need to cross-compile and upload new Windows binaries

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 9700263 on nosub into * on master*.

@wildart
Copy link
Collaborator

wildart commented May 3, 2015

Why pull whole repo when versioned releases exist?

@IainNZ
Copy link
Contributor Author

IainNZ commented May 3, 2015

Isn't that what this does, checkout a versioned release?

@wildart
Copy link
Collaborator

wildart commented May 3, 2015

I meant tarball. BTW, is there problem with windows build? Why downloaded binaries are needed?

@IainNZ
Copy link
Contributor Author

IainNZ commented May 3, 2015

Yeah tarball would be fine, especially since it is simpler. I just really didn't like the git submodule.

On Windows we don't assume there is a compiler (there usually isn't), so we need to provide a binary. We also in general assume the same thing for OSX in many packages, although not here.

@IainNZ
Copy link
Contributor Author

IainNZ commented Jul 1, 2015

@tkelman if you ever get bored, here is a project that'd be good to give the WinRPM treatment

@tkelman
Copy link
Collaborator

tkelman commented Jul 1, 2015

copy-pasting this from a sublime window, from notes I took with @yeesian yesterday - we did libgeos in like an hour

1. register for an account on build.opensuse.org
2. test that library can be cross-compiled, ./configure --host=x86_64-w64-mingw32
3. create home project on build.opensuse.org
4. create package for library, named mingw64-libfoo, where libfoo is the name of the linux package version of the library - copy title and description from the linux version of the package
5. click add file, upload source tarball
6. create new empty file mingw64-libfoo.spec
7. copy-paste either mingw64-zeromq.spec (for configure) or mingw64-metis.spec (for cmake)
8. replace old package name, group, description, license, url etc with your package name - copy from linux version's spec file
9. save spec file, go back to package
10. comment out list of installed files at end of spec file for now
11. click build targets
12. select and enable opensuse 13.1, 13.2 and factory
13. go to repositories, click edit repository for each
14. click add additional path to repository
15. enter windows:mingw:win64, select repository that matches each target
16. click blue scheduled, or red failed, or green succeeded icons to access build logs - download logfile for full version
17. work through error messages, if everything worked the message will be "installed but unpackaged files found"
18. adapt list of installed files for this package - executables and dll's go in main package, headers and static .a and import .dll.a libraries go in -devel subpackage
19. if package build succeeds, click download package, opensuse, show "Add repository and install manually," copy link from zypper addrepo for opensuse 13.1 (leave off the file name ending in .repo)
20. check https://www.github.com/JuliaOpt/CoinOptServices.jl/blob/master/deps/build.jl for example of adding your personal project to WinRPM.sources
21. Create a separate copy of the package but replacing mingw64 with mingw32 (and x86_64 with i686) for 32 bit windows, and repeat steps 11-15 for win32
22. enable appveyor, copy appveyor.yml from Example.jl, replacing Example with your Julia package name, and see what happens!

I'll be cleaning this up and adding it to the winrpm readme soon.

@wildart
Copy link
Collaborator

wildart commented Jul 3, 2015

I say, we bump to 2.5 and build C library through BinDeps, at lease for Unix platforms. This will prevent version mismatch, like #32. As for Windows, we need to build binary anyway.

@IainNZ IainNZ closed this Sep 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants