From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87088 invoked by alias); 15 May 2015 10:30:07 -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 87029 invoked by uid 89); 15 May 2015 10:30:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mout.web.de Received: from mout.web.de (HELO mout.web.de) (212.227.15.14) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 15 May 2015 10:30:05 +0000 Received: from MartinsDell ([79.194.108.188]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0LdmgV-1ZbNFb3tad-00iyO4 for ; Fri, 15 May 2015 12:30:00 +0200 From: "Martin Anantharaman" To: Subject: cygport: How to use to build and install modified packages Date: Fri, 15 May 2015 11:23:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1; X-SW-Source: 2015-05/txt/msg00176.txt.bz2 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? - Compile: I did "cygport run compile" to get started, then modified sources and re-compiled (to sidestep the time-consuming configuration step) in build/src with "make". - 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? - 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? Regards, Martin -- 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