public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin-apps@cygwin.com
Subject: Re: [ACTION REQUIRED] ARCH=noarch uploads with cygport 0.22.0
Date: Wed, 11 May 2016 22:17:00 -0000	[thread overview]
Message-ID: <3fd5ba16-85e7-9a9d-288a-f90ddc41e4c8@cygwin.com> (raw)
In-Reply-To: <5733AA48.4020506@cornell.edu>

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]

On 2016-05-11 16:55, Ken Brown wrote:
> On 5/11/2016 4:35 PM, Yaakov Selkowitz wrote:
>> I haven't moved these yet, but what about the rest of the collections?
>> IIRC the
>> TEXLIVE_ARCH_PKGS do have CPU-cygwin paths in the "sources", but are they
>> *really* archful?
>
> No, the only issue is the sources.  As it stands, if someone downloads
> the source from one arch and tries to build on the other, cygport will
> complain about missing source packages.  Of course, running 'cygport
> fetch' will fix that, so it's not a big deal.
>
> Maybe in the future we should add the TEXLIVE_ARCH_PKGS for both CPUs to
> the sources, and then there's no issue at all.

How about the attached?

-- 
Yaakov

[-- Attachment #2: 0002-texlive-make-collection-packages-noarch.patch --]
[-- Type: text/plain, Size: 2204 bytes --]

From 6267002753ed243947f95fd153d1d3d53bc8b7bf Mon Sep 17 00:00:00 2001
From: Yaakov Selkowitz <yselkowi@redhat.com>
Date: Wed, 11 May 2016 17:12:20 -0500
Subject: [PATCH 2/2] texlive: make collection packages noarch

TeX Live collections, as built by cygport, are not really archful but some
of the paths in the sources are, even though the symlinks or scripts therein
are identical.  Handling both "arches" at once allows us to make all
collections noarch.
---
 cygclass/texlive.cygclass | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/cygclass/texlive.cygclass b/cygclass/texlive.cygclass
index f67a627..b8a06d5 100644
--- a/cygclass/texlive.cygclass
+++ b/cygclass/texlive.cygclass
@@ -98,11 +98,6 @@ support for many languages around the world."
 HOMEPAGE="http://www.tug.org/texlive/"
 #****
 
-case ${ARCH} in
-i686)	TEXLIVE_ARCH="i386-cygwin" ;;
-x86_64)	TEXLIVE_ARCH="x86_64-cygwin" ;;
-esac
-
 #****o* texlive.cygclass/SRC_URI (texlive)
 #  DESCRIPTION
 #  SRC_URI is constructed automatically based on the value of TEXLIVE_TEXMF_PKGS,
