public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: [ANNOUNCEMENT] Updated: {xfig/xfig-lib}-3.2.5b-1
@ 2010-05-27 11:16 Angelo Graziosi
  2010-05-27 11:48 ` Angelo Graziosi
  0 siblings, 1 reply; 5+ messages in thread
From: Angelo Graziosi @ 2010-05-27 11:16 UTC (permalink / raw)
  To: XCygwin

After upgrading, when I launch xfig ($ /usr/bin/xfig.exe &) there is 
this error message (in another x-window):

==========================================
The app-defaults file (version: 3.2.4) is older
     than this version of xfig (3.2.5b).
You should install the correct version or you may lose some features.
This may be done with "make install" in the xfig source directory.
==========================================

Ciao,
Angelo.

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


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

* Re: [ANNOUNCEMENT] Updated: {xfig/xfig-lib}-3.2.5b-1
  2010-05-27 11:16 [ANNOUNCEMENT] Updated: {xfig/xfig-lib}-3.2.5b-1 Angelo Graziosi
@ 2010-05-27 11:48 ` Angelo Graziosi
  2010-05-27 13:45   ` Dr. Volker Zell
  0 siblings, 1 reply; 5+ messages in thread
From: Angelo Graziosi @ 2010-05-27 11:48 UTC (permalink / raw)
  To: XCygwin

It looks a postinstall problem:

======================
if [ ! -f /etc/X11/app-defaults/Fig ]
then
     /usr/bin/mkdir -p /etc/X11/app-defaults
     /usr/bin/cp /etc/defaults/etc/X11/app-defaults/Fig 
/etc/X11/app-defaults/Fig
fi

if [ ! -f /etc/X11/app-defaults/Fig-color ]
then
     /usr/bin/mkdir -p /etc/X11/app-defaults
     /usr/bin/cp /etc/defaults/etc/X11/app-defaults/Fig-color 
/etc/X11/app-defaults/Fig-color
fi
======================

If I read correctly, if Fig* files exist in '/etc/X11/app-defaults', 
they are not replaced with new.

Indeed, in my system, the Fig* file in 
'/etc/defaults/etc/X11/app-defaults' belong to 3.2.5b, instead those in 
'/etc/X11/app-defaults' belong to 3.2.4!

Ciao,
Angelo.


Il 27/05/2010 13.16, Angelo Graziosi ha scritto:
> After upgrading, when I launch xfig ($ /usr/bin/xfig.exe &) there is
> this error message (in another x-window):
>
> ==========================================
> The app-defaults file (version: 3.2.4) is older
> than this version of xfig (3.2.5b).
> You should install the correct version or you may lose some features.
> This may be done with "make install" in the xfig source directory.
> ==========================================
>
> Ciao,
> Angelo.


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


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

* Re: [ANNOUNCEMENT] Updated: {xfig/xfig-lib}-3.2.5b-1
  2010-05-27 11:48 ` Angelo Graziosi
@ 2010-05-27 13:45   ` Dr. Volker Zell
  0 siblings, 0 replies; 5+ messages in thread
From: Dr. Volker Zell @ 2010-05-27 13:45 UTC (permalink / raw)
  To: cygwin-xfree

>>>>> Angelo Graziosi writes:

    > It looks a postinstall problem:
    > ======================
    > if [ ! -f /etc/X11/app-defaults/Fig ]
    > then
    >     /usr/bin/mkdir -p /etc/X11/app-defaults
    >     /usr/bin/cp /etc/defaults/etc/X11/app-defaults/Fig /etc/X11/app-defaults/Fig
    > fi

    > if [ ! -f /etc/X11/app-defaults/Fig-color ]
    > then
    >     /usr/bin/mkdir -p /etc/X11/app-defaults
    >     /usr/bin/cp /etc/defaults/etc/X11/app-defaults/Fig-color
    > /etc/X11/app-defaults/Fig-color
    > fi
    > ======================

    > If I read correctly, if Fig* files exist in '/etc/X11/app-defaults', they are
    > not replaced with new.

That's correct. If somebody has changed the system defaults I don't want overide these.
Just copy /etc/defaults/etc/X11/app-defaults/Fig yourself.

Ciao
 Volker
 

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


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

* Re: [ANNOUNCEMENT] Updated: {xfig/xfig-lib}-3.2.5b-1
  2010-05-27 22:07 Angelo Graziosi
@ 2010-05-28  1:25 ` Ken Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Ken Brown @ 2010-05-28  1:25 UTC (permalink / raw)
  To: cygwin-xfree

On 5/27/2010 6:07 PM, Angelo Graziosi wrote:
> Dr. Volker Zell wrote:
>   >  Angelo Graziosi writes:
>>> If I read correctly, if Fig* files exist in '/etc/X11/app-defaults', they are
>>> not replaced with new.
>>
>> That's correct. If somebody has changed the system defaults I don't want overide these.
>
> Hmm... I have not changed the system defaults: the Fig* files were put
> there (/etc/X11/app-defaults) by previous installation of XFig (3.2.4),
> which was the first I did for Cygwin-1.7.
>
> So, if now they are not overwritten and XFig complains about them, it
> looks a little strange.

It's actually a preremove problem, not a postinstall problem.  It looks 
like the previous xfig package was missing its preremove script, which 
would have removed the old Fig* files if they were unchanged from the 
defaults.  The new xfig does have such a script, so this shouldn't be a 
problem in the future (assuming you manually copy the default files and 
don't change them).

Ken

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


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

* Re: [ANNOUNCEMENT] Updated: {xfig/xfig-lib}-3.2.5b-1
@ 2010-05-27 22:07 Angelo Graziosi
  2010-05-28  1:25 ` Ken Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Angelo Graziosi @ 2010-05-27 22:07 UTC (permalink / raw)
  To: XCygwin

Dr. Volker Zell wrote:
 > Angelo Graziosi writes:
>> If I read correctly, if Fig* files exist in '/etc/X11/app-defaults', they are
>> not replaced with new.
>
> That's correct. If somebody has changed the system defaults I don't want overide these.

Hmm... I have not changed the system defaults: the Fig* files were put 
there (/etc/X11/app-defaults) by previous installation of XFig (3.2.4), 
which was the first I did for Cygwin-1.7.

So, if now they are not overwritten and XFig complains about them, it 
looks a little strange.

Ciao,
Angelo.

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


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

end of thread, other threads:[~2010-05-28  1:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-27 11:16 [ANNOUNCEMENT] Updated: {xfig/xfig-lib}-3.2.5b-1 Angelo Graziosi
2010-05-27 11:48 ` Angelo Graziosi
2010-05-27 13:45   ` Dr. Volker Zell
2010-05-27 22:07 Angelo Graziosi
2010-05-28  1:25 ` 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).