[MacPorts] #9151: broken gimp.desktop link in gimp2 portfile (patch provided)

MacPorts noreply at macports.org
Thu Mar 24 06:15:23 PDT 2016


#9151: broken gimp.desktop link in gimp2 portfile (patch provided)
-----------------------+--------------------
  Reporter:  rhwood@…  |      Owner:  yves@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  1.2
Resolution:  fixed     |   Keywords:
      Port:  gimp2     |
-----------------------+--------------------
Changes (by ryandesign@…):

 * port:   => gimp2


Old description:

> Index: Portfile
> ===================================================================
> RCS file:
> /Volumes/src/cvs/od/proj/darwinports/dports/graphics/gimp2/Portfile,v
> retrieving revision 1.34
> diff --unified=3 -r1.34 Portfile
> --- Portfile    27 May 2006 18:42:35 -0000      1.34
> +++ Portfile    28 May 2006 19:12:46 -0000
> @@ -37,9 +37,9 @@
>                   --mandir=${prefix}/share/man
>
>  post-destroot {
> -    cd ${destroot}${prefix}/share
> -    file mkdir applications
> -       system "ln -s gimp/2.0/misc/gimp.desktop
> applications/gimp.desktop"
> +       file mkdir ${destroot}${prefix}/share/applications
> +       cd ${destroot}${prefix}/share/applications
> +       system "ln -s ../gimp/2.0/misc/gimp.desktop gimp.desktop"
>  }
>
>  variant enable_python {

New description:

 {{{
 Index: Portfile
 ===================================================================
 RCS file:
 /Volumes/src/cvs/od/proj/darwinports/dports/graphics/gimp2/Portfile,v
 retrieving revision 1.34
 diff --unified=3 -r1.34 Portfile
 --- Portfile    27 May 2006 18:42:35 -0000      1.34
 +++ Portfile    28 May 2006 19:12:46 -0000
 @@ -37,9 +37,9 @@
                   --mandir=${prefix}/share/man

  post-destroot {
 -    cd ${destroot}${prefix}/share
 -    file mkdir applications
 -       system "ln -s gimp/2.0/misc/gimp.desktop
 applications/gimp.desktop"
 +       file mkdir ${destroot}${prefix}/share/applications
 +       cd ${destroot}${prefix}/share/applications
 +       system "ln -s ../gimp/2.0/misc/gimp.desktop gimp.desktop"
  }

  variant enable_python {
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/9151#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list