pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/wxGTK32 x11/wxGTK32: import wxGTK32-3.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e7e158640e9
branches:  trunk
changeset: 382137:1e7e158640e9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jul 21 11:39:21 2022 +0000

description:
x11/wxGTK32: import wxGTK32-3.2.0

Packaged with help from dbj@

wxWidgets is a set of libraries that allows C++ applications to compile and
run on several different types of computer, with minimal source code changes.
There is one library per supported GUI (such as Windows, GTK+, Motif, and Mac).
As well as providing a common API (Application Programming Interface) for GUI
functionality, it provides functionality for accessing some commonly-used
operating system facilities, from copying and deleting files to socket and
thread support. wxWidgets is a 'framework' in the sense that it provides a lot
of built-in functionality, which the application can use or replace as required,
thus saving a great deal of coding effort. Basic data structures such as
strings, arrays, linked lists and hash tables are also supported.

Such a toolkit is not unique - there are others to choose from - but wxWidgets
is free, well-established, well-documented, and very broad in its coverage of
GUI functionality. It has some extras that make it stand out from the crowd,
such as the many convenience dialogs, built-in HTML display and printing,
virtual filesystems, easy-to-use OLE automation controller class, Open GL
support, and many other features that make it easier to write modern and
user-friendly applications.

This package contains the 3.2 stable branch of the library.

diffstat:

 x11/wxGTK32/DESCR                                             |    20 +
 x11/wxGTK32/Makefile                                          |    82 +
 x11/wxGTK32/PLIST                                             |  1560 ++++++++++
 x11/wxGTK32/PLIST.Darwin                                      |    42 +
 x11/wxGTK32/PLIST.gtk3                                        |     4 +
 x11/wxGTK32/buildlink3.mk                                     |    29 +
 x11/wxGTK32/distinfo                                          |    10 +
 x11/wxGTK32/patches/patch-build_cmake_init.cmake              |    15 +
 x11/wxGTK32/patches/patch-build_cmake_lib_base_CMakeLists.txt |    14 +
 x11/wxGTK32/patches/patch-build_cmake_setup.cmake             |    69 +
 x11/wxGTK32/patches/patch-src_unix_dialup.cpp                 |    15 +
 x11/wxGTK32/patches/patch-src_unix_utilsunx.cpp               |    38 +
 12 files changed, 1898 insertions(+), 0 deletions(-)

diffs (truncated from 1946 to 300 lines):

