Comments (2)
Oh gosh that sucks, if the license allows, I don't mind including the glm files in slop. Or some math lib replacement.
from slop.
The license is "GLM is licensed under The Happy Bunny License or MIT License" so it'd probably be fine to pick the MIT license and include it in slop's sources. Getting slop to build in this way was easier than I thought.
Here's what works for me (with glm's unmodified source in ./glm/
(The sources could be trimmed down when added to slop):
#!/bin/sh -e
export DESTDIR="$1"
(
cd glm
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DSLOP_OPENGL=False
cmake --build build
)
# Required files from glm are in `./glm/glm` so we only need to
# point slop to `./glm` as the includes are all `<glm/blabla>`
cmake -B build \
-DGLM_INCLUDE_DIR="$PWD/glm" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DSLOP_OPENGL=False
cmake --build build
cmake --install build
I'd be happy to send a PR your way if you're interested in making this change.
from slop.
Related Issues (20)
- Persisten slop for recording HOT 3
- Keyboard navigation HOT 2
- Programmatically select region HOT 2
- strange behavior with --nodrag and moving started selection HOT 1
- transparency in shader HOT 8
- Using the "magnifying glass" (based on shaderexamples) to select a pixel HOT 4
- Optionally disable border drawing and highlighting of windows.
- Slop crashes randomly when selecting
- Expose rectangle start position to shaders HOT 6
- Feature Request: Add parameter to show coordinates and horizontal/vertical lines while selecting a point or region
- Feature Request: Option to output the size of the window
- Feature request: Exclude bars and window manager windows HOT 1
- Screen edge compensation causes misalignment in shader
- Feature request: Use a different window class name (WM_CLASS) for selection
- No compositor found HOT 1
- Feature request: Option to keep rectangle and refine selection
- Feature request: select window from command argument
- Feature request: get display geometry HOT 3
- Feature request: "Ruler" style croshair HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slop.