-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Apothecary: Poco 1.5.3+ #3116
Apothecary: Poco 1.5.3+ #3116
Conversation
…nto apothecary-poco
- Defines macros w/ underscore. - This is default behavior in OSX 10.9+ in AssertMacros.h
One note -- in OSX, I'm getting a strange error when using existing FreeImage libs alongside these new Poco libs. I get a crash with this error:
This occurs when executing this line in bmp = FreeImage_Load(fif, fileName.c_str()); Apparently there is a |
…o apothecary-poco
is this good to merge in? |
ps - should we make an issue in this repo for tracking which libs still need building? |
I think we should wait until we get the rest of the libs, because of the additional header files / updates required for all platforms. |
… x86_64) - Updated
Apothecary: Poco Formula updated for iOS
…ks into apothecary-poco
…nto apothecary-poco
@danoli3 Let's try a rebuild with your update poco changes. I just updated the formula to match my tag. If we can confirm this is working on all platforms, I'll scrub this pull request clean of all old libs and resubmit with all credits. The only lingering issue I'm wondering about is the strange PNG failure on OSX. I'm hopeful that your poco changes may fix that too :) Otherwise, I think there is something funny happening in FreeImage that will need further investigation. |
Sadly, it doesn't appear that the FreeImage poco issue was resolved ... :/ |
Ah I see, yes Poco/PDF has a version of libpng. Add |
Also I've been testing the iOS Scripts on http://github.com/danoli3/apothecary-den (Travis doesn't mind drinking our potions) |
Poco Formula Update 1.3
OK! We're almost there ... so @danoli3 @ofTheo @arturoc the OSX libpng issue is fixed if the PDF component of Poco is removed altogether. Basically the Poco::PDF package is just a thin wrapper around http://libharu.org which is a nice PDF (write only) lib for writing reports, etc. In the Poco context it is primarily used for database query reports output, etc. It turns out that the Poco::PDF package comes with a bundled libpng and zlib, which was somehow causing the problems. My only guess at this point is that somehow the C-source for the bundled libpng was causing problems ... Since we already have PDF output support via Cairo and we didn't officially have support Poco::PDF previously, I'm going to omit it from the builds so we don't have to worry about it. Further, Poco doesn't really even include Poco::PDF in any of their documentation (and it's been in there since 1.3ish) so, I don't think we'll be missing out. |
@danoli3 Did you link your ios libs against the latest apothecary openssl libs? |
+1 to your suggestion @bakercp - I think that makes sense. |
Yeah iOS is compiled against latest OpenSSL libs from the formula. On Wednesday, October 8, 2014, Christopher Baker notifications@github.com
|
- With the Remove PDF changes
Poco iOS Libraries Updated (arm64, armv7, armv7s)
Just noting that we are omitting |
…ks into apothecary-poco
Static libs, headers and apothecary formulas for architectures included:
All of these static libs were created using the apothecary formula in this branch.
From the
$OF_ROOT/scripts/apothecary
directory, I ran:This compiles the static libs according to the recipe (poco.sh) and copies the headers / static libs into place.
One thing to note -- this command will attempt also copy the headers, which may give you copy errors if the headers are already in place.
I chose poco release1.5.3-release
because it is the most recent "official" release without picking an arbitrary commit.Currently we are using https://github.com/bakercp/poco/releases/tag/poco-apothecary-1.5 which happens to be the current develop head of Poco (as of 6 October, 2014).
Additionally, @arturoc I took care of the obnoxious
X509Certificate.h
header error wherein the that class'verify
method conflicted with an OSX macro found in<AssertMacros.h>
. You'll find the solution (which doesn't require the manual addition of the#ifdef verify #undef verify #endif
stuff in the commit log and inofContstants.h
.