Subject: pkg/21509: Add support to pkgsrc/x11/wxGTK|wxGTK2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 05/09/2003 08:43:48
>Number: 21509
>Category: pkg
>Synopsis: Add support to pkgsrc/x11/wxGTK|wxGTK2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri May 09 06:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Juan RP
>Release: NetBSD 1.6R
>Organization:
Juan RP jrp@hispabsd.org
--
>Environment:
System: NetBSD Nocturno 1.6R NetBSD 1.6R (Nocturno) #2: Sun May 4 07:16:47 CEST 2003 juan@Nocturno:/home/juan/current/obj/sys/arch/i386/compile/Nocturno i386
Architecture: i386
Machine: i386
>Description:
The package wxGTK can be compiled with gtk or gtk2,
I did create a Makefile.common in x11/wxGTK and
a new directory called x11/wxGTK2.
>How-To-Repeat:
>Fix:
------ pkgsrc/x11/wxGTK/Makefile ------
Index: wxGTK/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/wxGTK/Makefile,v
retrieving revision 1.20
diff -b -u -r1.20 Makefile
--- wxGTK/Makefile 2003/05/02 11:57:32 1.20
+++ wxGTK/Makefile 2003/05/09 06:31:52
@@ -1,38 +1,12 @@
# $NetBSD: Makefile,v 1.20 2003/05/02 11:57:32 wiz Exp $
#
-DISTNAME= wxGTK-2.4.0
-PKGREVISION= 1
-CATEGORIES= x11
-MASTER_SITES= ftp://biolpc22.york.ac.uk/pub/2.4.0/
+.include "${.CURDIR}/Makefile.common"
-MAINTAINER= tsarna@netbsd.org
-HOMEPAGE= http://www.wxwindows.org
-COMMENT= GTK-based implementation of the wxWindows GUI library
+PKGNAME= wxGTK-2.4.0
+PKGREVISION= 1
-USE_BUILDLINK2= YES
-USE_PKGLOCALEDIR= YES
-USE_X11= YES
-USE_LIBTOOL= YES
-GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-gtk
-CONFIGURE_ARGS+= --with-libjpeg=sys
-CONFIGURE_ARGS+= --with-zlib=sys
-CONFIGURE_ARGS+= --with-libpng=sys
-CONFIGURE_ARGS+= --with-libtiff=sys
-
-CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this
-DOCDIR= ${PREFIX}/share/doc/wx/gtk
-
-post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DOCDIR}/LICENSE
-
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../graphics/tiff/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
-
-.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
------ pkgsrc/x11/wxGTK/Makefile.common ------
# $NetBSD: Makefile,v 1.20 2003/05/02 11:57:32 wiz Exp $
#
DISTNAME= wxGTK-2.4.0
CATEGORIES= x11
MASTER_SITES= ftp://biolpc22.york.ac.uk/pub/2.4.0/
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.wxwindows.org
COMMENT= GTK-based implementation of the wxWindows GUI library
USE_BUILDLINK2= YES
USE_PKGLOCALEDIR= YES
USE_X11= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-libjpeg=sys
CONFIGURE_ARGS+= --with-zlib=sys
CONFIGURE_ARGS+= --with-libpng=sys
CONFIGURE_ARGS+= --with-libtiff=sys
CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this
DOCDIR= ${PREFIX}/share/doc/wx/gtk
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DOCDIR}/LICENSE
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
------ pkgsrc/x11/wxGTK2/Makefile ------
# $NetBSD: Makefile,v 1.20 2003/05/02 11:57:32 wiz Exp $
#
.include "${.CURDIR}/../wxGTK/Makefile.common"
PKGNAME= wxGTK2-2.4.0
CONFLICTS+= wxGTK-[0-9]*
DESCR_SRC= ${.CURDIR}/../wxGTK/DESCR
PATCH_SRC= ${.CURDIR}/../wxGTK/patches
CONFIGURE_ARGS+= --enable-gtk2
.include "../../x11/gtk2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
------ pkgsrc/x11/wxGTK2/PLIST ------
@comment $NetBSD: PLIST,v 1.2 2003/03/31 17:44:21 jmmv Exp $
bin/wx-config
bin/wxgtk2-2.4-config
include/wx/accel.h
include/wx/app.h
include/wx/arrimpl.cpp
include/wx/artprov.h
include/wx/bitmap.h
include/wx/bmpbuttn.h
include/wx/brush.h
include/wx/buffer.h
include/wx/build.h
include/wx/busyinfo.h
include/wx/button.h
include/wx/calctrl.h
include/wx/caret.h
include/wx/checkbox.h
include/wx/checklst.h
include/wx/chkconf.h
include/wx/choicdlg.h
include/wx/choice.h
include/wx/clipbrd.h
include/wx/clntdata.h
include/wx/cmdline.h
include/wx/cmdproc.h
include/wx/cmndata.h
include/wx/colordlg.h
include/wx/colour.h
include/wx/combobox.h
include/wx/confbase.h
include/wx/config.h
include/wx/containr.h
include/wx/control.h
include/wx/cshelp.h
include/wx/ctrlsub.h
include/wx/cursor.h
include/wx/dataobj.h
include/wx/date.h
include/wx/datetime.h
include/wx/datetime.inl
include/wx/datstrm.h
include/wx/db.h
include/wx/dbgrid.h
include/wx/dbkeyg.h
include/wx/dbtable.h
include/wx/dc.h
include/wx/dcbuffer.h
include/wx/dcclient.h
include/wx/dcmemory.h
include/wx/dcprint.h
include/wx/dcps.h
include/wx/dcscreen.h
include/wx/dde.h
include/wx/debug.h
include/wx/defs.h
include/wx/dialog.h
include/wx/dialup.h
include/wx/dir.h
include/wx/dirctrl.h
include/wx/dirdlg.h
include/wx/dnd.h
include/wx/docmdi.h
include/wx/docview.h
include/wx/dragimag.h
include/wx/dynarray.h
include/wx/dynlib.h
include/wx/dynload.h
include/wx/effects.h
include/wx/encconv.h
include/wx/event.h
include/wx/expr.h
include/wx/fdrepdlg.h
include/wx/features.h
include/wx/ffile.h
include/wx/file.h
include/wx/fileconf.h
include/wx/filedlg.h
include/wx/filefn.h
include/wx/filename.h
include/wx/filesys.h
include/wx/font.h
include/wx/fontdlg.h
include/wx/fontenc.h
include/wx/fontenum.h
include/wx/fontmap.h
include/wx/fontutil.h
include/wx/frame.h
include/wx/fs_inet.h
include/wx/fs_mem.h
include/wx/fs_zip.h
include/wx/gauge.h
include/wx/gdicmn.h
include/wx/gdiobj.h
include/wx/generic/accel.h
include/wx/generic/calctrl.h
include/wx/generic/caret.h
include/wx/generic/choicdgg.h
include/wx/generic/colrdlgg.h
include/wx/generic/dcpsg.h
include/wx/generic/dirctrlg.h
include/wx/generic/dirdlgg.h
include/wx/generic/dragimgg.h
include/wx/generic/fdrepdlg.h
include/wx/generic/filedlgg.h
include/wx/generic/fontdlgg.h
include/wx/generic/grid.h
include/wx/generic/gridctrl.h
include/wx/generic/gridg.h
include/wx/generic/helpext.h
include/wx/generic/helphtml.h
include/wx/generic/imaglist.h
include/wx/generic/laywin.h
include/wx/generic/listctrl.h
include/wx/generic/msgdlgg.h
include/wx/generic/notebook.h
include/wx/generic/paletteg.h
include/wx/generic/panelg.h
include/wx/generic/printps.h
include/wx/generic/prntdlgg.h
include/wx/generic/progdlgg.h
include/wx/generic/sashwin.h
include/wx/generic/scrolwin.h
include/wx/generic/spinctlg.h
include/wx/generic/splash.h
include/wx/generic/splitter.h
include/wx/generic/statusbr.h
include/wx/generic/tabg.h
include/wx/generic/textdlgg.h
include/wx/generic/timer.h
include/wx/generic/treectlg.h
include/wx/generic/wizard.h
include/wx/geometry.h
include/wx/gifdecod.h
include/wx/glcanvas.h
include/wx/grid.h
include/wx/gsocket.h
include/wx/gtk/accel.h
include/wx/gtk/app.h
include/wx/gtk/bitmap.h
include/wx/gtk/bmpbuttn.h
include/wx/gtk/brush.h
include/wx/gtk/button.h
include/wx/gtk/checkbox.h
include/wx/gtk/checklst.h
include/wx/gtk/choice.h
include/wx/gtk/clipbrd.h
include/wx/gtk/colour.h
include/wx/gtk/combobox.h
include/wx/gtk/control.h
include/wx/gtk/cursor.h
include/wx/gtk/dataform.h
include/wx/gtk/dataobj.h
include/wx/gtk/dataobj2.h
include/wx/gtk/dc.h
include/wx/gtk/dcclient.h
include/wx/gtk/dcmemory.h
include/wx/gtk/dcscreen.h
include/wx/gtk/dialog.h
include/wx/gtk/dnd.h
include/wx/gtk/filedlg.h
include/wx/gtk/font.h
include/wx/gtk/fontdlg.h
include/wx/gtk/frame.h
include/wx/gtk/gauge.h
include/wx/gtk/gdiobj.h
include/wx/gtk/glcanvas.h
include/wx/gtk/icon.h
include/wx/gtk/joystick.h
include/wx/gtk/listbox.h
include/wx/gtk/mdi.h
include/wx/gtk/menu.h
include/wx/gtk/menuitem.h
include/wx/gtk/minifram.h
include/wx/gtk/notebook.h
include/wx/gtk/pen.h
include/wx/gtk/popupwin.h
include/wx/gtk/radiobox.h
include/wx/gtk/radiobut.h
include/wx/gtk/region.h
include/wx/gtk/scrolbar.h
include/wx/gtk/scrolwin.h
include/wx/gtk/slider.h
include/wx/gtk/spinbutt.h
include/wx/gtk/spinctrl.h
include/wx/gtk/statbmp.h
include/wx/gtk/statbox.h
include/wx/gtk/statline.h
include/wx/gtk/stattext.h
include/wx/gtk/tbargtk.h
include/wx/gtk/textctrl.h
include/wx/gtk/tglbtn.h
include/wx/gtk/timer.h
include/wx/gtk/tooltip.h
include/wx/gtk/toplevel.h
include/wx/gtk/treectrl.h
include/wx/gtk/wave.h
include/wx/gtk/win_gtk.h
include/wx/gtk/window.h
include/wx/hash.h
include/wx/hashmap.h
include/wx/help.h
include/wx/helpbase.h
include/wx/helphtml.h
include/wx/helpwin.h
include/wx/html/forcelnk.h
include/wx/html/helpctrl.h
include/wx/html/helpdata.h
include/wx/html/helpfrm.h
include/wx/html/htmlcell.h
include/wx/html/htmldefs.h
include/wx/html/htmlfilt.h
include/wx/html/htmlpars.h
include/wx/html/htmltag.h
include/wx/html/htmlwin.h
include/wx/html/htmprint.h
include/wx/html/m_templ.h
include/wx/html/winpars.h
include/wx/icon.h
include/wx/iconbndl.h
include/wx/imagbmp.h
include/wx/image.h
include/wx/imaggif.h
include/wx/imagiff.h
include/wx/imagjpeg.h
include/wx/imaglist.h
include/wx/imagpcx.h
include/wx/imagpng.h
include/wx/imagpnm.h
include/wx/imagtiff.h
include/wx/imagxpm.h
include/wx/intl.h
include/wx/ioswrap.h
include/wx/ipc.h
include/wx/ipcbase.h
include/wx/isql.h
include/wx/isqlext.h
include/wx/joystick.h
include/wx/layout.h
include/wx/laywin.h
include/wx/list.h
include/wx/listbase.h
include/wx/listbox.h
include/wx/listctrl.h
include/wx/listimpl.cpp
include/wx/log.h
include/wx/longlong.h
include/wx/matrix.h
include/wx/mdi.h
include/wx/memconf.h
include/wx/memory.h
include/wx/memtext.h
include/wx/menu.h
include/wx/menuitem.h
include/wx/metafile.h
include/wx/mimetype.h
include/wx/minifram.h
include/wx/module.h
include/wx/msgdlg.h
include/wx/msgout.h
include/wx/mstream.h
include/wx/notebook.h
include/wx/object.h
include/wx/odbc.h
include/wx/ownerdrw.h
include/wx/palette.h
include/wx/panel.h
include/wx/paper.h
include/wx/pen.h
include/wx/platform.h
include/wx/popupwin.h
include/wx/print.h
include/wx/printdlg.h
include/wx/prntbase.h
include/wx/process.h
include/wx/progdlg.h
include/wx/prop.h
include/wx/propform.h
include/wx/proplist.h
include/wx/protocol/file.h
include/wx/protocol/ftp.h
include/wx/protocol/http.h
include/wx/protocol/protocol.h
include/wx/radiobox.h
include/wx/radiobut.h
include/wx/regex.h
include/wx/region.h
include/wx/resource.h
include/wx/sashwin.h
include/wx/sckaddr.h
include/wx/sckipc.h
include/wx/sckstrm.h
include/wx/scrolbar.h
include/wx/scrolwin.h
include/wx/settings.h
include/wx/sizer.h
include/wx/slider.h
include/wx/snglinst.h
include/wx/socket.h
include/wx/spinbutt.h
include/wx/spinctrl.h
include/wx/splash.h
include/wx/splitter.h
include/wx/stack.h
include/wx/statbmp.h
include/wx/statbox.h
include/wx/statline.h
include/wx/stattext.h
include/wx/statusbr.h
include/wx/strconv.h
include/wx/stream.h
include/wx/string.h
include/wx/sysopt.h
include/wx/tab.h
include/wx/tabctrl.h
include/wx/taskbar.h
include/wx/tbarbase.h
include/wx/tbarsmpl.h
include/wx/textbuf.h
include/wx/textctrl.h
include/wx/textdlg.h
include/wx/textfile.h
include/wx/tglbtn.h
include/wx/thread.h
include/wx/thrimpl.cpp
include/wx/time.h
include/wx/timer.h
include/wx/tipdlg.h
include/wx/tipwin.h
include/wx/tokenzr.h
include/wx/toolbar.h
include/wx/tooltip.h
include/wx/toplevel.h
include/wx/treebase.h
include/wx/treectrl.h
include/wx/txtstrm.h
include/wx/types.h
include/wx/unix/execute.h
include/wx/unix/fontutil.h
include/wx/unix/gsockunx.h
include/wx/unix/mimetype.h
include/wx/unix/utilsx11.h
include/wx/url.h
include/wx/utils.h
include/wx/valgen.h
include/wx/validate.h
include/wx/valtext.h
include/wx/variant.h
include/wx/vector.h
include/wx/version.h
include/wx/volume.h
include/wx/wave.h
include/wx/wfstream.h
include/wx/window.h
include/wx/wizard.h
include/wx/wx.h
include/wx/wx_cw.h
include/wx/wx_cw_cm.h
include/wx/wx_cw_d.h
include/wx/wxchar.h
include/wx/wxexpr.h
include/wx/wxhtml.h
include/wx/wxprec.h
include/wx/xpmdecod.h
include/wx/zipstrm.h
include/wx/zstream.h
lib/libwx_gtk2-2.4.so
lib/libwx_gtk2-2.4.so.0
lib/libwx_gtk2-2.4.so.0.0.0
lib/wx/include/gtk2-2.4/wx/setup.h
share/aclocal/wxwin.m4
share/doc/wx/gtk/LICENSE
${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/id/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/it/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/wxstd.mo
${PKGLOCALEDIR}/locale/zh/LC_MESSAGES/wxstd.mo
share/wx/2.4/afm/Cour.afm
share/wx/2.4/afm/CourBo.afm
share/wx/2.4/afm/CourBoO.afm
share/wx/2.4/afm/CourO.afm
share/wx/2.4/afm/Helv.afm
share/wx/2.4/afm/HelvBo.afm
share/wx/2.4/afm/HelvBoO.afm
share/wx/2.4/afm/HelvO.afm
share/wx/2.4/afm/TimesBo.afm
share/wx/2.4/afm/TimesBoO.afm
share/wx/2.4/afm/TimesO.afm
share/wx/2.4/afm/TimesRo.afm
share/wx/2.4/afm/Zapf.afm
share/wx/2.4/gs_afm/Cour.afm
share/wx/2.4/gs_afm/CourBo.afm
share/wx/2.4/gs_afm/CourBoO.afm
share/wx/2.4/gs_afm/CourO.afm
share/wx/2.4/gs_afm/Helv.afm
share/wx/2.4/gs_afm/HelvBo.afm
share/wx/2.4/gs_afm/HelvBoO.afm
share/wx/2.4/gs_afm/HelvO.afm
share/wx/2.4/gs_afm/TimesBo.afm
share/wx/2.4/gs_afm/TimesBoO.afm
share/wx/2.4/gs_afm/TimesO.afm
share/wx/2.4/gs_afm/TimesRo.afm
share/wx/2.4/gs_afm/Zapf.afm
@dirrm share/wx/2.4/gs_afm
@dirrm share/wx/2.4/afm
@dirrm share/wx/2.4
@unexec ${RMDIR} %D/share/wx 2>/dev/null || ${TRUE}
@dirrm share/doc/wx/gtk
@dirrm share/doc/wx
@unexec ${RMDIR} %D/lib/wx/include 2>/dev/null || ${TRUE}
@unexec ${RMDIR} %D/lib/wx 2>/dev/null || ${TRUE}
@dirrm include/wx/unix
@exec ${MKDIR} %D/include/wx/univ
@dirrm include/wx/univ
@dirrm include/wx/protocol
@dirrm include/wx/html
@dirrm include/wx/gtk
@dirrm include/wx/generic
@unexec ${RMDIR} %D/include/wx 2>/dev/null || ${TRUE}
------ pkgsrc/x11/wxGTK2/buildlink2.mk ------
# $NetBSD: buildlink2.mk,v 1.5 2003/05/02 11:57:32 wiz Exp $
#
# This Makefile fragment is included by packages that use wxGTK.
#
# This file was created automatically using createbuildlink 2.4.
#
.if !defined(WXGTK2_BUILDLINK2_MK)
WXGTK2_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= wxGTK2
BUILDLINK_DEPENDS.wxGTK2?= wxGTK2>=2.4.0
BUILDLINK_PKGSRCDIR.wxGTK2?= ../../x11/wxGTK2
EVAL_PREFIX+= BUILDLINK_PREFIX.wxGTK2=wxGTK2
BUILDLINK_PREFIX.wxGTK2_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.wxGTK2+= include/wx/*
BUILDLINK_FILES.wxGTK2+= include/wx/generic/*
BUILDLINK_FILES.wxGTK2+= include/wx/gtk/*
BUILDLINK_FILES.wxGTK2+= include/wx/html/*
BUILDLINK_FILES.wxGTK2+= include/wx/protocol/*
BUILDLINK_FILES.wxGTK2+= include/wx/unix/*
BUILDLINK_FILES.wxGTK2+= lib/libwx_gtk2*
BUILDLINK_FILES.wxGTK2+= lib/wx/include/gtk2-2.4/wx/*
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../x11/gtk2/buildlink2.mk"
BUILDLINK_TARGETS+= wxGTK2-buildlink
wxGTK2-buildlink: _BUILDLINK_USE
.endif # WXGTK_BUILDLINK2_MK
------ END ------
>Release-Note:
>Audit-Trail:
>Unformatted: