-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update debian packaging #1887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Update debian packaging #1887
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a6bc92c
Makefile: generate and install the {pnc,step}conf desktop files
SebKuzminsky aa77f2a
d/configure: get rid of EXTRAS, we don't use it anymore
SebKuzminsky 728c832
d/configure: get rid of EXTRA_FILES, it's not used
SebKuzminsky dfb16c8
d/rules: simplify validation of *.desktop files
SebKuzminsky e896b41
d/rules: remove dead code
SebKuzminsky 9f4e940
Makefiles: new targets to build & install just software or just docs
SebKuzminsky fe3d7f6
d/rules: only build the software (no docs) for architecture-dependent…
SebKuzminsky ebc55fa
d/rules: sort dh_auto_install stuff into -arch and -indep
SebKuzminsky 2579992
linuxcnc-uspace: use dh_install to install the appropriate 'extra' files
SebKuzminsky 97e3e29
linuxcnc-uspace: include the optional axis config files & README
SebKuzminsky 223bf76
linuxcnc-uspace: use dh_installdocs to include a missing doc
SebKuzminsky 2022c4e
d/rules: change DESTDIR to debian/tmp
SebKuzminsky 97c29db
linuxcnc-doc-*: use dh_install and dh_installdocs
SebKuzminsky bed446b
move g-code quick ref from linuxcnc-uspace to doc debs
SebKuzminsky 7aa8362
move LinuxCNC_Developer doc from -dev to -doc-en
SebKuzminsky 9e3c5f1
linuxcnc-uspace: dh_install stuff from debian/tmp
SebKuzminsky 51cb55c
linuxcnc-uspace-dev: install with dh_install
SebKuzminsky dfd4ab3
linuxcnc-uspace: handle sample configs as docs
SebKuzminsky 1ffed0f
the new linuxcnc-doc-* debs conflict with the old linuxcnc-uspace, an…
SebKuzminsky 5932f22
bump debhelper to 12 (available in buster), no longer need --parallel
SebKuzminsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -33,7 +33,6 @@ if [ "$1" == "-h" -o "$1" == "-help" -o "$1" == "--help" ]; then | |
| exit 0 | ||
| fi | ||
|
|
||
| EXTRA_FILES= | ||
| EXTRA_BUILD= | ||
| PYTHON_VERSION_NEXT=$(python3 -c 'import sys; print (sys.version[:2] + str(1+int(sys.version[2])))') | ||
| LIBREADLINE_DEV="libreadline-gplv2-dev | libreadline-dev" | ||
|
|
@@ -62,8 +61,6 @@ elif [ -f /etc/lsb-release ]; then | |
| DISTRIB_NAME=$DISTRIB_ID-$DISTRIB_RELEASE | ||
| fi | ||
|
|
||
| EXTRAS=extras | ||
|
|
||
| if [ -n "$ENABLE_BUILD_DOCUMENTATION" ]; then | ||
| DOC_DEPENDS="asciidoc (>= 8.5),\n dblatex (>= 0.2.12),\n docbook-xsl,\n dvipng,\n ghostscript,\n graphviz,\n groff,\n imagemagick,\n inkscape,\n python3-lxml,\n source-highlight,\n w3c-linkchecker,\n xsltproc,\n texlive-extra-utils,\n texlive-font-utils,\n texlive-fonts-recommended,\n texlive-lang-cyrillic,\n texlive-lang-european,\n texlive-lang-french,\n texlive-lang-german,\n texlive-lang-polish,\n texlive-lang-spanish,\n texlive-latex-recommended,\n asciidoc-dblatex" | ||
|
|
||
|
|
@@ -89,8 +86,8 @@ PYTHON_IMAGING=python3-pil | |
| PYTHON_IMAGING_TK=python3-pil.imagetk | ||
| QTVCP_DEPENDS="python3-pyqt5,\n python3-pyqt5.qsci,\n python3-pyqt5.qtsvg,\n python3-pyqt5.qtopengl,\n python3-opencv,\n python3-dbus,python3-espeak,\n python3-dbus.mainloop.pyqt5,\n python3-pyqt5.qtwebkit,\n espeak-ng,\n pyqt5-dev-tools,\n gstreamer1.0-tools,espeak,\n sound-theme-freedesktop" | ||
| YAPPS_RUNTIME="python3-yapps" | ||
| DEBHELPER="debhelper (>= 9)" | ||
| COMPAT="9" | ||
| DEBHELPER="debhelper (>= 12)" | ||
| COMPAT="12" | ||
|
|
||
| case $DISTRIB_NAME in | ||
| Ubuntu-21.*|Debian-11|Debian-11.*|Debian-testing|Debian-unstable) | ||
|
|
@@ -120,7 +117,6 @@ KERNEL_DEPENDS_BUILD=libudev-dev | |
| KERNEL_HEADERS= | ||
| KERNEL_VERSION=uspace | ||
| MODUTILS_DEPENDS= | ||
| EXTRA_FILES="usr/bin/rtapi_app" | ||
| DISTRIB_NAME=uspace-$DISTRIB_NAME | ||
| MAIN_PACKAGE_NAME=linuxcnc-uspace | ||
| OTHER_MAIN_PACKAGE_NAME=linuxcnc | ||
|
Comment on lines
121
to
122
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If your already in and removing things, |
||
|
|
@@ -135,9 +131,7 @@ sed \ | |
| -e "s#@DISTRIB_NAME@#$DISTRIB_NAME#g" \ | ||
| -e "s#@DOC_DEPENDS@#$DOC_DEPENDS#g" \ | ||
| -e "s#@EXTRA_BUILD@#$EXTRA_BUILD#g" \ | ||
| -e "s#@EXTRA_FILES@#$EXTRA_FILES#g" \ | ||
| -e "s#@EXTRA_RECOMMENDS@#$EXTRA_RECOMMENDS#g" \ | ||
| -e "s#@EXTRAS@#$EXTRAS#g" \ | ||
| -e "s#@KERNEL_DEPENDS@#$KERNEL_DEPENDS#g" \ | ||
| -e "s#@KERNEL_DEPENDS_BUILD@#$KERNEL_DEPENDS_BUILD#g" \ | ||
| -e "s#@KERNEL_HEADERS@#$KERNEL_HEADERS#g" \ | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,15 @@ | ||
| usr/share/doc/linuxcnc/LinuxCNC_Developer.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Documentation.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Getting_Started.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Integrator.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Manual_Pages.pdf | ||
|
|
||
| usr/share/doc/linuxcnc/AUTHORS | ||
| usr/share/doc/linuxcnc/INSTALL.adoc | ||
| usr/share/doc/linuxcnc/README.adoc | ||
| usr/share/doc/linuxcnc/README.axis | ||
| usr/share/doc/linuxcnc/axis_light_background | ||
| usr/share/doc/linuxcnc/rtfaults.adoc | ||
| usr/share/doc/linuxcnc/tklinuxcnc.adoc | ||
|
|
||
| docs/html/gcode.html |
This file contains hidden or 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,5 @@ | ||
| debian/extras/usr/share/applications/linuxcnc-documentation.desktop usr/share/applications | ||
| debian/extras/usr/share/applications/linuxcnc-gcoderef.desktop usr/share/applications | ||
| debian/extras/usr/share/applications/linuxcnc-gettingstarted.desktop usr/share/applications | ||
| debian/extras/usr/share/applications/linuxcnc-integratorinfo.desktop usr/share/applications | ||
| debian/extras/usr/share/applications/linuxcnc-manualpages.desktop usr/share/applications |
This file contains hidden or 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,9 @@ | ||
| usr/share/doc/linuxcnc/LinuxCNC_Developer_es.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Documentation_es.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Getting_Started_es.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Integrator_es.pdf | ||
|
|
||
| usr/share/doc/linuxcnc/asciidoc-markup_es.adoc | ||
| usr/share/doc/linuxcnc/rtfaults_es.adoc | ||
|
|
||
| docs/html/es/gcode.html |
This file contains hidden or 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 @@ | ||
| debian/extras/usr/share/applications/*_es.desktop usr/share/applications/ |
This file contains hidden or 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,6 @@ | ||
| usr/share/doc/linuxcnc/LinuxCNC_Developer_fr.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Documentation_fr.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Getting_Started_fr.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Integrator_fr.pdf | ||
|
|
||
| docs/html/fr/gcode.html |
This file contains hidden or 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 @@ | ||
| debian/extras/usr/share/applications/*_fr.desktop usr/share/applications/ |
This file contains hidden or 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,6 @@ | ||
| usr/share/doc/linuxcnc/LinuxCNC_Developer_zh_CN.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Documentation_zh_CN.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Getting_Started_zh_CN.pdf | ||
| usr/share/doc/linuxcnc/LinuxCNC_Integrator_zh_CN.pdf | ||
|
|
||
| docs/html/zh_CN/gcode.html |
This file contains hidden or 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 @@ | ||
| debian/extras/usr/share/applications/*_zh_CN.desktop usr/share/applications/ |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,7 @@ | ||
| usr/bin/halcompile | ||
| usr/include/linuxcnc | ||
| usr/lib/liblinuxcnc.a | ||
| usr/lib/*.so | ||
| usr/share/linuxcnc/Makefile.modinc | ||
| usr/share/man/man1/halcompile.1 | ||
| usr/share/man/man3 |
This file contains hidden or 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,3 @@ | ||
| usr/share/doc/linuxcnc/examples | ||
|
|
||
| README.md |
This file contains hidden or 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 @@ | ||
| usr/share/linuxcnc/ncfiles usr/share/doc/linuxcnc/examples/nc_files |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.