@@ -121,7 +116,8 @@ done
 for pkg in ${TEXLIVE_ARCH_PKGS//,/ }
 do
 	SRC_URI+=" ${tlnet}/archive/$pkg.tar.xz"
-	SRC_URI+=" ${tlnet}/archive/$pkg.${TEXLIVE_ARCH}.tar.xz"
+	SRC_URI+=" ${tlnet}/archive/$pkg.i386-cygwin.tar.xz"
+	SRC_URI+=" ${tlnet}/archive/$pkg.x86_64-cygwin.tar.xz"
 done
 for pkg in ${TEXLIVE_DOC_PKGS//,/ }
 do
@@ -131,6 +127,7 @@ unset pkg tlnet
 
 SRC_DIR="."
 
+ARCH=noarch
 
 #****I* texlive.cygclass/texlive_install
 #  SYNOPSIS
@@ -151,7 +148,7 @@ texlive_install() {
 	done
 	for pkg in ${TEXLIVE_ARCH_PKGS//,/ }
 	do
-		pkgs+="$pkg $pkg.${TEXLIVE_ARCH} "
+		pkgs+="$pkg $pkg.i386-cygwin $pkg.x86_64-cygwin "
 	done
 	for pkg in ${TEXLIVE_DOC_PKGS//,/ }
 	do
@@ -172,7 +169,7 @@ texlive_install() {
 			*.bat)
 				# only needed for native Win32
 				continue ;;
-			bin/${TEXLIVE_ARCH}/*)
+			bin/i386-cygwin/*)
 				if [ ! -L ${f} ]
 				then
 					dobin $f
@@ -185,6 +182,9 @@ texlive_install() {
 					esac
 				fi
 				continue ;;
+			bin/x86_64-cygwin/*)
+				# duplicate to i386-cygwin handled above
+				continue ;;
 			*doc/info/dir)
 				# system-managed file
 				continue ;;
-- 
2.8.0


  reply	other threads:[~2016-05-11 22:17 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-10 22:11 Yaakov Selkowitz
2016-05-11  5:07 ` Marco Atzeri
2016-05-11  6:17   ` Yaakov Selkowitz
2016-05-11 16:26     ` David Stacey
2016-05-11 20:15       ` Yaakov Selkowitz
2016-05-17 22:07         ` David Stacey
2016-05-11 17:56     ` Marco Atzeri
2016-05-11 20:08       ` Yaakov Selkowitz
2016-05-11  6:12 ` Thomas Wolff
2016-05-11 15:31   ` Yaakov Selkowitz
2016-05-11  8:15 ` Andrew Schulman
2016-05-11 15:26   ` Yaakov Selkowitz
2016-05-11 16:36 ` Eric Blake
2016-05-11 17:59   ` Yaakov Selkowitz
2016-05-11 17:26 ` Ken Brown
2016-05-11 20:35   ` Yaakov Selkowitz
2016-05-11 21:54     ` Ken Brown
2016-05-11 22:17       ` Yaakov Selkowitz [this message]
2016-05-11 22:30         ` Ken Brown
2016-05-12  1:59           ` Yaakov Selkowitz
2016-05-12  2:00     ` Yaakov Selkowitz
2016-06-06 15:28       ` Ken Brown
2016-06-06 16:54         ` Yaakov Selkowitz
2016-05-11 18:38 ` Marco Atzeri
2016-05-11 20:48   ` Yaakov Selkowitz
2016-05-11 21:02     ` Marco Atzeri
2016-05-11 21:31       ` Yaakov Selkowitz
2016-06-06 16:58         ` Yaakov Selkowitz
2016-06-07 11:23           ` Marco Atzeri
2016-06-07 21:44             ` Yaakov Selkowitz
2016-06-07 23:41               ` Marco Atzeri
2016-06-09 18:37                 ` Marco Atzeri
2016-05-12  2:07   ` Yaakov Selkowitz
2016-05-12 10:45 ` Adam Dinwoodie
2016-05-12 15:10   ` Yaakov Selkowitz
2016-05-12 12:09 ` Achim Gratz
2016-05-12 15:10   ` Yaakov Selkowitz
2016-05-21 16:43   ` Achim Gratz
2016-05-26 19:45     ` Yaakov Selkowitz
2016-05-26 20:02       ` Achim Gratz
2016-05-13 11:12 ` JonY
2016-05-13 14:41   ` Yaakov Selkowitz
2016-05-18 15:15 ` Corinna Vinschen
2016-05-18 16:06   ` Yaakov Selkowitz
2016-06-06 22:24 ` Yaakov Selkowitz
2016-06-06 22:39   ` Ken Brown
2016-06-06 23:59     ` Ken Brown
2016-06-07 15:16       ` Yaakov Selkowitz
2016-06-06 23:25   ` Warren Young
2016-06-07  8:23   ` Jari Aalto
2016-06-07 10:02   ` Corinna Vinschen
2016-06-09  5:12     ` [ACTION REQUIRED] ARCH=noarch uploads with cygport 0.22.0 (+ python-feedparser) Jari Aalto
2016-06-11  7:15       ` [ACTION REQUIRED] ARCH=noarch uploads with cygport 0.22.0 (+ python-logilab-*) Jari Aalto
2016-06-07 10:07   ` [ACTION REQUIRED] ARCH=noarch uploads with cygport 0.22.0 Marco Atzeri
2016-06-07 13:58   ` Eric Blake
2016-06-07 15:14     ` Yaakov Selkowitz
2016-06-07 15:34       ` Eric Blake
2016-06-07 19:59   ` Achim Gratz
2016-06-07 21:30     ` Yaakov Selkowitz
2016-06-08 18:51     ` Achim Gratz
2016-06-10 14:11   ` Jon Turney
2016-07-08  5:21     ` Yaakov Selkowitz
2016-06-28 19:38 ` Dr. Volker Zell
2016-06-28 19:49   ` Dr. Volker Zell
2016-07-07  6:18     ` Yaakov Selkowitz
2019-06-14 15:36 ` Moving packages between arch and noarch Jon Turney
2019-06-18 17:53   ` Achim Gratz
2019-07-25 18:14     ` [GOLDSTAR] " Achim Gratz
2019-07-25 19:58       ` Andrew Schulman via cygwin-apps

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=3fd5ba16-85e7-9a9d-288a-f90ddc41e4c8@cygwin.com \
    --to=yselkowitz@cygwin.com \
    --cc=cygwin-apps@cygwin.com \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).