public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITP] chicken-4.9.0.1
@ 2014-12-10 11:25 Christian Kellermann
  2014-12-10 12:28 ` Marco Atzeri
                   ` (2 more replies)
  0 siblings, 3 replies; 33+ messages in thread
From: Christian Kellermann @ 2014-12-10 11:25 UTC (permalink / raw)
  To: cygwin-apps

Dear List,

I am a core developer of the CHICKEN scheme system. We have supported
building and running CHICKEN on cygwin for almost a decade now. However
I noticed that the current cygwin package has been outdated for years.

The current version that's listed is 3.4.0-0 which has been discontinued
since 2006(?)...

So I'd like to propose an update of said package to the current stable
version as noted in the subject.

CHICKEN scheme has been packages in SuSe, Redhat and Debian for quite a
while. As an example have a look at

http://rpmfind.net//linux/RPM/fedora/devel/rawhide/i386/c/chicken-4.9.0.1-2.fc22.i686.html

I have generated a new port with the following cygport file:

--8<---------------cut here---------------start------------->8---
# package name
NAME="chicken"
VERSION=4.9.0.1
RELEASE=1

# setup.hint generation
CATEGORY="interpreters"
SUMMARY="A practical and portable scheme system."
DESCRIPTION="A practical and portable scheme system.
CHICKEN is a compiler for the Scheme programming language. CHICKEN
produces portable and efficient C, supports almost all of the R5RS
Scheme language standard, and includes many enhancements and
extensions."

REQUIRES="make gcc-core gcc-g++"

# source and patch files
SRC_URI="http://code.call-cc.org/releases/${PV}/${P}.tar.gz"
MAKEOPTS="PLATFORM=cygwin"


src_compile() {
        cd ${S}
	cygmake
}

src_install() {
	cd ${S}
	cygmake install
}
--8<---------------cut here---------------end--------------->8---

The CHICKEN build system uses make only and builds in the source
directory. The platform has to be passed on as shown above.

As I only have access to a 32bit Windows Version (7) atm I am unable to
test this for 64-bit builds.

As per your requirements for new submissions I have included the
setup.hint file:

--8<---------------cut here---------------start------------->8---
category: interpreters
requires:  make gcc-core gcc-g++
sdesc: "A practical and portable scheme system."
ldesc: "A practical and portable scheme system.
CHICKEN is a compiler for the Scheme programming language. CHICKEN
produces portable and efficient C, supports almost all of the R5RS
Scheme language standard, and includes many enhancements and
extensions."
--8<---------------cut here---------------end--------------->8---


Maybe the old one from the 3.4.0 port could be used… The gcc-g++ is not
needed for building but there are FFI features included in the core
library that will use the C++ compiler for interfacing with C++
libraries. I am unsure how to express this potential dependency, maybe
hand that back to the user to decide?

In case you want to have a look at the generated packages, you can find
them here in the usual directory layout here:

https://pestilenz.org/~ckeen/cygwin-ports/

As I am just using cygport with the file above all these are easily
generated.

I have probably forgotten something obvious or missed something in your
detailed documentation so I appreciate any comments on this.

Kind regards,

Christian

-- 
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2015-01-26 20:21 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-10 11:25 [ITP] chicken-4.9.0.1 Christian Kellermann
2014-12-10 12:28 ` Marco Atzeri
2014-12-10 13:14   ` Christian Kellermann
2014-12-10 14:41     ` Marco Atzeri
2014-12-10 14:50       ` Christian Kellermann
2014-12-10 15:09         ` Marco Atzeri
2014-12-10 15:33           ` Christian Kellermann
2014-12-10 15:51             ` Christian Kellermann
2014-12-10 16:07               ` Corinna Vinschen
2014-12-10 15:52             ` Marco Atzeri
2014-12-10 16:06               ` Christian Kellermann
2014-12-10 17:01                 ` Marco Atzeri
2015-01-26 16:27   ` Nathan Thern
2014-12-10 12:31 ` Corinna Vinschen
2014-12-10 13:18   ` Christian Kellermann
2014-12-10 13:57     ` Corinna Vinschen
2014-12-10 14:32       ` Christian Kellermann
2014-12-10 14:45         ` Corinna Vinschen
2014-12-10 14:53           ` Christian Kellermann
2014-12-10 13:34   ` Christian Kellermann
2014-12-10 14:40     ` Corinna Vinschen
2014-12-11  9:16 ` Christian Kellermann
2014-12-11 10:14   ` Corinna Vinschen
2014-12-11 10:35     ` Christian Kellermann
2014-12-11 12:30       ` Corinna Vinschen
2014-12-11 13:50         ` Christian Kellermann
2014-12-11 16:31           ` Marco Atzeri
2014-12-15 14:46             ` Christian Kellermann
2014-12-15 15:00               ` Marco Atzeri
2015-01-10 10:00                 ` Marco Atzeri
2015-01-26 11:32                   ` Christian Kellermann
2015-01-26 20:21                     ` Marco Atzeri
2014-12-11 18:09           ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).