[OpenIndiana-discuss] Building wx-3.1.1

Jason Martin agrellum at gmail.com
Thu Sep 20 20:58:58 UTC 2018


Was working on 3.1.1 for myself trying to get great build of codeblocks.

Anjuta and mate-panel keeps coring after glib 2.57.

Still working on tests and not 64 bit build yet. (64 builds OK but 
webkit 32 only)

Tests need xclock installed.

I post this if it helps anyone.

include ../../../make-rules/shared-macros.mk

COMPONENT_NAME=             wxWidgets
COMPONENT_VERSION=          3.1.1
COMPONENT_FMRI=             library/$(COMPONENT_NAME)_3_dev
COMPONENT_SUMMARY=          Cross-platform C++ GUI toolkit
COMPONENT_CLASSIFICATION=   Development/GNOME and GTK+
COMPONENT_SRC=              $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=          $(COMPONENT_SRC).tar.bz2
COMPONENT_ARCHIVE_HASH= \
sha256:c925dfe17e8f8b09eb7ea9bfdcfcc13696a3e14e92750effd839f5e10726159e
COMPONENT_ARCHIVE_URL= 
https://github.com/$(COMPONENT_NAME)/$(COMPONENT_NAME)/releases/download/v3.1.1/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL=      http://www.wxwidgets.org/
COMPONENT_LICENSE=          wxWindows

include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk

PATH=$(PATH.gnu)

##CONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32)

CFLAGS   += -I/usr/include/mesa
CXXFLAGS += -I/usr/include/mesa
CXXFLAGS += -fpermissive
LDFLAGS  += -L/usr/lib/mesa -R/usr/lib/mesa

##LDFLAGS  += -L/usr/lib/mesa/$(MACH64) -R/usr/lib/mesa/$(MACH64)
#PKG_CONFIG_PATH=/usr/lib/$(MACH64)/pkgconfig

#CONFIGURE_OPTIONS += --disable-webkit
#CONFIGURE_OPTIONS += --disable-webview
#CONFIGURE_OPTIONS += --disable-webviewwebkit

CONFIGURE_OPTIONS += --enable-gui
CONFIGURE_OPTIONS += --enable-mimetype
CONFIGURE_OPTIONS += --enable-unicode
CONFIGURE_OPTIONS += --enable-xrc
CONFIGURE_OPTIONS += --with-expat
CONFIGURE_OPTIONS += --with-gtk=3
CONFIGURE_OPTIONS += --with-opengl
CONFIGURE_OPTIONS += --with-sdl
CONFIGURE_OPTIONS += --with-subdirs
CONFIGURE_OPTIONS += --without-gnomevfs
CONFIGURE_OPTIONS += --without-libmspack

#COMPONENT_TEST_DIR += $(@D)/samples
#COMPONENT_TEST_DIR += $(@D)/tests
#COMPONENT_TEST_TARGETS = check

# Build all samples and test programs.
#COMPONENT_PRE_SYSTEM_TEST_ACTION += (cd $(@D)/samples; $(MAKE) && \
#        cd $(@D)/tests; $(MAKE) )

# Build the test program.
COMPONENT_PRE_SYSTEM_TEST_ACTION += \
     (cd $(@D)/tests ; $(GMAKE) ) ;


#COMPONENT_TEST_TARGETS = ($(@D)/tests/test && $(@D)/tests/test_gui)

COMPONENT_TEST_TARGETS = (./$(@D)/tests/test)

# common targets
build:      $(BUILD_32)

install:    $(INSTALL_32)

test:       $(TEST_32)




More information about the openindiana-discuss mailing list