This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygport no longer removes "cygwin" from the dependency list


Yaakov Selkowitz writes:
> Good catch.  OTOH, we were only skipping the 'cygwin' dep in setup.hint
> because of an issue with deptree ordering of postinstall scripts.  Given
> the recent changes to postinstall handling in setup, is there any reason
> we can't just stop ignoring the cygwin dep?

I'm not aware that this would have changed the dependency order.  Doing
this would probably require to postpone base package deps in general.
I'll have to do some things in setup to re-instate the possibility of
pruning an installation in unattended mode.  I'll have a look, but can't
promise I'll have enough time to get to the dependency issue.  Here's a
patch to fix that instance in cygport instead:

>From f4113a1776d35dd39ee3a3aa114495635782a300 Mon Sep 17 00:00:00 2001
From: Achim Gratz <Stromeko@Stromeko.DE>
Date: Thu, 7 May 2015 22:08:18 +0200
Subject: [PATCH] lib/pkg_pkg.cygpart: Cygwin is at version 2.x now...

---
 lib/pkg_pkg.cygpart | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pkg_pkg.cygpart b/lib/pkg_pkg.cygpart
index da8c9b2..acd4cf9 100644
--- a/lib/pkg_pkg.cygpart
+++ b/lib/pkg_pkg.cygpart
@@ -737,7 +737,7 @@ __pkg_dist() {
 			if [ "${CBUILD##*-}" = "cygwin" ]
 			then
 				pkg_bin_requires=$(__list_deps $(sort -fu ${T}/.${pkg_name[${n}]}.lst | sed -e '\|/$|d;s| |^_^|g') \
-						   | sort -fu | sed -e "/^cygwin-1/d;/^${pkg_name[${n}]}-[0-9].*$/d;s/-[0-9].*$//g" \
+						   | sort -fu | sed -e "/^cygwin-[12]/d;/^${pkg_name[${n}]}-[0-9].*$/d;s/-[0-9].*$//g" \
 						   | sed -e ':a;N;$!ba;s/\n/ /g')
 				__step "${pkg_name[${n}]} requires: ${pkg_bin_requires} ${!pkg_requires_var}"
 			else
-- 
2.3.7


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]