Ticket #44862: disable-sparkle.patch

File disable-sparkle.patch, 5.4 KB (added by larryv (Lawrence Velázquez), 10 years ago)

fix Portfile and create patchfile

  • dports/editors/hexfiend/Portfile

    diff --git a/dports/editors/hexfiend/Portfile b/dports/editors/hexfiend/Portfile
    index 43fced5..ba35c2f 100644
    a b checksums rmd160 4084dd22c4c6151e01f790fd71c7cde52640a842 \ 
    1010                sha256  41f73da50490b417b19176068b4a3e7224fa3c06b73d0c4788bf6ed21dceb439
    1111
    1212epoch           1
     13subport HexFiend {
     14    revision    1
     15}
    1316categories      editors aqua
    1417maintainers     cal openmaintainer
    1518license         BSD
    long_description \n\ 
    2629    * Data inspector. Interpret data as integer or floating point, signed or unsigned, big or little endian...\n\
    2730    * Smooth scrolling. No separate pages - scroll like any text document.
    2831
     32patch.pre_args  -p1
     33patchfiles      disable-sparkle.patch
     34
    2935if {${subport} eq ${name}} {
    3036    description     HexFiend is a fast and clever hex editor
    3137
  • new file dports/editors/hexfiend/files/disable-sparkle.patch

    diff --git a/dports/editors/hexfiend/files/disable-sparkle.patch b/dports/editors/hexfiend/files/disable-sparkle.patch
    new file mode 100644
    index 0000000..4d486dc
    - +  
     1diff --git a/HexFiend_2.xcodeproj/project.pbxproj b/HexFiend_2.xcodeproj/project.pbxproj
     2index 2e13a7f..e9834fa 100755
     3--- a/HexFiend_2.xcodeproj/project.pbxproj
     4+++ b/HexFiend_2.xcodeproj/project.pbxproj
     5@@ -25,8 +25,6 @@
     6                795F46C114BAA45D00EB2F7D /* OpenDriveWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 795F46C014BAA45D00EB2F7D /* OpenDriveWindowController.m */; };
     7                795F46C314BAADB600EB2F7D /* DiskArbitration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 795F46C214BAADB600EB2F7D /* DiskArbitration.framework */; };
     8                795F46C514BAAEFB00EB2F7D /* OpenDriveDialog.xib in Resources */ = {isa = PBXBuildFile; fileRef = 795F46C414BAAEFB00EB2F7D /* OpenDriveDialog.xib */; };
     9-               79E2FF1C17459F5E00FA8F12 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 79E2FF1B17459F5E00FA8F12 /* Sparkle.framework */; };
     10-               79E2FF1E17459FA700FA8F12 /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 79E2FF1B17459F5E00FA8F12 /* Sparkle.framework */; };
     11                79E2FF201745A2B300FA8F12 /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = 79E2FF1F1745A2B300FA8F12 /* dsa_pub.pem */; };
     12                8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
     13                8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
     14@@ -244,16 +242,6 @@
     15 /* End PBXContainerItemProxy section */
     16 
     17 /* Begin PBXCopyFilesBuildPhase section */
     18-               79E2FF1D17459F9E00FA8F12 /* CopyFiles */ = {
     19-                       isa = PBXCopyFilesBuildPhase;
     20-                       buildActionMask = 2147483647;
     21-                       dstPath = "";
     22-                       dstSubfolderSpec = 10;
     23-                       files = (
     24-                               79E2FF1E17459FA700FA8F12 /* Sparkle.framework in CopyFiles */,
     25-                       );
     26-                       runOnlyForDeploymentPostprocessing = 0;
     27-               };
     28                D01E7BDA0CDC540700943F9E /* CopyFiles */ = {
     29                        isa = PBXCopyFilesBuildPhase;
     30                        buildActionMask = 2147483647;
     31@@ -297,7 +285,6 @@
     32                795F46C014BAA45D00EB2F7D /* OpenDriveWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = OpenDriveWindowController.m; path = app/sources/OpenDriveWindowController.m; sourceTree = "<group>"; };
     33                795F46C214BAADB600EB2F7D /* DiskArbitration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = DiskArbitration.framework; path = System/Library/Frameworks/DiskArbitration.framework; sourceTree = SDKROOT; };
     34                795F46C414BAAEFB00EB2F7D /* OpenDriveDialog.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = OpenDriveDialog.xib; path = app/resources/OpenDriveDialog.xib; sourceTree = "<group>"; };
     35-               79E2FF1B17459F5E00FA8F12 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Sparkle.framework; path = app/updater/Sparkle.framework; sourceTree = "<group>"; };
     36                79E2FF1F1745A2B300FA8F12 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dsa_pub.pem; path = app/resources/dsa_pub.pem; sourceTree = "<group>"; };
     37                8D1107320486CEB800E47090 /* Hex Fiend.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Hex Fiend.app"; sourceTree = BUILT_PRODUCTS_DIR; };
     38                D00122E10D48A8D400540B10 /* HFFindReplaceBackgroundView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HFFindReplaceBackgroundView.h; path = app/sources/HFFindReplaceBackgroundView.h; sourceTree = "<group>"; };
     39@@ -513,7 +500,6 @@
     40                        files = (
     41                                795F46C314BAADB600EB2F7D /* DiskArbitration.framework in Frameworks */,
     42                                8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
     43-                               79E2FF1C17459F5E00FA8F12 /* Sparkle.framework in Frameworks */,
     44                                940C4E69183C0F230009AFDA /* HexFiend.framework in Frameworks */,
     45                        );
     46                        runOnlyForDeploymentPostprocessing = 0;
     47@@ -613,7 +599,6 @@
     48                29B97323FDCFA39411CA2CEA /* Frameworks */ = {
     49                        isa = PBXGroup;
     50                        children = (
     51-                               79E2FF1B17459F5E00FA8F12 /* Sparkle.framework */,
     52                                795F46C214BAADB600EB2F7D /* DiskArbitration.framework */,
     53                                D0D4BE84146F43A1001B0A71 /* ServiceManagement.framework */,
     54                                D05984CB1032C6D900059E72 /* Security.framework */,