X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=L6S6R eFCt3wSMbKIJVOHyxK4rx6eGrTLAyxuJw3djxjRyyRU/tuIo50++ifu20ijIyyA7 FqDHlIXRj7zeelBuxkdzxTMnMqX952l6QU9P3gGRuFcQXEkI5qJ846V40noUVBsm h8vunJ0an8Zn0lbuzbrmeG2J8Qy60E6gP/efSs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=wbSIQoFW5C/ Jk5eodkjZPdSqVH0=; b=UdMrD78M2G91QfRPF5mcLdX7UVvoiwICuTkHjFn0AvG DwsG8judaAroX8HrjF2nBrS6KBkeZN8r04x5O0AAwej+P16S9+01vK5Z7VJ/P7zC fwCVEBIoRpByeV1untDUQOkW9sOyRemwITX+Sl/UcC/0ERrj2IgHDz2curVa7OUk = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-13.arcor-online.net X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 3lp9F573lLzFBCq From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: cygport: How to use to build and install modified packages References: Date: Fri, 15 May 2015 15:14:33 +0200 In-Reply-To: (Martin Anantharaman's message of "Fri, 15 May 2015 12:29:46 +0200") Message-ID: <87twvej83q.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Martin Anantharaman writes: > In my experimentation with run (see preceding post with subject > "run-1.3.3-1: Unicode text and empty args") I somehow managed to build a > modifed version of a released package (run-1.3.3-1) but feel I have not > found the right way of performing this task - so I ask for some advice (or > referral to some How-To?) based on how I did it: > - Get source: I did that via setup which placed the cygport-file > (run.cygport) and source-archive in /usr/src > - Unpack source: I wanted to do "cygport run prep" - but that failed to > recognize the cygwin-run-1.3.3.tar.bz2 archive and I had to do "cygport run > download" which downloaded cygwin-run-run.tar.bz2 instead. Why? I'm using non-versioned cygport files and have patched cygport to deal with those correctly. The packaged cygport file should have been run-1.3.3-1.cygport for the unpatched cygport version to work correctly. Somehow that's not happening anymore, I'll have to see that how to correct that. The last "-run" is a result of the above and the "cygwin-run" at the beginning is a result of the way cygport deals with Git repositories. Cygport seems to prefer the versioned package file if it finds one over the Git snapshot, I'm not sure if that's the way it should be. > - Install: I thought I could install with "cygport run install" - but that > installed in the staging area within the pacakge source-tree only. So I > installed with "make install" for the time being. What is the right way, > maybe using setup after packaging the modified package? There is no right or wrong way, but you can just unpack into / for this package. > - Package: "cygport run package" works as expect, including creating patches > - but the resulting packages (in dist) were run-run-run.tar.xz and > run-src.tar.xz - so the version is somehow getting trashed within cygport. > Does the cygport file at the outset need to be renamed to include the > version? Yes, until I can convince Yaakov to accept my patches. 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 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple