From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-048.btinternet.com (mailomta29-sa.btinternet.com [213.120.69.35]) by sourceware.org (Postfix) with ESMTPS id D9B713858C5E for ; Thu, 23 Feb 2023 12:54:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D9B713858C5E 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 sa-prd-rgout-005.btmx-prd.synchronoss.net ([10.2.38.8]) by sa-prd-fep-048.btinternet.com with ESMTP id <20230223125405.CXYO1091.sa-prd-fep-048.btinternet.com@sa-prd-rgout-005.btmx-prd.synchronoss.net>; Thu, 23 Feb 2023 12:54:05 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 6139452E50C590AC 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: gggruggvucftvghtrhhoucdtuddrgedvhedrudekuddggeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeekieeuhfefffegudeuueekudeukedtteevveekieegueehgfetvefgvefhjedtkeenucffohhmrghinhepghhithhhuhgsrdhiohenucfkphepkedurdduheefrdelkedrvdegieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtiegnpdhinhgvthepkedurdduheefrdelkedrvdegiedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtoheptgihghifihhnqdgrphhpshestgihghifihhnrdgtohhmpdhrtghpthhtohepthgrkhgrshhhihdrhigrnhhosehnihhfthihrdhnvgdrjhhp X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.106] (81.153.98.246) by sa-prd-rgout-005.btmx-prd.synchronoss.net (5.8.716.04) (authenticated as jonturney@btinternet.com) id 6139452E50C590AC; Thu, 23 Feb 2023 12:54:05 +0000 Message-ID: Date: Thu, 23 Feb 2023 12:54:04 +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> <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> <907d2252-5372-c587-5d2c-aa8637b36e54@dronecode.org.uk> <20230222123308.5d171a96c957cc5be9eb2500@nifty.ne.jp> Content-Language: en-GB From: Jon Turney In-Reply-To: <20230222123308.5d171a96c957cc5be9eb2500@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 22/02/2023 03:33, Takashi Yano via Cygwin-apps wrote: > On Tue, 21 Feb 2023 14:11:46 +0000 > Jon Turney wrote: >> 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" > > Thanks! It works. > > I updated the cygport file and cygwin.patch. GTG.