Skip to content

Commit 2d9cc32

Browse files
openKylinBotopenKylinBot
authored andcommitted
Import Debian changes 1.0.2-ok1
woff2 (1.0.2-ok1) yangtze; urgency=medium * Build for openKylin.
1 parent f77a952 commit 2d9cc32

File tree

15 files changed

+191
-0
lines changed

15 files changed

+191
-0
lines changed

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
woff2 (1.0.2-ok1) yangtze; urgency=medium
2+
3+
* Build for openKylin.
4+
5+
-- openKylinBot <[email protected]> Mon, 25 Apr 2022 22:03:04 +0800

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10

debian/control

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
Source: woff2
2+
Section: libs
3+
Priority: optional
4+
Maintainer: Debian Fonts Task Force <[email protected]>
5+
Uploaders: Jeremy Bicha <[email protected]>
6+
Build-Depends: cmake,
7+
debhelper (>= 10),
8+
libbrotli-dev,
9+
pkg-config,
10+
Standards-Version: 4.1.2
11+
Homepage: https://github.com/google/woff2
12+
Vcs-Git: https://anonscm.debian.org/git/pkg-fonts/woff2.git
13+
Vcs-Browser: https://anonscm.debian.org/git/pkg-fonts/woff2.git
14+
15+
Package: libwoff1
16+
Architecture: any
17+
Multi-Arch: same
18+
Depends: ${misc:Depends},
19+
${shlibs:Depends},
20+
Description: library for converting fonts to WOFF 2.0
21+
woff2 is a library for converting fonts from the TTF format to the WOFF 2.0
22+
format. The library also allows decompression from WOFF 2.0 to TTF.
23+
.
24+
The WOFF 2.0 format uses the Brotli compression algorithm to compress fonts
25+
suitable for use in CSS @font-face rules. WOFF 2.0 is a W3C Candidate
26+
Recommendation.
27+
28+
Package: libwoff-dev
29+
Section: libdevel
30+
Architecture: any
31+
Multi-Arch: same
32+
Depends: ${misc:Depends},
33+
libbrotli-dev,
34+
libwoff1 (= ${binary:Version})
35+
Description: library for converting fonts to WOFF 2.0 - development files
36+
woff2 is a library for converting fonts from the TTF format to the WOFF 2.0
37+
format. The library also allows decompression from WOFF 2.0 to TTF.
38+
.
39+
The WOFF 2.0 format uses the Brotli compression algorithm to compress fonts
40+
suitable for use in CSS @font-face rules. WOFF 2.0 is a W3C Candidate
41+
Recommendation.
42+
.
43+
This package contains the development files.
44+
45+
Package: woff2
46+
Architecture: any
47+
Section: utils
48+
Depends: ${misc:Depends},
49+
${shlibs:Depends},
50+
Description: utilities for converting fonts to WOFF 2.0
51+
woff2 is a library for converting fonts from the TTF format to the WOFF 2.0
52+
format. The library also allows decompression from WOFF 2.0 to TTF.
53+
.
54+
The WOFF 2.0 format uses the Brotli compression algorithm to compress fonts
55+
suitable for use in CSS @font-face rules. WOFF 2.0 is a W3C Candidate
56+
Recommendation.
57+
.
58+
This package contains the woff2_compress, woff2_decompress, and woff2_info
59+
utilities.

debian/copyright

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: woff2
3+
Source: https://github.com/google/woff2
4+
5+
Files: *
6+
Copyright: 2013-2017 the WOFF2 Authors
7+
2013-2017 Google Inc.
8+
License: Expat
9+
10+
Files: CMakeLists.txt
11+
cmake/FindBrotliDec.cmake
12+
cmake/FindBrotliEnc.cmake
13+
Copyright: 2017 Igalia S.L.
14+
License: Expat
15+
16+
License: Expat
17+
Permission is hereby granted, free of charge, to any person obtaining a copy
18+
of this software and associated documentation files (the "Software"), to deal
19+
in the Software without restriction, including without limitation the rights
20+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21+
copies of the Software, and to permit persons to whom the Software is
22+
furnished to do so, subject to the following conditions:
23+
.
24+
The above copyright notice and this permission notice shall be included in
25+
all copies or substantial portions of the Software.
26+
.
27+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
33+
THE SOFTWARE.

debian/gbp.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[DEFAULT]
2+
pristine-tar = True
3+
debian-branch = debian/unstable
4+
patch-numbers = False

debian/libwoff-dev.install

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
usr/include/*
2+
usr/lib/*/lib*.so
3+
usr/lib/*/pkgconfig/*

debian/libwoff1.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/lib/*/lib*.so.*

debian/libwoff1.lintian-overrides

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-name-doesnt-match-sonames libwoff2common1.0.2 libwoff2dec1.0.2 libwoff2enc1.0.2
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
From: Jeremy Bicha <[email protected]>
2+
Date: Thu, 7 Dec 2017 13:40:57 -0500
3+
Subject: [PATCH] Don't set rpath
4+
5+
https://github.com/google/woff2/pull/106
6+
---
7+
CMakeLists.txt | 10 ----------
8+
1 file changed, 10 deletions(-)
9+
10+
diff --git a/CMakeLists.txt b/CMakeLists.txt
11+
index ecfbb83..da8ecf1 100644
12+
--- a/CMakeLists.txt
13+
+++ b/CMakeLists.txt
14+
@@ -21,16 +21,6 @@ option(NOISY_LOGGING "Noisy logging" ON)
15+
# Version information
16+
set(WOFF2_VERSION 1.0.2)
17+
18+
-# When building shared libraries it is important to set the correct rpath
19+
-# See https://cmake.org/Wiki/CMake_RPATH_handling#Always_full_RPATH
20+
-set(CMAKE_SKIP_BUILD_RPATH FALSE)
21+
-set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
22+
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
23+
-list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_LIBDIR}" isSystemDir)
24+
-if ("${isSystemDir}" STREQUAL "-1")
25+
- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_LIBDIR}")
26+
-endif()
27+
-
28+
# Find Brotli dependencies
29+
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
30+
find_package(BrotliDec)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
From b64df1afa8be8bf784e970aa47973ec420ac4381 Mon Sep 17 00:00:00 2001
2+
From: Jeremy Bicha <[email protected]>
3+
Date: Thu, 7 Dec 2017 17:18:05 -0500
4+
Subject: [PATCH] Always install executables
5+
6+
https://github.com/google/woff2/pull/106
7+
---
8+
CMakeLists.txt | 10 ++++------
9+
1 file changed, 4 insertions(+), 6 deletions(-)
10+
11+
diff --git a/CMakeLists.txt b/CMakeLists.txt
12+
index ecfbb83..29c45b9 100644
13+
--- a/CMakeLists.txt
14+
+++ b/CMakeLists.txt
15+
@@ -260,12 +260,10 @@ generate_pkg_config ("${CMAKE_CURRENT_BINARY_DIR}/libwoff2enc.pc"
16+
LIBRARIES woff2enc)
17+
18+
# Installation
19+
-if (NOT BUILD_SHARED_LIBS)
20+
- install(
21+
- TARGETS woff2_decompress woff2_compress woff2_info
22+
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
23+
- )
24+
-endif()
25+
+install(
26+
+ TARGETS woff2_decompress woff2_compress woff2_info
27+
+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
28+
+)
29+
30+
install(
31+
TARGETS woff2common woff2dec woff2enc

0 commit comments

Comments
 (0)