Skip to content

Commit

Permalink
alvistack/v3.19.6
Browse files Browse the repository at this point in the history
    git clean -xdf
    git submodule sync --recursive
    git submodule update --init --recursive
    git submodule foreach git checkout -- .
    tar zcvf ../protobuf_3.19.6.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp protobuf.spec ../protobuf_3.19.6-1.spec
    cp ../*protobuf*3.19.6*.{gz,xz,spec,dsc} /osc/home\:alvistack/protocolbuffers-protobuf-3.19.6/
    cp _constraints /osc/home\:alvistack/protocolbuffers-protobuf-3.19.6/
    rm -rf ../*proto*3.19.6*.*

See protocolbuffers#10403
See protocolbuffers#12331

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
  • Loading branch information
hswong3i committed Apr 17, 2024
1 parent 5cba162 commit 4663db7
Show file tree
Hide file tree
Showing 29 changed files with 686 additions and 49 deletions.
91 changes: 50 additions & 41 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
# autogen.sh-generated files
Makefile.in
src/Makefile.in
config.guess
config.h.in
config.sub
configure
depcomp
install-sh
ltmain.sh
missing

aclocal.m4
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
autom4te.cache
# CMake-generated files
.ninja_deps
.ninja_logs
cmake/protobuf/*.cmake
cmake_install.cmake
CMakeCache.txt
CTestTestfile.cmake
CMakeFiles/*
Testing/Temporary/*

/core
/protoc
/test_plugin
/tests
/lite-test
/protoc-*.*

# downloaded files
/gmock

# in-tree configure-generated files
Makefile
src/Makefile
/config.h
config.log
config.status
Expand All @@ -38,15 +33,15 @@ stamp-h1
*.o
*.lo
*.la
src/.libs
*.so
*.a

.dirstamp

any_test.pb.*
map*unittest.pb.*
unittest*.pb.*
cpp_test*.pb.*
src/google/protobuf/compiler/cpp/test*.pb.*
src/google/protobuf/util/**/*.pb.cc
src/google/protobuf/util/**/*.pb.h

Expand All @@ -60,8 +55,6 @@ python/build/
python/docs/_build/

src/js_embed
src/protoc
src/unittest_proto_middleman

# vim generated
*.swp
Expand Down Expand Up @@ -89,6 +82,10 @@ java/**/*.iml
# Windows native output.
cmake/build
build_msvc
# Directories suggested by cmake/README.md
/debug/
/solution/
/release/

# NuGet packages: we want the repository configuration, but not the
# packages themselves.
Expand Down Expand Up @@ -164,21 +161,6 @@ php/ext/google/protobuf/run-tests.php
php/ext/google/protobuf/third_party/
vendor/

# JavaScript artifacts
js/commonjs_out/
js/compatibility_tests/v3.0.0/commonjs_out*
js/compatibility_tests/v3.0.0/protoc
js/compatibility_tests/v3.0.0/testproto_libs1.js
js/compatibility_tests/v3.0.0/testproto_libs1_new.js
js/compatibility_tests/v3.0.0/testproto_libs2.js
js/compatibility_tests/v3.0.0/testproto_libs2_new.js
js/deps.js
js/google-protobuf.js
js/google/
js/node_modules/
js/testproto_libs1.js
js/testproto_libs2.js

# Ignore the bazel symlinks
/bazel-*

Expand All @@ -192,10 +174,10 @@ ruby/tests/generated_code_proto2_pb.rb
ruby/tests/multi_level_nesting_test_pb.rb
ruby/tests/test_import_proto2_pb.rb
ruby/tests/test_ruby_package_proto2_pb.rb
ruby/Gemfile.lock
ruby/compatibility_tests/v3.0.0/protoc
ruby/compatibility_tests/v3.0.0/tests/generated_code_pb.rb
ruby/compatibility_tests/v3.0.0/tests/test_import_pb.rb
ruby/Gemfile.lock

# IntelliJ CLion Config files and build output
cmake/.idea
Expand All @@ -215,5 +197,32 @@ _build/
.idea
*.iml

# Eclipse
**/.settings
**/.project
**/.classpath

# BenchmarkDotNet
BenchmarkDotNet.Artifacts/

# Clangd uses these common ephemeral files
.cache
compile_commands.json

# Ignore GHA NodeJS files
.github/**/node_modules/

*.a
*.so*
src/*.a
src/*.so*
src/CMakeCache.txt
src/CMakeFiles
src/Makefile
src/cmake
src/cmake_install.cmake
src/install_manifest.txt
src/lib/
src/options-pinned.h
src/protoc*
src/third_party
12 changes: 12 additions & 0 deletions _constraints
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>
13 changes: 13 additions & 0 deletions debian/.gitignore
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
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
protobuf (100:3.19.6-1) UNRELEASED; urgency=medium

* https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6

-- Wong Hoi Sing Edison <hswong3i@pantarei-design.com> Wed, 10 Jan 2024 12:06:51 +0800
125 changes: 125 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
Source: protobuf
Section: devel
Priority: optional
Standards-Version: 4.5.0
Maintainer: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
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,
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,
21 changes: 21 additions & 0 deletions debian/copyright
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 <hswong3i@pantarei-design.com>
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".
5 changes: 5 additions & 0 deletions debian/libprotobuf-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
usr/include
usr/lib/*/cmake/*/*.cmake
usr/lib/*/libprotobuf-lite.so
usr/lib/*/libprotobuf.so
usr/lib/*/pkgconfig/*
3 changes: 3 additions & 0 deletions debian/libprotobuf-dev.lintian-overrides
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
1 change: 1 addition & 0 deletions debian/libprotobuf-lite32t64.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/*/libprotobuf-lite.so.*
4 changes: 4 additions & 0 deletions debian/libprotobuf-lite32t64.lintian-overrides
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
1 change: 1 addition & 0 deletions debian/libprotobuf32t64.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/*/libprotobuf.so.*
4 changes: 4 additions & 0 deletions debian/libprotobuf32t64.lintian-overrides
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
2 changes: 2 additions & 0 deletions debian/libprotoc-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/include/google/protobuf/compiler
usr/lib/*/libprotoc.so
3 changes: 3 additions & 0 deletions debian/libprotoc-dev.lintian-overrides
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
1 change: 1 addition & 0 deletions debian/libprotoc32t64.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/*/libprotoc*.so.*
4 changes: 4 additions & 0 deletions debian/libprotoc32t64.lintian-overrides
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
1 change: 1 addition & 0 deletions debian/protobuf-compiler.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/bin/*
4 changes: 4 additions & 0 deletions debian/protobuf-compiler.lintian-overrides
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
1 change: 1 addition & 0 deletions debian/python3-protobuf.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/python*/*-packages/*
4 changes: 4 additions & 0 deletions debian/python3-protobuf.lintian-overrides
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
Loading

0 comments on commit 4663db7

Please sign in to comment.