Skip to content

Commit

Permalink
remove Fuzi library
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan committed Jul 9, 2024
1 parent 9a43663 commit ef718ef
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 52 deletions.
2 changes: 0 additions & 2 deletions OpenHABCore/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ let package = Package(
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(name: "Alamofire", url: "https://github.com/Alamofire/Alamofire.git", from: "5.0.0"),
.package(name: "Fuzi", url: "https://github.com/cezheng/Fuzi.git", from: "3.0.0"),
.package(name: "Kingfisher", url: "https://github.com/onevcat/Kingfisher.git", from: "7.0.0")
],
targets: [
Expand All @@ -26,7 +25,6 @@ let package = Package(
name: "OpenHABCore",
dependencies: [
.product(name: "Alamofire", package: "Alamofire", condition: .when(platforms: [.iOS, .watchOS])),
.product(name: "Fuzi", package: "Fuzi", condition: .when(platforms: [.iOS, .watchOS])),
.product(name: "Kingfisher", package: "Kingfisher", condition: .when(platforms: [.iOS, .watchOS]))
]
),
Expand Down
1 change: 0 additions & 1 deletion OpenHABCore/Sources/OpenHABCore/Model/OpenHABItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// SPDX-License-Identifier: EPL-2.0

import CoreLocation
import Fuzi
import os.log
import UIKit

Expand Down
1 change: 0 additions & 1 deletion OpenHABCore/Sources/OpenHABCore/Model/OpenHABSitemap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// SPDX-License-Identifier: EPL-2.0

import Foundation
import Fuzi

// The OpenHAB REST API returns either a value (eg. String, Int, Double...) or false (not null).
// Inspired by https://stackoverflow.com/questions/52836448/decodable-value-string-or-bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// SPDX-License-Identifier: EPL-2.0

import Foundation
import Fuzi
import os.log

public class OpenHABSitemapPage: NSObject {
Expand Down
1 change: 0 additions & 1 deletion OpenHABCore/Sources/OpenHABCore/Model/OpenHABWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

import Alamofire
import Foundation
import Fuzi
import MapKit
import os.log

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// SPDX-License-Identifier: EPL-2.0

import Foundation
import Fuzi

public class OpenHABWidgetMapping: NSObject, Decodable {
public var command = ""
Expand Down
25 changes: 0 additions & 25 deletions openHAB.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@
937C8B0C2800A738009C055E /* Intents.intentdefinition in Sources */ = {isa = PBXBuildFile; fileRef = 935D340A257B7DC00020A404 /* Intents.intentdefinition */; };
937E4471270B36D000A98C26 /* OpenHABCore in Frameworks */ = {isa = PBXBuildFile; productRef = 937E4470270B36D000A98C26 /* OpenHABCore */; };
937E4473270B36DD00A98C26 /* OpenHABCore in Frameworks */ = {isa = PBXBuildFile; productRef = 937E4472270B36DD00A98C26 /* OpenHABCore */; };
937E4482270B378F00A98C26 /* Fuzi in Frameworks */ = {isa = PBXBuildFile; productRef = 937E4481270B378F00A98C26 /* Fuzi */; };
937E4485270B379900A98C26 /* DeviceKit in Frameworks */ = {isa = PBXBuildFile; productRef = 937E4484270B379900A98C26 /* DeviceKit */; };
937E4488270B37A600A98C26 /* Kingfisher in Frameworks */ = {isa = PBXBuildFile; productRef = 937E4487270B37A600A98C26 /* Kingfisher */; };
937E448C270B37CA00A98C26 /* Kingfisher in Frameworks */ = {isa = PBXBuildFile; productRef = 937E448B270B37CA00A98C26 /* Kingfisher */; };
937E448E270B37D200A98C26 /* DeviceKit in Frameworks */ = {isa = PBXBuildFile; productRef = 937E448D270B37D200A98C26 /* DeviceKit */; };
937E4492270B37FE00A98C26 /* Kingfisher in Frameworks */ = {isa = PBXBuildFile; productRef = 937E4491270B37FE00A98C26 /* Kingfisher */; };
937E4494270B380500A98C26 /* Fuzi in Frameworks */ = {isa = PBXBuildFile; productRef = 937E4493270B380500A98C26 /* Fuzi */; };
937E44E2270B393C00A98C26 /* OpenHABCore in Frameworks */ = {isa = PBXBuildFile; productRef = 937E44E1270B393C00A98C26 /* OpenHABCore */; };
938620C0257E223C00A63200 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 938BF9C824EFCCC000E6B52F /* Localizable.strings */; };
938BF89624EFBC5400E6B52F /* LocalizationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 938BF89524EFBC5400E6B52F /* LocalizationTests.swift */; };
Expand Down Expand Up @@ -493,7 +491,6 @@
buildActionMask = 2147483647;
files = (
937E4492270B37FE00A98C26 /* Kingfisher in Frameworks */,
937E4494270B380500A98C26 /* Fuzi in Frameworks */,
937E44E2270B393C00A98C26 /* OpenHABCore in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -530,7 +527,6 @@
DFB2622F18830A3600D3244D /* UIKit.framework in Frameworks */,
93F8064A27AE7A2E0035A6B0 /* FlexColorPicker in Frameworks */,
93F8063227AE6B940035A6B0 /* AlamofireNetworkActivityIndicator in Frameworks */,
937E4482270B378F00A98C26 /* Fuzi in Frameworks */,
93F8065327AE7B580035A6B0 /* SVGKit in Frameworks */,
DA28C362225241DE00AB409C /* WebKit.framework in Frameworks */,
93F8061B27AE615D0035A6B0 /* Alamofire in Frameworks */,
Expand Down Expand Up @@ -1034,7 +1030,6 @@
name = openHABIntents;
packageProductDependencies = (
937E4491270B37FE00A98C26 /* Kingfisher */,
937E4493270B380500A98C26 /* Fuzi */,
937E44E1270B393C00A98C26 /* OpenHABCore */,
);
productName = openHABIntents;
Expand Down Expand Up @@ -1144,7 +1139,6 @@
name = openHAB;
packageProductDependencies = (
937E4470270B36D000A98C26 /* OpenHABCore */,
937E4481270B378F00A98C26 /* Fuzi */,
937E4484270B379900A98C26 /* DeviceKit */,
937E4487270B37A600A98C26 /* Kingfisher */,
93F8061A27AE615D0035A6B0 /* Alamofire */,
Expand Down Expand Up @@ -1232,7 +1226,6 @@
);
mainGroup = DFB2621E18830A3600D3244D;
packageReferences = (
937E4480270B378F00A98C26 /* XCRemoteSwiftPackageReference "Fuzi" */,
937E4483270B379900A98C26 /* XCRemoteSwiftPackageReference "DeviceKit" */,
937E4486270B37A600A98C26 /* XCRemoteSwiftPackageReference "Kingfisher" */,
93F8061927AE615D0035A6B0 /* XCRemoteSwiftPackageReference "Alamofire" */,
Expand Down Expand Up @@ -2331,14 +2324,6 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
937E4480270B378F00A98C26 /* XCRemoteSwiftPackageReference "Fuzi" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/cezheng/Fuzi.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 3.0.0;
};
};
937E4483270B379900A98C26 /* XCRemoteSwiftPackageReference "DeviceKit" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/devicekit/DeviceKit.git";
Expand Down Expand Up @@ -2458,11 +2443,6 @@
isa = XCSwiftPackageProductDependency;
productName = OpenHABCore;
};
937E4481270B378F00A98C26 /* Fuzi */ = {
isa = XCSwiftPackageProductDependency;
package = 937E4480270B378F00A98C26 /* XCRemoteSwiftPackageReference "Fuzi" */;
productName = Fuzi;
};
937E4484270B379900A98C26 /* DeviceKit */ = {
isa = XCSwiftPackageProductDependency;
package = 937E4483270B379900A98C26 /* XCRemoteSwiftPackageReference "DeviceKit" */;
Expand All @@ -2488,11 +2468,6 @@
package = 937E4486270B37A600A98C26 /* XCRemoteSwiftPackageReference "Kingfisher" */;
productName = Kingfisher;
};
937E4493270B380500A98C26 /* Fuzi */ = {
isa = XCSwiftPackageProductDependency;
package = 937E4480270B378F00A98C26 /* XCRemoteSwiftPackageReference "Fuzi" */;
productName = Fuzi;
};
937E44E1270B393C00A98C26 /* OpenHABCore */ = {
isa = XCSwiftPackageProductDependency;
productName = OpenHABCore;
Expand Down
9 changes: 0 additions & 9 deletions openHAB.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,6 @@
"version": "1.4.4"
}
},
{
"package": "Fuzi",
"repositoryURL": "https://github.com/cezheng/Fuzi.git",
"state": {
"branch": null,
"revision": "f08c8323da21e985f3772610753bcfc652c2103f",
"version": "3.1.3"
}
},
{
"package": "GoogleAppMeasurement",
"repositoryURL": "https://github.com/google/GoogleAppMeasurement.git",
Expand Down
1 change: 0 additions & 1 deletion openHAB/OpenHABDrawerTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// SPDX-License-Identifier: EPL-2.0

import DynamicButton
import Fuzi
import OpenHABCore
import os.log
import SafariServices
Expand Down
1 change: 0 additions & 1 deletion openHAB/OpenHABSitemapViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import Alamofire
import AVFoundation
import AVKit
import Fuzi
import Kingfisher
import OpenHABCore
import os.log
Expand Down
9 changes: 2 additions & 7 deletions openHAB/legal.rtf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{\rtf1\ansi\ansicpg1252\cocoartf2513
{\rtf1\ansi\ansicpg1252\cocoartf2761
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
Expand Down Expand Up @@ -509,11 +509,6 @@ Copyright (c) 2018 Rastislav Mirek\
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \'93Software\'94), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\
THE SOFTWARE IS PROVIDED \'93AS IS\'94, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\
Fuzi\
Copyright (c) 2015 Ce Zheng\
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \'93Software\'94), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\
THE SOFTWARE IS PROVIDED \'93AS IS\'94, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\
GoogleAppMeasurement\
Copyright 2019 Google\
GoogleDataTransport\
Expand Down Expand Up @@ -630,4 +625,4 @@ Permission is granted to anyone to use this software for any purpose, including
2 Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.\
3 This notice may not be removed or altered from any source distribution.\
Generated by CocoaPods - https://cocoapods.org\
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// SPDX-License-Identifier: EPL-2.0

import Foundation
import Fuzi
import OpenHABCore
import os.log

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import Alamofire
import Combine
#endif
import Foundation
import Fuzi
import MapKit
import OpenHABCore
import os.log
Expand Down

0 comments on commit ef718ef

Please sign in to comment.