Codebase list libsbml / c9e1b6d
Do not provide Java doc since there are errors when creating it and this solution was suggested by the Debian Java team Andreas Tille 5 years ago
4 changed file(s) with 20 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
2424 hint to Nicolas Mora)
2525 * WITH_R=off (we do not build an R package and something is wrong with
2626 the R build)
27 TODO: Issue when building with Python 3.7 reported here:
28 https://groups.google.com/forum/#!topic/libsbml-development/hiqhyd6-7s0
27 * Do not provide Java doc since there are errors when creating it
28 and this solution was suggested by the Debian Java team
2929
3030 -- Andreas Tille <tille@debian.org> Tue, 15 Jan 2019 18:10:07 +0100
3131
3838
3939 --- a/src/bindings/perl/Makefile.in
4040 +++ b/src/bindings/perl/Makefile.in
41 @@ -180,6 +180,7 @@ ifeq (GCC,$(findstring GCC,$(shell $(CXX
41 @@ -185,6 +185,7 @@ ifeq (GCC,$(findstring GCC,$(shell $(CXX
4242 CXXFLAGS += -fno-strict-aliasing
4343 endif
4444
532532 -}
533533 --- a/docs/CMakeLists.txt
534534 +++ b/docs/CMakeLists.txt
535 @@ -229,64 +229,6 @@ if (WITH_JAVA)
535 @@ -229,67 +229,10 @@ if (WITH_JAVA)
536536 file(COPY ${graphic} DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/formatted/java-api/org/sbml/libsbml/)
537537 endforeach()
538538
539 -
539 + # Do not care about Java api doc
540 + #add_custom_target(api_docs_java ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/formatted/java-api/index.html)
541
540542 - ADD_CUSTOM_COMMAND(
541543 - OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/formatted/java-api/index.html
542544 - COMMAND ${Java_JAVAC_EXECUTABLE}
594596 -
595597 - )
596598 -
597 add_custom_target(api_docs_java ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/formatted/java-api/index.html)
599 - add_custom_target(api_docs_java ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/formatted/java-api/index.html)
600 -
601 - install(DIRECTORY ${output_dir} DESTINATION ${MISC_PREFIX}docs )
602 + #install(DIRECTORY ${output_dir} DESTINATION ${MISC_PREFIX}docs )
598603
599 install(DIRECTORY ${output_dir} DESTINATION ${MISC_PREFIX}docs )
604 endif()
605
8989
9090 SBase sb = new SBase(cPtr, false);
9191 string pkgName = sb.getPackageName();
92 @@ -498,9 +498,9 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegister
93
94 %pragma(csharp) modulecode =
95 %{
96 - public static ASTBase DowncastASTBase(IntPtr cPtr, bool owner)
97 + public static ASTBase DowncastASTBase(global::System.IntPtr cPtr, bool owner)
98 {
99 - if (cPtr.Equals(IntPtr.Zero)) return null;
100 + if (cPtr.Equals(global::System.IntPtr.Zero)) return null;
101
102 ASTBase ab = new ASTBase(cPtr,false);
103 switch( ab.getTypeCode() )
104 @@ -712,23 +712,23 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegister
92 @@ -637,23 +637,23 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegister
10593
10694 %typemap(csbody) TYPENAME
10795 %{
132120
133121 if (obj != null)
134122 {
135 @@ -745,22 +745,22 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegister
123 @@ -670,22 +670,22 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegister
136124
137125 %typemap(csbody_derived) TYPENAME
138126 %{
162150
163151 if (obj != null)
164152 {
165 @@ -776,22 +776,22 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegister
153 @@ -701,22 +701,22 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegister
166154
167155 %typemap(csbody_derived) TYPENAME
168156 %{
192180
193181 if (obj != null)
194182 {
195 @@ -1056,10 +1056,10 @@ COVARIANT_GETID(InitialAssignment)
183 @@ -981,10 +981,10 @@ COVARIANT_GETID(InitialAssignment)
196184 %typemap(csbase) SBMLConstructorException "System.ArgumentException";
197185 %typemap(cscode) SBMLConstructorException
198186 %{
205193 }
206194
207195 public SBMLConstructorException(string v) :
208 @@ -1070,10 +1070,10 @@ COVARIANT_GETID(InitialAssignment)
196 @@ -995,10 +995,10 @@ COVARIANT_GETID(InitialAssignment)
209197 %typemap(csbase) XMLConstructorException "System.ArgumentException";
210198 %typemap(cscode) XMLConstructorException
211199 %{
218206 }
219207
220208 public XMLConstructorException(string v) :
221 @@ -1112,7 +1112,7 @@ COVARIANT_GETID(InitialAssignment)
209 @@ -1037,7 +1037,7 @@ COVARIANT_GETID(InitialAssignment)
222210 static CustomExceptionDelegate customDelegate =
223211 new CustomExceptionDelegate(SetPendingCustomException);
224212
227215 public static extern
228216 void CustomExceptionRegisterCallback(CustomExceptionDelegate customCallback);
229217
230 @@ -1464,8 +1464,8 @@ XMLCONSTRUCTOR_EXCEPTION(XMLTripple)
218 @@ -1389,8 +1389,8 @@ XMLCONSTRUCTOR_EXCEPTION(XMLTripple)
231219 %typemap(cstype) List* _FNAME_ %{ _TYPENAME_ ## List %}
232220 %typemap(csout) List* _FNAME_
233221 {