[arch-commits] Commit in uget/repos/community-x86_64 (8 files)

Balló György bgyorgy at archlinux.org
Thu May 13 17:55:47 UTC 2021


    Date: Thursday, May 13, 2021 @ 17:55:47
  Author: bgyorgy
Revision: 933406

archrelease: copy trunk to community-x86_64

Added:
  uget/repos/community-x86_64/PKGBUILD
    (from rev 933405, uget/trunk/PKGBUILD)
  uget/repos/community-x86_64/disable-rss.patch
    (from rev 933405, uget/trunk/disable-rss.patch)
  uget/repos/community-x86_64/gcc10.patch
    (from rev 933405, uget/trunk/gcc10.patch)
  uget/repos/community-x86_64/uget-gtk.appdata.xml
    (from rev 933405, uget/trunk/uget-gtk.appdata.xml)
Deleted:
  uget/repos/community-x86_64/PKGBUILD
  uget/repos/community-x86_64/disable-rss.patch
  uget/repos/community-x86_64/gcc10.patch
  uget/repos/community-x86_64/uget-gtk.appdata.xml

----------------------+
 PKGBUILD             |   87 +++++++++++++++++++-------------------
 disable-rss.patch    |  112 ++++++++++++++++++++++++-------------------------
 gcc10.patch          |   22 ++++-----
 uget-gtk.appdata.xml |   72 +++++++++++++++----------------
 4 files changed, 148 insertions(+), 145 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-13 17:55:35 UTC (rev 933405)
+++ PKGBUILD	2021-05-13 17:55:47 UTC (rev 933406)
@@ -1,42 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=uget
-pkgver=2.2.3
-pkgrel=3
-pkgdesc='GTK download manager featuring download classification and HTML import'
-arch=('x86_64')
-url='https://ugetdm.com/'
-license=('LGPL')
-depends=('libnotify' 'gtk3' 'gstreamer' 'curl')
-makedepends=('intltool')
-optdepends=('aria2: alternative backend')
-source=("https://downloads.sourceforge.net/urlget/$pkgname-$pkgver-1.tar.gz"
-        'gcc10.patch'
-        'disable-rss.patch'
-        'uget-gtk.appdata.xml')
-sha256sums=('11356e4242151b9014fa6209c1f0360b699b72ef8ab47dbeb81cc23be7db9049'
-            'f1f5cd7fbe57387178e107d4672d2b4550fe5f5200fc6ab139b6ee43ccf87093'
-            '8c4d97fff4f58a44c62e07c627fd09d868aa6801cff8775a9b8da83250175e1c'
-            'd6c341ef4c21b1312586e2342725be172507d128246a9ad88b2e8ef142140a5a')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # Fix build with GCC 10
-  patch -Np1 -i ../gcc10.patch
-
-  # Disable checking nonexistent RSS feeds
-  patch -Np1 -i ../disable-rss.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --disable-rss-notify
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -Dm644 ../uget-gtk.appdata.xml "$pkgdir/usr/share/metainfo/uget-gtk.appdata.xml"
-}

Copied: uget/repos/community-x86_64/PKGBUILD (from rev 933405, uget/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-13 17:55:47 UTC (rev 933406)
@@ -0,0 +1,45 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=uget
+pkgver=2.2.3
+pkgrel=4
+pkgdesc='GTK download manager featuring download classification and HTML import'
+arch=('x86_64')
+url='https://ugetdm.com/'
+license=('LGPL')
+depends=('libnotify' 'gtk3' 'gstreamer' 'curl')
+makedepends=('intltool')
+optdepends=('aria2: alternative backend')
+source=("https://downloads.sourceforge.net/urlget/$pkgname-$pkgver-1.tar.gz"
+        'gcc10.patch'
+        'disable-rss.patch'
+        'uget-gtk.appdata.xml')
+sha256sums=('11356e4242151b9014fa6209c1f0360b699b72ef8ab47dbeb81cc23be7db9049'
+            'f1f5cd7fbe57387178e107d4672d2b4550fe5f5200fc6ab139b6ee43ccf87093'
+            '8c4d97fff4f58a44c62e07c627fd09d868aa6801cff8775a9b8da83250175e1c'
+            'd6c341ef4c21b1312586e2342725be172507d128246a9ad88b2e8ef142140a5a')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Fix build with GCC 10
+  patch -Np1 -i ../gcc10.patch
+
+  # Disable checking nonexistent RSS feeds
+  patch -Np1 -i ../disable-rss.patch
+
+  # Don't force x11 backend (FS#70837)
+  sed -i 's/env GDK_BACKEND=x11 uget-gtk/uget-gtk/' uget-gtk.desktop
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-rss-notify
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../uget-gtk.appdata.xml "$pkgdir/usr/share/metainfo/uget-gtk.appdata.xml"
+}

