[MacPorts] #68760: xfig cannot export subset of layers

MacPorts noreply at macports.org
Tue Nov 28 04:46:04 UTC 2023


#68760: xfig cannot export subset of layers
----------------------+--------------------
  Reporter:  bdmckay  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:
      Port:  xfig     |
----------------------+--------------------
Changes (by ryandesign):

 * keywords:  export only active =>


Old description:

> Macbook Pro, Sonoma 14.1.1, macports 2.8.1, xfig @3.2.9_0, fig2dev
> @3.2.9_0
>
> Create a figure with items on layers 50,51.  It doesn't matter what
> items; I used circles.  Save.
>
> Deselect layer 51 (leaving only layer 50 active).  Export->Export only
> active->Export.
>
> Now a popup says:
>     Error message from spawned process: fig2dev: help for -D option:
>     -D +rangelist  means keep only depths in rangelist.
>     -D -rangelist  means keep all depths but those in rangelist.
>     Rangelist can be a list of numbers or ranges of numbers, e.g.:
>        10,40,55,60:70,99
>
> By intercepting the fig2dev command, I see that the arguments have an
> additional "-D":
>    -L eps -D -D -51 -F -n testing.fig
>
> The following command works fine on the command line:
>   fig2dev -L eps -D -51 -F -n testing.fig testing.eps

New description:

 Macbook Pro, Sonoma 14.1.1, macports 2.8.1, xfig @3.2.9_0, fig2dev
 @3.2.9_0

 Create a figure with items on layers 50,51.  It doesn't matter what items;
 I used circles.  Save.

 Deselect layer 51 (leaving only layer 50 active).  Export->Export only
 active->Export.

 Now a popup says:
 {{{
 Error message from spawned process: fig2dev: help for -D option:
 -D +rangelist  means keep only depths in rangelist.
 -D -rangelist  means keep all depths but those in rangelist.
 Rangelist can be a list of numbers or ranges of numbers, e.g.:
    10,40,55,60:70,99
 }}}

 By intercepting the fig2dev command, I see that the arguments have an
 additional "-D":
 {{{
 -L eps -D -D -51 -F -n testing.fig
 }}}

 The following command works fine on the command line:
 {{{
 fig2dev -L eps -D -51 -F -n testing.fig testing.eps
 }}}

--

Comment:

 It sounds like the problem is not specific to MacPorts. Please
 [https://sourceforge.net/p/mcj/tickets/ report it to the developers of
 xfig] so that they can fix it and release a fixed version, to which
 MacPorts can then update.

-- 
Ticket URL: <https://trac.macports.org/ticket/68760#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list