Skip to content
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

debian package build #6

Merged
merged 12 commits into from Sep 21, 2019
Merged

debian package build #6

merged 12 commits into from Sep 21, 2019

Conversation

kumagi
Copy link
Collaborator

@kumagi kumagi commented Sep 12, 2019

No description provided.

@kumagi kumagi requested a review from yuizumi September 12, 2019 05:16
Copy link

@yuizumi yuizumi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for the shell script.

packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/debian/control Show resolved Hide resolved
packaging/debian/copyright Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/debian/README.Debian Outdated Show resolved Hide resolved
packaging/debian/compat Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/debian/rules Outdated Show resolved Hide resolved
packaging/debian/copyright Outdated Show resolved Hide resolved
packaging/debian/control Outdated Show resolved Hide resolved
packaging/debian/control Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@kumagi kumagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/debian/control Outdated Show resolved Hide resolved
packaging/debian/control Outdated Show resolved Hide resolved
packaging/debian/copyright Outdated Show resolved Hide resolved
packaging/debian/rules Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/debian/README.Debian Outdated Show resolved Hide resolved
packaging/debian/control Outdated Show resolved Hide resolved
packaging/debian/rules Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@kumagi kumagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

packaging/build_deb Outdated Show resolved Hide resolved

cp "../${TARGET_NAME}_${VERSION}_${ARCHITECTURE}.deb" "${SRCDIR}"
cp ../*.deb \
"${SRCDIR}/${TARGET_DIR}/${TARGET_NAME}_${VERSION}_${ARCH}_${RELEASE}.deb"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to rename the package?

Well, whatever the reason is, this is really a bad idea. The Debian packaging has the naming convention all packages should obey: {NAME}_{VER}-{REL}_{ARCH}.deb; VER is the upstream version, REL is the Debian release number, ARCH is the architecture.

https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics#s-pkgname

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, Debian version will be contained by directory name.

packaging/build_deb Outdated Show resolved Hide resolved
Signed HTTP Exchange library
-----------------

Signed HTTP Exchange(SXG) is file format which contains an HTTP exchange
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space before (.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. /README.md too.

Copy link
Collaborator Author

@kumagi kumagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

packaging/build_deb Outdated Show resolved Hide resolved

cp "../${TARGET_NAME}_${VERSION}_${ARCHITECTURE}.deb" "${SRCDIR}"
cp ../*.deb \
"${SRCDIR}/${TARGET_DIR}/${TARGET_NAME}_${VERSION}_${ARCH}_${RELEASE}.deb"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, Debian version will be contained by directory name.

Signed HTTP Exchange library
-----------------

Signed HTTP Exchange(SXG) is file format which contains an HTTP exchange
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. /README.md too.

packaging/build_deb Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@kumagi kumagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Show resolved Hide resolved
packaging/debian/README.Debian Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@kumagi kumagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

packaging/build_deb Outdated Show resolved Hide resolved
packaging/build_deb Show resolved Hide resolved
packaging/debian/README.Debian Outdated Show resolved Hide resolved
@kumagi kumagi merged commit 3d89afe into master Sep 21, 2019
@kumagi kumagi deleted the feature/deb-packaging branch September 21, 2019 04:08
@kumagi kumagi restored the feature/deb-packaging branch September 24, 2019 03:56
@kumagi kumagi deleted the feature/deb-packaging branch September 24, 2019 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants