building xorg-server on 10.9 with Xcode 5

2014-01-02 Thread James Gregurich
I was able to get xorg-server to build on 10.9 with Xcode 5 by getting rid of the usage of the following line in xquartz/pbproxy/Makefile: -F/System/Library/Frameworks/ApplicationServices.framework/Frameworks This line prevents it from building otherwise. clang refuses to find CoreGraphics fra

building clang/llvm on 10.9

2013-11-24 Thread James Gregurich
FYI. To get clang-3.4 to build on 10.9, I had to modify the port file to set the isysroot to the 10.9 SDK. the build fails because it can’t find system framework headers. add the following flag to the configure script invocation: --with-default-sysroot=/Applications/Xcode.app/Contents/Developer

Re: boost port file does not properly include isysroot

2012-01-30 Thread James Gregurich
that would be great if you or someone else is going to look it. the bit of documentation I posted last year should be in the list archives. I'm of course available to answer questions on the work…though my memory is going to be rusty at this point. I'll dig out the code and provide the answers

Re: boost port file does not properly include isysroot

2012-01-30 Thread James Gregurich
On Jan 30, 2012, at 3:23 PM, Ryan Schmidt wrote: > Of course, that goes for anyone: as you said developer time is expensive, > but if your company felt MacPorts was important and wanted to pay you to work > with us to improve it, they could do that. I did. I think macports is a beautiful solu

Re: boost port file does not properly include isysroot

2012-01-30 Thread James Gregurich
p file. But I've moved on.  Again I make the statement….  I didn't come here to complain that my work wasn't accepted. It was merely answering Daniel's point that I should make effort to update the system. I did make that effort.iOS cross compiling support by James Gregurich Jan

Re: boost port file does not properly include isysroot

2012-01-30 Thread James Gregurich
ponding to Daniel telling me that if I want something changed, I should go change it myself. I made the effort to change it. On Jan 30, 2012, at 3:02 PM, Joshua Root wrote: > On 2012-1-31 09:30 , James Gregurich wrote: >> I gave you guys a complete working prototype that ha

Re: boost port file does not properly include isysroot

2012-01-30 Thread James Gregurich
There is no technical reason that such use has to be "unusual." If you all you want to support are unix nerds playing with the latest build of Gnome, that's perfectly fine. I think such a limited audience is a total waste of the technology that has been developed as it is capable of being a gen

Re: boost port file does not properly include isysroot

2012-01-30 Thread James Gregurich
acports. On Jan 30, 2012, at 1:59 PM, Daniel J. Luke wrote: > On Jan 30, 2012, at 4:47 PM, James Gregurich wrote: >> What's the point to this comment? > > perhaps you're using the wrong tool... > > MacPorts is (according to the website): > > "an open-s

Re: boost port file does not properly include isysroot

2012-01-30 Thread James Gregurich
What's the point to this comment? On Jan 30, 2012, at 11:47 AM, Daniel J. Luke wrote: > On Jan 30, 2012, at 2:16 PM, James Gregurich wrote: >> then people must not be using macports for commercial development because >> there is no way commercial developers can d

Re: boost port file does not properly include isysroot

2012-01-30 Thread James Gregurich
I've made the problems known to you guys. handle them as you wish. I'm resigned to eventually going back to manually building my libs as I don't see this project as having a significant future. On Jan 28, 2012, at 3:43 AM, Ryan Schmidt wrote: > On Jan 27, 2012, at 19:38

boost port file does not properly include isysroot

2012-01-27 Thread James Gregurich
I have macosx_deployment_target set to 10.6. The boost port file does not add in the sdkroot as it should. TO fix, modify the last line in the post-configure function to add in the isysroot entry... fixed line: write_jam "using darwin : : ${filter}${configure.cxx} -isysroot ${configure.sdkro

Re: xcode 4.3 breaks macports

2012-01-27 Thread James Gregurich
x27;t encountered the other issue, likely because I haven't been building > any macports app that use the sdk. > > I'll see if I can take a look at the other issue (sdkroot) as well. Is there > a particular port you saw this issue with? > > James > > On Jan 27, 201

