From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: PATCH: (incomplete - see 12594) icon for zsh under Cygwin
Date: Wed, 16 Aug 2000 15:29:30 +0400 [thread overview]
Message-ID: <000301c00775$3e6e2db0$21c9ca95@mow.siemens.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
This is the most straightforward solution. The patch is incomplete - you need
Srz/zsh.ico and Src/zsh.rc from Peter's 12594 (but note, that in this archive
they are in Src/Modules; beware when extracting). I could not convince GNU
diff 2.7 to diff binary file.
I modified Makefile rules; original had obvious problem when building in
source directory.
-andrej
Have a nice DOS!
B >>
[-- Attachment #2: zsh-icon.diff --]
[-- Type: application/octet-stream, Size: 1805 bytes --]
Index: configure.in
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.in,v
retrieving revision 1.25
diff -u -r1.25 configure.in
--- configure.in 2000/08/15 05:13:41 1.25
+++ configure.in 2000/08/16 11:14:07
@@ -1693,6 +1693,10 @@
AC_SUBST(INSTLIB)dnl
AC_SUBST(UNINSTLIB)dnl
+if test x"$ac_cv_cygwin" = xyes; then
+ EXTRAZSHOBJS="$EXTRAZSHOBJS zsh.res.o"
+fi
+
AC_DEFINE_UNQUOTED(DL_EXT, "$DL_EXT")dnl
AC_SUBST(D)dnl
AC_SUBST(DL_EXT)dnl
@@ -1708,6 +1712,7 @@
AC_SUBST(MOD_EXPORT)dnl
AC_SUBST(MOD_IMPORT_VARIABLE)dnl
AC_SUBST(MOD_IMPORT_FUNCTION)dnl
+AC_SUBST(EXTRAZSHOBJS)
CLEAN_MK="${srcdir}/Config/clean.mk"
CONFIG_MK="${srcdir}/Config/config.mk"
Index: Src/Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Makefile.in,v
retrieving revision 1.5
diff -u -r1.5 Makefile.in
--- Src/Makefile.in 2000/08/02 18:01:51 1.5
+++ Src/Makefile.in 2000/08/16 11:14:08
@@ -78,14 +78,19 @@
LDRUNPATH = LD_RUN_PATH=$(libdir)/$(tzsh)
NDRUNPATH =
-zsh$(EXEEXT): $(@L@IBZSH) $(@L@STMP) $(MAIN_OBJS) zsh.export
+EXTRAZSHOBJS = @EXTRAZSHOBJS@
+
+zsh$(EXEEXT): $(@L@IBZSH) $(@L@STMP) $(MAIN_OBJS) zsh.export $(EXTRAZSHOBJS)
rm -f $@
- $(@L@DRUNPATH) $(LINK) $(MAIN_OBJS) $(@L@LIST) $(ZSH_@E@XPORT) $(@L@IBZSH) $(LIBS)
+ $(@L@DRUNPATH) $(LINK) $(MAIN_OBJS) $(EXTRAZSHOBJS) $(@L@LIST) $(ZSH_@E@XPORT) $(@L@IBZSH) $(LIBS)
$(LIBZSH): $(LIBOBJS) $(NSTMP)
rm -f $@
$(DLLINK) $(LIBOBJS) $(NLIST) $(LIBS)
+zsh.res.o: $(sdir)/zsh.rc $(sdir)/zsh.ico
+ windres -O coff --include-dir $(sdir) -i $(sdir)/zsh.rc -o zsh.res.o
+
stamp-modobjs: modobjs
@if cmp -s stamp-modobjs.tmp stamp-modobjs; then \
rm -f stamp-modobjs.tmp; \
next reply other threads:[~2000-08-16 11:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-16 11:29 Andrej Borsenkow [this message]
2000-08-16 13:34 ` Peter Stephenson
2000-08-16 13:49 ` Andrej Borsenkow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000301c00775$3e6e2db0$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).