Re: How to "lock" package exclusion?

2017-06-15 Thread Ken Brown

On 6/15/2017 3:25 PM, Oleksandr Gavenko wrote:

On 2017-06-13, Oleksandr Gavenko wrote:


I am not sure if Emacs need libfam0 via  libglib2.0_0...


I've got response:

   
https://emacs.stackexchange.com/questions/33545/how-is-important-libfam-and-gam-server

Emacs w32 built with ``gfilenotify``::

   (featurep 'gfilenotify)
   (member "gfilenotify.o" build-files)

and 'file-notify--library' is 'gfilenotify'.

There is 'w32notify' backend. Not sure if it is appropriate for Cygwin build.


I once tried to make this work with the emacs-w32 build, and I failed. 
I wasn't motivated to put a lot of time into it since gfilenotify is 
available.  But if it's important to you and you're able to do make it 
work, I'd be glad to switch to w32notify.


Ken

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: How to "lock" package exclusion?

2017-06-15 Thread Oleksandr Gavenko
On 2017-06-13, Oleksandr Gavenko wrote:

> I am not sure if Emacs need libfam0 via  libglib2.0_0...

I've got response:

  
https://emacs.stackexchange.com/questions/33545/how-is-important-libfam-and-gam-server

Emacs w32 built with ``gfilenotify``::

  (featurep 'gfilenotify) 
  (member "gfilenotify.o" build-files)

and 'file-notify--library' is 'gfilenotify'.

There is 'w32notify' backend. Not sure if it is appropriate for Cygwin build.

What interesting Emacs still track file modification even with removed gamin.

-- 
http://defun.work/


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: How to "lock" package exclusion?

2017-06-13 Thread Ken Brown
On 6/13/2017 2:39 AM, Oleksandr Gavenko wrote> How can I "lock" package 
to prevent intalling even if it is "required".


There's no supported way to do this, but you can try to trick setup into 
thinking a package is installed by editing /etc/setup/installed.db. 
You'll have to re-do this every time the package is updated.  And, of 
course, you might break something if it turns out that you really do 
need the package.


Ken


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



How to "lock" package exclusion?

2017-06-13 Thread Oleksandr Gavenko
Procexp showed that /usr/libexec/gam_server.exe has link to Emacs.

There is another evidence::

  bash# apt-cyg depends emacs-w32 | grep gamin
  170:emacs-w32 > emacs > libglib2.0_0 > libfam0 > gamin
  1533:emacs-w32 > libMagickCore6_2 > libcairo2 > libglib2.0_0 > libfam0 > gamin

Previously asked:

https://cygwin.com/ml/cygwin/2015-09/msg00241.html
https://cygwin.com/ml/cygwin/2015-09/msg00243.html
  Does gam_server have to run?

but without any useful response except to uninstall gamin.

If I proper understand libfam is:

  https://en.wikipedia.org/wiki/File_Alteration_Monitor

I am not sure if Emacs need libfam0 via  libglib2.0_0...

So I unistalled gamin, but setup.exe ask about installing required packages
and during next installation I'll get it.

How can I "lock" package to prevent intalling even if it is "required".

-- 
http://defun.work/


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple