From 56f87e47e8b081a39b322a3828bd6e1d19041066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Bj=C3=B6rkert?= Date: Mon, 13 Jul 2026 12:12:01 +0200 Subject: [PATCH 1/2] xdrip_cgm: add next-dev compatible patch (ported plugin fork) --- xdrip_cgm/nextdev_xdrip_cgm.patch | 54 +++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 xdrip_cgm/nextdev_xdrip_cgm.patch diff --git a/xdrip_cgm/nextdev_xdrip_cgm.patch b/xdrip_cgm/nextdev_xdrip_cgm.patch new file mode 100644 index 0000000..890ceec --- /dev/null +++ b/xdrip_cgm/nextdev_xdrip_cgm.patch @@ -0,0 +1,54 @@ +diff --git a/.gitmodules b/.gitmodules +index 60a66fb..9a6049a 100644 +--- a/.gitmodules ++++ b/.gitmodules +@@ -10,6 +10,10 @@ + [submodule "dexcom-share-client-swift"] + path = dexcom-share-client-swift + url = https://github.com/loopkitdev/dexcom-share-client-swift.git ++[submodule "xdrip-client-swift"] ++ path = xdrip-client-swift ++ url = https://github.com/bjorkert/xdrip-client-swift-1.git ++ branch = loopkit-next-dev-compat + [submodule "RileyLinkKit"] + path = RileyLinkKit + url = https://github.com/loopkitdev/RileyLinkKit +diff --git a/LoopWorkspace.xcworkspace/contents.xcworkspacedata b/LoopWorkspace.xcworkspace/contents.xcworkspacedata +index 41ac8e0..305e0e3 100644 +--- a/LoopWorkspace.xcworkspace/contents.xcworkspacedata ++++ b/LoopWorkspace.xcworkspace/contents.xcworkspacedata +@@ -93,6 +93,9 @@ + + ++ ++ + + +diff --git a/LoopWorkspace.xcworkspace/xcshareddata/xcschemes/LoopWorkspace.xcscheme b/LoopWorkspace.xcworkspace/xcshareddata/xcschemes/LoopWorkspace.xcscheme +index 256d8b5..14eaa32 100644 +--- a/LoopWorkspace.xcworkspace/xcshareddata/xcschemes/LoopWorkspace.xcscheme ++++ b/LoopWorkspace.xcworkspace/xcshareddata/xcschemes/LoopWorkspace.xcscheme +@@ -216,6 +216,20 @@ + ReferencedContainer = "container:dexcom-share-client-swift/ShareClient.xcodeproj"> + + ++ ++ ++ ++ + Date: Fri, 28 Aug 2026 21:00:01 +0200 Subject: [PATCH 2/2] xdrip_cgm: anchor nextdev patch on next-dev-only submodules The nextdev_xdrip_cgm .gitmodules insertion sits between the LoopAlgorithm and LibreCRKit entries, which are present only on next-dev. The patch therefore applies on next-dev and nowhere else, leaving dev/main to xdrip_cgm.patch and its upstream plugin pin. --- xdrip_cgm/nextdev_xdrip_cgm.patch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/xdrip_cgm/nextdev_xdrip_cgm.patch b/xdrip_cgm/nextdev_xdrip_cgm.patch index 890ceec..531ceb2 100644 --- a/xdrip_cgm/nextdev_xdrip_cgm.patch +++ b/xdrip_cgm/nextdev_xdrip_cgm.patch @@ -1,18 +1,18 @@ diff --git a/.gitmodules b/.gitmodules -index 60a66fb..9a6049a 100644 +index 5f32634..1a500d1 100644 --- a/.gitmodules +++ b/.gitmodules -@@ -10,6 +10,10 @@ - [submodule "dexcom-share-client-swift"] - path = dexcom-share-client-swift - url = https://github.com/loopkitdev/dexcom-share-client-swift.git +@@ -58,6 +58,10 @@ + [submodule "LoopAlgorithm"] + path = LoopAlgorithm + url = https://github.com/LoopKit/LoopAlgorithm.git +[submodule "xdrip-client-swift"] + path = xdrip-client-swift + url = https://github.com/bjorkert/xdrip-client-swift-1.git + branch = loopkit-next-dev-compat - [submodule "RileyLinkKit"] - path = RileyLinkKit - url = https://github.com/loopkitdev/RileyLinkKit + [submodule "LibreCRKit"] + path = LibreCRKit + url = https://github.com/airedev326/LibreCRKit.git diff --git a/LoopWorkspace.xcworkspace/contents.xcworkspacedata b/LoopWorkspace.xcworkspace/contents.xcworkspacedata index 41ac8e0..305e0e3 100644 --- a/LoopWorkspace.xcworkspace/contents.xcworkspacedata