Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Merge branch 'dev/v2'
Browse files Browse the repository at this point in the history
close #44
close #43
close #42
close #41
close #36
close #35
close #34
  • Loading branch information
bakape committed Feb 2, 2019
2 parents f191a43 + bb0b4e4 commit d220172
Show file tree
Hide file tree
Showing 57 changed files with 642 additions and 13,914 deletions.
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
services: docker
script:
- docker build -t thumbnailer_test .
- docker run thumbnailer_test go test
notifications:
email:
recipients:
- [email protected]
on_success: never
on_failure: always
- docker run thumbnailer_test go test --race
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM bakape/meguca
ENV GOPATH=/go
ENV PATH="${PATH}:/usr/local/go/bin:${GOPATH}/bin"
RUN mkdir -p /go/src/github.com/bakape/thumbnailer
WORKDIR /go/src/github.com/bakape/thumbnailer
FROM debian:testing
COPY . .
RUN go get -v ./...
RUN apt-get update
RUN apt-get dist-upgrade -y
RUN apt-get install -y build-essential pkg-config libpth-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev golang
683 changes: 1 addition & 682 deletions LICENSE

Large diffs are not rendered by default.

14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,7 @@ Package thumbnailer provides a more efficient image/video/audio/PDF thumbnailer
than available with native Go processing libraries through GraphicsMagic and
ffmpeg bindings.

For a comprehensive list of file formats supported by default, check the `matchers` slice in `mime.go`.

## License
GNU GENERAL PUBLIC LICENSE / MIT License

Depending on how the project is built it can be licensed under either MIT or
GPLv3. Thumbnailer links against the GPLv3-licensed libimagequant for lossy PNG
thumbnail compression by default and thus also becomes applicable under the
GPLv3. To build thumbnailer without this feature under the MIT license, please
specify `--tags=MIT` when building the project. See LICENSE for more details.
For a comprehensive list of file formats supported by default see the main.go:Process().

## Dependencies
* Go >= 1.10
Expand All @@ -23,8 +14,7 @@ specify `--tags=MIT` when building the project. See LICENSE for more details.
* pkg-config
* pthread
* ffmpeg >= 3.1 libraries (libavcodec, libavutil, libavformat, libswscale)
* GraphicsMagick

NB: ffmpeg and GM should be compiled with all the dependency libraries for
NB: ffmpeg should be compiled with all the dependency libraries for
formats you want to process. On most Linux distributions you should be fine with
the packages in the stock repositories.
50 changes: 0 additions & 50 deletions audio.go

This file was deleted.

132 changes: 0 additions & 132 deletions blur.c

This file was deleted.

4 changes: 0 additions & 4 deletions blur.h

This file was deleted.

98 changes: 0 additions & 98 deletions buf.go

This file was deleted.

6 changes: 0 additions & 6 deletions build_flags_mit.go

This file was deleted.

Loading

0 comments on commit d220172

Please sign in to comment.