Deleted: disable-rss.patch
===================================================================
--- disable-rss.patch	2021-05-13 17:55:35 UTC (rev 933405)
+++ disable-rss.patch	2021-05-13 17:55:47 UTC (rev 933406)
@@ -1,56 +0,0 @@
-diff --git a/ui-gtk/UgtkApp.c b/ui-gtk/UgtkApp.c
-index c62bd51..361adbb 100644
---- a/ui-gtk/UgtkApp.c
-+++ b/ui-gtk/UgtkApp.c
-@@ -62,7 +62,6 @@ void  ugtk_app_init (UgtkApp* app, UgetRpc* rpc)
- 	uget_app_set_config_dir ((UgetApp*) app, dir);
- 	g_free (dir);
- 
--	app->rss_builtin = uget_rss_new ();
- 	ugtk_app_load (app);
- 	ugtk_app_init_ui (app);
- 	ugtk_app_init_callback (app);
-@@ -88,11 +87,6 @@ void  ugtk_app_init (UgtkApp* app, UgetRpc* rpc)
- 
- 	app->recent.category_index = 0;
- 	app->recent.info = ug_info_new(8, 0);
--	// RSS
--	uget_rss_add_builtin (app->rss_builtin, UGET_RSS_STABLE);
--	uget_rss_add_builtin (app->rss_builtin, UGET_RSS_NEWS);
--	uget_rss_add_builtin (app->rss_builtin, UGET_RSS_TUTORIALS);
--	uget_rss_update (app->rss_builtin, FALSE);
- 	gtk_widget_hide (app->banner.self);
- 
- 	uget_app_use_uri_hash ((UgetApp*) app);
-@@ -118,7 +112,6 @@ void  ugtk_app_final (UgtkApp* app)
- 	else
- 		shutdown_now = FALSE;
- 	ug_info_unref(app->recent.info);
--	uget_rss_unref (app->rss_builtin);
- 	uget_app_final ((UgetApp*) app);
- 	// plug-in finalize
- 	uget_plugin_global_set(UgetPluginAria2Info, UGET_PLUGIN_ARIA2_GLOBAL_SHUTDOWN_NOW,
-@@ -140,11 +133,6 @@ void  ugtk_app_save (UgtkApp* app)
- 	ugtk_setting_save (&app->setting, file);
- 	g_free (file);
- 
--	// RSS
--	file = g_build_filename (app->config_dir, "RSS-built-in.json", NULL);
--	uget_rss_save_feeds (app->rss_builtin, file);
--	g_free (file);
--
- //	uget_app_save_categories ((UgetApp*) app, ugtk_get_config_dir ());
- 	uget_app_save_categories ((UgetApp*) app, NULL);
- }
-@@ -166,11 +154,6 @@ void  ugtk_app_load (UgtkApp* app)
- 		                7*24 - app->setting.scheduler.state.length);
- 	}
- 
--	// RSS
--	file = g_build_filename (app->config_dir, "RSS-built-in.json", NULL);
--	uget_rss_load_feeds (app->rss_builtin, file);
--	g_free (file);
--
- //	uget_app_load_categories ((UgetApp*) app, ugtk_get_config_dir ());
- 	counts = uget_app_load_categories ((UgetApp*) app, NULL);
- 	if (counts == 0)

