This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ITP] chicken-4.9.0.1


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]