Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
TreeMaker
Allow-building-with-system-wxWidgets.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Allow-building-with-system-wxWidgets.patch of Package TreeMaker
From: Aaron Puchert <aaronpuchert@alice-dsl.net> Date: Sat, 8 Apr 2023 23:00:22 +0200 Subject: [PATCH 01/20] Allow building with system wxWidgets At least my distribution doesn't seem to ship hhp2cached, so it has to be built manually and the directory passed via WXHLPCACHEDIR. --- linux/Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index c737532..20662e4 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -6,8 +6,6 @@ ### Check and optionally change the next few lines in order to match ### your platform -# Where wxWidgets is installed -WXHOME = /opt/wxGTK-2.6.2 # Binary name PROGRAM = TreeMaker # Installation directory prefix (usually /usr/local); by wxWidgets @@ -29,8 +27,7 @@ OPTIONS += -DINSTALL_PREFIX=\"$(INSTALL_PREFIX)/\" OPTIONS += -DCAF # Auxiliary wxWidgets apps -WXCONFIG = $(WXPATH)/wx-config -WXHLPCACHEDIR = $(WXPATH)/utils/hhp2cached +WXCONFIG = wx-config # Auxiliary program files HELP = $(BUILDGENERIC)/help.zip @@ -40,19 +37,15 @@ BUILD ?= release ifeq ($(BUILD),debug) CONDFLAGS = -DTMWX -D__WXDEBUG__ -g - WX = debug else ifeq ($(BUILD),devel) CONDFLAGS = -DTMWX -DTMDEBUG -g - WX = release else ifeq ($(BUILD),profile) CONDFLAGS = -DTMWX -DTMPROFILE -O3 -g -pg - WX = release else ifeq ($(BUILD),release) CONDFLAGS = -DTMWX -O3 - WX = release endif endif endif @@ -60,8 +53,6 @@ endif CFLAGS = `$(WXCONFIG) --cxxflags` \ -Wall $(CONDFLAGS) $(OPTIONS) $(INCCFLAGS) -# Use either debug or release build directories of wxW -WXPATH = $(WXHOME)/build-$(WX) # You may remake everything here anytime you want BUILDGENERIC = build # We'll leave dependency, object and binary files here
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor