Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] LGOGDownloader: update to 3.10
@ 2023-03-18  6:26 RunningDroid
  2023-03-24 18:26 ` [PR PATCH] [Updated] LGOGDownloader: update to 3.11 RunningDroid
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: RunningDroid @ 2023-03-18  6:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]

There is a new pull request by RunningDroid against master on the void-packages repository

https://github.com/RunningDroid/void-packages update_LGOGDownloader
https://github.com/void-linux/void-packages/pull/42830

LGOGDownloader: update to 3.10
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/42830.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update_LGOGDownloader-42830.patch --]
[-- Type: text/x-diff, Size: 4504 bytes --]

From 760fae03363301e99d554f4526e6d6876a2ae3b8 Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Sat, 18 Mar 2023 02:24:33 -0400
Subject: [PATCH] LGOGDownloader: update to 3.10

---
 .../LGOGDownloader/patches/curl-7.87.patch    | 90 -------------------
 srcpkgs/LGOGDownloader/template               |  6 +-
 2 files changed, 3 insertions(+), 93 deletions(-)
 delete mode 100644 srcpkgs/LGOGDownloader/patches/curl-7.87.patch

diff --git a/srcpkgs/LGOGDownloader/patches/curl-7.87.patch b/srcpkgs/LGOGDownloader/patches/curl-7.87.patch
deleted file mode 100644
index 02f17429663e..000000000000
--- a/srcpkgs/LGOGDownloader/patches/curl-7.87.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-Force destruction of downloader before curl_global_cleanup
-See: https://github.com/Sude-/lgogdownloader/commit/6ce6aeb1dc06f8af1508c5ce6ee71775b8d188b3
-Index: LGOGDownloader-3.9/main.cpp
-===================================================================
---- LGOGDownloader-3.9.orig/main.cpp
-+++ LGOGDownloader-3.9/main.cpp
-@@ -607,9 +607,10 @@ int main(int argc, char *argv[])
-         std::cerr << std::endl;
-     }
- 
-+    int res = 0;
-     // Init curl globally
-     curl_global_init(CURL_GLOBAL_ALL);
--
-+    {
-     Downloader downloader;
- 
-     int iLoginTries = 0;
-@@ -636,8 +637,8 @@ int main(int argc, char *argv[])
-     // Login failed, cleanup
-     if (!bLoginOK && !bIsLoggedin)
-     {
--        curl_global_cleanup();
--        return 1;
-+        res = 1;
-+        goto end;
-     }
- 
-     // Make sure that config file and cookie file are only readable/writable by owner
-@@ -699,15 +700,14 @@ int main(int argc, char *argv[])
-                 Util::setFilePermissions(Globals::globalConfig.sConfigFilePath, boost::filesystem::owner_read | boost::filesystem::owner_write);
-             if (Globals::globalConfig.bSaveConfig)
-             {
--                curl_global_cleanup();
--                return 0;
-+                goto end;
-             }
-         }
-         else
-         {
-             std::cerr << "Failed to create config: " << Globals::globalConfig.sConfigFilePath << std::endl;
--            curl_global_cleanup();
--            return 1;
-+            res = 1;
-+            goto end;
-         }
-     }
-     else if (Globals::globalConfig.bResetConfig)
-@@ -719,26 +719,23 @@ int main(int argc, char *argv[])
-             if (!Globals::globalConfig.bRespectUmask)
-                 Util::setFilePermissions(Globals::globalConfig.sConfigFilePath, boost::filesystem::owner_read | boost::filesystem::owner_write);
- 
--            curl_global_cleanup();
--            return 0;
-+            goto end;
-         }
-         else
-         {
-             std::cerr << "Failed to create config: " << Globals::globalConfig.sConfigFilePath << std::endl;
--            curl_global_cleanup();
--            return 1;
-+            res = 1;
-+            goto end;
-         }
-     }
- 
-     bool bInitOK = downloader.init();
-     if (!bInitOK)
-     {
--        curl_global_cleanup();
--        return 1;
-+        res = 1;
-+        goto end;
-     }
- 
--    int res = 0;
--
-     if (Globals::globalConfig.bShowWishlist)
-         downloader.showWishlist();
-     else if (Globals::globalConfig.bUpdateCache)
-@@ -801,7 +798,8 @@ int main(int argc, char *argv[])
-     // Orphan check was called at the same time as download. Perform it after download has finished
-     if (!Globals::globalConfig.sOrphanRegex.empty() && Globals::globalConfig.bDownload)
-         downloader.checkOrphans();
--
-+    }
-+end:
-     curl_global_cleanup();
- 
-     return res;
diff --git a/srcpkgs/LGOGDownloader/template b/srcpkgs/LGOGDownloader/template
index fd0f265685bc..51ade64691c3 100644
--- a/srcpkgs/LGOGDownloader/template
+++ b/srcpkgs/LGOGDownloader/template
@@ -1,7 +1,7 @@
 # Template file for 'LGOGDownloader'
 pkgname=LGOGDownloader
-version=3.9
-revision=4
+version=3.10
+revision=1
 build_style=cmake
 configure_args="$(vopt_bool qt USE_QT_GUI)"
 hostmakedepends="pkg-config"
@@ -14,7 +14,7 @@ maintainer="RunningDroid <runningdroid@zoho.com>"
 license="WTFPL"
 homepage="https://github.com/Sude-/lgogdownloader"
 distfiles="https://github.com/Sude-/lgogdownloader/archive/v${version}.tar.gz"
-checksum=4ab9fe89b47bde7744d5100663c7822de74bb161e2790baddede8146056430b1
+checksum=a4d755c7b026f21c965a086eecf448fe89e7f8e2e538b052e71e4ed7eb4451ed
 
 build_options="qt"
 desc_option_qt="Include QT WebEngine to support solving captchas"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] LGOGDownloader: update to 3.11
  2023-03-18  6:26 [PR PATCH] LGOGDownloader: update to 3.10 RunningDroid
@ 2023-03-24 18:26 ` RunningDroid
  2023-05-13  0:00 ` RunningDroid
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: RunningDroid @ 2023-03-24 18:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

There is an updated pull request by RunningDroid against master on the void-packages repository

https://github.com/RunningDroid/void-packages update_LGOGDownloader
https://github.com/void-linux/void-packages/pull/42830

LGOGDownloader: update to 3.11
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/42830.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update_LGOGDownloader-42830.patch --]
[-- Type: text/x-diff, Size: 4504 bytes --]

From 2883dfc2f499f97addf15b36aba3c3111f29aa1d Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Sat, 18 Mar 2023 02:24:33 -0400
Subject: [PATCH] LGOGDownloader: update to 3.11

---
 .../LGOGDownloader/patches/curl-7.87.patch    | 90 -------------------
 srcpkgs/LGOGDownloader/template               |  6 +-
 2 files changed, 3 insertions(+), 93 deletions(-)
 delete mode 100644 srcpkgs/LGOGDownloader/patches/curl-7.87.patch

diff --git a/srcpkgs/LGOGDownloader/patches/curl-7.87.patch b/srcpkgs/LGOGDownloader/patches/curl-7.87.patch
deleted file mode 100644
index 02f17429663e..000000000000
--- a/srcpkgs/LGOGDownloader/patches/curl-7.87.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-Force destruction of downloader before curl_global_cleanup
-See: https://github.com/Sude-/lgogdownloader/commit/6ce6aeb1dc06f8af1508c5ce6ee71775b8d188b3
-Index: LGOGDownloader-3.9/main.cpp
-===================================================================
---- LGOGDownloader-3.9.orig/main.cpp
-+++ LGOGDownloader-3.9/main.cpp
-@@ -607,9 +607,10 @@ int main(int argc, char *argv[])
-         std::cerr << std::endl;
-     }
- 
-+    int res = 0;
-     // Init curl globally
-     curl_global_init(CURL_GLOBAL_ALL);
--
-+    {
-     Downloader downloader;
- 
-     int iLoginTries = 0;
-@@ -636,8 +637,8 @@ int main(int argc, char *argv[])
-     // Login failed, cleanup
-     if (!bLoginOK && !bIsLoggedin)
-     {
--        curl_global_cleanup();
--        return 1;
-+        res = 1;
-+        goto end;
-     }
- 
-     // Make sure that config file and cookie file are only readable/writable by owner
-@@ -699,15 +700,14 @@ int main(int argc, char *argv[])
-                 Util::setFilePermissions(Globals::globalConfig.sConfigFilePath, boost::filesystem::owner_read | boost::filesystem::owner_write);
-             if (Globals::globalConfig.bSaveConfig)
-             {
--                curl_global_cleanup();
--                return 0;
-+                goto end;
-             }
-         }
-         else
-         {
-             std::cerr << "Failed to create config: " << Globals::globalConfig.sConfigFilePath << std::endl;
--            curl_global_cleanup();
--            return 1;
-+            res = 1;
-+            goto end;
-         }
-     }
-     else if (Globals::globalConfig.bResetConfig)
-@@ -719,26 +719,23 @@ int main(int argc, char *argv[])
-             if (!Globals::globalConfig.bRespectUmask)
-                 Util::setFilePermissions(Globals::globalConfig.sConfigFilePath, boost::filesystem::owner_read | boost::filesystem::owner_write);
- 
--            curl_global_cleanup();
--            return 0;
-+            goto end;
-         }
-         else
-         {
-             std::cerr << "Failed to create config: " << Globals::globalConfig.sConfigFilePath << std::endl;
--            curl_global_cleanup();
--            return 1;
-+            res = 1;
-+            goto end;
-         }
-     }
- 
-     bool bInitOK = downloader.init();
-     if (!bInitOK)
-     {
--        curl_global_cleanup();
--        return 1;
-+        res = 1;
-+        goto end;
-     }
- 
--    int res = 0;
--
-     if (Globals::globalConfig.bShowWishlist)
-         downloader.showWishlist();
-     else if (Globals::globalConfig.bUpdateCache)
-@@ -801,7 +798,8 @@ int main(int argc, char *argv[])
-     // Orphan check was called at the same time as download. Perform it after download has finished
-     if (!Globals::globalConfig.sOrphanRegex.empty() && Globals::globalConfig.bDownload)
-         downloader.checkOrphans();
--
-+    }
-+end:
-     curl_global_cleanup();
- 
-     return res;
diff --git a/srcpkgs/LGOGDownloader/template b/srcpkgs/LGOGDownloader/template
index fd0f265685bc..2284da4a3747 100644
--- a/srcpkgs/LGOGDownloader/template
+++ b/srcpkgs/LGOGDownloader/template
@@ -1,7 +1,7 @@
 # Template file for 'LGOGDownloader'
 pkgname=LGOGDownloader
-version=3.9
-revision=4
+version=3.11
+revision=1
 build_style=cmake
 configure_args="$(vopt_bool qt USE_QT_GUI)"
 hostmakedepends="pkg-config"
@@ -14,7 +14,7 @@ maintainer="RunningDroid <runningdroid@zoho.com>"
 license="WTFPL"
 homepage="https://github.com/Sude-/lgogdownloader"
 distfiles="https://github.com/Sude-/lgogdownloader/archive/v${version}.tar.gz"
-checksum=4ab9fe89b47bde7744d5100663c7822de74bb161e2790baddede8146056430b1
+checksum=01c9556287d5f49662c2219365b9d306482e8efadc805c3dbb9381d5110df719
 
 build_options="qt"
 desc_option_qt="Include QT WebEngine to support solving captchas"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] LGOGDownloader: update to 3.11
  2023-03-18  6:26 [PR PATCH] LGOGDownloader: update to 3.10 RunningDroid
  2023-03-24 18:26 ` [PR PATCH] [Updated] LGOGDownloader: update to 3.11 RunningDroid
@ 2023-05-13  0:00 ` RunningDroid
  2023-05-14  0:54 ` RunningDroid
  2023-06-27  8:26 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: RunningDroid @ 2023-05-13  0:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

There is an updated pull request by RunningDroid against master on the void-packages repository

https://github.com/RunningDroid/void-packages update_LGOGDownloader
https://github.com/void-linux/void-packages/pull/42830

LGOGDownloader: update to 3.11
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/42830.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update_LGOGDownloader-42830.patch --]
[-- Type: text/x-diff, Size: 4504 bytes --]

From ff9d8a12a7b234c90477ce1a38dc08e460bf9c24 Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Sat, 18 Mar 2023 02:24:33 -0400
Subject: [PATCH] LGOGDownloader: update to 3.11

---
 .../LGOGDownloader/patches/curl-7.87.patch    | 90 -------------------
 srcpkgs/LGOGDownloader/template               |  6 +-
 2 files changed, 3 insertions(+), 93 deletions(-)
 delete mode 100644 srcpkgs/LGOGDownloader/patches/curl-7.87.patch

diff --git a/srcpkgs/LGOGDownloader/patches/curl-7.87.patch b/srcpkgs/LGOGDownloader/patches/curl-7.87.patch
deleted file mode 100644
index 02f17429663e..000000000000
--- a/srcpkgs/LGOGDownloader/patches/curl-7.87.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-Force destruction of downloader before curl_global_cleanup
-See: https://github.com/Sude-/lgogdownloader/commit/6ce6aeb1dc06f8af1508c5ce6ee71775b8d188b3
-Index: LGOGDownloader-3.9/main.cpp
-===================================================================
---- LGOGDownloader-3.9.orig/main.cpp
-+++ LGOGDownloader-3.9/main.cpp
-@@ -607,9 +607,10 @@ int main(int argc, char *argv[])
-         std::cerr << std::endl;
-     }
- 
-+    int res = 0;
-     // Init curl globally
-     curl_global_init(CURL_GLOBAL_ALL);
--
-+    {
-     Downloader downloader;
- 
-     int iLoginTries = 0;
-@@ -636,8 +637,8 @@ int main(int argc, char *argv[])
-     // Login failed, cleanup
-     if (!bLoginOK && !bIsLoggedin)
-     {
--        curl_global_cleanup();
--        return 1;
-+        res = 1;
-+        goto end;
-     }
- 
-     // Make sure that config file and cookie file are only readable/writable by owner
-@@ -699,15 +700,14 @@ int main(int argc, char *argv[])
-                 Util::setFilePermissions(Globals::globalConfig.sConfigFilePath, boost::filesystem::owner_read | boost::filesystem::owner_write);
-             if (Globals::globalConfig.bSaveConfig)
-             {
--                curl_global_cleanup();
--                return 0;
-+                goto end;
-             }
-         }
-         else
-         {
-             std::cerr << "Failed to create config: " << Globals::globalConfig.sConfigFilePath << std::endl;
--            curl_global_cleanup();
--            return 1;
-+            res = 1;
-+            goto end;
-         }
-     }
-     else if (Globals::globalConfig.bResetConfig)
-@@ -719,26 +719,23 @@ int main(int argc, char *argv[])
-             if (!Globals::globalConfig.bRespectUmask)
-                 Util::setFilePermissions(Globals::globalConfig.sConfigFilePath, boost::filesystem::owner_read | boost::filesystem::owner_write);
- 
--            curl_global_cleanup();
--            return 0;
-+            goto end;
-         }
-         else
-         {
-             std::cerr << "Failed to create config: " << Globals::globalConfig.sConfigFilePath << std::endl;
--            curl_global_cleanup();
--            return 1;
-+            res = 1;
-+            goto end;
-         }
-     }
- 
-     bool bInitOK = downloader.init();
-     if (!bInitOK)
-     {
--        curl_global_cleanup();
--        return 1;
-+        res = 1;
-+        goto end;
-     }
- 
--    int res = 0;
--
-     if (Globals::globalConfig.bShowWishlist)
-         downloader.showWishlist();
-     else if (Globals::globalConfig.bUpdateCache)
-@@ -801,7 +798,8 @@ int main(int argc, char *argv[])
-     // Orphan check was called at the same time as download. Perform it after download has finished
-     if (!Globals::globalConfig.sOrphanRegex.empty() && Globals::globalConfig.bDownload)
-         downloader.checkOrphans();
--
-+    }
-+end:
-     curl_global_cleanup();
- 
-     return res;
diff --git a/srcpkgs/LGOGDownloader/template b/srcpkgs/LGOGDownloader/template
index f9d281820035..2284da4a3747 100644
--- a/srcpkgs/LGOGDownloader/template
+++ b/srcpkgs/LGOGDownloader/template
@@ -1,7 +1,7 @@
 # Template file for 'LGOGDownloader'
 pkgname=LGOGDownloader
