Ticket #466: patch4.patch
File patch4.patch, 5.9 KB (added by , 15 years ago) |
---|
-
ChangeLog
1 Fri Apr 16 09:30:20 GMT 2010 Charlie Hull <charlie@flax.co.uk> 2 3 * win32_tests.mak: add api_none.cc and api_replacedoc.cc to list 4 of sources 5 * win32_applications_omega.cc: remove extra getopt.cc from sources, 6 change dirent.cc to msvc_dirent.cc 7 * makebinaries.py: use Python 2.6.4 8 * xapdep/xapdep.c: improve checking for redundant strings in dep file 9 1 10 Wed Mar 17 01:20:08 GMT 2010 Olly Betts <olly@survex.com> 2 11 3 12 * win32_tests.mak: Remove long-defunct remotetest.cc from list of -
makebinaries.py
123 123 filename = 'xapian-python-bindings for Python 2.5.1 -%s.win32.exe' % rev 124 124 os.system ('copy "..\\Release\\Python25\\dist\\%s" ' % filename) 125 125 md5it(filename) 126 filename = 'xapian-python-bindings for Python 2.6. 2-%s.win32.exe' % rev126 filename = 'xapian-python-bindings for Python 2.6.4 -%s.win32.exe' % rev 127 127 os.system ('copy "..\\Release\\Python26\\dist\\%s" ' % filename) 128 128 md5it(filename) 129 129 -
README
1 1 README for Xapian/Visual C++ Tools 2 2 ================================== 3 2010-0 3-02 for Xapian 1.0.183 2010-04-16 for Xapian 1.0.19 4 4 5 5 Make files, some extra headers and associated tools for compiling Xapian on 6 6 Win32 using the Microsoft Visual C++ compilers. This is particularly useful -
win32_applications_omega.mak
10 10 11 11 # Where the core is, relative to the Omega application 12 12 # Change this to match your environment 13 XAPIAN_CORE_REL_OMEGA=..\ ..\xapian-core13 XAPIAN_CORE_REL_OMEGA=..\xapian-core-1.0.19 14 14 15 15 !IF "$(OS)" == "Windows_NT" 16 16 NULL= … … 66 66 "$(OUTDIR)\utf8convert.obj" \ 67 67 "$(OUTDIR)\sample.obj" \ 68 68 "$(OUTDIR)\mkdtemp.obj" \ 69 "$(OUTDIR)\ dirent.obj" \69 "$(OUTDIR)\msvc_dirent.obj" \ 70 70 "$(OUTDIR)\diritor.obj" \ 71 71 "$(OUTDIR)\runfilter.obj" \ 72 72 "$(OUTDIR)\xpsxmlparse.obj" … … 127 127 "$(INTDIR)\utf8convert.cc" \ 128 128 "$(INTDIR)\sample.cc" \ 129 129 "$(INTDIR)\portability\mkdtemp.cc" \ 130 "$(INTDIR)\dirent.cc" \131 130 "$(INTDIR)\scriptindex.cc" \ 132 131 "$(INTDIR)\myhtmlparse.cc" \ 133 132 "$(INTDIR)\htmlparse.cc" \ 134 "$(INTDIR)\getopt.cc" \135 133 "$(INTDIR)\commonhelp.cc" \ 136 134 "$(INTDIR)\utils.cc" \ 137 135 "$(INTDIR)\hashterm.cc" \ … … 208 206 $(ALL_LINK32_FLAGS) /out:"$(OUTEXEDIR)\md5test.exe" $(DEF_FLAGS) $(MD5TEST_OBJS) 209 207 << 210 208 211 "$(INTDIR)\ dirent.obj" : "$(XAPIAN_CORE_REL_OMEGA)\win32\dirent.c"209 "$(INTDIR)\msvc_dirent.obj" : ".\common\msvc_dirent.cc" 212 210 $(CPP) @<< 213 211 $(CPP_PROJ) $** 214 212 << … … 242 240 243 241 244 242 # Calculate any header dependencies and automatically insert them into this file 243 HEADERS : 245 244 -@erase deps.d 246 245 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 247 246 if exist "$(XAPIAN_CORE_REL_OMEGA)\win32\$(DEPEND)" $(XAPIAN_CORE_REL_OMEGA)\win32\$(DEPEND) -
win32_tests.mak
64 64 "$(OUTDIR)\api_generated.obj" \ 65 65 "$(OUTDIR)\api_metadata.obj" \ 66 66 "$(OUTDIR)\api_nodb.obj" \ 67 "$(OUTDIR)\api_none.obj" \ 67 68 "$(OUTDIR)\api_percentages.obj" \ 68 69 "$(OUTDIR)\api_posdb.obj" \ 69 70 "$(OUTDIR)\api_qpbackend.obj" \ 70 71 "$(OUTDIR)\api_query.obj" \ 72 "$(OUTDIR)\api_replacedoc.obj" \ 71 73 "$(OUTDIR)\api_scalability.obj" \ 72 74 "$(OUTDIR)\api_sorting.obj" \ 73 75 "$(OUTDIR)\api_spelling.obj" \ … … 107 109 "$(INTDIR)\api_generated.cc" \ 108 110 "$(INTDIR)\api_metadata.cc" \ 109 111 "$(INTDIR)\api_nodb.cc" \ 112 "$(INTDIR)\api_none.cc" \ 110 113 "$(INTDIR)\api_percentages.cc" \ 111 114 "$(INTDIR)\api_posdb.cc" \ 112 115 "$(INTDIR)\api_qpbackend.cc" \ 113 116 "$(INTDIR)\api_query.cc" \ 117 "$(INTDIR)\api_replacedoc.cc" \ 114 118 "$(INTDIR)\api_scalability.cc" \ 115 119 "$(INTDIR)\api_sorting.cc" \ 116 120 "$(INTDIR)\api_spelling.cc" \ -
xapdep/xapdep.c
78 78 while(!feof(indep)) 79 79 { 80 80 /* check for other random strings the compiler emits sometimes */ 81 while ( (strcmp(buf, DISCARDSTRING)==0) || (strcmp(buf, DISCARDSTRING2)==0) ) 81 while ( (strncmp(buf, DISCARDSTRING, strlen(DISCARDSTRING))==0) || 82 (strncmp(buf, DISCARDSTRING2, strlen(DISCARDSTRING2))==0) ) 82 83 { 84 sprintf(buf,""); /* don't use the discard string later */ 83 85 if(feof(indep)) break; 84 86 else /* skip line */ 85 87 fgets(buf, sizeof(buf), indep); 86 88 } 89 if(feof(indep)) break; 87 90 88 91 /* first line should be a .cc file, use this to generate the .obj file */ 89 92 for (ch=0; (buf[ch]!='.') && (buf[ch]!='\0'); ++ch) … … 99 102 break; 100 103 101 104 /* check for other random strings the compiler emits sometimes */ 102 if ( (strcmp(buf, DISCARDSTRING)==0) || (strcmp(buf, DISCARDSTRING2)==0) ) 105 if ( (strncmp(buf, DISCARDSTRING, strlen(DISCARDSTRING))==0) || 106 (strncmp(buf, DISCARDSTRING2, strlen(DISCARDSTRING2))==0) ) 103 107 break; 104 108 105 109 /* clean up the dependencies and write them to the makefile */ 106 110 ch=INSET; 107 111 endch=strlen(buf);