diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmmaiload |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmmaiload')
-rw-r--r-- | x11-plugins/wmmaiload/Manifest | 10 | ||||
-rw-r--r-- | x11-plugins/wmmaiload/files/wmmaiload-2.2.1-checkthread.patch | 17 | ||||
-rw-r--r-- | x11-plugins/wmmaiload/files/wmmaiload-2.2.1-gtk.patch | 157 | ||||
-rw-r--r-- | x11-plugins/wmmaiload/metadata.xml | 9 | ||||
-rw-r--r-- | x11-plugins/wmmaiload/wmmaiload-2.2.1-r1.ebuild | 46 | ||||
-rw-r--r-- | x11-plugins/wmmaiload/wmmaiload-2.3.0-r1.ebuild | 48 | ||||
-rw-r--r-- | x11-plugins/wmmaiload/wmmaiload-2.3.0.ebuild | 45 |
7 files changed, 332 insertions, 0 deletions
diff --git a/x11-plugins/wmmaiload/Manifest b/x11-plugins/wmmaiload/Manifest new file mode 100644 index 000000000000..74df6a7fb202 --- /dev/null +++ b/x11-plugins/wmmaiload/Manifest @@ -0,0 +1,10 @@ +AUX wmmaiload-2.2.1-checkthread.patch 387 SHA256 799b7d1239a6047c42e9f8ec6259b9c76e261ca556746c0f971c87b0f3077205 SHA512 a2edea4c4c0beecd5fe764bf8a591a8367d76997bd747f0c2b11ed6f268f88d57aae0d0c0a085ab9b48c7eca42fe1d2fe3f5ea3246981d42868fedf2336da7d1 WHIRLPOOL 66b0969913d436c8a1f7f1c27722b8a8af1f42b0cba93136d3acce74e59cbdf2ea6e1dae676a478dfdde7c23e7b25e5c856f1609628e7cfff1fc1210b7d48d78 +AUX wmmaiload-2.2.1-gtk.patch 6148 SHA256 e897f545d0b0bdc91a95b371878411011d3e2e46225b95894aaf469a7f81f6c8 SHA512 f0766111c10af4a3d658804f8fbf4a628df49947fad3f350e2399ae10ffeaf5083291759172155647e54b101dccc2dd66520483302d20f59557e57933564bcb6 WHIRLPOOL 31ab4a7958c95b515c8cbb759e977c605562f410fef29cbcc320b1a91f9f7534168fdb829151a86664363153fcabdb47660dcfceb0b8e24e71102595e3e1e74d +DIST wmmaiload-2.2.1.tar.gz 183538 SHA256 f8f281590c238a713d38825b698931bf73459125eb47bbba8c2e1d8ff1b11d3f SHA512 2f4cd4980feefb1022384880a57aea628d3e976dad7d1c838a23dbeb8bf86df6c061c14661bb562e36c51e2ca40d5f9ed3d465d9d26b9c7b9193fe448dbb9394 WHIRLPOOL 098edec16177748f8625c383a0c90f758cf2fc12f4b948bbb581195544c1e0a8028b6560d17b78847eb74f2872fbd253b52cd947cb1e0ec4fdd01e1b71c5090a +DIST wmmaiload-2.3.0.tar.bz2 42852 SHA256 54d2e35ddc7b5e7cd0be9b3db90d26d9289ac436c6ae9a6c2063afe17ce80ad8 SHA512 c4e63eb2868474e3b76f5f4f401bdd23172f23dfdb0e90712e3eca607494057e067805b83a53490d38b6f7b2c876e2ec8fdb1d95b871d3febeeda35369550de9 WHIRLPOOL 36ccd490da6c0e14ce154d75d80f7ac52f519ca8f96db31b4cd07c427fa7d0a4e7d8778e0a399bc399d122a88dd9efbd80aa7aea14fba92fc101e4fabd120834 +EBUILD wmmaiload-2.2.1-r1.ebuild 1067 SHA256 c82c43619ecce13a8da9176c6a1887063ab2cd58f5b2bd5ef4259697c76bede3 SHA512 7e39a7833f6114e9d4b8da0995bd61c2f1defdeea5649728d9d81e2035d1f8d00ec41f1566853a7416b62eef6c0b6d3bd41a94e8e2d4ae1a962548944be76b63 WHIRLPOOL 9f4c2f0268374cbbd0bc9738200c72da46f709865033393af04b01a203fb41c4d474aa2b93872d0f0835f1729b30e1164cf361c1ab107bb254dfce8378021f79 +EBUILD wmmaiload-2.3.0-r1.ebuild 1120 SHA256 9a0ecddaacc853c157c6b5b2359caf45b75b16446eb17bb36616daab55e07d8d SHA512 363f6778be8a30678e4ecc6f05148c5cf3a3e0d6d5e87c0685c3509c033983ff934ff53656d2db089f6575dbc09b663b7e0c4b8e4618dbc9f9e3aacbc2225743 WHIRLPOOL 759d03db952b20e227a1bcd6dc9c4c27ec749eee4c96f4f03e9d574718f289ed62e6f409629187ee13bc56017a57c4bf802b80818c0971288d3eacc3214e3eec +EBUILD wmmaiload-2.3.0.ebuild 1046 SHA256 19a849c3dc797a8bb52f4edd175fa88ad97fde0fea0c4033afc175c377e0fe39 SHA512 578498677982ad286c52f08622112e55cd2cd8e276a4fc44dc35016f394dbf889511a381bc6bcb21b8e5bdd2f2ebafee683c6be7cf8fd2f41648bd75c4012faf WHIRLPOOL 4f4613e7aa89be1908cdddeaf3bd79dad806d3fe963100729faa082f7f896c5989a2eb3c4d4178318c34fa1bbef8d612c525f1efca7ca51d9d1ca4df99f621fa +MISC ChangeLog 3299 SHA256 a3675df5b53642304f3de4e0751acb553cf046040464c0c3e7a349a99e032ab1 SHA512 d8590763ca013a18a5c2e83297c22cdc1d14d070a40d095b4e7f6643913daeb77411b772b62781b40935a37702badb17b0d69763f2a88fc7650e2bd13f2809a1 WHIRLPOOL 8bff103801374fb6bb91bfb6c3a6ff8c873a7951988282e16a574c18058e3aea75e8a7df13f7f6879b94929ae4735164604bc02ce3cb645f6dcb07f23b7c2b73 +MISC ChangeLog-2015 5040 SHA256 41f7e18b4d6616505fd360c534d6909bb6bdc16fb9a3a391b72f7e4f3584623b SHA512 b5e90b1f9a844000c10bdc6340157012db5c1886ec78c49a947e6547e8266bb4469908b414620d4ea89d2014af612dadac3d96060689456f51d6abbe34851fda WHIRLPOOL 9d38850e54b2b2f2ff94294305157cec072415533921a2a7f4f3d2bdbff43894416ce30f133efe3bf16d671045fb6a80c3e160939153ef501da596142d362a19 +MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d diff --git a/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-checkthread.patch b/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-checkthread.patch new file mode 100644 index 000000000000..941cb03ae3bb --- /dev/null +++ b/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-checkthread.patch @@ -0,0 +1,17 @@ +--- wmmaiload-2.2.1.orig/wmmaiload/checkthread.c 2010-08-31 15:43:37.000000000 +0200 ++++ wmmaiload-2.2.1/wmmaiload/checkthread.c.new 2010-08-31 15:43:46.000000000 +0200 +@@ -101,14 +101,6 @@ + #endif /* HAVE_MH */ + + +-#ifndef _GNU_SOURCE +-int isblank(int c) +-{ +- return (c == ' ' || c == '\t'); +-} +-#endif +- +- + #ifdef HAVE_MBOX + static Bool check_mbox(MailBox *box, time_t now) + { diff --git a/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-gtk.patch b/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-gtk.patch new file mode 100644 index 000000000000..38c8625e51ac --- /dev/null +++ b/x11-plugins/wmmaiload/files/wmmaiload-2.2.1-gtk.patch @@ -0,0 +1,157 @@ +diff -ur wmmaiload-2.2.1.orig/wmmaiload/dockapp.c wmmaiload-2.2.1/wmmaiload/dockapp.c +--- wmmaiload-2.2.1.orig/wmmaiload/dockapp.c 2005-07-12 22:39:47.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload/dockapp.c 2008-01-12 11:53:00.000000000 +0200 +@@ -27,6 +27,7 @@ + #include <sys/time.h> + #include <sys/types.h> + #include <unistd.h> ++#include <stdlib.h> + + #define WINDOWED_SIZE_W 64 + #define WINDOWED_SIZE_H 64 +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/actions.c wmmaiload-2.2.1/wmmaiload-config/actions.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/actions.c 2005-07-13 22:54:46.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/actions.c 2008-01-12 11:54:15.000000000 +0200 +@@ -3,6 +3,7 @@ + */ + + #include <stdlib.h> ++#include <string.h> + #include "defines.h" + #include "variables.h" + #include "dialogs.h" +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/dialogs.c wmmaiload-2.2.1/wmmaiload-config/dialogs.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/dialogs.c 2005-07-07 21:54:17.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/dialogs.c 2008-01-12 11:47:42.000000000 +0200 +@@ -38,7 +38,6 @@ + bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + bouton = gtk_button_new_with_label("No"); +@@ -97,7 +96,6 @@ + bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + gtk_container_set_border_width(GTK_CONTAINER +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/Init.make wmmaiload-2.2.1/wmmaiload-config/Init.make +--- wmmaiload-2.2.1.orig/wmmaiload-config/Init.make 2005-08-26 21:37:33.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/Init.make 2008-01-12 11:48:12.000000000 +0200 +@@ -35,9 +35,9 @@ + # + + CROSS_COMPILE = +-USER_CPPFLAGS = `gtk-config --cflags` ++USER_CPPFLAGS = `pkg-config gtk+-2.0 --cflags` + USER_CFLAGS = +-USER_LDFLAGS = `gtk-config --libs` -lX11 ++USER_LDFLAGS = `pkg-config gtk+-2.0 --libs` -lX11 + + + #***************************************************************** +Only in wmmaiload-2.2.1/wmmaiload-config: Init.make.orig +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/main.c wmmaiload-2.2.1/wmmaiload-config/main.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/main.c 2005-07-13 22:51:28.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/main.c 2008-01-12 11:54:01.000000000 +0200 +@@ -3,6 +3,8 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + #include <gtk/gtk.h> + #include "config.h" + #include "defines.h" +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/mainwindow.c wmmaiload-2.2.1/wmmaiload-config/mainwindow.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/mainwindow.c 2005-07-13 22:51:52.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/mainwindow.c 2008-01-12 11:47:42.000000000 +0200 +@@ -10,9 +10,9 @@ + #include "actions.h" + + +-static GtkWidget *edit; +-static GtkWidget *set; +-static GtkWidget *remove; ++static GtkWidget *b_edit; ++static GtkWidget *b_set; ++static GtkWidget *b_remove; + + static gint list_sel_cb (GtkCList *clist, + gint row, +@@ -21,9 +21,9 @@ + void *data) + { + selected_row = row; +- gtk_widget_set_sensitive(edit, TRUE); +- gtk_widget_set_sensitive(set, TRUE); +- gtk_widget_set_sensitive(remove, TRUE); ++ gtk_widget_set_sensitive(b_edit, TRUE); ++ gtk_widget_set_sensitive(b_set, TRUE); ++ gtk_widget_set_sensitive(b_remove, TRUE); + return TRUE; + } + +@@ -35,9 +35,9 @@ + void *data) + { + selected_row = -1; +- gtk_widget_set_sensitive(edit, FALSE); +- gtk_widget_set_sensitive(set, FALSE); +- gtk_widget_set_sensitive(remove, FALSE); ++ gtk_widget_set_sensitive(b_edit, FALSE); ++ gtk_widget_set_sensitive(b_set, FALSE); ++ gtk_widget_set_sensitive(b_remove, FALSE); + return TRUE; + } + +@@ -230,7 +230,7 @@ + gtk_table_attach_defaults(GTK_TABLE(table), bouton, 0, 1, 0, 1); + gtk_widget_set_sensitive(bouton, FALSE); + gtk_widget_show(bouton); +- edit = bouton; ++ b_edit = bouton; + + bouton = gtk_button_new_with_label(" Set default "); + gtk_signal_connect(GTK_OBJECT(bouton), "clicked", +@@ -238,7 +238,7 @@ + gtk_table_attach_defaults(GTK_TABLE(table), bouton, 1, 2, 0, 1); + gtk_widget_set_sensitive(bouton, FALSE); + gtk_widget_show(bouton); +- set = bouton; ++ b_set = bouton; + + bouton = gtk_button_new_with_label(" Remove box "); + gtk_signal_connect(GTK_OBJECT(bouton), "clicked", +@@ -246,7 +246,7 @@ + gtk_table_attach_defaults(GTK_TABLE(table), bouton, 2, 3, 0, 1); + gtk_widget_set_sensitive(bouton, FALSE); + gtk_widget_show(bouton); +- remove = bouton; ++ b_remove = bouton; + + /*--- Frame 5 ---*/ + frame = gtk_frame_new(NULL); +@@ -322,7 +322,6 @@ + gtk_box_pack_start(GTK_BOX(buttons_hbox), bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + bouton = gtk_button_new_with_label(" Cancel "); +diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/popedit.c wmmaiload-2.2.1/wmmaiload-config/popedit.c +--- wmmaiload-2.2.1.orig/wmmaiload-config/popedit.c 2005-07-07 21:54:17.000000000 +0300 ++++ wmmaiload-2.2.1/wmmaiload-config/popedit.c 2008-01-12 11:47:42.000000000 +0200 +@@ -68,7 +68,6 @@ + bouton, TRUE, TRUE, 0); + GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT); + gtk_widget_grab_default(GTK_WIDGET(bouton)); +- gtk_widget_draw_default(GTK_WIDGET(bouton)); + gtk_widget_show(bouton); + + bouton = gtk_button_new_with_label("Cancel"); diff --git a/x11-plugins/wmmaiload/metadata.xml b/x11-plugins/wmmaiload/metadata.xml new file mode 100644 index 000000000000..1d5e6504004e --- /dev/null +++ b/x11-plugins/wmmaiload/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +</pkgmetadata> diff --git a/x11-plugins/wmmaiload/wmmaiload-2.2.1-r1.ebuild b/x11-plugins/wmmaiload/wmmaiload-2.2.1-r1.ebuild new file mode 100644 index 000000000000..322a9b74c0be --- /dev/null +++ b/x11-plugins/wmmaiload/wmmaiload-2.2.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="dockapp that monitors one or more mailboxes" +HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html" +SRC_URI="http://tnemeth.free.fr/projets/programmes/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libXpm" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gtk.patch \ + "${FILESDIR}"/${P}-checkthread.patch + sed -i -e "s/-lssl/\0 -lcrypto/" wmmaiload/Init.make || die "sed failed" +} + +src_configure() { + # The ./configure script is not autoconf based, therefore don't use econf: + ./configure -p /usr || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + DEBUG_LDFLAGS="" \ + LDFLAGS="${LDFLAGS}" \ + DEBUG_CFLAGS="" +} + +src_install() { + dobin ${PN}/${PN} ${PN}-config/${PN}-config + doman doc/*.1 + dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO doc/sample.${PN}rc +} diff --git a/x11-plugins/wmmaiload/wmmaiload-2.3.0-r1.ebuild b/x11-plugins/wmmaiload/wmmaiload-2.3.0-r1.ebuild new file mode 100644 index 000000000000..f41d82dac80a --- /dev/null +++ b/x11-plugins/wmmaiload/wmmaiload-2.3.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="dockapp that monitors one or more mailboxes" +HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html" +SRC_URI="http://tnemeth.free.fr/projets/programmes/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libXpm" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-2.2.1-checkthread.patch ) +src_prepare() { + sed -i -e "s/-lssl/\0 -lcrypto/" wmmaiload/Init.make || die + sed -e "s/SSLv2_client_method/SSLv23_client_method/" \ + -i wmmaiload/ssl.c || die + + default +} + +src_configure() { + # The ./configure script is not autoconf based, therefore don't use econf: + ./configure -p /usr || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + DEBUG_LDFLAGS="" \ + LDFLAGS="${LDFLAGS}" \ + DEBUG_CFLAGS="" +} + +src_install() { + dobin ${PN}/${PN} ${PN}-config/${PN}-config + doman doc/*.1 + dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO doc/sample.${PN}rc +} diff --git a/x11-plugins/wmmaiload/wmmaiload-2.3.0.ebuild b/x11-plugins/wmmaiload/wmmaiload-2.3.0.ebuild new file mode 100644 index 000000000000..0ef4b0d6966f --- /dev/null +++ b/x11-plugins/wmmaiload/wmmaiload-2.3.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="dockapp that monitors one or more mailboxes" +HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html" +SRC_URI="http://tnemeth.free.fr/projets/programmes/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libXpm" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-2.2.1-checkthread.patch + sed -i -e "s/-lssl/\0 -lcrypto/" wmmaiload/Init.make || die "sed failed" +} + +src_configure() { + # The ./configure script is not autoconf based, therefore don't use econf: + ./configure -p /usr || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + DEBUG_LDFLAGS="" \ + LDFLAGS="${LDFLAGS}" \ + DEBUG_CFLAGS="" +} + +src_install() { + dobin ${PN}/${PN} ${PN}-config/${PN}-config + doman doc/*.1 + dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO doc/sample.${PN}rc +} |