Skip to content
oweidnerPublic

About

A simple X11/Motif weather application.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

XWeather

A contemporary X11/Motif weather application, inspired by Gnome Weather. Runs great on SGI IRIX, MacOS, and Linux.

xweather screenshot

xweather screenshot

Features

  • Live weather data from open-meteo.com
  • Daily and hourly forecast views
  • Easily manage and switch between multiple location
  • Written in C and X11/Motif for maximum compatibility with vintage UNIXes.

Installation

MacOS

xweather runs on macOS using XQuartz as the X server and Homebrew to supply the Motif/X11 development libraries (macOS ships neither).

1. Install XQuartz (the X server) if you don't already have it:

brew install --cask xquartz

Log out and back in (or reboot) after the first XQuartz install so the DISPLAY environment and X11 app registration take effect.

2. Install the build dependencies with Homebrew:

brew install openmotif json-c libxpm

This pulls in Motif (Xm) and its X11/Xt/Xp dependencies, json-c, and libXpm. libcurl and pkg-config ship with Xcode Command Line Tools / macOS and don't need a separate install, but make sure the Command Line Tools are installed:

xcode-select --install

3. Configure and build:

./configure
make

configure detects macOS automatically and wires up the Homebrew include/library paths for Motif, X11, and libXpm.

4. Run it. Make sure XQuartz is running (launch it once from Spotlight/Applications, or it will auto-start when an X11 app connects), then:

./xweather

Acknowledgements

License

xweather is licensed under the MIT License.

About

A simple X11/Motif weather application.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages