Re: Can't install pdftk +with_gcc34

2007-02-23 Thread Ryan Schmidt
On Feb 22, 2007, at 15:40, Yves de Champlain wrote: Well I justed added a with_gcj34 variant that should do the trick. Thank you, that works. However, the gcj34 port is sort of deprecated and should be replaced by gcc34 or, even better, gcc41. Revision 2 of pdftk was a switch from gcj34

Re: Universal Binaries

2007-02-23 Thread Jordan K. Hubbard
On Feb 23, 2007, at 5:21 PM, Altoine Barker wrote: Jordan, I did not intend for it to be viewed as a optional frill, but more an option in the sense that the "no-option choice is for the single user" and the "optional" choice is for people with either both architectures or developers of prod

Re: Universal Binaries

2007-02-23 Thread Altoine Barker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jordan, I did not intend for it to be viewed as a optional frill, but more an option in the sense that the "no-option choice is for the single user" and the "optional" choice is for people with either both architectures or developers of products for bo

Re: Universal Binaries

2007-02-23 Thread Greg Shenaut
What I do for our locally-written utilities is to use a jimmied cc/ gcc that produces universal binaries by default. It didn't take long at all to get all of them to build that way, so they are now all available as universal binaries in our mixed ppc/intel lab. (This process was helped by th

Re: Universal Binaries

2007-02-23 Thread Jordan K. Hubbard
On Feb 23, 2007, at 11:36 AM, Ryan Schmidt wrote: Now, what we could think about doing is providing some kind of default, where +universal would use the standard CFLAGS, LDFLAGS and --disable-dependency-tracking, unless the port itself defines a +universal variant. This would allow many po

Re: Universal Binaries

2007-02-23 Thread Jordan K. Hubbard
I think you're starting with a fundamental premise that Universal binaries are something of an optional frill (and that they somehow use more memory than non-universal ones) - neither statement is, unfortunately, true. First, you have to remember that even people who "build all their own

Re: Universal Binaries

2007-02-23 Thread Julian Yu-Chung Chen
I agree it is a good practice to build my own copy of required libraries. I know how troublesome it is finding that some application is dependent on things installed in /sw. Pity to the nameless company. ;-) In my case I don't really bundle MacPorts library files in my app nor require them

Re: py-wxPython build: was (no subject)

2007-02-23 Thread Jyrki Wahlstedt
Hi, with several versions of wxWidgets I've had to uninstall it before it builds, meaning that instead of upgrade one has to uninstall and install it. You could try that, whenever the build fails. But the srchctrl.h missing is something I saw while building wxPython 2.8.0.1 against wxWidge

Re: Universal Binaries

2007-02-23 Thread Ryan Schmidt
On Feb 23, 2007, at 12:23, Altoine Barker wrote: I'm reading up on universal binaries and such now. I see your point but I think it should be an option or flag that you can choose for any particular port and not default for all ports, unless, an option to choose to the contrary is selected to

Re: Universal Binaries

2007-02-23 Thread Altoine Barker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I know what company you speak of and they will continue to remain nameless, but all they had to do was change the default directory of their program. I found that to be quite amusing myself but a good lesson learned. Well, it was the default directory

Re: Universal Binaries

2007-02-23 Thread Altoine Barker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm reading up on universal binaries and such now. I see your point but I think it should be an option or flag that you can choose for any particular port and not default for all ports, unless, an option to choose to the contrary is selected to address

Re: Apple's X11 Update?

2007-02-23 Thread Ryan Schmidt
On Feb 20, 2007, at 06:41, Tabitha McNerney wrote: I was on a leave of absence for a few months and when I came back I noticed that, in Software Update on our Mac at our office which has Darwin (and now Mac) Ports installed suggested that there is a new X11 update from Apple that among othe

Re: Universal Binaries

2007-02-23 Thread Pau Arumi
En/na Kevin Ballard ha escrit: In general, building something with MacPorts and shipping it as part of an application is a risky business. I strongly recommend building the library yourself instead of relying on MacPorts to do it. One example of this is the app HyperEdit. When the developer ad

Re: Universal Binaries

2007-02-23 Thread Jordan K. Hubbard
There is a corollary to this, which is even if you do bundle up the appropriate MacPorts bits, you're now polluting a namespace that's not really under your control. A commercial company who shall remain nameless found this out to their displeasure when they shipped software which installe

Re: Universal Binaries

2007-02-23 Thread Kevin Ballard
In general, building something with MacPorts and shipping it as part of an application is a risky business. I strongly recommend building the library yourself instead of relying on MacPorts to do it. One example of this is the app HyperEdit. When the developer added the feature where HyperE

Re: Universal Binaries

2007-02-23 Thread Jordan K. Hubbard
Is that one of them-there rhetorical questions? :-) There are lots of good reasons to want universal binaries. For one, it allows you to NFS/AFP/... share a single /opt/local among machines (who says that directory always has to be local?) without having to worry about which architecture

Re: Universal Binaries

2007-02-23 Thread Julian Yu-Chung Chen
Say my application will build a library which statically link to several libraries in MacPorts , so what I need is the universally built library binary. Then my app can just bundle required UB libs. What I can do now is using lipo to stitch intel and ppc binaries together. my .2 cents -

