summaryrefslogtreecommitdiff
path: root/x11-plugins
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-17 00:13:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-17 00:13:57 +0000
commit27b3683509c5229cce540418778a8b64afbc0009 (patch)
treeb7164898142b8b093b91c8254c4387b6eec679ee /x11-plugins
parentf2bdc27fe0f79f8f9a3945eb2b1163ce75c56439 (diff)
gentoo auto-resync : 17:02:2025 - 00:13:57
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/Manifest.gzbin26117 -> 26120 bytes
-rw-r--r--x11-plugins/wmmaiload/Manifest3
-rw-r--r--x11-plugins/wmmaiload/files/meson.build77
-rw-r--r--x11-plugins/wmmaiload/files/wmmaiload-2.3.0-c23.patch34
-rw-r--r--x11-plugins/wmmaiload/wmmaiload-2.3.0-r3.ebuild41
5 files changed, 155 insertions, 0 deletions
diff --git a/x11-plugins/Manifest.gz b/x11-plugins/Manifest.gz
index a92f259f9ef5..91becf91bc05 100644
--- a/x11-plugins/Manifest.gz
+++ b/x11-plugins/Manifest.gz
Binary files differ
diff --git a/x11-plugins/wmmaiload/Manifest b/x11-plugins/wmmaiload/Manifest
index 6fd4fe92fe78..a749907f90a2 100644
--- a/x11-plugins/wmmaiload/Manifest
+++ b/x11-plugins/wmmaiload/Manifest
@@ -1,6 +1,9 @@
+AUX meson.build 1821 BLAKE2B 7eea35f94b41910ee38a71263376c290861185796d38b1ed12ea14bcb049aae3340b60232cd4e11966aedd0aa1c8e8dd3ebfb3ff1f0d95305d6e00c31b2ad269 SHA512 0ce6b8710221417ed2b978e61826e4fbf40a5159261ba3c6b67be6bb55a7392c917ae6cd5dd5180879e8fae1b15d36455680f7a7d96688a9846da7cc53c98c15
AUX wmmaiload-2.2.1-checkthread.patch 387 BLAKE2B 2c79203a230b8caa9cb3ff85443380843144318146c61750d4c7b7113df9ae51960541adc3d76cbfed412cf1dc7c91687a224f549cb898bcd0a7cb70926fc2cc SHA512 a2edea4c4c0beecd5fe764bf8a591a8367d76997bd747f0c2b11ed6f268f88d57aae0d0c0a085ab9b48c7eca42fe1d2fe3f5ea3246981d42868fedf2336da7d1
+AUX wmmaiload-2.3.0-c23.patch 1014 BLAKE2B 77a61f89c779f6c47a5e32a1c73887bddac2cfa98ed0eaa2c60804f8f04bbb261aab316717c36f75465bd7323130fcf2b104a4b7f446339c25b1db15a3fac4d2 SHA512 d607f55290b8ce5fe465040bff20b5d78fbac54614811208a72c019e2aebc7ea07fbb6750f6314dc6d46d97e478a92119ea8396102ce3742eb976db65f3a4f98
AUX wmmaiload-2.3.0-fno-common.patch 3189 BLAKE2B ce81f29d6b8fb3c95eaeb1859d86cd45a935e595785c26ee756cdebf8b9f7f340b966020796c6ee96d943b3aea7ff81df48d3c05af6119d31cf6c81d5748a2a9 SHA512 689c196834783f969c58d3a3244eb289c0d0a34b7a9c32f9b374f07325b3077f8e231afa1fe91832d0e99e4cc2a54c6a85cf9839bec65a588288e57df60804d3
AUX wmmaiload-2.3.0-ssl.patch 1008 BLAKE2B 2d62d5549df7facd43df932365bccb11324c90ec79dc0aedc1fc42bde5474aa82c51ab42420bda06d6ae2282d26c8cc8aaf59597bbdee4fdebcec31b0ba509f3 SHA512 2976bba5207b77c80ceb0d1759a170f03915fe7746f051a07a1862e748e1d9f95b717670c5ef7692de8fa995b1a1bf018a15f1ec8a70165dcbe5dff691c12352
DIST wmmaiload-2.3.0.tar.bz2 42852 BLAKE2B abee44716ff74e48a480881c3327bc4a4f02600044a587b3322429567a3454f01c733542fbaa42cb074a2da48ecd1c453d19ed42c30efc04e634c44330d729d3 SHA512 c4e63eb2868474e3b76f5f4f401bdd23172f23dfdb0e90712e3eca607494057e067805b83a53490d38b6f7b2c876e2ec8fdb1d95b871d3febeeda35369550de9
EBUILD wmmaiload-2.3.0-r2.ebuild 1031 BLAKE2B e554130a4e6ac20409aa49bc908a787ef36627447da5c63b7903ab22638f411a448dac5100c30fd45b66a30dead92112c264b6dc0425688e53f5beeef106242e SHA512 ca8ddb91ce97a04517a0cb62fd645667e7c3d0dc9f84b00a7bf3f508428f3961630f15d6fa8bfcf7645f6af930bc7f56b2789d765d4e5efca03fa0a7d16cdcbd
+EBUILD wmmaiload-2.3.0-r3.ebuild 1032 BLAKE2B 09758243b1769fa9ee7dc2e412bbb3cc0102cd44f10a65c4e2051cd0882269ddf334cd3c8c856f5d656df48674c766bbd3abaf7b9303706ea401200749cc7929 SHA512 3dc3d72b77b0ef9bd4f663711328c3214cf78aa1504d0cafcf23aec4a62f905593a1232cc11080817e303a57f85d88f017e265f045af6b0542fda10c3e0c7278
MISC metadata.xml 250 BLAKE2B 3d69a837b82fe334630573d6bf123718a3eac254377bc2ca86a2268f210cbcef9922db631e91954bceacc28828b54ad567d0568a4df655545ac56a4a54151d76 SHA512 ee587c14474743ca118c5468d1cd04ce5e3533ea29550ae74a7d517f092c895fa18c7edc7e9ffe7757b62c214dda7abf5352ee838a6dbd7d1079d60d2762732f
diff --git a/x11-plugins/wmmaiload/files/meson.build b/x11-plugins/wmmaiload/files/meson.build
new file mode 100644
index 000000000000..5791ebb405db
--- /dev/null
+++ b/x11-plugins/wmmaiload/files/meson.build
@@ -0,0 +1,77 @@
+project('wmmaiload', 'c', version: '2.3.0')
+
+add_project_arguments(
+ '-DHAVE_THREADS',
+ '-DHAVE_IMAP',
+ '-DHAVE_MAILDIR',
+ '-DHAVE_MBOX',
+ '-DHAVE_MH',
+ '-DHAVE_POP3',
+ '-DHAVE_SSL',
+ '-DHAVE_SELECT',
+ '-DHAVE_STRING_H',
+ '-DHAVE_STRINGS_H',
+ '-DHAVE_UNISTD_H',
+ language: 'c',
+)
+
+# Originally, this was generated and regenerated
+# by a set of shell functions embedded into makefile
+# replacing with sane defaults
+
+add_project_arguments(
+ '-DVERSION="2.3.0"',
+ '-DAUTHORS="Thomas Nemeth"',
+ '-DOSTYPE="linux"',
+ '-DBUILD=""',
+ language: 'c',
+)
+
+threads_dep = dependency('threads')
+ssl = dependency('openssl')
+xext = dependency('xext')
+xpm = dependency('xpm')
+gtk = dependency('gtk+-2.0')
+x11 = dependency('X11')
+
+wmmaiload_sources = [
+ 'wmmaiload/checkthread.c',
+ 'wmmaiload/dockapp.c',
+ 'wmmaiload/imapclient.c',
+ 'wmmaiload/main.c',
+ 'wmmaiload/options.c',
+ 'wmmaiload/pop3client.c',
+ 'wmmaiload/ssl.c',
+]
+
+wmmaiload_include = include_directories('wmmaiload')
+
+wmmaiload = executable(
+ 'wmmaiload',
+ wmmaiload_sources,
+ include_directories: wmmaiload_include,
+ dependencies: [threads_dep, ssl, xext, xpm],
+ install: true,
+ c_args: ['-DPACKAGE="WMMaiLoad"', '-DPROGRAM="wmmaiload"'],
+)
+
+wmmail_conf_sources = [
+ 'wmmaiload-config/actions.c',
+ 'wmmaiload-config/dialogs.c',
+ 'wmmaiload-config/main.c',
+ 'wmmaiload-config/mainwindow.c',
+ 'wmmaiload-config/popedit.c',
+ 'wmmaiload-config/tools.c',
+]
+
+wmmail_conf_include = include_directories('wmmaiload-config')
+
+wmmail_conf = executable(
+ 'wmmaiload-config',
+ wmmail_conf_sources,
+ dependencies: [gtk, x11],
+ include_directories: wmmail_conf_include,
+ c_args: ['-DPACKAGE="WMMaiLoad-Config"', '-DPROGRAM="wmmaiload-config"'],
+ install: true,
+)
+
diff --git a/x11-plugins/wmmaiload/files/wmmaiload-2.3.0-c23.patch b/x11-plugins/wmmaiload/files/wmmaiload-2.3.0-c23.patch
new file mode 100644
index 000000000000..6a8b25fb21ea
--- /dev/null
+++ b/x11-plugins/wmmaiload/files/wmmaiload-2.3.0-c23.patch
@@ -0,0 +1,34 @@
+diff --git a/wmmaiload/dockapp.c b/wmmaiload/dockapp.c
+index f29ec9c..ee659a4 100644
+--- a/wmmaiload/dockapp.c
++++ b/wmmaiload/dockapp.c
+@@ -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 --git a/wmmaiload/main.c b/wmmaiload/main.c
+index a3d0b52..78ed1bb 100644
+--- a/wmmaiload/main.c
++++ b/wmmaiload/main.c
+@@ -138,7 +138,7 @@ static void mbox_add(MailBox **list, const char *value);
+ static BoxType getboxtype(const char *t);
+ static void free_mbox(MailBox **list);
+ static int nb_mbox(MailBox *list);
+-static void check_cfg_values();
++static void check_cfg_values(Bool wait);
+ static void replace_box_list(MailBox *replace);
+
+
+@@ -167,7 +167,7 @@ int main(int argc, char **argv)
+ #if DEBUG_LEVEL>0
+ printf("arguments parsed.\n");
+ #endif
+- check_cfg_values();
++ check_cfg_values(False);
+ /* Load default configuration */
+ if (! config_file)
+ {
diff --git a/x11-plugins/wmmaiload/wmmaiload-2.3.0-r3.ebuild b/x11-plugins/wmmaiload/wmmaiload-2.3.0-r3.ebuild
new file mode 100644
index 000000000000..c364c8d24fcd
--- /dev/null
+++ b/x11-plugins/wmmaiload/wmmaiload-2.3.0-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit meson
+
+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"
+
+RDEPEND="x11-libs/gtk+:2
+ x11-libs/libXpm
+ dev-libs/openssl"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.2.1-checkthread.patch
+ "${FILESDIR}"/${P}-fno-common.patch
+ "${FILESDIR}"/${P}-ssl.patch
+ "${FILESDIR}"/${P}-c23.patch
+)
+
+src_prepare() {
+ default
+
+ cp "${FILESDIR}"/meson.build . || die "No new build file"
+ rm -f wmmaiload/config.h && touch wmmaiload/config.h || die "Can't remove stale config"
+ rm -f wmmaiload-config/config.h && touch wmmaiload-config/config.h || die "Can't remove stale config"
+}
+
+src_install() {
+ meson_install
+
+ doman doc/*.1
+ dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO doc/sample.${PN}rc
+}