X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9B75B3858D34
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
 spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca
X-Authority-Analysis: v=2.3 cv=ecemg4MH c=1 sm=1 tr=0
 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17
 a=IkcTkHD0fZMA:10 a=YaI9pmRPAAAA:8 a=jChkm-x5hCMFubTIiR0A:9 a=QEXdDO2ut3YA:10
 a=mxkwSORSkEYA:10 a=-FEs8UIgK8oA:10 a=NWVoK91CQyQA:10
 a=NXX4FGa4qxsYzFNkQVSG:22
Subject: Re: [ANNOUNCEMENT] Updated: gnuplot-5.4.0-1
References: <announce.87wo312r5w.fsf@Rainer.invalid>
 <033ce47e-81e1-a0f2-64e3-54dc28685036@towo.net>
 <f418c2fb-f463-a8c3-8c96-289a567a32b1@towo.net>
 <bb28af15-52b0-26b1-0ea0-2f4ffa067382@towo.net>
 <fa38e246-80d0-5740-c52b-0ee1a4a43f66@SystematicSw.ab.ca>
 <4ace67ed-914f-3107-7f4f-74b11c83c056@SystematicSw.ab.ca>
To: cygwin@cygwin.com
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual;
 keydata=
 mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0
 LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA
 PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW
 AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO
 WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB
 BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5
 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF
 IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5
 RSyTY8X+AQ==
Organization: Systematic Software
Message-ID: <f8ad1ef6-dc99-2ad0-14d8-f15d3d505fd7@SystematicSw.ab.ca>
Date: Sat, 18 Jul 2020 13:47:34 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <4ace67ed-914f-3107-7f4f-74b11c83c056@SystematicSw.ab.ca>
Content-Language: en-CA
X-CMAE-Envelope: MS4wfEzI2MHjjsP42b6EeNJ/p99fX0J/FAGEvJG9/mm6N1DZIwkjRE77hPct5nUBTch7rcNHIUb9yEiTSd9oSt1yF6MD3TifGe1zDd/5VYIht/LHgZYgKTNk
 Pfhcz/e5GshNjkJIrZeaTd0WfxS1cSm6sYHhr1KiaU78QU/gkYZKmRFYwAgM8UmWsIYviJ4a70TDpQ==
X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_INFOUSMEBIZ, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, RCVD_IN_DNSWL_LOW,
 SPF_HELO_NONE, SPF_NONE, TXREP, URIBL_SBL,
 URIBL_SBL_A autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Type: text/plain; charset="utf-8"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 06IK35nd022130

On 2020-07-18 13:37, Brian Inglis wrote:
> On 2020-07-18 11:45, Brian Inglis wrote:
>> On 2020-07-18 10:45, Thomas Wolff wrote:
>>> Am 18.07.2020 um 18:40 schrieb Thomas Wolff:
>>>> Am 18.07.2020 um 18:31 schrieb Thomas Wolff:
>>>>> Am 18.07.2020 um 09:55 schrieb Achim Gratz:
>>>>>> Gnuplot version 5.4.0 is now available on Cygwin.  The upstream release
>>>>>> notes are available at:
>>>>>> http://www.gnuplot.info/ReleaseNotes_5_4.html
>>>>>> Cygwin Notes
> 
>>>>>> Depending on which packages you install running plain
>>>>>> "gnuplot" will dispatch different executables via the alternatives
>>>>>> system.
> 
>>>>> running setup, gnuplot-base is updated from 5.4 rc2 to 5.4, but package
>>>>> gnuplot has vanished.
> 
>>>> Errh, which you explained above, sorry. Anyhow, gnuplot.exe did not get
>>>> installed.
> 
>>> OK, it's called gnuplot-base now. Is it a good idea to drop plain gnuplot as an
>>> invocation name?
> 
>> Release notes suggest there should be a file /var/lib/alternatives/gnuplot to
>> define a symlink /bin/gnuplot to /etc/alternatives/gnuplot and that symlinks to
>> /bin/gnuplot-base.
>>
>> Please check if /etc/postinstall/gnuplot.sh.done exists and completed
>> successfully in /var/log/setup.log.full or /var/log/setup.log and the
>> alternatives were created successfully, as above.
> 
> Script to setup postinstall alternatives is actually called gnuplot-base.dash
> and the executable name does not look as if alternatives will use it:
> 
> $ tar -x -O \
> -f mirror/x86_64/release/gnuplot/gnuplot-base/gnuplot-base-5.4.rc2-0.tar.xz \
> 	etc/postinstall/gnuplot-base.dash
> /usr/sbin/alternatives --install /usr/bin/gnuplot gnuplot
> /usr/bin/gnuplot-{BB}.exe 10
> 
> AFAIK alternatives is not going to do anything special with gnuplot-*{BB}*.exe:
> perhaps intended to be generated with "*$*{BB}" == "base" but missing *$*?

Yup, should have checked further earlier - missing *$* before {BB} in
postinstall/preremove alternatives script generation:

$ fgrep -C1 alternatives gnuplot-5.4.rc2-0.src/gnuplot-5.4.rc2-0.cygport
                    cat > ${PN}-${BB}.postinstall <<EOF
/usr/sbin/alternatives --install /usr/bin/gnuplot gnuplot
/usr/bin/gnuplot-{BB}.exe ${APRIO}							<<<!!!
EOF
--
                    cat > ${PN}-${BB}.preremove <<EOF
/usr/sbin/alternatives --remove gnuplot /usr/bin/gnuplot-{BB}.exe	<<<!!!
EOF

Need a 5.4.0-2 soon!

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

