zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: (but not for the archive): zsh icon for cygwin
@ 2000-08-11 15:49 Peter Stephenson
  2000-08-14 17:09 ` Andrej Borsenkow
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2000-08-11 15:49 UTC (permalink / raw)
  To: Zsh hackers list

This provides rudimentary cygwin resources support, in particular an icon
which will be associated with zsh.exe.  If you untar it in the top level
directory, run `make prep' in Src, and add zsh/resources to the list of
modules to be built in (N.B. --- it makes no sense as a DLL), then remake,
this should work.  Warning: my knowledge of Windows resources and my
graphical ability are both zero.  I based the resources aspect on `I copied
this from somewhere else and it seemed to work', and the graphics aspect on
`Suppose I just write Zsh with the Z in big letters'.  Please feel free to
improve the module in both areas.

I won't commit it in this form because it's currently a pain to get this
always compiled in for cygwin and never even compiled anywhere else.
That's something the wonderful new all-singing, all-dancing module-choosing
system which none of us is writing should probably be able to do
(e.g. flags for: default is to load dynamically, default is to compile in,
default is not to compile at all, which can be based on information found
by configure).

begin 644 zsh-resources.tar.gz
M'XL( /(=E#D  ^U87V_;-A!WBKU$+VY>]GSP^I 6CBW'3@)D*= LV88 2ULT
M&P8, PI:HBQNDJB25#QO&)#OE9=\G#WZ&WAWE"PI2=L$@Y&BF'ZVPW_'X]WO
MCA2C,^7U3Z6?15SW%=<R4Q[7/:^U2K@#U]T=C5JNZVZ[@QTJW4'>)@S=W=V6
MNS<8[>#@]A[6!Z/!<-@"=Z56? "9-DP!M-*IOD..JX]+?);H/W/@&=0B#UO@
M9W$\@T!$' *IX&>1^'*J*R&(;<+T<"9-_C$4.I?&,F7*@ S@3QUVP80<?@$=
M\BA:"A_)=*;$)#2PZ3V%U]QP!6>&IR%/M$RZL(T)07*'4016SJ[+U3GWERI>
M<Q4+K85,:,&0*SZ>P42QQ'"_"U-A0ID9F"IA#$^ 313G,4\,L,1?CI*:2'BX
M)@?T4,D9BPRZS+E&JR5@L+O@H:E=\E4$6-)L7VBCQ#@S'%T3FK1H&9@I4]R.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CR^T=YH
M7U[.-S9J$U#?VN-K^A;SC?:U=B$P;RWF[1:U<X'6O%VT"X%R/!>8M\NV%:C)
M6P'29]=?E!KF[471SI>HVKE K;TTLN2C\*)L%P(57[E U<X%:GQ:@5K;"B!?
M958@G0O+7T4GR:]=YWLQKP5D<3M>=^ _)6R#%>+F^:]6^^K/XL[[WTY^_H_V
M]HKW?\/!=G/^/PCZ??A)YZ^S\G=X3!<OE+33[^,7XAE+TQ[_@\-^49=%B7<P
M$EC'?PXGG@=;\;1X4WA+C"YY3UZ0<*61NI<:\>*XO&'VPJ7.]]\54<W)\9NW
MIX<G+[][<WCZ+50X.7KUDLKCD[.CPS?'A]_\D(]VBHM-I[DG-FC0H$&#!@T:
4-&C0H$&#!@W^A_@7@<_-   H  "C
 
end


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: PATCH: (but not for the archive): zsh icon for cygwin
  2000-08-11 15:49 PATCH: (but not for the archive): zsh icon for cygwin Peter Stephenson
@ 2000-08-14 17:09 ` Andrej Borsenkow
  2000-08-15  9:34   ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Andrej Borsenkow @ 2000-08-14 17:09 UTC (permalink / raw)
  To: Peter Stephenson, Zsh hackers list


> This provides rudimentary cygwin resources support, in particular an icon
> which will be associated with zsh.exe.  If you untar it in the top level
> directory, run `make prep' in Src, and add zsh/resources to the list of
> modules to be built in (N.B. --- it makes no sense as a DLL),
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^

That's the problem. Currently, on systems that need external shared library,
even "built-in" modules will be compiled into this library and not into the
main executable.

So, I think, it makes more sense if it will be added as additional dependency
to main zsh.exe. This can happily live in Makefile; just dependency will be
added under Cygwin.

-andrej


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PATCH: (but not for the archive): zsh icon for cygwin
  2000-08-14 17:09 ` Andrej Borsenkow
@ 2000-08-15  9:34   ` Peter Stephenson
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 2000-08-15  9:34 UTC (permalink / raw)
  To: Zsh hackers list

Andrej wrote:
> So, I think, it makes more sense if it will be added as additional dependency
> to main zsh.exe. This can happily live in Makefile; just dependency will be
> added under Cygwin.

If you can see how to do that easily via the current cygwin configuration
tests, send a patch and I will commit the appropriate bits (probably only
zsh.rc and zsh.ico would be needed, resources.c is just a dummy file to
make it look like a normal library module and the module header can be
removed if the dependencies are going into the makefile).

-- 
Peter Stephenson <pws@csr.com>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-08-15  9:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-11 15:49 PATCH: (but not for the archive): zsh icon for cygwin Peter Stephenson
2000-08-14 17:09 ` Andrej Borsenkow
2000-08-15  9:34   ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).