Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: imagemin/gifsicle-bin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.1.0
Choose a base ref
...
head repository: imagemin/gifsicle-bin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.2.0
Choose a head ref
  • 4 commits
  • 6 files changed
  • 2 contributors

Commits on Feb 28, 2021

  1. Copy the full SHA
    7ba781d View commit details
  2. Copy the full SHA
    6f3ac47 View commit details
  3. Update dependencies (#120)

    1000ch authored Feb 28, 2021
    Copy the full SHA
    5c27a42 View commit details
  4. 5.2.0

    1000ch committed Feb 28, 2021
    Copy the full SHA
    2f53dab View commit details
Showing with 106 additions and 13 deletions.
  1. +66 −0 .github/workflows/test.yml
  2. +0 −5 .travis.yml
  3. +28 −0 build-linux-x64-instructions.md
  4. +11 −7 package.json
  5. +1 −1 readme.md
  6. BIN vendor/linux/x64/gifsicle
66 changes: 66 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: test

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
linux:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
env:
CI: true

macos:
runs-on: macos-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew install automake
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
env:
CI: true

windows:
runs-on: windows-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
env:
CI: true
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

28 changes: 28 additions & 0 deletions build-linux-x64-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# how to build gifsicle for x64 Linux

Start an **amazon linux 64 bit x86 ec2 AMI** (x86 64 bit is super important, that ensures we're on the same platform that lambda runs on.)

login to the ec2 instance and run this:

```bash
sudo yum update
sudo yum install autoconf intltool
sudo yum groupinstall "Development Tools"

wget https://github.com/kohler/gifsicle/archive/v1.92.tar.gz

tar -xzf v1.92.tar.gz
cd gifsicle-1.92

autoreconf -i
./configure --disable-gifview
make
```

then logout and run:

```bash
scp -i sp-tmp.pem ec2-user@18.233.161.219:/home/ec2-user/gifsicle-1.92/src/gifsicle /Users/username/gifsicle/vendor/linux/64/gifsicle
```

These instructions assume your ec2 instance is running at `18.233.161.219`.
18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"name": "gifsicle",
"version": "5.1.0",
"version": "5.2.0",
"description": "gifsicle wrapper that makes it seamlessly available as a local dependency",
"license": "MIT",
"repository": "imagemin/gifsicle-bin",
"funding": "https://github.com/imagemin/gisicle-bin?sponsor=1",
"bin": "cli.js",
"funding": {
"url": "https://github.com/imagemin/gisicle-bin?sponsor=1"
},
"bin": {
"gifsicle": "cli.js"
},
"engines": {
"node": ">=10"
},
@@ -32,14 +36,14 @@
"dependencies": {
"bin-build": "^3.0.0",
"bin-wrapper": "^4.0.0",
"execa": "^4.0.0",
"execa": "^5.0.0",
"logalot": "^2.0.0"
},
"devDependencies": {
"ava": "^3.8.0",
"ava": "^3.15.0",
"bin-check": "^4.0.1",
"compare-size": "^3.0.0",
"tempy": "^0.5.0",
"xo": "^0.30.0"
"tempy": "^1.0.0",
"xo": "^0.38.1"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# gifsicle-bin [![Build Status](https://travis-ci.org/imagemin/gifsicle-bin.svg?branch=master)](https://travis-ci.org/imagemin/gifsicle-bin)
# gifsicle-bin ![GitHub Actions Status](https://github.com/imagemin/gifsicle-bin/workflows/test/badge.svg?branch=master)

> gifsicle manipulates GIF image files in many different ways. Depending on command line options, it can merge several GIFs into a GIF animation; explode an animation into its component frames; change individual frames in an animation; turn interlacing on and off; add transparency and much more.
Binary file added vendor/linux/x64/gifsicle
Binary file not shown.