public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Request for updates to packages itcl 4.1.1, itk 4.1.0, iwidgets 4.1.1
@ 2021-10-29 15:12 Claudius Schnörr
  2021-11-04 16:20 ` Jan Nijtmans
  0 siblings, 1 reply; 2+ messages in thread
From: Claudius Schnörr @ 2021-10-29 15:12 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

Hello,

if cygwin was updated to these package versions: itcl 4.1.1, itk 4.1.0, 
iwidgets 4.1.1
the package git://sourceware.org/git/insight.git, a very good 
GUI-frontend to gdb, would be available on cygwin again.

Attached are the cygport files with necessary modifications the 
maintainer of insight provided. These are no patches but might be 
helpful for cygwin packagers by comparing them to the original ones.

When upgrades to these packages are available I can check whether 
insight can be built on cygwin.

I hope this helps. Thank you for your help,

Claudius


[-- Attachment #2: tcl-itcl.cygport --]
[-- Type: text/plain, Size: 1493 bytes --]

inherit tcl

NAME="tcl-itcl"
VERSION=4.1.1
RELEASE=1
CATEGORY="Tcl"
SUMMARY="Object-Oriented extensions for Tcl"
DESCRIPTION="[incr Tcl] is an object-oriented extension of the Tcl language.
It was created to support more structured programming in Tcl. [incr Tcl]
introduces the notion of objects. Among other things, [incr Tcl] can be
used to create new widgets that look and work like the usual Tk widgets,
but are written entirely at the Tcl language level (C code is optional)."
HOMEPAGE="http://incrtcl.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/incrtcl/itcl${VERSION}.tar.gz"
SRC_DIR="itcl${VERSION}"

PKG_NAMES="${NAME} ${NAME}-devel"
tcl_itcl_REQUIRES="tcl"
tcl_itcl_CONTENTS="
	usr/bin/libitcl${VERSION}.dll
	usr/lib/itcl${VERSION}/itcl*.tcl
	usr/lib/itcl${VERSION}/pkgIndex.tcl
	usr/share/doc/${NAME}/
	usr/share/man/mann/
"
tcl_itcl_devel_REQUIRES="tcl-devel"
tcl_itcl_devel_CONTENTS="
	usr/include/itcl*.h
	usr/lib/itcl${VERSION}/itclConfig.sh
	usr/lib/itcl${VERSION}/libitcl${VERSION}.dll.a
	usr/lib/itcl${VERSION}/libitclstub${VERSION}.a
"

#DISTCLEANFILES="aclocal.m4"

src_compile() {
	cd ${S}
	cygautoreconf
	cd ${B}
	cygconf
	cygmake SHLIB_LD="\$(CC) -shared -Wl,--out-implib,\$@.a"
}

src_install() {
	cd ${B}
	cyginstall

	insinto /usr/lib/itcl${VERSION}
	doins libitcl${VERSION}.dll.a

	mv ${D}/usr/lib/itcl${VERSION}/libitcl${VERSION}.dll ${D}/usr/bin
	sed -i -e "s|\"\(libitcl${VERSION}.dll\)\"|.. .. bin \1|" ${D}/usr/lib/itcl${VERSION}/pkgIndex.tcl
}

[-- Attachment #3: tcl-itk.cygport --]
[-- Type: text/plain, Size: 1446 bytes --]

inherit tcl

NAME="tcl-itk"
VERSION=4.1.0
RELEASE=1
CATEGORY="Tcl"
SUMMARY="Object-Oriented extensions for Tk"
DESCRIPTION="[incr Tcl] is an object-oriented extension of the Tcl language.
It was created to support more structured programming in Tcl. [incr Tcl]
introduces the notion of objects. Among other things, [incr Tcl] can be
used to create new widgets that look and work like the usual Tk widgets,
but are written entirely at the Tcl language level (C code is optional)."
HOMEPAGE="http://incrtcl.sourceforge.net/"
SRC_URI="mirror://sourceforge/incrtcl/itk${VERSION}.tar.gz"
SRC_DIR="itk${VERSION}"

PKG_NAMES="${NAME} ${NAME}-devel"
tcl_itk_REQUIRES="tcl tcl-itcl tcl-tk"
tcl_itk_CONTENTS="
	usr/bin/libitk${VERSION}.dll
	usr/lib/itk${VERSION}/*.itk
	usr/lib/itk${VERSION}/*.tcl
	usr/lib/itk${VERSION}/tclIndex
	usr/share/man/mann/
"
tcl_itk_devel_REQUIRES="tcl-devel tcl-tk-devel tcl-itcl-devel"
tcl_itk_devel_CONTENTS="
	usr/include/itk*.h
	usr/lib/itk${VERSION}/libitk${VERSION}.dll.a
"

#DISTCLEANFILES="aclocal.m4"

src_compile() {
	cd ${S}
	cygautoreconf
	cd ${B}
	cygconf --with-itcl=/usr/lib/itcl4.1.1
	cygmake SHLIB_LD="\$(CC) -shared -Wl,--out-implib,\$@.a"
}

src_install() {
	cd ${B}
	cyginstall

	insinto /usr/lib/itk${VERSION}
	doins libitk${VERSION}.dll.a

	mv ${D}/usr/lib/itk${VERSION}/libitk${VERSION}.dll ${D}/usr/bin
	sed -i -e "s|\"\(libitk${VERSION}.dll\)\"|.. .. bin \1|" ${D}/usr/lib/itk${VERSION}/pkgIndex.tcl
}

[-- Attachment #4: tcl-iwidgets.cygport --]
[-- Type: text/plain, Size: 1539 bytes --]

ORIG_PN="iwidgets"
inherit tcl

NAME="tcl-iwidgets"
VERSION=4.1.1
RELEASE=1
CATEGORY="Tcl"
SUMMARY="Tcl/Tk widget set"
DESCRIPTION="[incr Widgets] is an object-oriented mega-widget set which
extends Tcl/Tk and is based on [incr Tcl] and [incr Tk].  This set of
mega-widgets delivers many new, general purpose widgets like option menus,
comboboxes, selection boxes, and various dialogs whose couterparts are found
in Motif and Windows."
HOMEPAGE="http://incrtcl.sourceforge.net/"
SRC_URI="http://downloads.sourceforge.net/sourceforge/incrtcl/%5BIncr%20Widgets%5D/iwidgets-${VERSION}.tar.gz"
SRC_DIR="iwidgets-${VERSION}"
PATCH_URI="
	http://src.fedoraproject.org/rpms/iwidgets/raw/f33/f/iwidgets-calls.patch
	http://src.fedoraproject.org/rpms/iwidgets/raw/f33/f/iwidgets4.0.1-wish85.diff
"

ARCH=noarch

#DISTCLEANFILES="aclocal.m4"

src_compile() {
	find . -name CVS | xargs -r rm -rf
	sed -e 's|\@itcl_VERSION\@|4.0|g'\
		 -e "s|\@PACKAGE_VERSION\@|${VERSION}|g" \
		< ${S}/iwidgets.tcl.in > ${B}/iwidgets.tcl
	sed -e 's|\@itcl_VERSION\@|4.0|g' \
		-e "s|\@PACKAGE_VERSION\@|${VERSION}|g" \
		< ${S}/pkgIndex.tcl.in > ${B}/pkgIndex.tcl
}

src_install() {
	cd ${B}
	insinto /usr/lib/iwidgets-${VERSION}
	doins iwidgets.tcl pkgIndex.tcl

	cd ${S}
	insinto /usr/lib/iwidgets-${VERSION}/scripts
	doins generic/*

#	cp -r demos ${D}/usr/lib/iwidgets-${VERSION}/

	cd ${S}/doc
	dodir /usr/share/man/mann
	for i in *.n
	do
		sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
			$i > ${D}/usr/share/man/mann/`basename iwidgets_$i`
	done
}

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

* Re: Request for updates to packages itcl 4.1.1, itk 4.1.0, iwidgets 4.1.1
  2021-10-29 15:12 Request for updates to packages itcl 4.1.1, itk 4.1.0, iwidgets 4.1.1 Claudius Schnörr
@ 2021-11-04 16:20 ` Jan Nijtmans
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Nijtmans @ 2021-11-04 16:20 UTC (permalink / raw)
  To: Claudius Schnörr; +Cc: cygwin

Op vr 29 okt. 2021 om 17:13 schreef Claudius Schnörr:
> if cygwin was updated to these package versions: itcl 4.1.1, itk 4.1.0,
> iwidgets 4.1.1
> the package git://sourceware.org/git/insight.git, a very good
> GUI-frontend to gdb, would be available on cygwin again.
>
> Attached are the cygport files with necessary modifications the
> maintainer of insight provided. These are no patches but might be
> helpful for cygwin packagers by comparing them to the original ones.
>
> When upgrades to these packages are available I can check whether
> insight can be built on cygwin.

Thank you for your interest.  Itcl/Itk 4.2.2 is close to being released,
just as Tcl/Tk 8.6.12.  So you can expect new versions in a
few weeks from now.

Regards,
         Jan Nijtmans

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

end of thread, other threads:[~2021-11-04 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 15:12 Request for updates to packages itcl 4.1.1, itk 4.1.0, iwidgets 4.1.1 Claudius Schnörr
2021-11-04 16:20 ` Jan Nijtmans

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).