commit:     44f2894b6eea7651de10699ae9f88af734b60471
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 24 22:52:23 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue Jul 24 22:52:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f2894b

x11-plugins/wmlaptop: remove last rited package

Closes: https://bugs.gentoo.org/348124

 x11-plugins/wmlaptop/Manifest                      |  1 -
 .../wmlaptop/files/wmlaptop-ACPI-detection.patch   | 24 -----------
 x11-plugins/wmlaptop/files/wmlaptop-Makefile.patch | 32 ---------------
 x11-plugins/wmlaptop/files/wmlaptop.desktop        |  8 ----
 x11-plugins/wmlaptop/metadata.xml                  |  9 -----
 x11-plugins/wmlaptop/wmlaptop-1.4.ebuild           | 46 ----------------------
 6 files changed, 120 deletions(-)

diff --git a/x11-plugins/wmlaptop/Manifest b/x11-plugins/wmlaptop/Manifest
deleted file mode 100644
index 571ccabb7df..00000000000
--- a/x11-plugins/wmlaptop/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST wmlaptop-1.4.tar.gz 77023 BLAKE2B 
6365bc98a580d943fa7a159546d290bb3ea93a83a1d1445982dfb6313b0b97f4ef21aa5c5ec8442969ffe2e2911d208d0b54e2d341d835d1e3ce00da13a352fd
 SHA512 
6f9ef6a04e556c811b2470ba9c1a57cde0047e8ac4936b84f5313f0f05a8809ac441e9a8e871fbb93dd29ae1deb9044ba7a16847e9c16ad80fdbda21e1a6ac58

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 802e6f09a75..00000000000
--- 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 ab1148ce117..00000000000
--- 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 39c8229953f..00000000000
--- 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 1d5e6504004..00000000000
--- 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>voyag...@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 da724eecc00..00000000000
--- 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"
-}

Reply via email to