Copied: uget/repos/community-x86_64/disable-rss.patch (from rev 933405, uget/trunk/disable-rss.patch)
===================================================================
--- disable-rss.patch	                        (rev 0)
+++ disable-rss.patch	2021-05-13 17:55:47 UTC (rev 933406)
@@ -0,0 +1,56 @@
+diff --git a/ui-gtk/UgtkApp.c b/ui-gtk/UgtkApp.c
+index c62bd51..361adbb 100644
+--- a/ui-gtk/UgtkApp.c
++++ b/ui-gtk/UgtkApp.c
+@@ -62,7 +62,6 @@ void  ugtk_app_init (UgtkApp* app, UgetRpc* rpc)
+ 	uget_app_set_config_dir ((UgetApp*) app, dir);
+ 	g_free (dir);
+ 
+-	app->rss_builtin = uget_rss_new ();
+ 	ugtk_app_load (app);
+ 	ugtk_app_init_ui (app);
+ 	ugtk_app_init_callback (app);
+@@ -88,11 +87,6 @@ void  ugtk_app_init (UgtkApp* app, UgetRpc* rpc)
+ 
+ 	app->recent.category_index = 0;
+ 	app->recent.info = ug_info_new(8, 0);
+-	// RSS
+-	uget_rss_add_builtin (app->rss_builtin, UGET_RSS_STABLE);
+-	uget_rss_add_builtin (app->rss_builtin, UGET_RSS_NEWS);
+-	uget_rss_add_builtin (app->rss_builtin, UGET_RSS_TUTORIALS);
+-	uget_rss_update (app->rss_builtin, FALSE);
+ 	gtk_widget_hide (app->banner.self);
+ 
+ 	uget_app_use_uri_hash ((UgetApp*) app);
+@@ -118,7 +112,6 @@ void  ugtk_app_final (UgtkApp* app)
+ 	else
+ 		shutdown_now = FALSE;
+ 	ug_info_unref(app->recent.info);
+-	uget_rss_unref (app->rss_builtin);
+ 	uget_app_final ((UgetApp*) app);
+ 	// plug-in finalize
+ 	uget_plugin_global_set(UgetPluginAria2Info, UGET_PLUGIN_ARIA2_GLOBAL_SHUTDOWN_NOW,
+@@ -140,11 +133,6 @@ void  ugtk_app_save (UgtkApp* app)
+ 	ugtk_setting_save (&app->setting, file);
+ 	g_free (file);
+ 
+-	// RSS
+-	file = g_build_filename (app->config_dir, "RSS-built-in.json", NULL);
+-	uget_rss_save_feeds (app->rss_builtin, file);
+-	g_free (file);
+-
+ //	uget_app_save_categories ((UgetApp*) app, ugtk_get_config_dir ());
+ 	uget_app_save_categories ((UgetApp*) app, NULL);
+ }
+@@ -166,11 +154,6 @@ void  ugtk_app_load (UgtkApp* app)
+ 		                7*24 - app->setting.scheduler.state.length);
+ 	}
+ 
+-	// RSS
+-	file = g_build_filename (app->config_dir, "RSS-built-in.json", NULL);
+-	uget_rss_load_feeds (app->rss_builtin, file);
+-	g_free (file);
+-
+ //	uget_app_load_categories ((UgetApp*) app, ugtk_get_config_dir ());
+ 	counts = uget_app_load_categories ((UgetApp*) app, NULL);
+ 	if (counts == 0)

Deleted: gcc10.patch
===================================================================
--- gcc10.patch	2021-05-13 17:55:35 UTC (rev 933405)
+++ gcc10.patch	2021-05-13 17:55:47 UTC (rev 933406)
@@ -1,11 +0,0 @@
---- a/ui-gtk/UgtkBanner.h
-+++ b/ui-gtk/UgtkBanner.h
-@@ -64,7 +64,7 @@
- 		UgetRssFeed*    feed;
- 		UgetRssItem*    item;
- 	} rss;
--} banner;
-+};
- 
- void  ugtk_banner_init (UgtkBanner* banner);
- 

