Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 22:44:38 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/98669: [NEW PORT] graphics/fpc-gtk2: Free Pascal interface to the GTK2 libraries
Message-ID:  <200606072244.k57Mic0u060142@www.freebsd.org>
Resent-Message-ID: <200606080100.k5810YqJ079609@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98669
>Category:       ports
>Synopsis:       [NEW PORT] graphics/fpc-gtk2: Free Pascal interface to the GTK2 libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 08 01:00:33 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed May 24 08:30:45 PET 2006
>Description:
The GTK toolkit and its companion GDK are quickly becoming (next to the Qt
toolkit) a very popular X-windows programming toolkit. This makes it suitable
as a base for the Free Component Library (FCL, the Free Pascal equivalent of
the Delphi VCL). As a first step in the development of FCL, the gtk and gdk
header files have been translated to Pascal. All header files have been
translated, and are compilable. only a few testprograms are available
(volunteers to make some are welcome to contact me), but success reports
indicate that the units are translated correctly, and programs can be made.

WWW:	http://www.freepascal.org/

>How-To-Repeat:

>Fix:
--- fpc-gtk2-2.0.2.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fpc-gtk2
#	fpc-gtk2/pkg-descr
#	fpc-gtk2/Makefile
#	fpc-gtk2/pkg-plist
#	fpc-gtk2/distinfo
#
echo c - fpc-gtk2
mkdir -p fpc-gtk2 > /dev/null 2>&1
echo x - fpc-gtk2/pkg-descr
sed 's/^X//' >fpc-gtk2/pkg-descr << 'END-of-fpc-gtk2/pkg-descr'
XThe GTK toolkit and its companion GDK are quickly becoming (next to the Qt
Xtoolkit) a very popular X-windows programming toolkit. This makes it suitable
Xas a base for the Free Component Library (FCL, the Free Pascal equivalent of
Xthe Delphi VCL). As a first step in the development of FCL, the gtk and gdk
Xheader files have been translated to Pascal. All header files have been
Xtranslated, and are compilable. only a few testprograms are available
X(volunteers to make some are welcome to contact me), but success reports
Xindicate that the units are translated correctly, and programs can be made.
X
XWWW:	http://www.freepascal.org/
END-of-fpc-gtk2/pkg-descr
echo x - fpc-gtk2/Makefile
sed 's/^X//' >fpc-gtk2/Makefile << 'END-of-fpc-gtk2/Makefile'
X# New ports collection makefile for:	fpc-gtk2
X# Date created:		2006-06-05
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gtk2
XPORTVERSION=	2.0.2
XCATEGORIES=	graphics lang
XMASTER_SITES=	ftp://ftp.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://planetmirror.com/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://ftp.jp.freepascal.org/mirror/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://freepascal.stack.nl/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://ftp.no.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://ftp.us.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	freepascal
XPKGNAMEPREFIX=	fpc-
XDISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
XEXTRACT_SUFX=	.tar
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Free Pascal interface to the GTK2 libraries
X
XRUN_DEPENDS=	ppc386:${PORTSDIR}/lang/fpc
X
XUSE_GNOME=	gtk20
XONLY_FOR_ARCHS=	i386
XNO_BUILD=	yes
X
XEXAMPLESDIR=	share/examples/${PKGNAMEPREFIX}${PORTVERSION}
XBUILDNAME=	i386-freebsd
XPLIST_SUB+=	PORTVERSION=${PORTVERSION} \
X		BUILDNAME=${BUILDNAME}
X
Xdo-extract:
X# unpack distribution
X	@${MKDIR} ${WRKSRC}
X	@${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
X		--directory ${WRKSRC}
X	@${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
X		--directory ${WRKSRC}
X
X# unpack binary and forms distribution
X	@${MKDIR} ${WRKSRC}/${PORTNAME}
X	@${TAR} zxf ${WRKSRC}/units-${PORTNAME}.${BUILDNAME}.tar.gz \
X		--directory ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X.for DIRE in lib
X	@cd ${WRKSRC}/${PORTNAME}/${DIRE} && \
X		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/${DIRE}/{}" \; && \
X			${FIND} * -type f -exec ${INSTALL_SCRIPT} "{}" "${PREFIX}/${DIRE}/{}" \;
X.endfor
X
Xpost-install:
X.if !defined (NOPORTDOCS)
X	@cd ${WRKSRC}/${PORTNAME}/share && \
X		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
X			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
X.endif
X
X.include <bsd.port.mk>
END-of-fpc-gtk2/Makefile
echo x - fpc-gtk2/pkg-plist
sed 's/^X//' >fpc-gtk2/pkg-plist << 'END-of-fpc-gtk2/pkg-plist'
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/Package.fpc
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/glib2.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/atk.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/pango.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gdk2pixbuf.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gdk2.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gtk2.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libglade2.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gtkglext.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gdkglext.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/glib2.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/atk.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/pango.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gdk2pixbuf.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gdk2.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gtk2.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libglade2.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gtkglext.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/gdkglext.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libpglib2.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libpatk.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libppango.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libpgdk2pixbuf.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libpgdk2.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libpgtk2.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libplibglade2.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libpgtkglext.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2/libpgdkglext.a
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/gnome-applets.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/gtk-logo-rgb.gif
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/gnome-gimp.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/gnome-gsame.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/floppybuddy.gif
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/gnu-keys.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/alphatest.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/gnome-gmush.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/apple-red.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/gnome-foot.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/background.jpg
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/data/gnome-calendar.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/item_factory.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/appwindow.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/tree_store.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/Makefile.fpc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/textview.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/pixbufs.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/colorsel.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/button_box.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/drawingarea.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/stock_browser.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/menus.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/list_store.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/sizegroup.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/editable_cells.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/dialog.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/init.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/gtk_demo.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/images.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/Makefile
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtk_demo/panes.inc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/plugins/Makefile.fpc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/plugins/plugin.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/plugins/main.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/plugins/Makefile
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/helloworld2/helloworld2.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/helloworld2/Makefile.fpc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/helloworld2/Makefile
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/helloworld/Makefile.fpc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/helloworld/Makefile
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/helloworld/helloworld.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtkglext/Makefile.fpc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtkglext/gears.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gtkglext/Makefile
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/scribble_simple/scribble_simple.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/scribble_simple/Makefile.fpc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/scribble_simple/Makefile
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gettingstarted/gettingstarted.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gettingstarted/Makefile.fpc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/gettingstarted/Makefile
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/filechooser/Makefile.fpc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/filechooser/beipiel.glade
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/filechooser/simple.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/filechooser/Makefile
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/filechooser/glade.pas
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/Makefile.fpc
X%%PORTDOCS%%%%EXAMPLESDIR%%/gtk2/Makefile
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2/scribble_simple
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2/plugins
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2/helloworld2
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2/helloworld
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2/gtkglext
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2/gtk_demo/data
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2/gtk_demo
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2/gettingstarted
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2/filechooser
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk2
X@dirrmtry %%PORTDOCS%%%%EXAMPLESDIR%%
X@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gtk2
X@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
X@dirrmtry lib/fpc/%%PORTVERSION%%/units
X@dirrmtry lib/fpc/%%PORTVERSION%%
X@dirrmtry lib/fpc
END-of-fpc-gtk2/pkg-plist
echo x - fpc-gtk2/distinfo
sed 's/^X//' >fpc-gtk2/distinfo << 'END-of-fpc-gtk2/distinfo'
XMD5 (fpc-2.0.2.i386-freebsd.tar) = e1f834f445b0f2313f41ed417a28fb1c
XSHA256 (fpc-2.0.2.i386-freebsd.tar) = 906f002dfdbdfc3380f5a66b93d68debdbb68bba65b9db0590a93f548fb9f528
XSIZE (fpc-2.0.2.i386-freebsd.tar) = 22517760
END-of-fpc-gtk2/distinfo
exit
--- fpc-gtk2-2.0.2.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606072244.k57Mic0u060142>