summaryrefslogtreecommitdiff
path: root/net-misc/gwget
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/gwget
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/gwget')
-rw-r--r--net-misc/gwget/Manifest7
-rw-r--r--net-misc/gwget/files/gwget-1.0.4-glib-single-include.patch13
-rw-r--r--net-misc/gwget/files/gwget-1.0.4-libnotify-0.7.patch29
-rw-r--r--net-misc/gwget/gwget-1.0.4.ebuild53
-rw-r--r--net-misc/gwget/metadata.xml17
5 files changed, 119 insertions, 0 deletions
diff --git a/net-misc/gwget/Manifest b/net-misc/gwget/Manifest
new file mode 100644
index 000000000000..4a15a3983cb8
--- /dev/null
+++ b/net-misc/gwget/Manifest
@@ -0,0 +1,7 @@
+AUX gwget-1.0.4-glib-single-include.patch 362 SHA256 014b44eed660837559e02e5f7047bf0027552dda1f0169676b37892a81a9157f SHA512 84bbe5d8f5f5add2a21623f8334d222e85b521dbcdc536833a327e35bd02a46726575b5fdab08939f233f2f744ef18fe66eb5f034dbbebdb73f5b18338e6938c WHIRLPOOL 9a9ef68894ab503dbc579f6276495adc4008b26c85edfc39f4d1e06a2a7407e819a887ce08d0447a69d35b108a39a29501e2079080acd1ef2f0272a1862fbae9
+AUX gwget-1.0.4-libnotify-0.7.patch 915 SHA256 c41b7959daeb796a4ffe7c386fe7f0ca433135c654ace4a2a2b2e8dcdcbcf9fc SHA512 475ea6e694d95d80629eb1e9283ebcbd3d830af9083fa918fcd77588cb56f14b7f0c6d62fe279538a22c030e7bb12c9f122e7a98dc5b3ef79cfc000a1bf7baa1 WHIRLPOOL da1099d7ec898b153da160316ff5ad2b6e2555821df62ae33aa8acdd48bce9cc05818fb583f2acedafd50107ac676f933361db49886ab17796e3fcf895b4de19
+DIST gwget-1.0.4.tar.bz2 444843 SHA256 a65b2b2b3befb6cf34a697a13111b35498a6d63f9a9b048a22b8654f35ef643f SHA512 fab9d5eb4e6fd9d061a51848d7f4df9a44925ef8c74386753a7250c4d92b0c95419a8355acf83611c83838e87d906613659e146132a086ada0bdb69cc2ac13cd WHIRLPOOL 1179c07d3330611573c9cfe61d0380289a4f71a7d1b6bafc02e111cc8964acf4c25c6fa5b0801fca4c4fc7e5b94428ca13745eba9bf9e8836da6b1324acf6fdd
+EBUILD gwget-1.0.4.ebuild 1119 SHA256 697f258ce6f6a6bc512936ee97fcc5e3083042a81c02932f283c4a0dee25edeb SHA512 d57479967c3f153fa699ddfc425a86e7b3eb26d39176653ce064e67e2deb1a0d1c52381340266d43c4380551682bee123bd2dfea7be539c4e5c91971eca245fc WHIRLPOOL 90329c2243a5a9d1839a7ec9119a2c54d8ba317309ccb465431c321d787ea3a250e4f63484214c75a8b01eb246f06780f32860c33ab91e15afab366f08eec85b
+MISC ChangeLog 2832 SHA256 5c9e2f5c7fac31e62a2251810ec501971ab55d3efe5f76d1945c7906c4851b59 SHA512 52b7594b32eb869db9c7915076803a594cf541a508c3c51d7cf80b9bd189c9ee5da5ee5f5afee982c2f8b13edc1339ee93758b863bc5d1edbbcc505025d2a6b6 WHIRLPOOL efc0afb2f37b0c9be6df8f1ac8e1b46877006794ae62f3d4c6ead9517828271afbad001f3ea266c9c85b82574e68df999a781ba3bc459ee3d926cc9890601306
+MISC ChangeLog-2015 5560 SHA256 03dece437f8f79fe5cdc11ff4ca929dd464bbb8c0dfd4778e493988b7ed1b143 SHA512 50bc2061f972ccfc7cb4245983b4b9f4fe8735093af9c6cb334ce923aeaa370e5cc8291efc0afbe930a1183e25d005691c6384a03e1a1e27e1d19e14c949bdbe WHIRLPOOL 5dbd43d88f50aac11219ee5873b0c0decbd4cd9758d9eea3c287df598f6153e6b52a3c2f581d552e020d6794fe5b34090b80ca99169d7487958d38ccfeddc4d2
+MISC metadata.xml 1245 SHA256 904a409eb9c089f9befea8ba9bb075731dbd5686efe5546ed5cd84caa7c5b92a SHA512 5198416ddc65e2da2f2f883b955d51b78a8443e129c7fc9f40f0a5dc86f12e7b0f2ca1a2b29f827afe9e6507971876cf4f76db1aee4ce8bb08a83fa7a7987555 WHIRLPOOL 350a5685dbd3b98a98fa5d0c191bf0beaf9a999b83ab4fe91a1377b2bc624ca7b4a5bcca763eafc036b4296f8a51e5753ab8a082d9e5f71f17c7bddc06945f92
diff --git a/net-misc/gwget/files/gwget-1.0.4-glib-single-include.patch b/net-misc/gwget/files/gwget-1.0.4-glib-single-include.patch
new file mode 100644
index 000000000000..a5cf4ee995bc
--- /dev/null
+++ b/net-misc/gwget/files/gwget-1.0.4-glib-single-include.patch
@@ -0,0 +1,13 @@
+Index: gwget-1.0.4/src/gwget-application.h
+===================================================================
+--- gwget-1.0.4.orig/src/gwget-application.h
++++ gwget-1.0.4/src/gwget-application.h
+@@ -18,7 +18,7 @@
+ #ifndef GWGET_APPLICATION_H
+ #define GWGET_APPLICATION_H
+
+-#include <glib/gerror.h>
++#include <glib.h>
+ #include <glib-object.h>
+
+ G_BEGIN_DECLS
diff --git a/net-misc/gwget/files/gwget-1.0.4-libnotify-0.7.patch b/net-misc/gwget/files/gwget-1.0.4-libnotify-0.7.patch
new file mode 100644
index 000000000000..8cecc197814b
--- /dev/null
+++ b/net-misc/gwget/files/gwget-1.0.4-libnotify-0.7.patch
@@ -0,0 +1,29 @@
+--- a/src/systray.c
++++ b/src/systray.c
+@@ -6,6 +6,12 @@
+ #include "systray.h"
+ #include "main_window_cb.h"
+
++#ifdef HAVE_NOTIFY
++#ifndef NOTIFY_CHECK_VERSION
++#define NOTIFY_CHECK_VERSION(x,y,z) 0
++#endif
++#endif
++
+ static GdkPixbuf *systray_load_icon (const gchar *filename);
+ static GdkPixbuf *systray_pixbuf_new_from_file(const gchar *filename);
+ static void systray_clicked(GtkStatusIcon *status_icon,guint button,guint activate_time,gpointer user_data);
+@@ -224,7 +230,12 @@
+ if (!notify_is_initted ())
+ if (!notify_init ("gwget"))
+ return;
+- NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name,NULL);
++ NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name
++#if NOTIFY_CHECK_VERSION (0, 7, 0)
++ );
++#else
++ ,NULL);
++#endif
+ notify_notification_show(notification,NULL);
+ #endif
+
diff --git a/net-misc/gwget/gwget-1.0.4.ebuild b/net-misc/gwget/gwget-1.0.4.ebuild
new file mode 100644
index 000000000000..1a843450cdef
--- /dev/null
+++ b/net-misc/gwget/gwget-1.0.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+GNOME_TARBALL_SUFFIX="bz2"
+
+inherit gnome2
+
+DESCRIPTION="GTK2 WGet Frontend"
+HOMEPAGE="https://gnome.org/projects/gwget/"
+
+KEYWORDS="amd64 ppc x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="epiphany libnotify"
+
+# FIXME: dbus should be optional
+# needs patching for linguas/intltool
+RDEPEND="
+ net-misc/wget
+ >=x11-libs/gtk+-2.6:2
+ >=dev-libs/glib-2.16.0:2
+ >=gnome-base/gconf-2:2
+ >=gnome-base/libgnomeui-2
+ >=dev-libs/dbus-glib-0.70
+ epiphany? ( >=www-client/epiphany-1.4 )
+ libnotify? ( >=x11-libs/libnotify-0.2.2 )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ >=dev-util/intltool-0.35.0
+ >=sys-devel/gettext-0.10.4
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-libnotify-0.7.patch
+ "${FILESDIR}"/${P}-glib-single-include.patch
+)
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable epiphany epiphany-extension) \
+ $(use_enable libnotify) \
+ --disable-static
+}
+
+src_install() {
+ gnome2_src_install
+
+ # remove /var/lib, which is created without any reason
+ rm -rf "${D}"/var || die "rm failed"
+}
diff --git a/net-misc/gwget/metadata.xml b/net-misc/gwget/metadata.xml
new file mode 100644
index 000000000000..25e77310cc10
--- /dev/null
+++ b/net-misc/gwget/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <longdescription>Gwget2 is a gtk2 front-end for the wget program. Wget is commonly used for retrieving files from the internet, and with an easy to use gtk2 interface, gwget2 brings the utility of wget to the GNOME desktop. Gwget2 supports drag and drop from most gtk2 compatible browsers, as well as the ability to pause and continue downloads over sessions.</longdescription>
+ <longdescription lang="ja">
+Gwget2 は wget プログラムの GTK2 フロントエンドです。wget とはインターネットからファイルを回収するのに一般的に
+使われているもので、gwget2 はGNOME デスクトップへ wget ユーティリティを統合し、GTK2 インターフェイスで使い易くします。
+Gwget2 は GTK2 互換のブラウザからのドラッグ・アンド・ドロップ及びセッションを越えた停止と再開をサポートします。
+</longdescription>
+ <use>
+ <flag name="epiphany">Build epiphany extensions</flag>
+ </use>
+</pkgmetadata>