This repository provides a "clean-room" environment for building the classic image viewer and editor, XV, on macOS. It aims to consolidate the original XV source code, essential patches, and a build script for a streamlined macOS development experience.
WARNING! This repository / project is only out of pure nostalgia.
The real work porting and updating xv is here: https://github.com/jasper-software/xv
Me? I've using XV since the 90's and always wanted to get around being able to recompile this xv-3.10a.tar.gz archive i've been carrying around since.
Thanks GEMINI for the help!
./build_macos.sh
- Original XV Source: The patched 'Jumbo' XV 3.10a tree (
xv-3.10a-patched.tar.gz). - Patch: A MacOS patch to make this tree compile clean:
macos-compile.path - CMake config: A
CMakeLists.txtfile for configuring the build process. - Build Script: A shell script (
./build_macos.sh) to automate the build on macOS. - The final source tree:
xv-3.10acontains the expected output of the script run, for reference. - License: XV's shareware license information (
LICENSE).
This source tree has been heavily prepared by GEMINI-CLI under my supervision.
Follow these steps to build XV from this repository:
- Prerequisites: Ensure you have Homebrew installed. If not, install it from brew.sh.
- Dependencies: Run the build script, which will handle installing necessary dependencies (XQuartz, libjpeg-turbo, libtiff, libpng, jasper).
- Build: Execute the build script.
# Clone this repository (if you haven't already)
# git clone git@github.com:skal65535/xv-macos.git xv-macos
# Navigate to the repository directory
# cd xv-macos
# Run the build script
./build_macos.sh-> build/ should contain the 'xv' binaries.
XV is distributed under a shareware license for personal use. Commercial, government, and institutional users are
required to register their copies. Please refer to the LICENSE file for full details.
- Greg Roelofs' Jumbo patches. This is the starting point.
- Modern 'xv' version (with WebP support!): github.com/jasper-software/xv . Use this one!
- porting xv on Ubuntu (archive): building-xv-on-ubuntu
- original ftp site at UPenn