Copied: uget/repos/community-x86_64/gcc10.patch (from rev 933405, uget/trunk/gcc10.patch)
===================================================================
--- gcc10.patch	                        (rev 0)
+++ gcc10.patch	2021-05-13 17:55:47 UTC (rev 933406)
@@ -0,0 +1,11 @@
+--- a/ui-gtk/UgtkBanner.h
++++ b/ui-gtk/UgtkBanner.h
+@@ -64,7 +64,7 @@
+ 		UgetRssFeed*    feed;
+ 		UgetRssItem*    item;
+ 	} rss;
+-} banner;
++};
+ 
+ void  ugtk_banner_init (UgtkBanner* banner);
+ 

Deleted: uget-gtk.appdata.xml
===================================================================
--- uget-gtk.appdata.xml	2021-05-13 17:55:35 UTC (rev 933405)
+++ uget-gtk.appdata.xml	2021-05-13 17:55:47 UTC (rev 933406)
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component type="desktop-application">
-  <id>com.ugetdm.uget-gtk</id>
-  <launchable type="desktop-id">uget-gtk.desktop</launchable>
-  <name>uGet</name>
-  <summary>Download multiple URLs and apply it to one of setting/queue</summary>
-  <metadata_license>CC0-1.0</metadata_license>
-  <project_license>LGPL-2.1</project_license>
-  <description>
-    <p>uGet is a download manager that combines lightweight resource usage with a very powerful feature set:</p>
-    <ul>
-      <li>Multi-connection downloads</li>
-      <li>Browser integration</li>
-      <li>Download YouTube videos</li>
-      <li>Clipboard monitor</li>
-      <li>Batch downloads</li>
-      <li>Downloads queue</li>
-      <li>Advanced download categories</li>
-    </ul>
-  </description>
-  <screenshots>
-    <screenshot type="default">
-      <image>https://ugetdm.com/wp-content/uploads/2018/01/2015-uget-ubuntu-1504.png</image>
-    </screenshot>
-    <screenshot>
-      <image>https://ugetdm.com/wp-content/uploads/2018/01/uget-sparky-linux-5-lxqt.jpg</image>
-    </screenshot>
-    <screenshot>
-      <image>https://ugetdm.com/wp-content/uploads/2018/01/uGet-2.0.7-Running-in-Ubuntu.png</image>
-    </screenshot>
-    <screenshot>
-      <image>https://ugetdm.com/wp-content/uploads/2018/01/2014-uget-fedora-adwaita-gnome.png</image>
-    </screenshot>
-  </screenshots>
-  <url type="homepage">https://ugetdm.com/</url>
-</component>

Copied: uget/repos/community-x86_64/uget-gtk.appdata.xml (from rev 933405, uget/trunk/uget-gtk.appdata.xml)
===================================================================
--- uget-gtk.appdata.xml	                        (rev 0)
+++ uget-gtk.appdata.xml	2021-05-13 17:55:47 UTC (rev 933406)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>com.ugetdm.uget-gtk</id>
+  <launchable type="desktop-id">uget-gtk.desktop</launchable>
+  <name>uGet</name>
+  <summary>Download multiple URLs and apply it to one of setting/queue</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>LGPL-2.1</project_license>
+  <description>
+    <p>uGet is a download manager that combines lightweight resource usage with a very powerful feature set:</p>
+    <ul>
+      <li>Multi-connection downloads</li>
+      <li>Browser integration</li>
+      <li>Download YouTube videos</li>
+      <li>Clipboard monitor</li>
+      <li>Batch downloads</li>
+      <li>Downloads queue</li>
+      <li>Advanced download categories</li>
+    </ul>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image>https://ugetdm.com/wp-content/uploads/2018/01/2015-uget-ubuntu-1504.png</image>
+    </screenshot>
+    <screenshot>
+      <image>https://ugetdm.com/wp-content/uploads/2018/01/uget-sparky-linux-5-lxqt.jpg</image>
+    </screenshot>
+    <screenshot>
+      <image>https://ugetdm.com/wp-content/uploads/2018/01/uGet-2.0.7-Running-in-Ubuntu.png</image>
+    </screenshot>
+    <screenshot>
+      <image>https://ugetdm.com/wp-content/uploads/2018/01/2014-uget-fedora-adwaita-gnome.png</image>
+    </screenshot>
+  </screenshots>
+  <url type="homepage">https://ugetdm.com/</url>
+</component>



More information about the arch-commits mailing list