From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98846 invoked by alias); 15 May 2015 13:14:40 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 98835 invoked by uid 89); 15 May 2015 13:14:39 -0000 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 Received: from mail-in-13.arcor-online.net (HELO mail-in-13.arcor-online.net) (151.189.21.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 15 May 2015 13:14:38 +0000 Received: from mail-in-16-z2.arcor-online.net (mail-in-16-z2.arcor-online.net [151.189.8.33]) by mx.arcor.de (Postfix) with ESMTP id 3lp9F61vryzJMJW for ; Fri, 15 May 2015 15:14:34 +0200 (CEST) Received: from mail-in-15.arcor-online.net (mail-in-15.arcor-online.net [151.189.21.55]) by mail-in-16-z2.arcor-online.net (Postfix) with ESMTP id 3DF5224E099 for ; Fri, 15 May 2015 15:14:34 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 3lp9F573lLzFBCq Received: from Gertrud (p54B46310.dip0.t-ipconnect.de [84.180.99.16]) (Authenticated sender: stromeko@arcor.de) by mail-in-15.arcor-online.net (Postfix) with ESMTPSA id 3lp9F573lLzFBCq for ; Fri, 15 May 2015 15:14:33 +0200 (CEST) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: cygport: How to use to build and install modified packages References: Date: Fri, 15 May 2015 14:06:00 -0000 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 X-SW-Source: 2015-05/txt/msg00180.txt.bz2 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