Tyding up
This commit is contained in:
		
							
								
								
									
										21
									
								
								LICENSE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								LICENSE
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					Zoomer - A monocle application for linux
 | 
				
			||||||
 | 
					Copyright © 2024 Debucquoy Anthony (tonitch)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Permission is hereby granted, free of charge, to any person obtaining
 | 
				
			||||||
 | 
					a copy of this software and associated documentation files (the "Software"),
 | 
				
			||||||
 | 
					to deal in the Software without restriction, including without limitation
 | 
				
			||||||
 | 
					the rights to use, copy, modify, merge, publish, distribute, sublicense,
 | 
				
			||||||
 | 
					and/or sell copies of the Software, and to permit persons to whom the
 | 
				
			||||||
 | 
					Software is furnished to do so, subject to the following conditions:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The above copyright notice and this permission notice shall be included
 | 
				
			||||||
 | 
					in all copies or substantial portions of the Software.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 | 
				
			||||||
 | 
					EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 | 
				
			||||||
 | 
					OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 | 
				
			||||||
 | 
					IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
 | 
				
			||||||
 | 
					DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 | 
				
			||||||
 | 
					TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
 | 
				
			||||||
 | 
					OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							@ -1,6 +1,8 @@
 | 
				
			|||||||
.PHONY: all clean run
 | 
					.PHONY: all clean run
 | 
				
			||||||
VERSION = 0.0.1
 | 
					VERSION = 0.0.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PREFIX=/usr/local
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LIBS = sdl2 glew
 | 
					LIBS = sdl2 glew
 | 
				
			||||||
CMACRO = -DVERSION=\"$(VERSION)\"
 | 
					CMACRO = -DVERSION=\"$(VERSION)\"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -20,6 +22,9 @@ clean:
 | 
				
			|||||||
	rm -f *.o
 | 
						rm -f *.o
 | 
				
			||||||
	rm -f zoomer 
 | 
						rm -f zoomer 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					install: zoomer
 | 
				
			||||||
 | 
						install -Dm755 $< $(DESTDIR)$(PREFIX)/bin/$<
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bear: clean
 | 
					bear: clean
 | 
				
			||||||
	bear -- make
 | 
						bear -- make
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										42
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,42 @@
 | 
				
			|||||||
 | 
					# Zoomer
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Simple zoom application 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Clone in c of [boomer by tsoding](https://github.com/tsoding/boomer)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Dependencies
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- [scrot](https://github.com/dreamer/scrot)
 | 
				
			||||||
 | 
					- SDL2
 | 
				
			||||||
 | 
					- OpenGL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					# DESTDIR=/usr/local/ make install
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Todo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- [ ] screenshot without scrot 
 | 
				
			||||||
 | 
					- [ ] zoom with scroll
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					##  We're Using GitHub Under Protest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This project is currently hosted on GitHub.  This is not ideal; GitHub is a
 | 
				
			||||||
 | 
					proprietary, trade-secret system that is not Free and Open Souce Software
 | 
				
			||||||
 | 
					(FOSS).  We are deeply concerned about using a proprietary system like GitHub
 | 
				
			||||||
 | 
					to develop our FOSS project. We urge you to read about the
 | 
				
			||||||
 | 
					[Give up GitHub](https://GiveUpGitHub.org) campaign from
 | 
				
			||||||
 | 
					[the Software Freedom Conservancy](https://sfconservancy.org) to understand
 | 
				
			||||||
 | 
					some of the reasons why GitHub is not a good place to host FOSS projects.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					If you are a contributor who personally has already quit using GitHub, please
 | 
				
			||||||
 | 
					[check this resource](https://git.herisson.ovh/tonitch/zoomer) for how to send us contributions without
 | 
				
			||||||
 | 
					using GitHub directly.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Any use of this project's code by GitHub Copilot, past or present, is done
 | 
				
			||||||
 | 
					without our permission.  We do not consent to GitHub's use of this project's
 | 
				
			||||||
 | 
					code in Copilot.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user