On 8/9/12 1:25 PM, Patterson, James wrote:
> OK. I will have to await that patch as I am not knowledgeable enough to edit
> a patch file with that information.
> Thanks for the help!
>
> JP
>
> -----Original Message-----
> From: Alexander Hansen [mailto:alexanderk.han...@gmail.com]
> Sent: Thursday, August 09, 2012 2:49 PM
> To: Patterson, James
> Cc: fink-beginners@lists.sourceforge.net
> Subject: Re: [Fink-beginners] Problem compiling TightVNC
>
> On 8/9/12 12:30 PM, Patterson, James wrote:
>> OK...what do I do with that?
>>
>> I guess I am saying it did stop the build in my case...
>
> Ultimately, yes. What I meant was that it didn't immediately cause the build
> to end.
>
>>
>> If I try to edit AuUnlock.c it just gets changed back to the original.
>>
>> It may be helpful to interject here that I am fairly resourceful at
>> compiling things that are not broken, but have never fixed things that
>> wouldn't compile at this level of difficulty...
>>
>
> fink doesn't support editing in the source tree--when you issue a new "fink"
> command, the original source gets used. To have changes persist, you'd need
> to append them to the tightvnc.patch file as diffs from the original source
>
> Older gcc compilers, like those from 10.6 and earlier, apparently just
> ignored this error.
>
> We're working on it at this end, too.
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/
>
I've attached a tightvnc.info which worked for me under some limited
testing. Give it a try.
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
Package: tightvnc
Version: 1.3.10
Revision: 1
Source: mirror:sourceforge:vnc-tight/tightvnc-%v_unixsrc.tar.bz2
SourceDirectory: vnc_unixsrc
BuildDepends: libjpeg8, x11-dev, xmkmf
Depends: x11, libjpeg8-shlibs
PatchFile: %n.patch
PatchFile-MD5: 37de3f8a80cd45043824cf53daa5837d
PatchScript: <<
%{default_script}
#!/bin/sh -ev
perl -pi -e ' s,(ZLIB_INC\s=\s).*,\1,; \
s,(JPEG.*)/usr/local(.*),\1%p\2,g; \
s,(-I../include\s-I.\s)\$\(ZLIB_INC\)\s(\$\(JPEG_INC\)).*,\1\2,; \
s,(ZLIB_LIB\s=\s).*(\s-lz),\1\2,'
vncviewer/Imakefile
<<
UseMaxBuildJobs: false
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
xmkmf
make World CC=cc LOCAL_LDFLAGS="-force_flat_namespace -L%p/lib"
EXTRAINCLUDE=-I%p/include
pushd Xvnc
unset IMAKEINCLUDE
./configure
find . -name Makefile -exec perl -pi -e 's,(CCOPTIONS.*),\1
-Wno-return-type,g' {} +
make
popd
<<
InstallScript: <<
mkdir -p %i/bin
mkdir -p %i/share/vnc/classes
mkdir -p %i/share/man/man1
./vncinstall %i/bin %i/share/man
cp ./classes/* %i/share/vnc/classes
<<
License: GPL
DocFiles: LICENCE.TXT README ChangeLog WhatsNew
Description: Enhanced version of VNC
DescDetail: <<
Installs vnc with various encoding enhancements, plus
addition of '-tunnel' option to viewer.
<<
DescPort: <<
Uses Imake.
Requires XFree86 development stuff (Xprog.tgz), and perl.
#Includes tight encoding patches.
User must add /usr/X11R6/bin to PATH in order to run vncserver.
The "-localhost" and "-inetd" options for Xvnc are broken on MacOS X/Darwin.
Includes mini http server and java applet for remote access via a web browser.
Detailed usage instructions at http://www.uk.research.att.com/vnc.
Fix some implicit declarations of system functions.
Remove Xos.h includes that don't seem to work (too much fiddling with
tokens earlier?) and aren't needed (re-add in specific .c if we find
implicit declarations).
Fix fink-path flag-passing for compiler.
Darwin doesn't have libcrypt (and doesn't seem to need it)
<<
Conflicts: vnc
Replaces: vnc
Provides: vnc
Maintainer: Jack Fink <jackf...@users.sourceforge.net>
Homepage: http://www.tightvnc.com
Source-MD5: 397b35faad32d5246b6d44b142f8304f
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners