Commit graph

840 commits

Author SHA1 Message Date
TQ Hirsch
6301fe7f8c Merge pull request #83 from abiggerhammer/master
Perl build integration
2013-12-06 01:26:06 -08:00
Meredith L. Patterson
6fa1618812 update README.md with perl info 2013-12-06 10:19:56 +01:00
Meredith L. Patterson
9da2636978 decrufting 2013-12-06 09:41:08 +01:00
Meredith L. Patterson
146504266c should version numbers be strings? 2013-12-06 09:36:10 +01:00
Meredith L. Patterson
6a09f2abfb quiet down apt again; use more perl 2013-12-06 09:28:09 +01:00
Meredith L. Patterson
1e4863d71e makemaker needed a -L to find libhammer.so 2013-12-06 09:24:19 +01:00
Meredith L. Patterson
f8933dd5b1 add LD_LIBRARY_PATH explicitly 2013-12-06 09:10:29 +01:00
Meredith L. Patterson
83bf5ce505 Thank you, Meredith, but your package is in a different PPA 2013-12-06 09:03:58 +01:00
Meredith L. Patterson
bd4177c434 have to actually install the swig package 2013-12-06 08:52:10 +01:00
Meredith L. Patterson
0e65ebfb1b try swig2.0 w/o specific version 2013-12-06 08:47:47 +01:00
Meredith L. Patterson
ac5c281cbe apt-get install swig2.0 loudly; another try on version name 2013-12-06 08:46:03 +01:00
Meredith L. Patterson
8ce7d26152 package is swig2.0, not swig 2013-12-06 08:43:34 +01:00
Meredith L. Patterson
0be2d433cc retry package version 2013-12-06 08:33:10 +01:00
Meredith L. Patterson
c9a1d00261 fix package version? 2013-12-06 08:23:48 +01:00
Meredith L. Patterson
9e597d4801 use ppa version of swig 2013-12-06 08:19:19 +01:00
Meredith L. Patterson
3e6269637d auto-accept ppa 2013-12-06 07:50:47 +01:00
Meredith L. Patterson
53e13657b0 use a backport instead so as to not break python or other things 2013-12-06 07:47:55 +01:00
Meredith L. Patterson
0581958167 the bug was in SWIG pre 2.0.8. Update travis to use ubuntu raring, which has this. 2013-12-06 07:29:16 +01:00
Meredith L. Patterson
42a3b05c23 add stdbool.h to perl hammer.i to stop bool from being #undef'd 2013-12-06 06:24:17 +01:00
Meredith L. Patterson
80b597cfbf move stdbool.h to top level 2013-12-06 06:11:48 +01:00
Meredith L. Patterson
8d564af139 SWIG docs suggest -DHAS_BOOL 2013-12-06 05:59:07 +01:00
Meredith L. Patterson
85000da581 put stdbool.h in hammer.h to try and fix perl bindings on travis 2013-12-06 04:52:30 +01:00
Meredith L. Patterson
4b86fa1f5a try travis with perl 5.18 instead of 5.14 2013-12-06 04:33:40 +01:00
Meredith L. Patterson
f53f474de2 try to resolve missing bool/true/false problems with perl bindings 2013-12-06 04:27:44 +01:00
Meredith L. Patterson
b794dbf72d SWIGPERL check around bool typedef 2013-12-06 04:03:55 +01:00
Meredith L. Patterson
a811b51241 use whatever compiler CC says to compile perl bindings 2013-12-06 03:55:52 +01:00
Meredith L. Patterson
767afacf6b remove -DHAMMER_INTERNAL__NO_STDARG_H from Makefile.PL too 2013-12-06 03:19:45 +01:00
Meredith L. Patterson
baf7aa23e3 remove -DHAMMER_INTERNAL__NO_STDARG_H from CFLAGS for perl bindings build 2013-12-06 03:16:01 +01:00
Meredith L. Patterson
b8c963db95 try setting CC in the environment for clang+bindings builds to get travis to actually use clang for them 2013-12-05 11:15:55 +01:00
Meredith L. Patterson
7d054b1f92 perl needs swig too 2013-12-05 10:21:10 +01:00
Meredith L. Patterson
97be291096 override perl dependency installation 2013-12-05 10:18:28 +01:00
Meredith L. Patterson
d08cce0da1 add perl to travis matrix 2013-12-05 10:13:15 +01:00
Meredith L. Patterson
df7a7b467a Merge pull request #82 from thequux/perl-bindings
Perl bindings (minus travis-ci)
2013-12-05 01:06:15 -08:00
Dan Hirsch
fab45fe044 Helps to add the perl makefile. Bonus points for including a README 2013-12-05 09:58:30 +01:00
Dan Hirsch
01c45d8453 Added install target for perl 2013-12-05 09:47:45 +01:00
Dan Hirsch
9d0cb859d8 Moved building perl binding lib and running test suite to EU::MM Makefile 2013-12-05 09:45:26 +01:00
Dan Hirsch
58412ed005 Added MakeMaker-based build system for perl bindings 2013-12-05 09:35:24 +01:00
Dan Hirsch
2f3bc9c4b0 Perl tests are now part of the build system 2013-12-05 08:41:28 +01:00
Dan Hirsch
8c44d583e6 All tests pass. 2013-12-04 04:56:47 +01:00
Dan Hirsch
4199ad8758 All tests except attr_bool pass 2013-12-04 04:44:07 +01:00
Dan Hirsch
4eebe57908 Actions work 2013-12-04 01:51:59 +01:00
TQ Hirsch
cafe4cdc17 Merge pull request #79 from jrozner/master
Fix LC_ID_DYLIB for OS X
2013-12-03 14:40:24 -08:00
Joe Rozner
52bdc9d3dc Fix LC_ID_DYLIB for OS X
Wrapping the SHLINKFLAGS in an array rather than as a single string
caused the link flags to be passed to clang double quoted. This cuased
clang to interpret the flags as a string rather than as a flag which
caused the -install_name flag to never be passed to the linker.
2013-12-03 13:28:56 -08:00
Dan Hirsch
1d11527924 Got perl bindings started 2013-12-03 21:29:02 +01:00
TQ Hirsch
544f021849 Add link to go bindings 2013-12-02 15:40:56 -08:00
TQ Hirsch
105a52ebeb Merge pull request #75 from jrozner/master
Fixes for packageconfig
2013-12-02 15:38:02 -08:00
Joe Rozner
1c1d0be0bf Fix include path
Remove hammer from the include path to not look in
{prefix}/include/hammer for hammer/*.h.
2013-12-02 11:56:20 -08:00
Joe Rozner
4f2d06204d Fix pkgconfig input
Don't default the prefix to /usr
2013-12-02 11:35:00 -08:00
Meredith L. Patterson
c6ca2aea8d how to install (eg) python bindings 2013-11-28 22:41:02 -08:00
TQ Hirsch
22a4d39d2f Merge pull request #67 from abiggerhammer/master
Install target for Python
2013-11-28 21:38:41 -08:00