Re: XFree86 / XDarwin and change of hostname

2007-02-23 Thread Daniel J. Luke
On Feb 23, 2007, at 12:01 PM, Kevin Ballard wrote: Most of it. But I'm a bit confused. running xhost says only authorized clients can connect, but the list is empty. This indicates that one of the other mechanisms of access control is active, but my .Xauthority file is empty. So I'm not real

Re: XFree86 / XDarwin and change of hostname

2007-02-23 Thread Kevin Ballard
On Feb 23, 2007, at 11:55 AM, Daniel J. Luke wrote: It seems to me if you use :0.0 as your DISPLAY then it'll connect on the loopback interface rather than using the network interface, and I would expect that to always be allowed to connect. Where do my assumptions break down? Did you rea

Re: XFree86 / XDarwin and change of hostname

2007-02-23 Thread Daniel J. Luke
On Feb 23, 2007, at 11:47 AM, Kevin Ballard wrote: Why wouldn't localhost always be allowed to connect? because multiple users can be logged into a unix machine. Any X11 client can get information from the Xserver about other clients (like keystrokes). It seems to me if you use :0.0 as you

Re: XFree86 / XDarwin and change of hostname

2007-02-23 Thread Kevin Ballard
Why wouldn't localhost always be allowed to connect? It seems to me if you use :0.0 as your DISPLAY then it'll connect on the loopback interface rather than using the network interface, and I would expect that to always be allowed to connect. Where do my assumptions break down? On Feb 23,

Re: some ports

2007-02-23 Thread Ryan Schmidt
That's what was suggested to me regarding gtkwave, which is in the same predicament. Though first we should check if for example FreeBSD ports already hosts the files somewhere; if so, maybe we could use those. On Feb 23, 2007, at 09:33, Kevin Ballard wrote: If there's no versioned downloa

Re: status of gcc42: Fixed!

2007-02-23 Thread Ed Zaron
Upgraded to the latest XCode tools from the Apple Developer Downloads (changed build number of gcc), and then gcc42 built just fine. ~~ Edward D. Zaron Research Associate Hydrodynamic Process and Ecosystems Research Group Department of Civil an

Re: XFree86 / XDarwin and change of hostname

2007-02-23 Thread Daniel J. Luke
On Feb 23, 2007, at 10:38 AM, Kevin Ballard wrote: I'm not particularly familiar with how X servers work, but I thought that usually to connect to a local X server you set your DISPLAY to :0.0 which makes it connect to localhost. Because of the design of X, there are potential security issue

Re: XFree86 / XDarwin and change of hostname

2007-02-23 Thread Kevin Ballard
I'm not particularly familiar with how X servers work, but I thought that usually to connect to a local X server you set your DISPLAY to : 0.0 which makes it connect to localhost. Perhaps installing XFree86 does something to set DISPLAY to your particular hostname? This seems odd, but I don'

Re: Universal Binaries

2007-02-23 Thread Kevin Ballard
I'm curious as to why you want universal binaries. In general, binaries produced via MacPorts can't be copied between platforms, as they need all the libraries they depend on. Sure, you can copy your entire MacPorts /opt/local tree, but outside of doing that it's quite hard to migrate the b

Re: some ports

2007-02-23 Thread Kevin Ballard
If there's no versioned download URL, perhaps we should throw it into svn.macports.org/distfiles? On Feb 22, 2007, at 12:10 PM, Elias Pipping wrote: btw... http://mel.icious.net/macosx/ports/net/fl0p/Portfile version devel categories net i see you're downloadin

Re: Port List

2007-02-23 Thread Kevin Ballard
Sorry, no. It would be nice to have that at some point, but right now the website doesn't really have a lot on it. And hey, fancy seeing you here. Haven't seen your name in years ;) -Kevin Ballard On Feb 22, 2007, at 10:20 AM, Lorin Rivers wrote: is there an updated list of available ports

Re: XFree86 / XDarwin and change of hostname

2007-02-23 Thread Daniel J. Luke
On Feb 23, 2007, at 1:15 AM, Tabitha McNerney wrote: Today I needed to change the hostname of a Mac (running 10.4.8) which has previously been installed with numerous MacPorts including XDarwin via XFree86. After changing the hostname and then running: how did you change the hostname? Did

Re: gtk2: gtkprintbackendcups.c compile error

2007-02-23 Thread Teus Benschop
Thanks for the patch. However, I do need the printing functionality too. The problem seems to be in the Portfile, and with a little fix it builds fine. Teus. Andreas Wuest wrote: I had a similar problem earlier on with gtk 2.10.2 on OS 10.4 (a newer gtk version then fixed it for me). I've po

Re: gtk2: gtkprintbackendcups.c compile error

2007-02-23 Thread Andreas Wuest
Hi Teus On 2/21/07, Teus Benschop <[EMAIL PROTECTED]> wrote: Hi, Trying to install gtk2 using command sudo port install gtk2, it gives the errors given below. It happens on OS 10.3. Does anybody know how to get around this? I had a similar problem earlier on with gtk 2.10.2 on OS 10.4 (a ne