Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gifsicle #126

Merged
merged 1 commit into from
Oct 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.