From andrex at utexas.edu Wed Jun 3 06:37:57 2015 From: andrex at utexas.edu (Andrew Schulman) Date: Wed, 03 Jun 2015 06:37:57 -0400 Subject: [Unison-hackers] Unison 2.48 won't build in Cygwin Message-ID: <09jtmatno9flv88m9q7nt7tl1bu3or2o6v@4ax.com> For years I've been able to build Unison in Cygwin, by applying this small patch: diff -urN a/Makefile.OCaml b/Makefile.OCaml --- a/Makefile.OCaml 2012-09-21 08:42:17.000000000 -0400 +++ b/Makefile.OCaml 2013-11-27 11:31:12.392086500 -0500 @@ -122,8 +122,7 @@ ifeq ($(OSARCH),win32gnuc) CWD=. EXEC_EXT=.exe - COBJS+=system/system_win_stubs$(OBJ_EXT) lwt/lwt_unix_stubs$(OBJ_EXT) - WINOBJS=system/system_win.cmo + WINOBJS= SYSTEM=win CLIBS+=-cclib win32rc/unison.res.lib STATIC=false # Cygwin is not MinGW :-( and running make OSCOMP=cygwingnuc SYSTEM=generic UISTYLE=text That worked up through version 2.45.28. Beginning with 2.47.4, the build fails on lwt/win/lwt_unix_impl.ml: ocamlopt: lwt/win/lwt_unix_impl.ml ---> lwt/win/lwt_unix_impl.cmx ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -c ./lwt/win/lwt_unix_impl.ml File "./lwt/win/lwt_unix_impl.ml", line 655, characters 35-57: Error: Unbound module System_impl.Fs.W Makefile.OCaml:429: recipe for target 'lwt/win/lwt_unix_impl.cmx' failed make: *** [lwt/win/lwt_unix_impl.cmx] Error 2 If I don't apply the patch, the build fails on system/system_win_stubs.c: ocamlopt: system/system_win_stubs.c ---> system/system_win_stubs.o ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -ccopt "-o "./system/system_win_stubs.o -c ./system/system_win_stubs.c ./system/system_win_stubs.c:19:5: error: unknown type name \u2018SOCKET\u2019 SOCKET socket; ^ ./system/system_win_stubs.c: In function \u2018copy_wstring\u2019: ./system/system_win_stubs.c:31:3: warning: implicit declaration of function \u2018wcslen\u2019 [-Wimplicit-function-declaration] len = 2 * wcslen(s) + 2; /* NULL character included */ ^ ./system/system_win_stubs.c: In function \u2018win_chmod\u2019: ./system/system_win_stubs.c:129:23: error: \u2018_S_IWRITE\u2019 undeclared (first use in this function) if (Int_val(perm) & _S_IWRITE) ^ ./system/system_win_stubs.c:129:23: note: each undeclared identifier is reported only once for each function it appears in ./system/system_win_stubs.c: In function \u2018w_create_process_native\u2019: ./system/system_win_stubs.c:453:10: warning: unused variable \u2018h\u2019 [-Wunused-variable] HANDLE h; ^ Makefile.OCaml:434: recipe for target 'system/system_win_stubs.o' failed make: *** [system/system_win_stubs.o] Error 2 I've tried this with various combinations of OSCOMP and SYSTEM, without success. I confess that I don't know exactly what effect each of those variables has. I think that a lot of the Cygwin-related logic in Makefile.OCaml is way out of date. For example, the logic for OSARCH=win32 seems to be obsolete since it refers only to beta versions of Cygwin that are 10 years old. Can anyone suggest a fix so that Unison will compile in Cygwin again? Thanks, Andrew From chris.prince at gmail.com Thu Jun 4 13:02:06 2015 From: chris.prince at gmail.com (Chris Prince) Date: Thu, 4 Jun 2015 10:02:06 -0700 Subject: [Unison-hackers] Unison 2.48 won't build in Cygwin In-Reply-To: <09jtmatno9flv88m9q7nt7tl1bu3or2o6v@4ax.com> References: <09jtmatno9flv88m9q7nt7tl1bu3or2o6v@4ax.com> Message-ID: I went through the same pain of building 2.48 for Windows a couple months ago. And what a struggle it was! For various reasons, I ended up using my build that wasn't reliant on Cygwin's DLL, but I did get it working both ways. I only have my notes for building the non-DLL version (see below). But I believe the same changes allowed me to build the Cygwin version using simply "make clean && make UISTYLE=text". (You should perhaps omit the OSARCH=win32 below, I don't remember for sure.) Windows build instructions for Unison 2.48.3: * Install the Protz version of OCaml. ( http://protz.github.io/ocaml-installer/) - If planning cross-platform use, be warned that apps built using OCaml 4.01 and 4.02 are binary incompatible! * Start a Cygwin shell (even when not linking against the Cygwin DLL). * Update PATH so that the Protz /bin dir is first. * 'cd' into the Unison source directory. * Edit Makefile.OCaml to use "-Fo" instead of "/Fo". * export OSARCH=win32 * make clean && make UISTYLE=text STATIC=false - Need STATIC=false because STATIC=true passes unrecognized "-static" argument to OCaml's 'flexdll'. * Upon link error, change the failed 'ocamlopt' command line as follows, and run manually: - REMOVE this trailing part: -cclib "-link [...].res" shell32.lib - FIX .obj filenames: change ".obj" to ".o" and remove any DIR/ prefixes from those files Hope this helps. --Chris On Wed, Jun 3, 2015 at 3:37 AM, Andrew Schulman wrote: > For years I've been able to build Unison in Cygwin, by applying this small > patch: > > diff -urN a/Makefile.OCaml b/Makefile.OCaml > --- a/Makefile.OCaml 2012-09-21 08:42:17.000000000 -0400 > +++ b/Makefile.OCaml 2013-11-27 11:31:12.392086500 -0500 > @@ -122,8 +122,7 @@ > ifeq ($(OSARCH),win32gnuc) > CWD=. > EXEC_EXT=.exe > - COBJS+=system/system_win_stubs$(OBJ_EXT) lwt/lwt_unix_stubs$(OBJ_EXT) > - WINOBJS=system/system_win.cmo > + WINOBJS= > SYSTEM=win > CLIBS+=-cclib win32rc/unison.res.lib > STATIC=false # Cygwin is not MinGW :-( > > and running > > make OSCOMP=cygwingnuc SYSTEM=generic UISTYLE=text > > That worked up through version 2.45.28. Beginning with 2.47.4, the build > fails > on lwt/win/lwt_unix_impl.ml: > > > ocamlopt: lwt/win/lwt_unix_impl.ml ---> lwt/win/lwt_unix_impl.cmx > ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I > fsmonitor/windows -I system/generic -I lwt/generic -c ./lwt/win/ > lwt_unix_impl.ml > File "./lwt/win/lwt_unix_impl.ml", line 655, characters 35-57: > Error: Unbound module System_impl.Fs.W > Makefile.OCaml:429: recipe for target 'lwt/win/lwt_unix_impl.cmx' failed > make: *** [lwt/win/lwt_unix_impl.cmx] Error 2 > > > If I don't apply the patch, the build fails on system/system_win_stubs.c: > > > ocamlopt: system/system_win_stubs.c ---> system/system_win_stubs.o > ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I > fsmonitor/windows -I system/generic -I lwt/generic -ccopt "-o > "./system/system_win_stubs.o -c ./system/system_win_stubs.c > ./system/system_win_stubs.c:19:5: error: unknown type name > \u2018SOCKET\u2019 > SOCKET socket; > ^ > ./system/system_win_stubs.c: In function \u2018copy_wstring\u2019: > ./system/system_win_stubs.c:31:3: warning: implicit declaration of function > \u2018wcslen\u2019 [-Wimplicit-function-declaration] > len = 2 * wcslen(s) + 2; /* NULL character included */ > ^ > ./system/system_win_stubs.c: In function \u2018win_chmod\u2019: > ./system/system_win_stubs.c:129:23: error: \u2018_S_IWRITE\u2019 undeclared > (first use in this function) > if (Int_val(perm) & _S_IWRITE) > ^ > ./system/system_win_stubs.c:129:23: note: each undeclared identifier is > reported > only once for each function it appears in > ./system/system_win_stubs.c: In function > \u2018w_create_process_native\u2019: > ./system/system_win_stubs.c:453:10: warning: unused variable \u2018h\u2019 > [-Wunused-variable] > HANDLE h; > ^ > Makefile.OCaml:434: recipe for target 'system/system_win_stubs.o' failed > make: *** [system/system_win_stubs.o] Error 2 > > > I've tried this with various combinations of OSCOMP and SYSTEM, without > success. > I confess that I don't know exactly what effect each of those variables > has. > > I think that a lot of the Cygwin-related logic in Makefile.OCaml is way > out of > date. For example, the logic for OSARCH=win32 seems to be obsolete since > it > refers only to beta versions of Cygwin that are 10 years old. > > Can anyone suggest a fix so that Unison will compile in Cygwin again? > > Thanks, > Andrew > > _______________________________________________ > Unison-hackers mailing list > Unison-hackers at lists.seas.upenn.edu > http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrex at utexas.edu Fri Jun 5 11:55:35 2015 From: andrex at utexas.edu (Andrew Schulman) Date: Fri, 05 Jun 2015 11:55:35 -0400 Subject: [Unison-hackers] Unison 2.48 won't build in Cygwin References: <09jtmatno9flv88m9q7nt7tl1bu3or2o6v@4ax.com> Message-ID: <79h3na5i72ua039e03v3ea3tlrj2fuhcet@4ax.com> > Windows build instructions for Unison 2.48.3: > * Install the Protz version of OCaml. ( > http://protz.github.io/ocaml-installer/) > - If planning cross-platform use, be warned that apps built using OCaml > 4.01 and 4.02 are binary incompatible! > * Start a Cygwin shell (even when not linking against the Cygwin DLL). > * Update PATH so that the Protz /bin dir is first. > * 'cd' into the Unison source directory. > * Edit Makefile.OCaml to use "-Fo" instead of "/Fo". > * export OSARCH=win32 > * make clean && make UISTYLE=text STATIC=false > - Need STATIC=false because STATIC=true passes unrecognized "-static" > argument to OCaml's 'flexdll'. > * Upon link error, change the failed 'ocamlopt' command line as follows, > and run manually: > - REMOVE this trailing part: -cclib "-link [...].res" shell32.lib > - FIX .obj filenames: change ".obj" to ".o" and remove any DIR/ > prefixes from those files Thanks very much. I'm not familiar with the Protz version of OCaml, and it's better if I can use the version that comes with Cygwin. But your instructions gave me the idea to start fooling around with OSARCH, and I found the following solution: Just run make UISTYLE=text OSARCH=Cygwin With that 2.48.3 builds OOTB in Cygwin - no patches are required. There's no code in Makefile.OCaml for OSARCH=Cygwin, so what that ends up doing is just building Unison as a generic Unix build, which turns out to work perfectly. Thanks for your help! Andrew From bcpierce at seas.upenn.edu Mon Jun 8 10:53:28 2015 From: bcpierce at seas.upenn.edu (bcpierce at seas.upenn.edu) Date: Mon, 8 Jun 2015 10:53:28 -0400 Subject: [Unison-hackers] [unison-svn] r542 - trunk/src Message-ID: <201506081453.t58ErThi011059@yaws.seas.upenn.edu> Author: bcpierce Date: 2015-06-08 10:53:28 -0400 (Mon, 08 Jun 2015) New Revision: 542 Modified: trunk/src/uigtk2.ml Log: Make - a synonym for / in GTK2 UI Modified: trunk/src/uigtk2.ml =================================================================== --- trunk/src/uigtk2.ml 2015-02-13 15:35:44 UTC (rev 541) +++ trunk/src/uigtk2.ml 2015-06-08 14:53:28 UTC (rev 542) @@ -4007,10 +4007,13 @@ right#add_accelerator ~group:accel_group ~modi:[`SHIFT] GdkKeysyms._less; right#add_accelerator ~group:accel_group ~modi:[`SHIFT] GdkKeysyms._comma; - grAdd grAction - (actionMenu#add_image_item ~key:GdkKeysyms._slash ~callback:questionAction - ~image:((GMisc.image ~stock:`NO ~icon_size:`MENU ())#coerce) - "Do _Not Propagate Changes"); + let skip = + grAdd grAction + (actionMenu#add_image_item ~key:GdkKeysyms._slash ~callback:questionAction + ~image:((GMisc.image ~stock:`NO ~icon_size:`MENU ())#coerce) + "Do _Not Propagate Changes") in + grAdd grAction skip; + skip#add_accelerator ~group:accel_group ~modi:[`SHIFT] GdkKeysyms._minus; let merge = actionMenu#add_image_item ~key:GdkKeysyms._m ~callback:mergeAction From bcpierce at seas.upenn.edu Mon Jun 8 10:58:56 2015 From: bcpierce at seas.upenn.edu (bcpierce at seas.upenn.edu) Date: Mon, 8 Jun 2015 10:58:56 -0400 Subject: [Unison-hackers] [unison-svn] r543 - in trunk: doc src Message-ID: <201506081458.t58EwuSj011175@yaws.seas.upenn.edu> Author: bcpierce Date: 2015-06-08 10:58:56 -0400 (Mon, 08 Jun 2015) New Revision: 543 Modified: trunk/doc/unison-manual.tex trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/uigtk2.ml Log: * Add shortcut key to GTK2 user interface allowing - to be used as a synonym for / (to accommodate german keyboards) * Small fix to manual Modified: trunk/doc/unison-manual.tex =================================================================== --- trunk/doc/unison-manual.tex 2015-06-08 14:53:28 UTC (rev 542) +++ trunk/doc/unison-manual.tex 2015-06-08 14:58:56 UTC (rev 543) @@ -1236,7 +1236,11 @@ otherwise if {\tt HOME} is defined, it will be {\tt \$HOME$\backslash$.unison}; otherwise, it will be -{\tt c:$\backslash$.unison}. +{\tt c:$\backslash$.unison}. +On OS X, +{\tt \$HOME/.unison} will be used if it is present, but +{\tt \$HOME/Library/Application Support/Unison} will be created and used by +default. The archive file for each replica is found in the {\tt .unison} directory on that replica's host. Profiles (described below) are Modified: trunk/src/RECENTNEWS =================================================================== --- trunk/src/RECENTNEWS 2015-06-08 14:53:28 UTC (rev 542) +++ trunk/src/RECENTNEWS 2015-06-08 14:58:56 UTC (rev 543) @@ -1,3 +1,11 @@ +CHANGES FROM VERSION 2.48.6 + +* Add shortcut key to GTK2 user interface allowing - to be used as a + synonym for / (to accommodate german keyboards) + +* Small fix to manual + +------------------------------- CHANGES FROM VERSION 2.48.5 uimac14: replace Growl with OS X native notification center. Modified: trunk/src/mkProjectInfo.ml =================================================================== --- trunk/src/mkProjectInfo.ml 2015-06-08 14:53:28 UTC (rev 542) +++ trunk/src/mkProjectInfo.ml 2015-06-08 14:58:56 UTC (rev 543) @@ -101,3 +101,4 @@ + Modified: trunk/src/uigtk2.ml =================================================================== --- trunk/src/uigtk2.ml 2015-06-08 14:53:28 UTC (rev 542) +++ trunk/src/uigtk2.ml 2015-06-08 14:58:56 UTC (rev 543) @@ -4012,7 +4012,7 @@ (actionMenu#add_image_item ~key:GdkKeysyms._slash ~callback:questionAction ~image:((GMisc.image ~stock:`NO ~icon_size:`MENU ())#coerce) "Do _Not Propagate Changes") in - grAdd grAction skip; + grAdd grAction skip; skip#add_accelerator ~group:accel_group ~modi:[`SHIFT] GdkKeysyms._minus; let merge = From ats at acm.org Wed Jun 10 11:02:06 2015 From: ats at acm.org (Alan Shutko) Date: Wed, 10 Jun 2015 08:02:06 -0700 Subject: [Unison-hackers] El Capitan issue: installing command line tool Message-ID: <749EBAAC-93C7-446A-BD2F-C2C17BA767B8@acm.org> I just installed 10.11 preview, and the new security they have blocks us from installing the Unison command line tool in /usr/bin. It works fine if we install in /usr/local/bin. I?ll work on a patch to change that. From ats at acm.org Thu Jun 11 18:09:56 2015 From: ats at acm.org (Alan Shutko) Date: Thu, 11 Jun 2015 15:09:56 -0700 Subject: [Unison-hackers] El Capitan issue: installing command line tool In-Reply-To: <749EBAAC-93C7-446A-BD2F-C2C17BA767B8@acm.org> References: <749EBAAC-93C7-446A-BD2F-C2C17BA767B8@acm.org> Message-ID: Ok, that wasn?t much? diff --git a/src/uimac14/MyController.m b/src/uimac14/MyController.m index b10d689..7fc00f4 100644 --- a/src/uimac14/MyController.m +++ b/src/uimac14/MyController.m @@ -182,7 +182,7 @@ static MyController *me; // needed by reloadTable and displayStatus, below /* unless user has clicked Don't ask me again, ask about cltool */ if ( ([[NSUserDefaults standardUserDefaults] boolForKey:@"CheckCltool"]) && (![[NSFileManager defaultManager] - fileExistsAtPath:@"/usr/bin/unison"]) ) + fileExistsAtPath:@"/usr/local/bin/unison"]) ) [self raiseCltoolWindow:nil]; } > On Jun 10, 2015, at 8:02 AM, Alan Shutko wrote: > > I just installed 10.11 preview, and the new security they have blocks us from installing the Unison command line tool in /usr/bin. It works fine if we install in /usr/local/bin. I?ll work on a patch to change that. > _______________________________________________ > Unison-hackers mailing list > Unison-hackers at lists.seas.upenn.edu > http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers From matt at matthewlmcclure.com Mon Jun 15 15:00:16 2015 From: matt at matthewlmcclure.com (Matt McClure) Date: Mon, 15 Jun 2015 15:00:16 -0400 Subject: [Unison-hackers] The results of your email commands In-Reply-To: References: <43F6B0CF-806A-4CB5-901F-B26305BA81AF@matthewlmcclure.com> Message-ID: Thank you! The Homebrew maintainers requested the SHA256 instead. Mind computing that also to confirm what I see myself? On Mon, Jun 15, 2015 at 2:56 PM, Benjamin C. Pierce wrote: > Confirmed. And here?s the answer to your query. :-) > > ~/pub/unison/download/releases/stable> openssl sha1 unison-2.48.3.tar.gz > SHA1(unison-2.48.3.tar.gz)= 2a0cfc95e95b9e9457c39faa4fe5b8184023cd0c > > > On Jun 14, 2015, at 11:33 AM, Matt McClure > wrote: > > Please confirm my subscription. I'd like to post the following question to > the list: > > What is the expected SHA1 hash of the file at > http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.48.3.tar.gz > ? > > The Homebrew community would like to confirm so that it can update its > packaging configuration. > > Refer to https://github.com/Homebrew/homebrew/issues/35795 > > -- > http://matthewlmcclure.com/ > http://cens.io/ > > -- http://matthewlmcclure.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bcpierce at cis.upenn.edu Mon Jun 15 15:02:47 2015 From: bcpierce at cis.upenn.edu (Benjamin C. Pierce) Date: Mon, 15 Jun 2015 15:02:47 -0400 Subject: [Unison-hackers] The results of your email commands In-Reply-To: References: <43F6B0CF-806A-4CB5-901F-B26305BA81AF@matthewlmcclure.com> Message-ID: <6349BA3A-C27E-4C62-88A7-0B6DD1E9936A@cis.upenn.edu> ~/pub/unison/download/releases/stable> shasum -a 256 unison-2.48.3.tar.gz f40d3cfbe82078d79328b51acab3e5179f844135260c2f4710525b9b45b15483 unison-2.48.3.tar.gz > On Jun 15, 2015, at 3:00 PM, Matt McClure wrote: > > Thank you! The Homebrew maintainers requested the SHA256 instead. Mind computing that also to confirm what I see myself? > > On Mon, Jun 15, 2015 at 2:56 PM, Benjamin C. Pierce > wrote: > Confirmed. And here?s the answer to your query. :-) > > ~/pub/unison/download/releases/stable> openssl sha1 unison-2.48.3.tar.gz > SHA1(unison-2.48.3.tar.gz)= 2a0cfc95e95b9e9457c39faa4fe5b8184023cd0c > > >> On Jun 14, 2015, at 11:33 AM, Matt McClure > wrote: >> >> Please confirm my subscription. I'd like to post the following question to the list: >> >> What is the expected SHA1 hash of the file at http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.48.3.tar.gz ? >> >> The Homebrew community would like to confirm so that it can update its packaging configuration. >> >> Refer to https://github.com/Homebrew/homebrew/issues/35795 >> -- >> http://matthewlmcclure.com/ >> http://cens.io/ > > -- > http://matthewlmcclure.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bcpierce at cis.upenn.edu Mon Jun 15 15:46:47 2015 From: bcpierce at cis.upenn.edu (Benjamin C. Pierce) Date: Mon, 15 Jun 2015 15:46:47 -0400 Subject: [Unison-hackers] El Capitan issue: installing command line tool In-Reply-To: References: <749EBAAC-93C7-446A-BD2F-C2C17BA767B8@acm.org> Message-ID: Is this really all that?s needed?? I didn?t write this bit and haven?t investigated how it works, but I?m surprised that the only change is in code that appears only to be checking for the existence of the command-line tool, not putting anything anywhere? - B > On Jun 11, 2015, at 6:09 PM, Alan Shutko wrote: > > Ok, that wasn?t much? > > diff --git a/src/uimac14/MyController.m b/src/uimac14/MyController.m > index b10d689..7fc00f4 100644 > --- a/src/uimac14/MyController.m > +++ b/src/uimac14/MyController.m > @@ -182,7 +182,7 @@ static MyController *me; // needed by reloadTable and displayStatus, below > /* unless user has clicked Don't ask me again, ask about cltool */ > if ( ([[NSUserDefaults standardUserDefaults] boolForKey:@"CheckCltool"]) && > (![[NSFileManager defaultManager] > - fileExistsAtPath:@"/usr/bin/unison"]) ) > + fileExistsAtPath:@"/usr/local/bin/unison"]) ) > [self raiseCltoolWindow:nil]; > } > > >> On Jun 10, 2015, at 8:02 AM, Alan Shutko wrote: >> >> I just installed 10.11 preview, and the new security they have blocks us from installing the Unison command line tool in /usr/bin. It works fine if we install in /usr/local/bin. I?ll work on a patch to change that. >> _______________________________________________ >> Unison-hackers mailing list >> Unison-hackers at lists.seas.upenn.edu >> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers > > _______________________________________________ > Unison-hackers mailing list > Unison-hackers at lists.seas.upenn.edu > http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers From matt at matthewlmcclure.com Mon Jun 15 18:51:14 2015 From: matt at matthewlmcclure.com (Matt McClure) Date: Mon, 15 Jun 2015 18:51:14 -0400 Subject: [Unison-hackers] The results of your email commands In-Reply-To: <6349BA3A-C27E-4C62-88A7-0B6DD1E9936A@cis.upenn.edu> References: <43F6B0CF-806A-4CB5-901F-B26305BA81AF@matthewlmcclure.com> <6349BA3A-C27E-4C62-88A7-0B6DD1E9936A@cis.upenn.edu> Message-ID: Thank you! On Mon, Jun 15, 2015 at 3:02 PM, Benjamin C. Pierce wrote: > ~/pub/unison/download/releases/stable> shasum -a 256 unison-2.48.3.tar.gz > f40d3cfbe82078d79328b51acab3e5179f844135260c2f4710525b9b45b15483 > unison-2.48.3.tar.gz > > > On Jun 15, 2015, at 3:00 PM, Matt McClure > wrote: > > Thank you! The Homebrew maintainers requested the SHA256 instead. Mind > computing that also to confirm what I see myself? > > On Mon, Jun 15, 2015 at 2:56 PM, Benjamin C. Pierce < > bcpierce at cis.upenn.edu> wrote: > >> Confirmed. And here?s the answer to your query. :-) >> >> ~/pub/unison/download/releases/stable> openssl sha1 unison-2.48.3.tar.gz >> SHA1(unison-2.48.3.tar.gz)= 2a0cfc95e95b9e9457c39faa4fe5b8184023cd0c >> >> >> On Jun 14, 2015, at 11:33 AM, Matt McClure >> wrote: >> >> Please confirm my subscription. I'd like to post the following question >> to the list: >> >> What is the expected SHA1 hash of the file at >> http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.48.3.tar.gz >> ? >> >> The Homebrew community would like to confirm so that it can update its >> packaging configuration. >> >> Refer to https://github.com/Homebrew/homebrew/issues/35795 >> >> -- >> http://matthewlmcclure.com/ >> http://cens.io/ >> >> > > -- > http://matthewlmcclure.com > > > -- http://matthewlmcclure.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ats at acm.org Tue Jun 16 15:33:20 2015 From: ats at acm.org (Alan Shutko) Date: Tue, 16 Jun 2015 14:33:20 -0500 Subject: [Unison-hackers] El Capitan issue: installing command line tool In-Reply-To: References: <749EBAAC-93C7-446A-BD2F-C2C17BA767B8@acm.org> Message-ID: Oops. > On Jun 15, 2015, at 2:46 PM, Benjamin C. Pierce wrote: > > Is this really all that?s needed?? I didn?t write this bit and haven?t investigated how it works, but I?m surprised that the only change is in code that appears only to be checking for the existence of the command-line tool, not putting anything anywhere? > > - B > > >> On Jun 11, 2015, at 6:09 PM, Alan Shutko wrote: >> >> Ok, that wasn?t much? >> >> diff --git a/src/uimac14/MyController.m b/src/uimac14/MyController.m >> index b10d689..7fc00f4 100644 >> --- a/src/uimac14/MyController.m >> +++ b/src/uimac14/MyController.m >> @@ -182,7 +182,7 @@ static MyController *me; // needed by reloadTable and displayStatus, below >> /* unless user has clicked Don't ask me again, ask about cltool */ >> if ( ([[NSUserDefaults standardUserDefaults] boolForKey:@"CheckCltool"]) && >> (![[NSFileManager defaultManager] >> - fileExistsAtPath:@"/usr/bin/unison"]) ) >> + fileExistsAtPath:@"/usr/local/bin/unison"]) ) >> [self raiseCltoolWindow:nil]; >> } >> >> >>> On Jun 10, 2015, at 8:02 AM, Alan Shutko wrote: >>> >>> I just installed 10.11 preview, and the new security they have blocks us from installing the Unison command line tool in /usr/bin. It works fine if we install in /usr/local/bin. I?ll work on a patch to change that. >>> _______________________________________________ >>> Unison-hackers mailing list >>> Unison-hackers at lists.seas.upenn.edu >>> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers >> >> _______________________________________________ >> Unison-hackers mailing list >> Unison-hackers at lists.seas.upenn.edu >> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers > > _______________________________________________ > Unison-hackers mailing list > Unison-hackers at lists.seas.upenn.edu > http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers