Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Peter J. Mello
libfprint
Commits
9c1cc734
Verified
Commit
9c1cc734
authored
Jul 01, 2019
by
Peter J. Mello
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch GitLabCI to Ubuntu Rolling image
parent
611dabdd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
7 deletions
+31
-7
make_deb.sh
make_deb.sh
+10
-7
org.freedesktop.libfprint.appdata.xml
org.freedesktop.libfprint.appdata.xml
+21
-0
No files found.
make_deb.sh
View file @
9c1cc734
...
...
@@ -63,19 +63,19 @@ else
exit
1
fi
echo
-e
"
\\
t
\\
e[37;42mOK:
\\
e[0m Latest Release Tag =
${
LATEST_TAG
}
"
echo
-e
"
\\
t
\\
e[37;42mOK:
\\
e[0m Latest Release Tag =
${
PACKAGE_VER
}
"
# Just hand over the tarball and nobody gets hurt, ya see?
echo
"Downloading https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/
${
LATEST_TAG
}
/
${
PACKAGE_NAME
}
-
${
LATEST_TAG
}
.tar.gz..."
echo
"Downloading https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/
${
PACKAGE_VER
}
/
${
PACKAGE_NAME
}
-
${
PACKAGE_VER
}
.tar.gz..."
case
$TRANSFER_AGENT
in
curl
)
HTTP_CODE
=
$(
curl -#
--retry
3
-w
'%{http_code}'
-L
"https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/
${
LATEST_TAG
}
/
${
PACKAGE_NAME
}
-
${
LATEST_TAG
}
.tar.gz"
\
-o
"
${
PACKAGE_DIR
}
/
${
PACKAGE_NAME
}
-
${
LATEST_TAG
}
.tar.gz"
)
HTTP_CODE
=
$(
curl -#
--retry
3
-w
'%{http_code}'
-L
"https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/
${
PACKAGE_VER
}
/
${
PACKAGE_NAME
}
-
${
PACKAGE_VER
}
.tar.gz"
\
-o
"
${
PACKAGE_DIR
}
/
${
PACKAGE_NAME
}
_
${
UPSTREAM_VER
}
.orig
.tar.gz"
)
;;
wget
)
HTTP_CODE
=
$(
wget
-qc
-t
3
--show-progress
-O
"
${
PACKAGE_DIR
}
/
${
PACKAGE_NAME
}
-
${
LATEST_TAG
}
.tar.gz"
\
--server-response
"https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/
${
LATEST_TAG
}
/
${
PACKAGE_NAME
}
-
${
LATEST_TAG
}
.tar.gz"
2>&1 |
HTTP_CODE
=
$(
wget
-qc
-t
3
--show-progress
-O
"
${
PACKAGE_DIR
}
/
${
PACKAGE_NAME
}
_
${
UPSTREAM_VER
}
.orig
.tar.gz"
\
--server-response
"https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/
${
PACKAGE_VER
}
/
${
PACKAGE_NAME
}
-
${
PACKAGE_VER
}
.tar.gz"
2>&1 |
awk
'/^ HTTP/{print $2}'
|
tail
-1
)
;;
*
)
...
...
@@ -104,8 +104,11 @@ rm -f "${PACKAGE_DIR}"/"${PACKAGE_NAME}"-"${LATEST_TAG}".tar.gz
cp
-R
"
${
SCRIPT_DIR
}
"
/debian
"
${
PACKAGE_DIR
}
"
/
"
${
PACKAGE_NAME
}
"
-
"
${
UPSTREAM_VER
}
"
cd
"
${
PACKAGE_DIR
}
"
/
"
${
PACKAGE_NAME
}
"
-
"
${
UPSTREAM_VER
}
"
||
exit
1
# Create and install a dummy package to satisfy the build dependencies, then delete it
mk-build-deps
-ir
debian/control
# Replace the generic distribution string "unstable" with the distribution codename of the build system
sed
-i
"1s/unstable/
$(
lsb_release
-cs
)
/"
"
${
PACKAGE_DIR
}
"
/
"
${
PACKAGE_NAME
}
"
-
"
${
UPSTREAM_VER
}
"
/
debian/changelog
sed
-i
"1s/unstable/
$(
lsb_release
-cs
)
/"
debian/changelog
# Call debuild to oversee the build process and produce an output string for the user based on its exit code
echo
-e
"
\\
tBuilding package
${
PACKAGE_NAME
}
_
${
DEBIAN_VER
}
_
${
PACKAGE_ARCH
}
.deb, please be patient..."
...
...
org.freedesktop.libfprint.appdata.xml
0 → 100644
View file @
9c1cc734
<?xml version="1.0" encoding="UTF-8"?>
<component
type=
"driver"
>
<id>
org.freedesktop.Libfprint
</id>
<name>
libfprint
</name>
<summary>
Asynchronous biometric USB driver for Linux
</summary>
<description>
<p>
The fprint project works to bring turnkey support for consumer fingerprint
reader devices and biometric authentication options to Linux.
</p>
</description>
<url
type=
"homepage"
>
https://fprint.freedesktop.org/
</url>
<metadata_license>
CC0-1.0
</metadata_license>
<project_license>
LGPL-2.1+
</project_license>
<developer_name>
freedesktop.org
</developer_name>
<provides>
<modalias>
pci:v000010DEd*sv*sd*bc03sc00i00*
</modalias>
...
</provides>
</component>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment