Ver código fonte

Fixed bug where OpenBSD couldn't compile

Dalton Nell 9 anos atrás
pai
commit
8204aea88a
3 arquivos alterados com 9 adições e 2 exclusões
  1. 1
    1
      CMakeLists.txt
  2. 7
    1
      README.md
  3. 1
    0
      src/framebuffer.hpp

+ 1
- 1
CMakeLists.txt Ver arquivo

@@ -3,7 +3,7 @@ cmake_minimum_required( VERSION 2.8 )
3 3
 project( "slop" )
4 4
 set( slop_VERSION_MAJOR 4 )
5 5
 set( slop_VERSION_MINOR 2 )
6
-set( slop_VERSION_PATCH 16 )
6
+set( slop_VERSION_PATCH 17 )
7 7
 
8 8
 set( CMAKE_OPENGL_SUPPORT FALSE CACHE BOOL "Whether or not to compile with OpenGL, shaders, magnification, and theming support." )
9 9
 

+ 7
- 1
README.md Ver arquivo

@@ -121,7 +121,7 @@ Feel free to make your own themes and submit a pull request to see if it can be
121 121
 help
122 122
 ----
123 123
 ```text
124
-slop v4.2.16
124
+slop v4.2.17
125 125
 
126 126
 Copyright (C) 2014 Dalton Nell, Slop Contributors
127 127
 (https://github.com/naelstrof/slop/graphs/contributors)
@@ -201,6 +201,12 @@ Examples
201 201
     $ # Classic Windows XP selection.
202 202
     $ slop -l -c 0.3,0.4,0.6,0.4
203 203
 
204
+    $ # Wiggle wiggle!
205
+    $ slop --opengl --shader wiggle
206
+
207
+    $ # Edgy textures or something.
208
+    $ slop --opengl --theme gothic
209
+
204 210
     $ # Change output format to use safer parsing
205 211
     $ slopoutput=$(slop -f "%x %y %w %h")
206 212
     $ X=$(echo $slopoutput | awk '{print $1}')

+ 1
- 0
src/framebuffer.hpp Ver arquivo

@@ -4,6 +4,7 @@
4 4
 #include <GL/glew.h>
5 5
 #include <GL/gl.h>
6 6
 #include <glm/glm.hpp>
7
+#include <stdexcept>
7 8
 
8 9
 #include "x.hpp"
9 10
 #include "shader.hpp"