-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and improve Debian packaging process
- Add script that packages jyut-dict. - Remove unneeded files.
- Loading branch information
1 parent
bcb67ec
commit 81ccfd3
Showing
31 changed files
with
79 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
cd ../.. | ||
|
||
tar -cvzf ../jyut-dict_0.19.0614.tar.gz * --overwrite | ||
|
||
cd ../ | ||
|
||
rm -rf jyut-dict_0.19.0614 | ||
mkdir jyut-dict_0.19.0614 | ||
|
||
cd jyut-dict_0.19.0614 | ||
|
||
tar -xvzf ../jyut-dict_0.19.0614.tar.gz --overwrite | ||
|
||
cp -r ../jyut-dict/platform/linux/debian ./debian | ||
|
||
rm ./eng.db | ||
rm ./jyut-dict | ||
|
||
dh_make -c mit -s -f ../jyut-dict_0.19.0614.tar.gz -p jyut-dict_0.19.0614 | ||
|
||
debuild |
Empty file.
13 changes: 0 additions & 13 deletions
13
src/jyut-dict/platform/linux/debian/.debhelper/jyutdict/dbgsym-root/DEBIAN/control
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/jyut-dict/platform/linux/debian/.debhelper/jyutdict/dbgsym-root/DEBIAN/md5sums
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...-dict/platform/linux/debian/.debhelper/jyutdict/dbgsym-root/usr/share/doc/jyutdict-dbgsym
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
jyutdict (0.19.0614-1) unstable; urgency=medium | ||
jyut-dict (0.19.0614-1) bionic; urgency=medium | ||
|
||
* Initial release | ||
|
||
-- Aaron Tan <hi@aaronhktan.com> Mon, 17 Jun 2019 00:48:23 -0400 | ||
-- Aaron Tan <hi@aaronhktan.com> Fri, 14 Jun 2019 00:48:23 -0400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
jyutdict-dbgsym_0.19.0614-1_amd64.ddeb debug optional | ||
jyutdict_0.19.0614-1_amd64.buildinfo utils optional | ||
jyutdict_0.19.0614-1_amd64.deb utils optional | ||
jyut-dict-dbgsym_0.19.0614-1_amd64.ddeb debug optional | ||
jyut-dict_0.19.0614-1_amd64.buildinfo utils optional | ||
jyut-dict_0.19.0614-1_amd64.deb utils optional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# | ||
# Regular cron jobs for the jyutdict package | ||
# Regular cron jobs for the jyut-dict package | ||
# | ||
0 4 * * * root [ -x /usr/bin/jyutdict_maintenance ] && /usr/bin/jyutdict_maintenance | ||
0 4 * * * root [ -x /usr/bin/jyut-dict_maintenance ] && /usr/bin/jyut-dict_maintenance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
Document: jyutdict | ||
Title: Debian jyutdict Manual | ||
Document: jyut-dict | ||
Title: Debian jyut-dict Manual | ||
Author: <insert document author here> | ||
Abstract: This manual describes what jyutdict is | ||
Abstract: This manual describes what jyut-dict is | ||
and how it can be used to | ||
manage online manuals on Debian systems. | ||
Section: unknown | ||
|
||
Format: debiandoc-sgml | ||
Files: /usr/share/doc/jyutdict/jyutdict.sgml.gz | ||
Files: /usr/share/doc/jyut-dict/jyut-dict.sgml.gz | ||
|
||
Format: postscript | ||
Files: /usr/share/doc/jyutdict/jyutdict.ps.gz | ||
Files: /usr/share/doc/jyut-dict/jyut-dict.ps.gz | ||
|
||
Format: text | ||
Files: /usr/share/doc/jyutdict/jyutdict.text.gz | ||
Files: /usr/share/doc/jyut-dict/jyut-dict.text.gz | ||
|
||
Format: HTML | ||
Index: /usr/share/doc/jyutdict/html/index.html | ||
Files: /usr/share/doc/jyutdict/html/*.html | ||
Index: /usr/share/doc/jyut-dict/html/index.html | ||
Files: /usr/share/doc/jyut-dict/html/*.html |
15 changes: 0 additions & 15 deletions
15
src/jyut-dict/platform/linux/debian/jyutdict/DEBIAN/control
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-471 KB
src/jyut-dict/platform/linux/debian/jyutdict/opt/jyut-dict/Jyut Dictionary
Binary file not shown.
Binary file not shown.
12 changes: 0 additions & 12 deletions
12
src/jyut-dict/platform/linux/debian/jyutdict/usr/share/applications/jyut-dict.desktop
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
src/jyut-dict/platform/linux/debian/jyutdict/usr/share/doc/jyutdict/README.Debian
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-143 Bytes
src/jyut-dict/platform/linux/debian/jyutdict/usr/share/doc/jyutdict/changelog.Debian.gz
Binary file not shown.
34 changes: 0 additions & 34 deletions
34
src/jyut-dict/platform/linux/debian/jyutdict/usr/share/doc/jyutdict/copyright
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
?package(jyutdict):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ | ||
title="jyutdict" command="/usr/bin/jyutdict" | ||
?package(jyut-dict):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ | ||
title="jyut-dict" command="/usr/bin/jyut-dict" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# postinst script for jyutdict | ||
# postinst script for jyut-dict | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# postrm script for jyutdict | ||
# postrm script for jyut-dict | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# preinst script for jyutdict | ||
# preinst script for jyut-dict | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# prerm script for jyutdict | ||
# prerm script for jyut-dict | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,8 @@ | ||
#!/usr/bin/make -f | ||
# See debhelper(7) (uncomment to enable) | ||
# output every command that modifies files on the build system. | ||
#export DH_VERBOSE = 1 | ||
|
||
|
||
# see FEATURE AREAS in dpkg-buildflags(1) | ||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
|
||
# see ENVIRONMENT in dpkg-buildflags(1) | ||
# package maintainers to append CFLAGS | ||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic | ||
# package maintainers to append LDFLAGS | ||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | ||
|
||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_shlibdeps: | ||
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info | ||
|
||
|
||
|
||
# dh_make generated override targets | ||
# This is example for Cmake (See https://bugs.debian.org/641051 ) | ||
#override_dh_auto_configure: | ||
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes