Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#49446 closed enhancement (wontfix)

TeXShop3 @3.57: identical patch blocks for darwin 12, 13, 14

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: TeXShop3

Description

I noticed that the TeXShop3 port has identical patch blocks for darwin 12, 13 and 14:

platform darwin 12 {
    patchfiles-append	patch-MyPDFKitView.m.diff patch-TSAppDelegate.m.diff \
	patch-MyPDFKitView-Magnification.m.diff
}

platform darwin 13 {
    patchfiles-append	patch-MyPDFKitView.m.diff patch-TSAppDelegate.m.diff \
	patch-MyPDFKitView-Magnification.m.diff
}

platform darwin 14 {
    patchfiles-append	patch-TSAppDelegate.m.diff \
	patch-MyPDFKitView-Magnification.m.diff
}

Why not make these a single block?

platform darwin {
    if {${os.major} >= 12 && ${os.major} <= 14} {
        patchfiles-append   patch-MyPDFKitView.m.diff \
                            patch-MyPDFKitView-Magnification.m.diff \
                            patch-TSAppDelegate.m.diff
    }
}

Even better would be if the patches were written in such a way that it will work correctly for any version of OS, and applied unconditionally. That's what would be required for the patch to be accepted by the upstream developers.

Change History (2)

comment:1 Changed 9 years ago by jyrkiwahlstedt

Resolution: wontfix
Status: newclosed

Good suggestion, thanks! However, it is probable that the developer makes the necessary changes in the next version. I've discussed this issue with him by email.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Excellent, that would be the best.

Note: See TracTickets for help on using tickets.