Skip to content

Commit

Permalink
Revert: libvips image processing support (#101)
Browse files Browse the repository at this point in the history
This reverts commit a2ebe1b.
  • Loading branch information
xjasonlyu authored Sep 19, 2024
1 parent a2ebe1b commit 06a2dbc
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 124 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ all: server
server:
$(GO_BUILD) -o $(BUILD_DIR)/$(SERVER_NAME) $(SERVER_CODE)

vips: CGO_ENABLED := 1
vips: BUILD_TAGS += vips
vips:
$(GO_BUILD) -o $(BUILD_DIR)/$(SERVER_NAME) $(SERVER_CODE)

darwin-amd64:
GOARCH=amd64 GOOS=darwin $(GO_BUILD) -o $(BUILD_DIR)/$(SERVER_NAME)-$@ $(SERVER_CODE)

Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ require (
github.com/gocolly/colly/v2 v2.1.1-0.20240605174350-99b7fb1b87d1
github.com/gorilla/schema v1.4.1
github.com/grafov/m3u8 v0.12.0
github.com/h2non/bimg v1.1.9
github.com/hashicorp/go-cleanhttp v0.5.2
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/iancoleman/orderedmap v0.3.0
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ github.com/gorilla/schema v1.4.1 h1:jUg5hUjCSDZpNGLuXQOgIWGdlgrIdYvgQ0wZtdK1M3E=
github.com/gorilla/schema v1.4.1/go.mod h1:Dg5SSm5PV60mhF2NFaTV1xuYYj8tV8NOPRo4FggUMnM=
github.com/grafov/m3u8 v0.12.0 h1:T6iTwTsSEtMcwkayef+FJO8kj+Sglr4Lh81Zj8Ked/4=
github.com/grafov/m3u8 v0.12.0/go.mod h1:nqzOkfBiZJENr52zTVd/Dcl03yzphIMbJqkXGu+u080=
github.com/h2non/bimg v1.1.9 h1:WH20Nxko9l/HFm4kZCA3Phbgu2cbHvYzxwxn9YROEGg=
github.com/h2non/bimg v1.1.9/go.mod h1:R3+UiYwkK4rQl6KVFTOFJHitgLbZXBZNFh2cv3AEbp8=
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k=
Expand Down
2 changes: 0 additions & 2 deletions imageutil/decode.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build !vips

package imageutil

import (
Expand Down
32 changes: 0 additions & 32 deletions imageutil/decode_vips.go

This file was deleted.

47 changes: 0 additions & 47 deletions imageutil/vips/image.go

This file was deleted.

35 changes: 0 additions & 35 deletions imageutil/vips/image_test.go

This file was deleted.

0 comments on commit 06a2dbc

Please sign in to comment.