Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
protobuf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
protobuf
Commits
c644e1a4
Commit
c644e1a4
authored
Mar 19, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
0 deletions
+43
-0
Makefile
Makefile
+16
-0
protobuf-3.0.1-javalite-fix_gmock.patch
protobuf-3.0.1-javalite-fix_gmock.patch
+27
-0
protobuf-3.0.1-javalite.tar.gz
protobuf-3.0.1-javalite.tar.gz
+0
-0
protobuf-3.5.1.tar.gz
protobuf-3.5.1.tar.gz
+0
-0
No files found.
Makefile
0 → 100644
View file @
c644e1a4
all
:
tar
xf protobuf-3.5.1.tar.gz
cd
protobuf-3.5.1
&&
./autogen.sh
cd
protobuf-3.5.1
&&
./configure
--prefix
=
/usr
$(MAKE)
-C
protobuf-3.5.1
$(MAKE)
-C
protobuf-3.5.1
install
rm
-rf
protobuf-3.5.1
javalite
:
tar
xf protobuf-3.0.1-javalite.tar.gz
patch
-Np1
-d
protobuf-3.0.1-javalite < protobuf-3.0.1-javalite-fix_gmock.patch
cd
protobuf-3.0.1-javalite
&&
./autogen.sh
cd
protobuf-3.0.1-javalite
&&
./configure
--prefix
=
/usr
$(MAKE)
-C
protobuf-3.0.1-javalite
$(MAKE)
-C
protobuf-3.0.1-javalite
install
rm
-rf
protobuf-3.0.1-javalite
protobuf-3.0.1-javalite-fix_gmock.patch
0 → 100644
View file @
c644e1a4
diff -uNr protobuf-3.0.1-javalite/autogen.sh protobuf-3.0.1-javalite-fix_gmock/autogen.sh
--- protobuf-3.0.1-javalite/autogen.sh 2016-07-30 02:24:31.000000000 +0930
+++ protobuf-3.0.1-javalite-fix_gmock/autogen.sh 2021-03-15 15:35:50.567132054 +1030
@@ -29,12 +29,17 @@
# Check that gmock is present. Usually it is already there since the
# directory is set up as an SVN external.
-if test ! -e gmock; then
- echo "Google Mock not present. Fetching gmock-1.7.0 from the web..."
- curl $curlopts -O https://googlemock.googlecode.com/files/gmock-1.7.0.zip
- unzip -q gmock-1.7.0.zip
- rm gmock-1.7.0.zip
- mv gmock-1.7.0 gmock
+if test ! -e gmock -o && ! -e googlemock-release-1.7.0; then
+ echo "Google Mock not present. Fetching gmock-1.7.0 from the web..."
+ curl $curlopts -L -O https://github.com/google/googlemock/archive/release-1.7.0.zip
+ unzip -q release-1.7.0.zip
+ rm release-1.7.0.zip
+ mv googlemock-release-1.7.0 gmock
+
+ curl $curlopts -L -O https://github.com/google/googletest/archive/release-1.7.0.zip
+ unzip -q release-1.7.0.zip
+ rm release-1.7.0.zip
+ mv googletest-release-1.7.0 gmock/gtest
fi
set -ex
protobuf-3.0.1-javalite.tar.gz
0 → 100644
View file @
c644e1a4
File added
protobuf-3.5.1.tar.gz
0 → 100644
View file @
c644e1a4
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment