Skip to content

Commit

Permalink
Modify debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Jan 12, 2024
1 parent d8b92cb commit a66dccf
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 669 deletions.
36 changes: 35 additions & 1 deletion build_debpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,38 @@ if [ ! -f /usr/bin/qmake -a -z "$QT_ROOT" ]; then
fi

export QT_ROOT=$QT_ROOT
dpkg-buildpackage -us -uc -b

# -p, --sign-command=sign-command
# When dpkg-buildpackage needs to execute GPG to sign a source
# control (.dsc) file or a .changes file it will run sign-command
# (searching the PATH if necessary) instead of gpg (long option since
# dpkg 1.18.8). sign-command will get all the arguments that gpg
# would have gotten. sign-command should not contain spaces or any
# other shell metacharacters.

# -k, --sign-key=key-id
# Specify a key-ID to use when signing packages (long option since
# dpkg 1.18.8).

# -us, --unsigned-source
# Do not sign the source package (long option since dpkg 1.18.8).

# -ui, --unsigned-buildinfo
# Do not sign the .buildinfo file (since dpkg 1.18.19).

# -uc, --unsigned-changes
# Do not sign the .buildinfo and .changes files (long option since
# dpkg 1.18.8).

# -b Equivalent to --build=binary or --build=any,all.
# -S Equivalent to --build=source

#The -us -uc tell it there is no need to GPG sign the package. the -b is build binary
#dpkg-buildpackage -us -uc -b

#The -us -uc tell it there is no need to GPG sign the package. the -S is build source package
#dpkg-buildpackage -us -uc -S

# build source and binary package
dpkg-buildpackage -us -uc

19 changes: 15 additions & 4 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
# https://www.debian.org/doc/debian-policy/ch-controlfields.html

Source: rabbitcommon
Maintainer: Kang Lin <[email protected]>
Section: main
Priority: optional
Maintainer: Kang Lin <[email protected]>
Build-Depends: debhelper (>= 6)
Standards-Version:"v1.0.13"
Build-Depends: debhelper (>=10), qt6-tools-dev, qt6-tools-dev-tools,
qt6-base-dev, qt6-base-dev-tools, qt6-qpa-plugins, qt6-l10n-tools,
qt6-translations-l10n, qt6-scxml-dev, qt6-webengine-dev,
qt6-webengine-dev-tools, qt6-multimedia-dev
Standards-Version: "1.0.13"
Homepage: https://github.com/KangLin/RabbitCommon
Vcs-Git: https://github.com/KangLin/RabbitCommon.git
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/RabbitCommon.git
Vcs-Browser: https://github.com/KangLin/RabbitCommon
Rules-Requires-Root: binary-targets

Package: rabbitcommon
Architecture: any
Section: libs
Priority: optional
Essential: no
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Homepage: https://github.com/KangLin/RabbitCommon
Description: RabbitCommon
Rabbit common library. by Kang Lin <[email protected]>
Loading

0 comments on commit a66dccf

Please sign in to comment.