forked from protocolbuffers/protobuf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git clean -xdf git submodule sync --recursive git submodule update --init --recursive git submodule foreach git checkout -- . tar zcvf ../protobuf_5.29.1.orig.tar.gz --exclude=.git . debuild -uc -us cp protobuf.spec ../protobuf_5.29.1-1.spec cp ../*protobuf*5.29.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/protocolbuffers-protobuf-5.29.1/ cp _constraints /osc/home\:alvistack/protocolbuffers-protobuf-5.29.1/ rm -rf ../*proto*5.29.1*.* See protocolbuffers#19434 Signed-off-by: Wong Hoi Sing Edison <[email protected]>
- Loading branch information
Showing
25 changed files
with
1,040 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<constraints> | ||
<sandbox>kvm</sandbox> | ||
<hardware> | ||
<disk> | ||
<size unit="G">72</size> | ||
</disk> | ||
<physicalmemory> | ||
<size unit="G">24</size> | ||
</physicalmemory> | ||
</hardware> | ||
</constraints> |
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,13 @@ | ||
*.substvars | ||
*debhelper* | ||
.debhelper | ||
autoreconf.* | ||
files | ||
libprotobuf-dev | ||
libprotobuf-lite32 | ||
libprotobuf32 | ||
libprotoc-dev | ||
libprotoc32 | ||
protobuf-compiler | ||
python3-protobuf | ||
tmp |
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,5 @@ | ||
protobuf (100:5.29.1-1) UNRELEASED; urgency=medium | ||
|
||
* https://github.com/protocolbuffers/protobuf/releases/tag/v5.29.1 | ||
|
||
-- Wong Hoi Sing Edison <[email protected]> Thu, 05 Dec 2024 12:27:30 +0800 |
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,126 @@ | ||
Source: protobuf | ||
Section: devel | ||
Priority: optional | ||
Standards-Version: 4.5.0 | ||
Maintainer: Wong Hoi Sing Edison <[email protected]> | ||
Homepage: https://github.com/protocolbuffers/protobuf/tags | ||
Vcs-Browser: https://github.com/alvistack/protocolbuffers-protobuf | ||
Vcs-Git: https://github.com/alvistack/protocolbuffers-protobuf.git | ||
Build-Depends: | ||
debhelper, | ||
debhelper-compat (= 10), | ||
dh-python, | ||
cmake, | ||
fdupes, | ||
libabsl-dev, | ||
libjsoncpp-dev, | ||
python3-dev, | ||
python3-setuptools, | ||
zlib1g-dev, | ||
|
||
Package: libprotobuf32t64 | ||
Architecture: amd64 | ||
Section: libs | ||
Description: protocol buffers C++ library | ||
This package contains the runtime library needed for C++ applications. | ||
Depends: | ||
${misc:Depends}, | ||
${shlibs:Depends}, | ||
Provides: | ||
${t64:Provides}, | ||
Replaces: | ||
libprotobuf32, | ||
Breaks: | ||
cura-engine (<< 1:3.3.0-2.1+b1), | ||
libarcus3 (<< 3.3.0-2), | ||
libprotobuf32 (<< ${source:Version}), | ||
|
||
Package: libprotobuf-lite32t64 | ||
Architecture: amd64 | ||
Section: libs | ||
Description: protocol buffers C++ library (lite version) | ||
This package contains the runtime library needed for C++ applications whose | ||
message definitions have the "lite runtime" optimization setting. | ||
Depends: | ||
${misc:Depends}, | ||
${shlibs:Depends}, | ||
Provides: | ||
${t64:Provides}, | ||
Replaces: | ||
libprotobuf-lite32, | ||
Breaks: | ||
libprotobuf-lite32 (<< ${source:Version}), | ||
|
||
Package: libprotobuf-dev | ||
Architecture: amd64 | ||
Section: libdevel | ||
Description: protocol buffers C++ library (development files) and proto files | ||
This package contains the development headers and static libraries needed for | ||
writing C++ applications. Includes well known proto type files. | ||
Depends: | ||
${misc:Depends}, | ||
zlib1g-dev, | ||
libprotobuf32t64 (= ${source:Version}), | ||
libprotobuf-lite32t64 (= ${source:Version}), | ||
Provides: | ||
protobuf-api-32-0, | ||
Breaks: | ||
protobuf-compiler (<< ${source:Version}), | ||
protobuf-compiler (>> ${source:Version}), | ||
|
||
Package: libprotoc32t64 | ||
Architecture: amd64 | ||
Multi-Arch: same | ||
Section: libs | ||
Description: protocol buffers compiler library | ||
This package contains the runtime library needed for the protocol buffer | ||
compiler. | ||
Depends: | ||
${shlibs:Depends}, | ||
${misc:Depends}, | ||
Provides: | ||
${t64:Provides}, | ||
Replaces: | ||
libprotoc32, | ||
Breaks: | ||
libprotoc32 (<< ${source:Version}), | ||
|
||
Package: libprotoc-dev | ||
Architecture: amd64 | ||
Section: libdevel | ||
Description: protocol buffers compiler library (development files) | ||
This package contains the development headers and static library needed for | ||
writing protobuf compilers. | ||
Depends: | ||
${misc:Depends}, | ||
libprotobuf-dev (= ${source:Version}), | ||
libprotoc32t64 (= ${source:Version}), | ||
Replaces: | ||
libprotobuf-dev (<< 2.1.0), | ||
Breaks: | ||
libprotobuf-dev (<< 2.1.0), | ||
|
||
Package: protobuf-compiler | ||
Architecture: amd64 | ||
Description: compiler for protocol buffer definition files | ||
This package contains the protocol buffer compiler that is used for | ||
translating from .proto files (containing the definitions) to the language | ||
binding for the supported languages. | ||
Depends: | ||
${shlibs:Depends}, | ||
${misc:Depends}, | ||
libprotoc32t64 (= ${source:Version}), | ||
|
||
Package: python3-protobuf | ||
Architecture: amd64 | ||
Section: python | ||
Description: Python 3 bindings for protocol buffers | ||
This package contains the Python 3 bindings for the protocol buffers. You will | ||
need the protoc tool (in the protobuf-compiler package) to compile your | ||
definition to Python classes, and then the modules in this package will allow | ||
you to use those classes in your programs. | ||
Depends: | ||
${misc:Depends}, | ||
${python3:Depends}, | ||
${shlibs:Depends}, | ||
python3, |
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,21 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
|
||
Files: debian/* | ||
Copyright: 2024 Wong Hoi Sing Edison <[email protected]> | ||
License: Apache-2.0 | ||
|
||
License: Apache-2.0 | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
. | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
. | ||
The complete text of the Apache version 2.0 license | ||
can be found in "/usr/share/common-licenses/Apache-2.0". |
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,6 @@ | ||
usr/include | ||
usr/lib/*/*.a | ||
usr/lib/*/cmake/*/*.cmake | ||
usr/lib/*/libprotobuf-lite.so | ||
usr/lib/*/libprotobuf.so | ||
usr/lib/*/pkgconfig/* |
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,3 @@ | ||
libprotobuf-dev: copyright-without-copyright-notice | ||
libprotobuf-dev: initial-upload-closes-no-bugs | ||
libprotobuf-dev: zero-byte-file-in-doc-directory |
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 @@ | ||
usr/lib/*/libprotobuf-lite.so.* |
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,4 @@ | ||
libprotobuf-lite32t64: copyright-without-copyright-notice | ||
libprotobuf-lite32t64: initial-upload-closes-no-bugs | ||
libprotobuf-lite32t64: package-name-doesnt-match-sonames | ||
libprotobuf-lite32t64: zero-byte-file-in-doc-directory |
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 @@ | ||
usr/lib/*/libprotobuf.so.* |
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,4 @@ | ||
libprotobuf32t64: copyright-without-copyright-notice | ||
libprotobuf32t64: initial-upload-closes-no-bugs | ||
libprotobuf32t64: package-name-doesnt-match-sonames | ||
libprotobuf32t64: zero-byte-file-in-doc-directory |
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,2 @@ | ||
usr/include/google/protobuf/compiler | ||
usr/lib/*/libprotoc.so |
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,3 @@ | ||
libprotoc-dev: copyright-without-copyright-notice | ||
libprotoc-dev: initial-upload-closes-no-bugs | ||
libprotoc-dev: zero-byte-file-in-doc-directory |
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,3 @@ | ||
usr/lib/*/libprotoc*.so.* | ||
usr/lib/*/libutf8_range.so | ||
usr/lib/*/libutf8_validity.so |
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,4 @@ | ||
libprotoc32t64: copyright-without-copyright-notice | ||
libprotoc32t64: initial-upload-closes-no-bugs | ||
libprotoc32t64: package-name-doesnt-match-sonames | ||
libprotoc32t64: zero-byte-file-in-doc-directory |
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 @@ | ||
usr/bin/* |
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,4 @@ | ||
protobuf-compiler: copyright-without-copyright-notice | ||
protobuf-compiler: initial-upload-closes-no-bugs | ||
protobuf-compiler: no-manual-page | ||
protobuf-compiler: zero-byte-file-in-doc-directory |
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 @@ | ||
usr/lib/python*/*-packages/* |
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,4 @@ | ||
python3-protobuf: copyright-without-copyright-notice | ||
python3-protobuf: initial-upload-closes-no-bugs | ||
python3-protobuf: shared-library-lacks-prerequisites | ||
python3-protobuf: zero-byte-file-in-doc-directory |
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,65 @@ | ||
#!/usr/bin/make -f | ||
|
||
SHELL := /bin/bash | ||
|
||
override_dh_autoreconf: | ||
|
||
override_dh_auto_configure: | ||
pushd src && \ | ||
cmake \ | ||
.. \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_INSTALL_PREFIX=/usr \ | ||
-Dprotobuf_ABSL_PROVIDER=package \ | ||
-Dprotobuf_JSONCPP_PROVIDER=package \ | ||
-Dprotobuf_BUILD_LIBPROTOC=ON \ | ||
-Dprotobuf_BUILD_PROTOC_BINARIES=ON \ | ||
-Dprotobuf_BUILD_SHARED_LIBS=ON \ | ||
-Dprotobuf_BUILD_TESTS=OFF && \ | ||
popd | ||
|
||
override_dh_auto_build: | ||
pushd src && \ | ||
cmake \ | ||
--build . \ | ||
--parallel 10 \ | ||
--config Release && \ | ||
popd | ||
ln -fs src/*.so* . | ||
pushd python && \ | ||
export LD_LIBRARY_PATH=.. && \ | ||
python3 setup.py build \ | ||
--cpp_implementation && \ | ||
popd | ||
|
||
override_dh_auto_install: | ||
pushd src && \ | ||
export DESTDIR=../debian/tmp && \ | ||
cmake \ | ||
--install . && \ | ||
popd | ||
pushd python && \ | ||
python3 setup.py install \ | ||
--cpp_implementation \ | ||
--no-compile \ | ||
--install-layout=deb \ | ||
--root=../debian/tmp && \ | ||
popd | ||
find debian/tmp/usr/lib/python*/*-packages -type f -name '*.pyc' -exec rm -rf {} \; | ||
fdupes -qnrps debian/tmp/usr/lib/python*/*-packages | ||
|
||
# fixup for bionic | ||
mkdir -p $(DESTDIR)/usr/lib/python3/dist-packages | ||
mv $(DESTDIR)/usr/lib/python*/site-packages/* $(DESTDIR)/usr/lib/python3/dist-packages/ || echo $$? | ||
|
||
override_dh_install: | ||
dh_install | ||
rm -rf debian/libprotobuf-dev/usr/include/google/protobuf/compiler | ||
rm -rf debian/libprotobuf-dev/usr/include/java | ||
|
||
override_dh_auto_test: | ||
|
||
override_dh_auto_clean: | ||
|
||
%: | ||
dh $@ |
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 @@ | ||
3.0 (quilt) |
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,7 @@ | ||
protobuf source: configure-generated-file-in-source | ||
protobuf source: dependency-is-not-multi-archified | ||
protobuf source: file-without-copyright-information | ||
protobuf source: no-debian-changes | ||
protobuf source: not-binnmuable-any-depends-any | ||
protobuf source: python3-depends-but-no-python3-helper | ||
protobuf source: weak-library-dev-dependency |
Oops, something went wrong.