diff -r eb2a8fa3723f -r 1e7e158640e9 x11/wxGTK32/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/wxGTK32/DESCR Thu Jul 21 11:39:21 2022 +0000
@@ -0,0 +1,20 @@
+wxWidgets is a set of libraries that allows C++ applications to compile and
+run on several different types of computer, with minimal source code changes.
+There is one library per supported GUI (such as Windows, GTK+, Motif, and Mac).
+As well as providing a common API (Application Programming Interface) for GUI
+functionality, it provides functionality for accessing some commonly-used
+operating system facilities, from copying and deleting files to socket and
+thread support. wxWidgets is a 'framework' in the sense that it provides a lot
+of built-in functionality, which the application can use or replace as required,
+thus saving a great deal of coding effort. Basic data structures such as
+strings, arrays, linked lists and hash tables are also supported.
+
+Such a toolkit is not unique - there are others to choose from - but wxWidgets
+is free, well-established, well-documented, and very broad in its coverage of
+GUI functionality. It has some extras that make it stand out from the crowd,
+such as the many convenience dialogs, built-in HTML display and printing,
+virtual filesystems, easy-to-use OLE automation controller class, Open GL
+support, and many other features that make it easier to write modern and
+user-friendly applications.
+
+This package contains the 3.2 stable branch of the library.
diff -r eb2a8fa3723f -r 1e7e158640e9 x11/wxGTK32/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/wxGTK32/Makefile      Thu Jul 21 11:39:21 2022 +0000
@@ -0,0 +1,82 @@
+# $NetBSD: Makefile,v 1.1 2022/07/21 11:39:21 wiz Exp $
+
+DISTNAME=      wxWidgets-3.2.0
+PKGNAME=       ${DISTNAME:S/wxWidgets/wxGTK32/}
+CATEGORIES=    x11
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=wxWidgets/}
+GITHUB_PROJECT=        wxWidgets
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    dbj%NetBSD.org@localhost
+HOMEPAGE=      https://www.wxwidgets.org/
+COMMENT=       Cross-platform wxWidgets GUI library (3.2 stable branch)
+# LGPLv2 with additional permission; http://opensource.org/licenses/wxwindows
+LICENSE=       gnu-lgpl-v2
+
+USE_TOOLS+=            pkg-config msgfmt
+USE_CMAKE=             yes
+USE_LANGUAGES=         c c++
+CMAKE_ARGS+=           -DCMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=ON
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+WX_CONFIG=             lib/wx/config/gtk3-unicode-3.2
+.else
+WX_CONFIG=             lib/wx/config/osx_cocoa-unicode-3.2
+.endif
+
+# Installation rules in cmake are not using DESTDIR properly, do it manually
+# https://github.com/wxWidgets/wxWidgets/issues/22647
+# CMake Error: failed to create symbolic link '/usr/pkg/bin/wx-config': Permission denied
+# CMake Error: failed to create symbolic link '/usr/pkg/bin/wxrc': Permission denied
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && [ -L wx-config ] || ${LN} -s ../${WX_CONFIG} wx-config
+       cd ${DESTDIR}${PREFIX}/bin && [ -L wxrc ] || ${LN} -s wxrc-3.2 wxrc
+
+SUBST_CLASSES+=                unwrap
+SUBST_STAGE.unwrap=    post-build
+SUBST_FILES.unwrap=    ${WX_CONFIG}
+SUBST_SED.unwrap=      -e "s,EGREP=.*,EGREP=${EGREP},"
+SUBST_SED.unwrap+=     -e 's,echo.*/${CC}",echo "${CC}",'
+SUBST_SED.unwrap+=     -e 's,echo.*/${CXX}",echo "${CXX}",'
+SUBST_SED.unwrap+=     -e 's,echo.*/${CXX} -o",echo "${CXX} -o",'
+
+PLIST_SRC+=    ${PLIST_SRC_DFLT}
+
+# https://github.com/wxWidgets/wxWidgets/issues/22646
+.if ${OPSYS} != "Linux"
+CMAKE_ARGS+=           -DwxUSE_JOYSTICK:BOOL=OFF
+.endif
+
+.if ${OPSYS} != "Darwin"
+.include "../../sysutils/libnotify/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../textproc/gspell/buildlink3.mk"
+.include "../../www/webkit-gtk/buildlink3.mk"
+PLIST_SRC+=    PLIST.gtk3
+.endif
+
+.include "../../archivers/libmspack/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../multimedia/gstreamer1/buildlink3.mk"
+.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
+.include "../../security/libsecret/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+# curl not checked by cmake but used by webrequest_curl.h
+# https://github.com/wxWidgets/wxWidgets/issues/22648
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eb2a8fa3723f -r 1e7e158640e9 x11/wxGTK32/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/wxGTK32/PLIST Thu Jul 21 11:39:21 2022 +0000
@@ -0,0 +1,1560 @@
+@comment $NetBSD: PLIST,v 1.1 2022/07/21 11:39:21 wiz Exp $
+bin/wx-config
+bin/wxrc
+bin/wxrc-3.2
+include/wx-3.2/wx/aboutdlg.h
+include/wx-3.2/wx/accel.h
+include/wx-3.2/wx/access.h
+include/wx-3.2/wx/activityindicator.h
+include/wx-3.2/wx/addremovectrl.h
+include/wx-3.2/wx/affinematrix2d.h
+include/wx-3.2/wx/affinematrix2dbase.h
+include/wx-3.2/wx/afterstd.h
+include/wx-3.2/wx/android/chkconf.h
+include/wx-3.2/wx/android/config_android.h
+include/wx-3.2/wx/android/setup.h
+include/wx-3.2/wx/anidecod.h
+include/wx-3.2/wx/animate.h
+include/wx-3.2/wx/animdecod.h
+include/wx-3.2/wx/any.h
+include/wx-3.2/wx/anybutton.h
+include/wx-3.2/wx/anystr.h
+include/wx-3.2/wx/app.h
+include/wx-3.2/wx/appprogress.h
+include/wx-3.2/wx/apptrait.h
+include/wx-3.2/wx/archive.h
+include/wx-3.2/wx/arrimpl.cpp
+include/wx-3.2/wx/arrstr.h
+include/wx-3.2/wx/artprov.h
+include/wx-3.2/wx/atomic.h
+include/wx-3.2/wx/aui/aui.h
+include/wx-3.2/wx/aui/auibar.h
+include/wx-3.2/wx/aui/auibook.h
+include/wx-3.2/wx/aui/barartmsw.h
+include/wx-3.2/wx/aui/dockart.h
+include/wx-3.2/wx/aui/floatpane.h
+include/wx-3.2/wx/aui/framemanager.h
+include/wx-3.2/wx/aui/tabart.h
+include/wx-3.2/wx/aui/tabartgtk.h
+include/wx-3.2/wx/aui/tabartmsw.h
+include/wx-3.2/wx/aui/tabmdi.h
+include/wx-3.2/wx/bannerwindow.h
+include/wx-3.2/wx/base64.h
+include/wx-3.2/wx/beforestd.h
+include/wx-3.2/wx/bitmap.h
+include/wx-3.2/wx/bmpbndl.h
+include/wx-3.2/wx/bmpbuttn.h
+include/wx-3.2/wx/bmpcbox.h
+include/wx-3.2/wx/bookctrl.h
+include/wx-3.2/wx/brush.h
+include/wx-3.2/wx/buffer.h
+include/wx-3.2/wx/build.h
+include/wx-3.2/wx/busyinfo.h
+include/wx-3.2/wx/button.h
+include/wx-3.2/wx/calctrl.h
+include/wx-3.2/wx/caret.h
+include/wx-3.2/wx/catch_cppunit.h
+include/wx-3.2/wx/chartype.h
+include/wx-3.2/wx/checkbox.h
+include/wx-3.2/wx/checkeddelete.h
+include/wx-3.2/wx/checklst.h
+include/wx-3.2/wx/chkconf.h
+include/wx-3.2/wx/choicdlg.h
+include/wx-3.2/wx/choice.h
+include/wx-3.2/wx/choicebk.h
+include/wx-3.2/wx/clipbrd.h
+include/wx-3.2/wx/clntdata.h
+include/wx-3.2/wx/clrpicker.h
+include/wx-3.2/wx/cmdargs.h
+include/wx-3.2/wx/cmdline.h
+include/wx-3.2/wx/cmdproc.h
+include/wx-3.2/wx/cmndata.h
+include/wx-3.2/wx/collheaderctrl.h
+include/wx-3.2/wx/collpane.h
+include/wx-3.2/wx/colordlg.h
+include/wx-3.2/wx/colour.h
+include/wx-3.2/wx/colourdata.h
+include/wx-3.2/wx/combo.h
+include/wx-3.2/wx/combobox.h
+include/wx-3.2/wx/commandlinkbutton.h
+include/wx-3.2/wx/compiler.h
+include/wx-3.2/wx/compositewin.h
+include/wx-3.2/wx/confbase.h
+include/wx-3.2/wx/config.h
+include/wx-3.2/wx/containr.h
+include/wx-3.2/wx/control.h
+include/wx-3.2/wx/convauto.h
+include/wx-3.2/wx/cpp.h
+include/wx-3.2/wx/creddlg.h
+include/wx-3.2/wx/crt.h
+include/wx-3.2/wx/cshelp.h
+include/wx-3.2/wx/ctrlsub.h
+include/wx-3.2/wx/cursor.h
+include/wx-3.2/wx/custombgwin.h
+include/wx-3.2/wx/dataobj.h
+include/wx-3.2/wx/dataview.h
+include/wx-3.2/wx/datectrl.h
+include/wx-3.2/wx/dateevt.h
+include/wx-3.2/wx/datetime.h
+include/wx-3.2/wx/datetimectrl.h
+include/wx-3.2/wx/datstrm.h
+include/wx-3.2/wx/dc.h
+include/wx-3.2/wx/dcbuffer.h
+include/wx-3.2/wx/dcclient.h
+include/wx-3.2/wx/dcgraph.h
+include/wx-3.2/wx/dcmemory.h
+include/wx-3.2/wx/dcmirror.h
+include/wx-3.2/wx/dcprint.h
+include/wx-3.2/wx/dcps.h
+include/wx-3.2/wx/dcscreen.h
+include/wx-3.2/wx/dcsvg.h
+include/wx-3.2/wx/dde.h
+include/wx-3.2/wx/debug.h
+include/wx-3.2/wx/debugrpt.h
+include/wx-3.2/wx/defs.h
+include/wx-3.2/wx/dfb/app.h
+include/wx-3.2/wx/dfb/bitmap.h
+include/wx-3.2/wx/dfb/brush.h
+include/wx-3.2/wx/dfb/chkconf.h
+include/wx-3.2/wx/dfb/cursor.h
+include/wx-3.2/wx/dfb/dc.h
+include/wx-3.2/wx/dfb/dcclient.h
+include/wx-3.2/wx/dfb/dcmemory.h
+include/wx-3.2/wx/dfb/dcscreen.h
+include/wx-3.2/wx/dfb/dfbptr.h
+include/wx-3.2/wx/dfb/evtloop.h
+include/wx-3.2/wx/dfb/font.h
+include/wx-3.2/wx/dfb/nonownedwnd.h
+include/wx-3.2/wx/dfb/pen.h
+include/wx-3.2/wx/dfb/popupwin.h
+include/wx-3.2/wx/dfb/private.h
+include/wx-3.2/wx/dfb/private/fontmgr.h
+include/wx-3.2/wx/dfb/private/overlay.h
+include/wx-3.2/wx/dfb/region.h
+include/wx-3.2/wx/dfb/toplevel.h
+include/wx-3.2/wx/dfb/window.h
+include/wx-3.2/wx/dfb/wrapdfb.h
+include/wx-3.2/wx/dialog.h
+include/wx-3.2/wx/dialup.h
+include/wx-3.2/wx/dir.h
+include/wx-3.2/wx/dirctrl.h
+include/wx-3.2/wx/dirdlg.h
+include/wx-3.2/wx/display.h
+include/wx-3.2/wx/dlimpexp.h
+include/wx-3.2/wx/dlist.h
+include/wx-3.2/wx/dnd.h
+include/wx-3.2/wx/docmdi.h
+include/wx-3.2/wx/docview.h
+include/wx-3.2/wx/dragimag.h
+include/wx-3.2/wx/dvrenderers.h
+include/wx-3.2/wx/dynarray.h
+include/wx-3.2/wx/dynlib.h
+include/wx-3.2/wx/dynload.h
+include/wx-3.2/wx/editlbox.h
+include/wx-3.2/wx/effects.h
+include/wx-3.2/wx/encconv.h
+include/wx-3.2/wx/encinfo.h
+include/wx-3.2/wx/event.h
+include/wx-3.2/wx/eventfilter.h
+include/wx-3.2/wx/evtloop.h
+include/wx-3.2/wx/evtloopsrc.h
+include/wx-3.2/wx/except.h
+include/wx-3.2/wx/fdrepdlg.h
+include/wx-3.2/wx/features.h
+include/wx-3.2/wx/ffile.h
+include/wx-3.2/wx/file.h
+include/wx-3.2/wx/fileconf.h
+include/wx-3.2/wx/filectrl.h
+include/wx-3.2/wx/filedlg.h
+include/wx-3.2/wx/filedlgcustomize.h
+include/wx-3.2/wx/filefn.h
+include/wx-3.2/wx/filehistory.h
+include/wx-3.2/wx/filename.h
+include/wx-3.2/wx/filepicker.h
+include/wx-3.2/wx/filesys.h
+include/wx-3.2/wx/flags.h
+include/wx-3.2/wx/fmappriv.h
+include/wx-3.2/wx/font.h
+include/wx-3.2/wx/fontdata.h
+include/wx-3.2/wx/fontdlg.h
+include/wx-3.2/wx/fontenc.h
+include/wx-3.2/wx/fontenum.h
+include/wx-3.2/wx/fontmap.h
+include/wx-3.2/wx/fontpicker.h
+include/wx-3.2/wx/fontutil.h
+include/wx-3.2/wx/frame.h
+include/wx-3.2/wx/fs_arc.h



Home | Main Index | Thread Index | Old Index