-version=3.9
-revision=5
+version=3.11
+revision=1
 build_style=cmake
 configure_args="$(vopt_bool qt USE_QT_GUI)"
 hostmakedepends="pkg-config"
@@ -14,7 +14,7 @@ maintainer="RunningDroid <runningdroid@zoho.com>"
 license="WTFPL"
 homepage="https://github.com/Sude-/lgogdownloader"
 distfiles="https://github.com/Sude-/lgogdownloader/archive/v${version}.tar.gz"
-checksum=4ab9fe89b47bde7744d5100663c7822de74bb161e2790baddede8146056430b1
+checksum=01c9556287d5f49662c2219365b9d306482e8efadc805c3dbb9381d5110df719
 
 build_options="qt"
 desc_option_qt="Include QT WebEngine to support solving captchas"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] LGOGDownloader: update to 3.11
  2023-03-18  6:26 [PR PATCH] LGOGDownloader: update to 3.10 RunningDroid
  2023-03-24 18:26 ` [PR PATCH] [Updated] LGOGDownloader: update to 3.11 RunningDroid
  2023-05-13  0:00 ` RunningDroid
@ 2023-05-14  0:54 ` RunningDroid
  2023-06-27  8:26 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: RunningDroid @ 2023-05-14  0:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

There is an updated pull request by RunningDroid against master on the void-packages repository

https://github.com/RunningDroid/void-packages update_LGOGDownloader
https://github.com/void-linux/void-packages/pull/42830

LGOGDownloader: update to 3.11
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/42830.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update_LGOGDownloader-42830.patch --]
[-- Type: text/x-diff, Size: 4504 bytes --]

From 75c1a82f79df1f14550238bdbecaf2e57c991d94 Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Sat, 18 Mar 2023 02:24:33 -0400
Subject: [PATCH] LGOGDownloader: update to 3.11

---
 .../LGOGDownloader/patches/curl-7.87.patch    | 90 -------------------
 srcpkgs/LGOGDownloader/template               |  6 +-
 2 files changed, 3 insertions(+), 93 deletions(-)
 delete mode 100644 srcpkgs/LGOGDownloader/patches/curl-7.87.patch

diff --git a/srcpkgs/LGOGDownloader/patches/curl-7.87.patch b/srcpkgs/LGOGDownloader/patches/curl-7.87.patch
deleted file mode 100644
index 02f17429663e..000000000000
--- a/srcpkgs/LGOGDownloader/patches/curl-7.87.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-Force destruction of downloader before curl_global_cleanup
-See: https://github.com/Sude-/lgogdownloader/commit/6ce6aeb1dc06f8af1508c5ce6ee71775b8d188b3
-Index: LGOGDownloader-3.9/main.cpp
-===================================================================
---- LGOGDownloader-3.9.orig/main.cpp
-+++ LGOGDownloader-3.9/main.cpp
-@@ -607,9 +607,10 @@ int main(int argc, char *argv[])
-         std::cerr << std::endl;
-     }
- 
-+    int res = 0;
-     // Init curl globally
-     curl_global_init(CURL_GLOBAL_ALL);
--
-+    {
-     Downloader downloader;
- 
-     int iLoginTries = 0;
-@@ -636,8 +637,8 @@ int main(int argc, char *argv[])
-     // Login failed, cleanup
-     if (!bLoginOK && !bIsLoggedin)
-     {
--        curl_global_cleanup();
--        return 1;
-+        res = 1;
-+        goto end;
-     }
- 
-     // Make sure that config file and cookie file are only readable/writable by owner
-@@ -699,15 +700,14 @@ int main(int argc, char *argv[])
-                 Util::setFilePermissions(Globals::globalConfig.sConfigFilePath, boost::filesystem::owner_read | boost::filesystem::owner_write);
-             if (Globals::globalConfig.bSaveConfig)
-             {
--                curl_global_cleanup();
--                return 0;
-+                goto end;
-             }
-         }
-         else
-         {
-             std::cerr << "Failed to create config: " << Globals::globalConfig.sConfigFilePath << std::endl;
--            curl_global_cleanup();
--            return 1;
-+            res = 1;
-+            goto end;
-         }
-     }
-     else if (Globals::globalConfig.bResetConfig)
-@@ -719,26 +719,23 @@ int main(int argc, char *argv[])
-             if (!Globals::globalConfig.bRespectUmask)
-                 Util::setFilePermissions(Globals::globalConfig.sConfigFilePath, boost::filesystem::owner_read | boost::filesystem::owner_write);
- 
--            curl_global_cleanup();
--            return 0;
-+            goto end;
-         }
-         else
-         {
-             std::cerr << "Failed to create config: " << Globals::globalConfig.sConfigFilePath << std::endl;
--            curl_global_cleanup();
--            return 1;
-+            res = 1;
-+            goto end;
-         }
-     }
- 
-     bool bInitOK = downloader.init();
-     if (!bInitOK)
-     {
--        curl_global_cleanup();
--        return 1;
-+        res = 1;
-+        goto end;
-     }
- 
--    int res = 0;
--
-     if (Globals::globalConfig.bShowWishlist)
-         downloader.showWishlist();
-     else if (Globals::globalConfig.bUpdateCache)
-@@ -801,7 +798,8 @@ int main(int argc, char *argv[])
-     // Orphan check was called at the same time as download. Perform it after download has finished
-     if (!Globals::globalConfig.sOrphanRegex.empty() && Globals::globalConfig.bDownload)
-         downloader.checkOrphans();
--
-+    }
-+end:
-     curl_global_cleanup();
- 
-     return res;
diff --git a/srcpkgs/LGOGDownloader/template b/srcpkgs/LGOGDownloader/template
index f9d281820035..2284da4a3747 100644
--- a/srcpkgs/LGOGDownloader/template
+++ b/srcpkgs/LGOGDownloader/template
@@ -1,7 +1,7 @@
 # Template file for 'LGOGDownloader'
 pkgname=LGOGDownloader
-version=3.9
-revision=5
+version=3.11
+revision=1
 build_style=cmake
 configure_args="$(vopt_bool qt USE_QT_GUI)"
 hostmakedepends="pkg-config"
@@ -14,7 +14,7 @@ maintainer="RunningDroid <runningdroid@zoho.com>"
 license="WTFPL"
 homepage="https://github.com/Sude-/lgogdownloader"
 distfiles="https://github.com/Sude-/lgogdownloader/archive/v${version}.tar.gz"
-checksum=4ab9fe89b47bde7744d5100663c7822de74bb161e2790baddede8146056430b1
+checksum=01c9556287d5f49662c2219365b9d306482e8efadc805c3dbb9381d5110df719
 
 build_options="qt"
 desc_option_qt="Include QT WebEngine to support solving captchas"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Merged]: LGOGDownloader: update to 3.11
  2023-03-18  6:26 [PR PATCH] LGOGDownloader: update to 3.10 RunningDroid
                   ` (2 preceding siblings ...)
  2023-05-14  0:54 ` RunningDroid
@ 2023-06-27  8:26 ` classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2023-06-27  8:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]

There's a merged pull request on the void-packages repository

LGOGDownloader: update to 3.11
https://github.com/void-linux/void-packages/pull/42830

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-27  8:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-18  6:26 [PR PATCH] LGOGDownloader: update to 3.10 RunningDroid
2023-03-24 18:26 ` [PR PATCH] [Updated] LGOGDownloader: update to 3.11 RunningDroid
2023-05-13  0:00 ` RunningDroid
2023-05-14  0:54 ` RunningDroid
2023-06-27  8:26 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).