public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to "lock" package exclusion?
@ 2017-06-13  6:39 Oleksandr Gavenko
  2017-06-13 14:12 ` Ken Brown
  2017-06-15 19:25 ` Oleksandr Gavenko
  0 siblings, 2 replies; 4+ messages in thread
From: Oleksandr Gavenko @ 2017-06-13  6:39 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to "lock" package exclusion?
  2017-06-13  6:39 How to "lock" package exclusion? Oleksandr Gavenko
@ 2017-06-13 14:12 ` Ken Brown
  2017-06-15 19:25 ` Oleksandr Gavenko
  1 sibling, 0 replies; 4+ messages in thread
From: Ken Brown @ 2017-06-13 14:12 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to "lock" package exclusion?
  2017-06-13  6:39 How to "lock" package exclusion? Oleksandr Gavenko
  2017-06-13 14:12 ` Ken Brown
@ 2017-06-15 19:25 ` Oleksandr Gavenko
  2017-06-15 22:19   ` Ken Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Oleksandr Gavenko @ 2017-06-15 19:25 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to "lock" package exclusion?
  2017-06-15 19:25 ` Oleksandr Gavenko
@ 2017-06-15 22:19   ` Ken Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Ken Brown @ 2017-06-15 22:19 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-15 22:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-13  6:39 How to "lock" package exclusion? Oleksandr Gavenko
2017-06-13 14:12 ` Ken Brown
2017-06-15 19:25 ` Oleksandr Gavenko
2017-06-15 22:19   ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).