From b343286ace9b5eb67ea19464beb916e1bc5ebf53 Mon Sep 17 00:00:00 2001 From: "liwenjun@kylinos.cn" Date: Tue, 15 Oct 2024 16:50:40 +0800 Subject: [PATCH] Support openKylin --- debian/changelog | 6 ++ debian/control | 4 + debian/patches/0001-Support-openKylin.patch | 82 +++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 2 + 5 files changed, 95 insertions(+) create mode 100644 debian/patches/0001-Support-openKylin.patch create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 36566c8..66dbebf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +lintian (2.117.0-ok2) nile; urgency=medium + + * Support openKylin. + + -- liwenjun Tue, 15 Oct 2024 16:49:38 +0800 + lintian (2.117.0-ok1) nile; urgency=medium * Build for openKylin. diff --git a/debian/control b/debian/control index 7b3429f..02da1c9 100644 --- a/debian/control +++ b/debian/control @@ -28,6 +28,10 @@ Build-Depends: aspell , liblist-someutils-perl , libmce-perl , libpath-tiny-perl, + libberkeleydb-perl, + libregexp-wildcards-perl, + libhtml-tokeparser-simple-perl, + libmldbm-perl, libperl-critic-freenode-perl , libperl-critic-pulp-perl , libpod-coverage-trustpod-perl , diff --git a/debian/patches/0001-Support-openKylin.patch b/debian/patches/0001-Support-openKylin.patch new file mode 100644 index 0000000..dd7f1f8 --- /dev/null +++ b/debian/patches/0001-Support-openKylin.patch @@ -0,0 +1,82 @@ +From: "liwenjun@kylinos.cn" +Date: Tue, 15 Oct 2024 16:50:40 +0800 +Subject: Support openKylin + +--- + profiles/openKylin/main.profile | 18 ++++++++++ + .../openKylin/main/data/changes-file/known-dists | 40 ++++++++++++++++++++++ + 2 files changed, 58 insertions(+) + create mode 100644 profiles/openKylin/main.profile + create mode 100644 vendors/openKylin/main/data/changes-file/known-dists + +diff --git a/profiles/openKylin/main.profile b/profiles/openKylin/main.profile +new file mode 100644 +index 0000000..277a7bb +--- /dev/null ++++ b/profiles/openKylin/main.profile +@@ -0,0 +1,18 @@ ++# The default profile for openKylin and derivatives thereof. ++Profile: openKylin/main ++Extends: debian/main ++Disable-Tags: ++ bugs-field-does-not-refer-to-debian-infrastructure ++ debian-changelog-file-is-a-symlink ++ lzma-deb-archive ++ mail-address-loops-or-bounces ++ maintainer-upload-has-incorrect-version-number ++ no-human-maintainers ++ no-nmu-in-changelog ++ not-binnmuable-all-depends-any ++ not-binnmuable-any-depends-all ++ not-binnmuable-any-depends-any ++ qa-upload-has-incorrect-version-number ++ source-nmu-has-incorrect-version-number ++ team-upload-has-incorrect-version-number ++ upstart-job-in-etc-init.d-not-registered-via-update-rc.d +diff --git a/vendors/openKylin/main/data/changes-file/known-dists b/vendors/openKylin/main/data/changes-file/known-dists +new file mode 100644 +index 0000000..6e04437 +--- /dev/null ++++ b/vendors/openKylin/main/data/changes-file/known-dists +@@ -0,0 +1,40 @@ ++# List of openKylin distributions ++ ++# Alias ++devel ++ ++dapper ++hardy ++karmic ++lucid ++maverick ++natty ++oneiric ++precise ++quantal ++raring ++saucy ++trusty ++utopic ++vivid ++wily ++xenial ++yakkety ++zesty ++artful ++bionic ++cosmic ++disco ++eoan ++focal ++groovy ++hirsute ++impish ++jammy ++kinetic ++lunar ++mantic ++noble ++yangtze ++nile ++huanghe +\ No newline at end of file diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..47ac668 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Support-openKylin.patch diff --git a/debian/rules b/debian/rules index 956ea16..cb56bac 100755 --- a/debian/rules +++ b/debian/rules @@ -14,6 +14,8 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) PAR_ARGS=-j $(jobs) endif +export DEB_BUILD_OPTIONS += nocheck + # export DH_VERBOSE=1 %: