Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071721) Unpack the original tarball in a separate directory. Create a diff of theoriginal and the current src directory.2) Unpack the new update in a separate directory. Overwrite the files in srcwith the files from the update. Note that some filenames have been renamed:key.c -> keymacro.ckey.h -> keymacro.hterm.c -> terminal.cel_term.h -> terminal.hThen manually apply the changes from the diff in 1) to the new files.3) The patch-configure.ac file only deals with libtool-style versioning.We had altered the version numbers so that the version number in the nameof the dylib matched the libedit version number, but this was the wrongthing to do, and now we are stuck. For instance, original libtool-styleversion number for a past version was 0:27:0. It was changed to 1:11:0 sothat libedit.2.11.dylib was created (1 is added to the major number, becausethe libtool major number can be zero, but not the Mac OS X major number).libedit 3.0 has a libtool version number of 0:35:0, meaning it is binary-compatible with the 2.11 version. Since we now build with Xcode, we don'tcare about the libtool versioning, *except* that it tells use the 3.0version is binary compatible with libedit.2.dylib. So we can create alibedit.3.dylib, plus the usual symlinks libedit.dylib, and libedit.3.0.dylib,and also create a libedit.2.dylib symlink, *if* we remember to set thecompatibility version of libedit.3.dylib to 2.0.4) Unpack the original tarball, make a darwin subdirectory at the top level,and cd there. Then run:% ../configure --helpDo the same for the new tarball. In this case, there are no new options.5) Run in each of the darwin subdirectories:% ../configure --disable-dependency-tracking --enable-shared --disable-static --enable-widec% makeThis will create config.h at the top level, and the nine auto-generated files:common.h fcns.c help.c historyn.c vi.hemacs.h fcns.h help.h tokenizern.cin the src directory.6) For the original files, copy the nine auto-generated files to a tempdirectory, like /tmp/local:% diff -r /tmp/local $libedit/local >/tmp/DIFF(where $libedit is the path the the current version of the libedit project).This create a diff of what has changed in those auto-generated files.7) Overwrite the nine auto-generated files in $libedit/local from the new darwin/src directory.Now manually apply the patches from /tmp/DIFF.8) Diff the original config.h with the one in $libedit (in this case, nodifferences).9) Diff the original config.h with the new config.h to see what has changed.Then overwrite the original config.h with the new config.h.10) Global replace in libedit.xcodeproj/project.pbxproj, the filenames thathave changed with their new name.11) Update the man pages in the doc directory,12) Update the libedit.plist.