summaryrefslogtreecommitdiff
path: root/x11-plugins/wmlaptop
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmlaptop')
-rw-r--r--x11-plugins/wmlaptop/Manifest6
-rw-r--r--x11-plugins/wmlaptop/files/wmlaptop-ACPI-detection.patch24
-rw-r--r--x11-plugins/wmlaptop/files/wmlaptop-Makefile.patch32
-rw-r--r--x11-plugins/wmlaptop/files/wmlaptop.desktop8
-rw-r--r--x11-plugins/wmlaptop/metadata.xml9
-rw-r--r--x11-plugins/wmlaptop/wmlaptop-1.4.ebuild46
6 files changed, 0 insertions, 125 deletions
diff --git a/x11-plugins/wmlaptop/Manifest b/x11-plugins/wmlaptop/Manifest
deleted file mode 100644
index fcbc2373e00b..000000000000
--- a/x11-plugins/wmlaptop/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX wmlaptop-ACPI-detection.patch 983 BLAKE2B 3d58e9af032290209f2f7637d4516eea3fa00ef5f1f9d48217662b0737725249a001c300fa19fbead2cbea1c3c0dc5cb927ba643dcddacfd187245b46ed35ac0 SHA512 7dc6704fb5d6ae6f4576f6acbf2d7b9a1c1bc310f3617277f0b254bd96e962242c72489a2dbffba81f6d9dfb3d1d84b8c4ec44fac381f7b5078345a010474c18
-AUX wmlaptop-Makefile.patch 738 BLAKE2B 405b23ce3891106cb17cfed48a65eac1eb13c7a2baa6e5f15f5f55926bc8b56ac578637f862b73b3adbc101f48dbb29d5289380559e15aed136e8b3a75d5d3f4 SHA512 cb0bf56ae9040655979003ec8430c775bc4059c7416c386a761145aed7a62026ac39f4af4a72964cb42df95e441d236ab77fd931c7e10ebe1bf815631716481f
-AUX wmlaptop.desktop 158 BLAKE2B a12d5d5542920134877b4c270d4638fabf4a7feab641f70070e56b50a98301b68bc440341924f0114f05bdd66127860d256be55187b4550836624ecaa6f63530 SHA512 8a5e58a8419a3d6ec46164a57cd3af2b62fe0e5ad66b60a62bc9b5ec417b5869e60be6793e480ae6f8c9f4053b8aa3ca027ee8f64c4f45a627e3c761779a6c9e
-DIST wmlaptop-1.4.tar.gz 77023 BLAKE2B 6365bc98a580d943fa7a159546d290bb3ea93a83a1d1445982dfb6313b0b97f4ef21aa5c5ec8442969ffe2e2911d208d0b54e2d341d835d1e3ce00da13a352fd SHA512 6f9ef6a04e556c811b2470ba9c1a57cde0047e8ac4936b84f5313f0f05a8809ac441e9a8e871fbb93dd29ae1deb9044ba7a16847e9c16ad80fdbda21e1a6ac58
-EBUILD wmlaptop-1.4.ebuild 847 BLAKE2B 1ecca830b60b67d1eb38d77901f7346ee3b8caf9da913537682690c3e6a9d6a36f05854885e63ca5627d6a85e6fe47cd62077446a20ef376c3995915ed1b2c82 SHA512 d8883cb2de18d0f441d4c6d4f3db693fcc501c8ad90ffcd649828a4c48a2fbdf8f149838f2f0c8f62a1bdbeb044b4e1fa7c6b8d5a919edf83b26f8af60530019
-MISC metadata.xml 249 BLAKE2B ba223d81d4cf6b9ca1ba3a63e356bec0d9aa6f4cdf2ad3b29a6c97a6e5bad854154f8b9e6fc3d65d155c93daa706d03c84395b53951e3e326ffc19c8d0df0eb5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d
diff --git a/x11-plugins/wmlaptop/files/wmlaptop-ACPI-detection.patch b/x11-plugins/wmlaptop/files/wmlaptop-ACPI-detection.patch
deleted file mode 100644
index 802e6f09a755..000000000000
--- a/x11-plugins/wmlaptop/files/wmlaptop-ACPI-detection.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ru wmlaptop-1.4.orig/src/battery.c wmlaptop-1.4/src/battery.c
---- wmlaptop-1.4.orig/src/battery.c 2010-11-26 14:26:27.594108155 -0600
-+++ wmlaptop-1.4/src/battery.c 2010-11-26 14:26:51.324108155 -0600
-@@ -74,7 +74,7 @@
-
- bool ACPI_canSupport( )
- {
-- if( access( ACPI_ACCESS_TEST, R_OK ) == SUCCESS )
-+ if( access( ACPI_ACCESS_TEST, R_OK | X_OK ) == SUCCESS )
- return true;
- return false;
- }
-diff -ru wmlaptop-1.4.orig/src/battery.h wmlaptop-1.4/src/battery.h
---- wmlaptop-1.4.orig/src/battery.h 2010-11-26 14:26:27.594108155 -0600
-+++ wmlaptop-1.4/src/battery.h 2010-11-26 14:26:56.100774821 -0600
-@@ -24,7 +24,7 @@
- /*******************
- * ACPI FEATURES *
- *********************************************************************************/
--#define ACPI_ACCESS_TEST "/proc/acpi/info"
-+#define ACPI_ACCESS_TEST "/proc/acpi"
- #define ACPI_BATTERY_DIR "/proc/acpi/battery"
- //TODO #define ACPI_BATTERY_DIR "/home/mtc/hisBattery/battery"
-
diff --git a/x11-plugins/wmlaptop/files/wmlaptop-Makefile.patch b/x11-plugins/wmlaptop/files/wmlaptop-Makefile.patch
deleted file mode 100644
index ab1148ce117e..000000000000
--- a/x11-plugins/wmlaptop/files/wmlaptop-Makefile.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- /Makefile 2010-09-09 13:44:07.000000000 +0200
-+++ /Makefile.new 2010-09-09 13:47:40.000000000 +0200
-@@ -1,14 +1,17 @@
--
-+LIBDIR = -L/usr/X11R6/lib
-+LIBS = -lXpm -lXext -lX11
-+OBJS = main.o init.o event.o draw.o battery.o cpu.o autoscript.o pixmap.o
-+EXE = wmlaptop
-
-
- .c.o:
-- $(CC) -c $< -o $*.o $(CFLAGS)
-+ $(CC) $(CFLAGS) -c $< -o $*.o
-
- all: $(EXE)
-
- $(EXE): $(OBJS)
- ./buildCounter
-- $(CC) -o $(EXE) $^ $(LIBDIR) $(LIBS)
-+ $(CC) $(LDFLAGS) -o $(EXE) $^ $(LIBDIR) $(LIBS)
-
-
- clean:
-@@ -20,7 +23,7 @@
- reall: clean all
-
- install:
-- /usr/bin/install -c -o 0 -g 0 -s -m 755 $(EXE) $(INSTALLDIR)/$(EXE)
-+ /usr/bin/install -c -o 0 -g 0 -m 755 $(EXE) $(INSTALLDIR)/$(EXE)
- chmod +s $(INSTALLDIR)/$(EXE)
-
- uninstall:
diff --git a/x11-plugins/wmlaptop/files/wmlaptop.desktop b/x11-plugins/wmlaptop/files/wmlaptop.desktop
deleted file mode 100644
index 39c8229953fb..000000000000
--- a/x11-plugins/wmlaptop/files/wmlaptop.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=WmLaptop
-Comment=Laptop Monitor
-Comment[pl]=Monitor Dla Laptopa
-Exec=wmlaptop
-Type=Application
-Terminal=false
-Categories=System;Monitor;
diff --git a/x11-plugins/wmlaptop/metadata.xml b/x11-plugins/wmlaptop/metadata.xml
deleted file mode 100644
index 1d5e6504004e..000000000000
--- a/x11-plugins/wmlaptop/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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/wmlaptop/wmlaptop-1.4.ebuild b/x11-plugins/wmlaptop/wmlaptop-1.4.ebuild
deleted file mode 100644
index da724eecc00b..000000000000
--- a/x11-plugins/wmlaptop/wmlaptop-1.4.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils
-
-IUSE=""
-
-MY_P="${P}"
-S="${WORKDIR}/${MY_P}/src"
-
-DESCRIPTION="Dockapp for laptop users"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://wmlaptop.sourceforge.net"
-
-RDEPEND="x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXpm"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-Makefile.patch
- epatch "${FILESDIR}"/${PN}-ACPI-detection.patch
-}
-
-src_compile() {
- emake || die "Compilation failed"
-}
-
-src_install() {
- dodir /usr/bin
- einstall INSTALLDIR="${D}/usr/bin" || die "Installation failed"
-
- dodoc ../AUTHORS ../README ../README.IT ../THANKS
-
- domenu "${FILESDIR}/${PN}.desktop"
-}