xcode 4.3 breaks macports

2012-01-27 Thread James Gregurich
I'm not sure if this is known or not, but Xcode 4.3 breaks macports. I'll report what I have learned in hacking my macports install into working. Note that /Developer has been moved inside the Xcode.app package and the internal structure of Developer has changed. In xcode 4.3, "/Applications/X

followup on iOS cross-compiler support

2011-03-31 Thread James Gregurich
Its been some time since I submitted my experimental work for iOS support in mac ports. I haven't gotten any feedback yet. Is this work still in the queue to be looked at? What's the status? -James ___ macports-dev mailing list macports-dev@lists.mac

Re: submitting support for suppressing static and dynamic libs

2011-02-28 Thread James Gregurich
e extra trouble to strip out the binaries. I was in a hurry, and didn't want to take the time. The download only takes 5 or 10 minutes on a decent connection. This should be good enough. https://files.me.com/bayoubengal/9i3y2z -James On Feb 16, 2011, at 7:33 PM, James Gregurich wro

submitting additional work on iOS cross-compiling support

2011-02-16 Thread James Gregurich
I have added additional functionality to macports. The following ports now build: icu, zlib, bzip2, expat and boost. These ports build universal and non-universal for MacOSX (ppc, ppc64, i386, x86_64) and iPhoneOS (armv6, armv7) as well as non-universal for the iPhoneSimulator (only i386 exist

Re: boost & use_parallel_build

2011-02-15 Thread James Gregurich
It works with boost 1.45. I ran it today on an 8-core mac pro. On Feb 15, 2011, at 8:43 PM, Ryan Schmidt wrote: > > On Feb 15, 2011, at 21:05, James Gregurich wrote: > >> Why does the boost portfile turn off use_parallel_build? > > $ svn blame $(port file boost) |

boost & use_parallel_build

2011-02-15 Thread James Gregurich
Why does the boost portfile turn off use_parallel_build? bjam does support the -j option: http://www.boost.org/doc/tools/build/doc/html/jam/usage.html ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailma

Re: port callback example

2011-02-08 Thread James Gregurich
only ones who would find this functionality useful. -James On Feb 8, 2011, at 3:04 PM, Ryan Schmidt wrote: > > On Feb 8, 2011, at 16:55, James Gregurich wrote: > >> Correct me if my understanding is wrong, but my analysis is that if I >> overrode configure in port using

Re: port callback example

2011-02-08 Thread James Gregurich
On Feb 8, 2011, at 3:12 PM, Daniel J. Luke wrote: > I also note that pre-configure and post-configure are only called once...not > once-per-arch. > > I wonder if maybe it would be easier/better to modify muniversal to call them > once per arch? I don't think I want to do that because that mig

Re: port callback example

2011-02-08 Thread James Gregurich
the pattern for myself. On Feb 8, 2011, at 2:49 PM, Ryan Schmidt wrote: > > On Feb 8, 2011, at 16:38, James Gregurich wrote: > >> muniversal overrides configure. In that function, there is a loop over >> universal_archs_to_use. I want the portfile to be able intercept each &

Re: port callback example

2011-02-08 Thread James Gregurich
On Feb 8, 2011, at 2:45 PM, Daniel J. Luke wrote: > On Feb 8, 2011, at 5:38 PM, James Gregurich wrote: >> >> muniversal overrides configure. In that function, there is a loop over >> universal_archs_to_use. I want the portfile to be able intercept each >> iterati

zlib now works

2011-02-03 Thread James Gregurich
zlib is working with minor modifications to the portfile. I'm now attempting boost. That monster should be a good test. -James ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-d

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
oshua Root wrote: > On 2011-2-4 14:07 , James Gregurich wrote: >> ok. I will continue running tests on what I have to see what works and what >> doesn't work. I have the thing working for 3 different ports with no >> unreasonable modifications to the port files. There i

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
re at a time...which is exactly what is needed for the configure scripts to work right on cross-compiling. On Feb 3, 2011, at 6:50 PM, Toby Peterson wrote: > On Feb 3, 2011, at 6:29 PM, James Gregurich wrote: > >> I've been attempting to explain that I think that doing uni

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
problems and going through the code. So, feel free to tell me I'm full of it. Also, the whole purpose of my investing weeks of engineering time into this project is to make iOS cross compiling a supported configuration. -James On Feb 3, 2011, at 5:19 PM, Toby Peterson wrote: > O

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
rsal adds a lot of > complexity and fragility. > > On 2011-2-4 12:55 , James Gregurich wrote: >> >> yep. armv6 armv7 >> >> On Feb 3, 2011, at 5:10 PM, Joshua Root wrote: >> >>> On 2011-2-4 06:54 , James Gregurich wrote: >>>> I think tha

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
yep. armv6 armv7 On Feb 3, 2011, at 5:10 PM, Joshua Root wrote: > On 2011-2-4 06:54 , James Gregurich wrote: >> I think that I'll change the expat port to use muniversal. >> >> >> >> Is this reasonable? > > What does muniversal have to do w

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
, James Gregurich wrote: > > CC > Program for compiling C programs; default ‘cc’. > CXX > Program for compiling C++ programs; default ‘g++’. > CPP > Program for running the C preprocessor, with results to standard output; > default ‘$(CC) -E’. > > > > >

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
Where else would you put them? On Feb 3, 2011, at 11:39 AM, Daniel J. Luke wrote: > On Feb 3, 2011, at 2:35 PM, James Gregurich wrote: >> >> ok. ignoring the practical perspective, what is conceptually correct? What >> is the design purpose of CPPFLAGS and CXXFLAGS In

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
ort to use muniversal. Is this reasonable? On Feb 3, 2011, at 11:41 AM, James Gregurich wrote: > I found the following: > > http://stackoverflow.com/questions/495598/difference-between-cppflags-and-cxxflags-in-gnu-make > http://www.gnu.org/software/make/manual/html_node/Implicit-V

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
I found the following: http://stackoverflow.com/questions/495598/difference-between-cppflags-and-cxxflags-in-gnu-make http://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html#Implicit-Variables On Feb 3, 2011, at 11:35 AM, James Gregurich wrote: > > ok. ignori

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
ok. ignoring the practical perspective, what is conceptually correct? What is the design purpose of CPPFLAGS and CXXFLAGS In the configure script system? On Feb 3, 2011, at 11:24 AM, Daniel J. Luke wrote: > On Feb 3, 2011, at 2:14 PM, James Gregurich wrote: >> >> I need cl

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
-compiling is for an apple platform. On Feb 3, 2011, at 11:17 AM, James Berry wrote: > > On Feb 3, 2011, at 11:05 AM, Toby Peterson wrote: > >> On Feb 2, 2011, at 5:49 PM, James Gregurich wrote: >> >>> I"m not sure what to do about this one. The expat port d

Re: multiple arch flags won't work with -E

2011-02-03 Thread James Gregurich
tails I'm not seeing and the port should work as is. NOTE: I'm guessing that the port works for ppc/intel because CPPFLAGS doesn't contain the -arch entries. comments? On Feb 2, 2011, at 11:44 PM, Ryan Schmidt wrote: > On Feb 2, 2011, at 19:49, James Gregurich wrote: > &

multiple arch flags won't work with -E

2011-02-02 Thread James Gregurich
I"m not sure what to do about this one. The expat port does not use muniversal to do a universal build. The configure script fails when it attempts to invoke the preprocessor. Is the correct answer to switch the port to muniversal or is there another flaw for which I should be looking? I suppo

Re: differences in configure flags

2011-02-02 Thread James Gregurich
by "build system" do you mean expat's configure scripts or do you mean macports? On Feb 2, 2011, at 5:21 PM, Joshua Root wrote: > On 2011-2-3 10:46 , James Gregurich wrote: >> Here's the bigger story: >> >> >> >> Note the expat configure l

invocation of muniversal

2011-02-02 Thread James Gregurich
When does muniversal get invoked? I'm running a port install on expat with +universal, but muniversal doesn't seem to be invoked. I put a syntax error just under "variant universal {" and just under "configure {" to see if execution of those functions is attempted, but they aren't. -James ___

Re: differences in configure flags

2011-02-02 Thread James Gregurich
A follow up: the changes I made add in a cpp_archflags and a "cpp" tool. On Feb 2, 2011, at 3:46 PM, James Gregurich wrote: > Here's the bigger story: > > ___ macports-dev mailing list macports-dev@lists.macosforge.org htt

Re: differences in configure flags

2011-02-02 Thread James Gregurich
HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | extern "C" void exit (int); | #endif | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif On Feb 2, 2011, at 3:24

Re: iOS cross compiling support

2011-02-02 Thread James Gregurich
great. thanks. just wanted to know what the plan was. On Feb 2, 2011, at 3:14 PM, Joshua Root wrote: > On 2011-2-3 09:24 , James Gregurich wrote: >> >> Its been a couple of days and I haven't gotten any feedback on the work I've >> supplied. Is someone lookin

Re: differences in configure flags

2011-02-02 Thread James Gregurich
A follow-up: This questions has to do with the loop in the else-block. the if-block does modify CPPFLAGS. On Feb 2, 2011, at 2:54 PM, James Gregurich wrote: > > > > # add extra flags that are conditional on whether we're building > universal >

differences in configure flags

2011-02-02 Thread James Gregurich
a couple of questions: Why doesn't CPPFLAGS contain ${output} like the other c-language flags? append_list_to_environment_value configure "CFLAGS" ${output}${configure.cflags} append_list_to_environment_value configure "CPPFLAGS" ${configure.cppflags} append_list_to_en

Re: iOS cross compiling support

2011-02-02 Thread James Gregurich
Its been a couple of days and I haven't gotten any feedback on the work I've supplied. Is someone looking at it? -James ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

submission of initial cross-compilation work for review

2011-01-31 Thread James Gregurich
I'm ready to submit an initial draft of my icu cross-compilation work for review. I've prepared a zip file of my "iopt" directory and placed it online. Other should be able to unpack the file to /iopt and immediately use it by invoking: sudo /iopt/bin/port -v install icu +universal URL:

who calls configure_main?

2011-01-31 Thread James Gregurich
For a non-universal build, what function invokes configure_main? I've tracked it back to the following but, I'm unable to track it back any further due to my limited knowledge of TCL. set org.macports.configure [target_new org.macports.configure portconfigure::configure_main] ___

never mind on the configure_main question

2011-01-31 Thread James Gregurich
I figured out what the system is doing. ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Re: how to extend 'clean' operation

2011-01-31 Thread James Gregurich
t; Hello James, > > On 2011-02-01 00:08 , James Gregurich wrote: >> I'm looking for documentation or an example on how to add custom code >> to a clean operation in a portfile and I'm not finding anything >> useful. Can I get some guidance on the proper way to exte

how to extend 'clean' operation

2011-01-31 Thread James Gregurich
I'm looking for documentation or an example on how to add custom code to a clean operation in a portfile and I'm not finding anything useful. Can I get some guidance on the proper way to extend a 'clean' in a port file? -James ___ macports-dev mai

Re: iOS cross compiling support

2011-01-28 Thread James Gregurich
ing in the bowels I suppose. Once I get that fixed, I can submit this work for reviewunless some other bug pops up. -James On Jan 28, 2011, at 6:06 PM, Joshua Root wrote: > On 2011-1-29 11:52 , James Gregurich wrote: >> >>> Looking back through the thread, I don'

Re: iOS cross compiling support

2011-01-28 Thread James Gregurich
On Jan 28, 2011, at 4:38 PM, Joshua Root wrote: > On 2011-1-29 10:49 , James Gregurich wrote: >>>> for the record, the precise definition of my terms are >>>> >>>> host = system with dev tools that builds the product >>>> target =

Re: iOS cross compiling support

2011-01-28 Thread James Gregurich
hmidt wrote: > > On Jan 28, 2011, at 17:08, James Gregurich wrote: > >> That would certainly work for MacOSX. What if the host isn't an apple OS? >> There is certainly support for freebsd in darwin ports. I would assume it is >> meant to be generic. > > Dar