Now we're talking time consumption
First a humble reflection.
I don't quite understand what you aim at by 'support it in some way'?
With wxGTK (+ an additional dep) or wxPython you can build a tar.z in Slackware, but you cannot make a package from it using 'make package' or Slackware's 'makepkg'.
You most probably can install the tar.gz by 'make install' as Jean-Eaudes suggested, I never tried it. If there is no uninstall-script it's a mess to uninstall.
-By my final 'out-of-line'-reply I just wanted to tell you that there was a way building a package in Slackware! I had no intension of pursuing in anyway!
In fact it was my friend who found the way, I just tried it. -He has been in the Slackware-circuits for at least the last 12 years, so I I usually trust he knows what he is doing.
It's not that I'm reluctant to help you, but you ask for a hell of a lot of work. -You see my setup was not the way you ask for, with only wxGTK (though I see what you mean about the python-part being unnecessary). My friend tried it though and found that wxGTK alone didn't work, with wxGTK there were one more dependency he needed. -I'll tell you more about it in the attached file that also contains what error-msgs I got with both wxGTK and wxPython installed.
well well, I see there is no way to attach a text-file, just videos
I have to paste the content here:
Below BOTH wxPython-18.104.22.168-i486-1_SBo.tgz and wxGTK-2.8.12-i486-2_SBo.tgz installed:
make in both cases failed by:
-- Generating done
-- Build files have been written to: /home/larse/bin/OpenCPN/build
[ 16%] Building CXX object CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o
In file included from /home/larse/bin/OpenCPN/src/s52cnsy.cpp:40:0:
/home/larse/bin/OpenCPN/include/s52plib.h:421:22: error: 'wxGCDC' has not been declared
/home/larse/bin/OpenCPN/include/s52plib.h:437:2: error: 'wxGCDC' does not name a type
make: *** [CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o] Error 1
make: *** [CMakeFiles/S57ENC.dir/all] Error 2
make: *** [all] Error 2
Looked for missing wx-dependencies, found the README I showed you.
Then make succeeded (both cases)
-My friend though had a setup more along the line you asked: Only wxGTK installed.
His first build-trials failed till he found an 'optional' dependency to wxPython: libmspack.
When he installed that his builds succeeded, that is:
with wxGTK + libmspack cmake/make/make package your source builds to a tar.gz
with wxPython cmake/make/make package your source builds to a tar.gz
But neither runs with src2pkg that tries to build like the tar.gz was an ordinary src, that is
uses cmake and make in the build process.
-src2pkg though can build you src as downloaded from git and packed with tar:
# src2pkg "your-tar-packed-OpenCPN/" below opencpn-3.1.1417.tar.gz
bash-4.2# src2pkg opencpn-3.1.1417.tar.gz
Found source archive: opencpn-3.1.1417.tar.gz
Creating working directories:
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Found 'cmake' configuration - Configuring using:
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=64 -DCMAKE_BUILD_TYPE=Release \
Compiling sources - Using: 'make'
Compiling has been - Successful!
Checking for Makefile rule
: 'install' Okay
Using SAFE method in REAL root directory - Using: 'make install'
SAFE Content creation - Successful!
Processing package content:
Correcting package permissions - Done
Stripping ELF binaries - Using: strip -p --strip-unneeded Done
Stripping shared libraries - Using: strip -p --strip-unneeded Done
Notice - Moving docs installed under usr/share/doc to usr/doc.
Notice - Renaming doc directory installed without a version number.
Checking for standard documents - Done
Found 'opencpn.xpm' in SRC_DIR - Copying to PKG_DIR/PIXMAPS_DIR
Creating slack-desc - From default text
Rechecking package correctness:
Checking for misplaced dirs - Done
Rechecking package permissions - Done
Checking for dead links in PKG_DIR - Done
Searching for links in: opencpn-3.1.1417-x86_64-1 - None found
Found .desktop files - Adding 'update-desktop-database' routine to doinst.sh
Found icon files - Adding 'gtk-update-icon-cache' routine to doinst.sh
Creating package: opencpn-3.1.1417-x86_64-1.txz - Done
Package Creation - Successful! Package Location: