Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Robert Samoraj
Adélie Package Tree
Commits
0cee93cf
Verified
Commit
0cee93cf
authored
7 years ago
by
Anna Wilcox
Browse files
Options
Downloads
Patches
Plain Diff
user/xsane: new package
parent
74424999
No related branches found
Branches containing commit
Tags
1.0-alpha5
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
user/xsane/APKBUILD
+37
-0
37 additions, 0 deletions
user/xsane/APKBUILD
user/xsane/xsane-0.999-libpng16.patch
+20
-0
20 additions, 0 deletions
user/xsane/xsane-0.999-libpng16.patch
with
57 additions
and
0 deletions
user/xsane/APKBUILD
0 → 100644
+
37
−
0
View file @
0cee93cf
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname
=
xsane
pkgver
=
0.999
pkgrel
=
0
pkgdesc
=
"Graphical scanning software"
url
=
"http://xsane.org/"
arch
=
"all"
options
=
"!check"
# No test suite.
license
=
"GPL-2.0+"
depends
=
""
makedepends
=
"gettext-dev gtk+2.0-dev lcms-dev libjpeg-turbo-dev libpng-dev
sane-dev tiff-dev"
subpackages
=
"
$pkgname
-doc
$pkgname
-lang"
source
=
"http://www.xsane.org/download/xsane-
$pkgver
.tar.gz
xsane-0.999-libpng16.patch"
builddir
=
"
$srcdir
/xsane-
$pkgver
"
build
()
{
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--localstatedir
=
/var
make
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"73ec961fce1a86b5d6f5bac0995d222785eb4b077dc8e72492b092d2bf4500455426e80e4d27233721cd38ec84f77fb9f92190a6afe45bdaf7ffd1ee50b431ed xsane-0.999.tar.gz
6b271360b9cb7e2db165fbd67eed95fdfa9a2e52d61ce54679f5a6a0bdc6cee79be3224063da22907f6eaa6e6645d321ccddd9b37484156ba55aef8977e25738 xsane-0.999-libpng16.patch"
This diff is collapsed.
Click to expand it.
user/xsane/xsane-0.999-libpng16.patch
0 → 100644
+
20
−
0
View file @
0cee93cf
--- xsane-0.999/src/xsane-save.c.old 2010-11-16 21:06:00.000000000 +0000
+++ xsane-0.999/src/xsane-save.c 2018-03-08 22:45:17.763964565 +0000
@@ -4910,7 +4910,7 @@
return -1; /* error */
}
- if (setjmp(png_ptr->jmpbuf))
+ if (setjmp(png_jmpbuf(png_ptr)))
{
snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG);
xsane_back_gtk_error(buf, TRUE);
@@ -5100,7 +5100,7 @@
return -1; /* error */
}
- if (setjmp(png_ptr->jmpbuf))
+ if (setjmp(png_jmpbuf(png_ptr)))
{
snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG);
xsane_back_gtk_error(buf, TRUE);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment