Shelton, Vin | 2 Oct 2006 13:41

cygport - patch to support overriding basic configure options

My first attempts seemed to have bounced.  Please ignore any duplicates.

 
Greetings!  Thanks for this most excellent tool.  I was exploring
using it to build XEmacs-21.4.19 and I found that since XEmacs 21.4's
configure doesn't support sbindir among other now-standard options, I
couldn't configure.  I generated the attached patch to address this.
I hope you find the patch useful.  Please include me on follow-ups;
I'm not subscribed to the list.

Regards,
 Vin Shelton
Attachment (cygport.diffs): application/octet-stream, 3507 bytes
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cygwin-ports-general mailing list
Cygwin-ports-general@...
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general
Vin Shelton | 17 Oct 2006 14:15
Picon
Favicon

Re: I broke cygport

Yaakov S (Cygwin Ports) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Charles Wilson wrote:
>> For most purposes, this is transparent.  You run "autoconf" which is the
>> wrapper, and you get "the right" version.  However, cygport explicitly
>> tests for the presence of "autoconf-2.5x" in $PATH.
>>
>> This patch makes cygport's search a little smarter -- and it or
>> something like it is *required* if you want cygport to work after the
>> new autoconf is installed.
>
> I just checked in autoconf-2.60 support to cygport CVS.  Please test.

Yaakov,

Have you had a chance to look at my patch which allows over-riding the
individual configure arguments in cygconf()?  The patch is a
definitely a brute force approach, but something like it is necessary
to support XEmacs (or other packages that don't fully comply with
autoconf conventions).

The original patch can be found here:

http://sourceforge.net/mailarchive/forum.php?thread_id=30677410&forum_id=43555

I will update the patch to the latest version of cygport if you want.

Regards,
(Continue reading)

Yaakov S (Cygwin Ports | 18 Oct 2006 06:50
Picon
Gravatar

Re: I broke cygport


Vin Shelton wrote:
> Have you had a chance to look at my patch which allows over-riding the
> individual configure arguments in cygconf()?  The patch is a
> definitely a brute force approach, but something like it is necessary
> to support XEmacs (or other packages that don't fully comply with
> autoconf conventions).

cygconf is intended only for autoconf-based configure scripts.  I'm not
familiar with XEmacs, but I do know that autoconf-based configures will
just ignore unknown arguments, so I will guess that XEmacs' configure is
not autoconf-based.

Non-autoconf-based configure scripts should do something like:

lndirs
cd ${B}
./configure <args> || error "configure failed"
cygmake

Note that this is consistent with Portage; the current xemacs ebuild[1]
does not use econf either.

[1]
http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/app-editors/xemacs/xemacs-21.4.19.ebuild

> I will update the patch to the latest version of cygport if you want.

In general, all patches for cygport should be made against CVS HEAD, but
I don't think this needs a patch.
(Continue reading)

Nathan Thern | 19 Oct 2006 09:59
Picon
Favicon

libvte?

Hi Yaakov,
A google search turned up pages on http://cygnome2.sourceforge.net/ that imply that libvte has
been built for gnome on cygwin. If so, which package is it in? I like to port scientific and
lisp-based projects to cygwin, so I have a lot of cygwin gnome installed for the libraries; but I
can't seem to find libvte.

I think a posted list of the files installed in each package on cygwinports would be a great
addition to your site. Imagine someone like this (like ME): forced to use windows for everyday
work... installs cygwin to regain some unix feel in his life (everyone knows about cygwin now)...
wants to compile foo, but it fails because libobscure.a is missing... googles for
libobscure+cygwin, but comes up blank and frustrated ... OR ... googles for libobscure+cygwin, and
finds libobscure and obscure.exe waiting for him at cygwinports.

The cygwinports packages have saved several of my efforts, but I kind of fell into your site. A
posted list would really make your cygwinports more findable (OTOH, of course, you might prefer to
keep your bandwidth down)

BTW, autoconf 2.60 has broken cygport. As in, I have to symlink /bin/auto(re)conf-2.5x to
/bin/auto(re)conf-2.60 to restore functionality

regards,
NT

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
(Continue reading)

David Dombrowsky | 20 Oct 2006 18:15
Picon

cygwin gnome port

Does anyone know if there's still someone maintaining a cygwin native
port of gnome?  From the looks of the cygnome sourceforge site, there
hasn't been an update in 2 years on the project.

I ask because I've been trying to compile stock garnome-2.16.0 on cygwin,
with much difficulty.  Most of the problems are build system errors; 
most projects won't automagically make cygwin DLLs correctly.

Is anyone working on this port?

-dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
David Dombrowsky | 22 Oct 2006 20:29
Picon

using cygwin-ports in cygwin setup

A few questions concerning the cygwin setup site posted on the cygwin ports
homepage (ftp://sunsite.dk/projects/cygwinports).  Should it be possible to
use this site to only install, say, the gnome portions; or do you have to
use that site as your main source for cygwin packages?  I tried just downloading
gnome, and it destroyed my system with linking errors.

Second, is there a set of patches that can be applied to stock garnome/gnome
source code so that it will compile on cygwin?  I'm buried in this project
right now, and I'm just wondering if anyone else had already done it.

-dave

http://6thstreetradio.org/~davek/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Gmane