From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27078 invoked by alias); 8 Dec 2018 21:35:47 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 27062 invoked by uid 89); 8 Dec 2018 21:35:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,FOREIGN_BODY,GIT_PATCH_2,SPF_PASS autolearn=no version=3.3.2 spammy=auf, official, help!, cygwin X-HELO: mail.avenger.ws Received: from mail.avenger.ws (HELO mail.avenger.ws) (173.208.129.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 08 Dec 2018 21:35:45 +0000 Received: from [IPv6:2804:14c:5b70:9002:dd6d:f1d3:86f2:4107] (unknown [IPv6:2804:14c:5b70:9002:dd6d:f1d3:86f2:4107]) by mail.avenger.ws (Postfix) with ESMTPSA id 0C1AF4E008C for ; Sat, 8 Dec 2018 19:36:28 -0200 (-02) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=avenger.ws; s=ethereal; t=1544304989; bh=VRFQ/a/6gv35EY8UuKYDO8GtjAcPCWSdkXLg/paCmP0=; h=Subject:To:References:From:Date:In-Reply-To; b=ZNk/qSNkB2FuNfGGPuOiBZbdiaShy9eMAvG3EZ5q6e6SJsP+2N5zdfLf/6U6wNIgQ xag5y3XNiaEW1yqqENqVFUAjD+ymOyExhn2s7PUgFZt7nBcLIB3rMlXGkKF+3ql3lx VEKInEKIwEvaBIh5vXU0TTq25I87Ui2itDKThk/M= Subject: Re: cygport for simple package addon: skip prep? To: cygwin-apps@cygwin.com References: <6df50d8e-60a5-cd0d-60a2-30bf41c7c04a@avenger.ws> From: Heavenly Avenger Message-ID: <6eff0dac-f86e-3a0d-3534-1957076e678c@avenger.ws> Date: Sat, 08 Dec 2018 21:35:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00012.txt.bz2 Hello, Marco, and thanks for the feedback and help! On 12/8/2018 3:29 PM, Marco Atzeri wrote: > Am 07.12.2018 um 23:42 schrieb Heavenly Avenger: >> I am trying to write a cygport file for an extension to docbook-xsl >> called mathml. >> > > In general you should ask this question on the cygwin mailing list. > This one is for discussion between package maintainer, or are > you planning to become one ? > I am not really sure I can dedicate the time to be a maintainer as I stated in another email, but the ultimate goal with this mathml extension was to be able to build a package called 'postgis'. If I can ultimately make it work, I might change my mind and try to become its maintainer. I thought it was ok (and was supposed to) have this kind of subject discussed here regardless of being a package maintainer or not, sorry for that. I will refrain from posting here until I make up my mind. >> The latest version of the DTD file is at >> https://docbook.org/xml/mathml/${VERSION}/dbmathml.dtd, and it is not >> zipped nor packaged in any way. >> >> The package consists on just a single .DTD file and I can't figure out >> how to make cygport "skip" the unpack attempt during "cygport prep". I >> might need to just copy the file into what it assumes to be the package >> directory, then during compile/install time, just copy over the file to >> the correct location, and determine that as the package's contents. > > My solution for similar issue is to make a dummy source package with > just a readme inside > > src_compile() { >         : > } > > src_install() { >         # copy of the data from ... > >         ORIG="/cygdrive/d/cyg_pub/devel/tesseract/git" >         cd ${D}/usr/share/doc/docbook-xml... >     wget https://docbook.org/xml/mathml/${VERSION}/dbmathml.dtd > } > Okay, so I guess the solution would really make that dummy package. Thanks. I was trying to avoid this as a package with this "workaround" would likely not be accepted in the official cygwin repo. > >> >> I have this debian package as a base to what should be in the package >> file: https://packages.debian.org/sid/all/docbook-mathml/filelist >> >> It seems to be a so basic addition that cygport is kind of too complex >> for it -- but it would be useful as a way to "remember" installation >> steps required on cygwin, if the correct setup instructions are saved >> in a cygport file. >> >> Any ideas and directions are welcome. If you know a cygwin package in a >> similar format (just installs a file that it downloads in its original, >> uncompressed format), that'd be of great help as well. >> >> Thanks in advance! >> > > --- > Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. > https://www.avast.com/antivirus > So, in conclusion, I'm thankful for the feedback, and will forward any other question to the cygwin general mailing list.