From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-047.btinternet.com (mailomta21-re.btinternet.com [213.120.69.114]) by sourceware.org (Postfix) with ESMTPS id D35D93858D32 for ; Tue, 21 Feb 2023 14:11:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D35D93858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk Received: from re-prd-rgout-003.btmx-prd.synchronoss.net ([10.2.54.6]) by re-prd-fep-047.btinternet.com with ESMTP id <20230221141146.BRR20465.re-prd-fep-047.btinternet.com@re-prd-rgout-003.btmx-prd.synchronoss.net>; Tue, 21 Feb 2023 14:11:46 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 61A69BAC43C17186 X-Originating-IP: [81.153.98.246] X-OWM-Source-IP: 81.153.98.246 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrudejjedgiedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeekieeuhfefffegudeuueekudeukedtteevveekieegueehgfetvefgvefhjedtkeenucffohhmrghinhepghhithhhuhgsrdhiohenucfkphepkedurdduheefrdelkedrvdegieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtiegnpdhinhgvthepkedurdduheefrdelkedrvdegiedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtoheptgihghifihhnqdgrphhpshestgihghifihhnrdgtohhmpdhrtghpthhtohepthgrkhgrshhhihdrhigrnhhosehnihhfthihrdhnvgdrjhhp X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.106] (81.153.98.246) by re-prd-rgout-003.btmx-prd.synchronoss.net (5.8.716.04) (authenticated as jonturney@btinternet.com) id 61A69BAC43C17186; Tue, 21 Feb 2023 14:11:46 +0000 Message-ID: <907d2252-5372-c587-5d2c-aa8637b36e54@dronecode.org.uk> Date: Tue, 21 Feb 2023 14:11:46 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [ITP] openh264 (2.3.1) To: Takashi Yano , "cygwin-apps@cygwin.com" References: <20230205173745.cf6aa7153ce8eae1dfd52c4c@nifty.ne.jp> <61e8a80b73a2d431afa338bd274dac17c5c87e25.camel@cygwin.com> <20230206142523.23a3b4b02cf8a8c5ef54b9f0@nifty.ne.jp> <20230210140531.673c73c9e3c2f8682418e803@nifty.ne.jp> <20230210141850.bfb1fbe60f09ef83d7407374@nifty.ne.jp> <20230210142534.18683ad2cd9e61e21d8fa8ab@nifty.ne.jp> <0e72ab79-fa2b-71fb-c453-3e29590ea7e4@dronecode.org.uk> <846e51c3-f96b-348a-a6aa-2b12bb74376d@Shaw.ca> <20230214181138.b1ecbd47e2ed919ed49cc714@nifty.ne.jp> <87cz6cwlv6.fsf@Otto.invalid> <20230214212801.83ead05c9df51b281e26baf4@nifty.ne.jp> <878rh0w66r.fsf@Otto.invalid> <20230215062152.474ad26d8c3b4a9bd0d2bb82@nifty.ne.jp> <20230217174959.c4172f9b903763dc58df4320@nifty.ne.jp> <3fcd159f-3925-d541-8a91-ef7431608a00@dronecode.org.uk> <20230220175514.5e7cd25af4eabfa7e0e4e1dd@nifty.ne.jp> Content-Language: en-GB From: Jon Turney In-Reply-To: <20230220175514.5e7cd25af4eabfa7e0e4e1dd@nifty.ne.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1191.1 required=5.0 tests=BAYES_00,FORGED_SPF_HELO,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 20/02/2023 08:55, Takashi Yano via Cygwin-apps wrote: > On Sun, 19 Feb 2023 15:37:47 +0000 > Jon Turney wrote: [...]>> * I don't think you should need: >> >>> # Install postinstall/preremove scripts >>> mkdir -p ${D}/etc/postinstall ${D}/etc/preremove >>> cp ${C}/lib${NAME}.postinstall ${D}/etc/postinstall/lib${NAME}.sh >>> cp ${C}/lib${NAME}.preremove ${D}/etc/preremove/lib${NAME}.sh >>> >> >> This should happen automatically if the files are in $C (and you can >> list them in CYGWIN_FILES or make them with cygwin.patch file to put >> them there) > > That's what I understood from > https://cygwin.github.io/cygport/masterindex.html, > however, actually libopenh264.{postinstall,preremove} are > not installed during install process by cygport 0.36.0 > even though openh264-2.3.1-1.cygwin.patch exists. > > Could you please give me a hint how I can make it work? Aha! This is a bug in cygport. (There's some code which skips over doing this for the first item in PKG_NAMES, assuming that is always the same as PN, which has already been done) Thanks for drawing that to my attention. I'll look into fixing it, but for the moment it seems you can workaround the bug by ensuring that the package with premove/postinstall scripts isn't first in that list, i.e.: - PKG_NAMES="libopenh264 libopenh264-headers" + PKG_NAMES="libopenh264-headers libopenh264"