Skip to content

Commit

Permalink
Update gifsicle (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
1000ch authored Oct 23, 2021
1 parent ef40da8 commit 3554e32
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build-linux-x64-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ sudo yum update
sudo yum install autoconf intltool
sudo yum groupinstall "Development Tools"

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

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

autoreconf -i
./configure --disable-gifview
Expand All @@ -22,7 +22,7 @@ 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
scp -i sp-tmp.pem ec2-user@18.233.161.219:/home/ec2-user/gifsicle-1.93/src/gifsicle /Users/username/gifsicle/vendor/linux/64/gifsicle
```

These instructions assume your ec2 instance is running at `18.233.161.219`.
2 changes: 1 addition & 1 deletion lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import bin from './index.js';
].join(' ');

try {
const source = fileURLToPath(new URL('../vendor/source/gifsicle-1.92.tar.gz', import.meta.url));
const source = fileURLToPath(new URL('../vendor/source/gifsicle-1.93.tar.gz', import.meta.url));
await binBuild.file(source, [
'autoreconf -ivf',
config,
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test.serial('rebuild the gifsicle binaries', async t => {
`--prefix="${temporary}" --bindir="${temporary}"`,
].join(' ');

const source = fileURLToPath(new URL('../vendor/source/gifsicle-1.92.tar.gz', import.meta.url));
const source = fileURLToPath(new URL('../vendor/source/gifsicle-1.93.tar.gz', import.meta.url));
await binBuild.file(source, [
'autoreconf -ivf',
cfg,
Expand Down
Binary file removed vendor/source/gifsicle-1.92.tar.gz
Binary file not shown.
Binary file added vendor/source/gifsicle-1.93.tar.gz
Binary file not shown.

1 comment on commit 3554e32

@adityapatadia
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please add this to 5.x branch as well. The new version contains some bug fixes which are essential and we are not yet ready to switch to ESM.

Please sign in to comment.