Opened 8 years ago

Closed 8 years ago

#52072 closed update (fixed)

protobuf3-cpp, protobuf3-java @0.0.0.2: update to to 3.0.0

Reported by: jeff@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: protobuf3-cpp protobuf3-java

Description

The attached patch brings protobuf3-cpp and protobuf3-java up to the stable release 3.0.0 that was published about a month ago.

A few small changes had to be made to the protobuf3-java build to accomdate their changed pom.xml and to include the util jar they publish.

The -DskipTests just prevents tests from being run multiple times since test.run is set to yes.

Attachments (2)

protobuf3-cpp.patch (1.8 KB) - added by jeff@… 8 years ago.
patch for protobuf3-cpp
protobuf3-java.patch (2.9 KB) - added by jeff@… 8 years ago.
patch for protobuf3-java.patch

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by jeff@…

Attachment: protobuf3-cpp.patch added

patch for protobuf3-cpp

Changed 8 years ago by jeff@…

Attachment: protobuf3-java.patch added

patch for protobuf3-java.patch

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Cc: blair@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to blair@…
Port: protobuf3-cpp protobuf3-java added
Summary: update protobuf3-cpp and protobuf3-java to stable 3.0.0protobuf3-cpp, protobuf3-java @0.0.0.2: update to to 3.0.0
Version: 2.3.4

comment:2 Changed 8 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

Thanks! Fixed in r151788.

I noticed that mosh depends upon protobuf-cpp. Ideally we make protobuf3-{cpp,java} not conflict by renaming everything:

  • ${prefix}/bin/protoc -> ${prefix}/bin/protoc3
  • ${prefix}/include/google3/protobuf -> ${prefix}/include/google3/protobuf3 # this one would be non-standard
  • ${prefix}/share/java/protobuf{,-util}.jar -> ${prefix}/share/java/protobuf3{,-util}.jar
Note: See TracTickets for help on using tickets.