From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- x11-plugins/wmxres/Manifest | 6 +++ .../wmxres/files/wmxres-debian-1.1-1.2.patch | 55 ++++++++++++++++++++++ x11-plugins/wmxres/metadata.xml | 9 ++++ x11-plugins/wmxres/wmxres-1.2.ebuild | 41 ++++++++++++++++ 4 files changed, 111 insertions(+) create mode 100644 x11-plugins/wmxres/Manifest create mode 100644 x11-plugins/wmxres/files/wmxres-debian-1.1-1.2.patch create mode 100644 x11-plugins/wmxres/metadata.xml create mode 100644 x11-plugins/wmxres/wmxres-1.2.ebuild (limited to 'x11-plugins/wmxres') diff --git a/x11-plugins/wmxres/Manifest b/x11-plugins/wmxres/Manifest new file mode 100644 index 000000000000..b74d4007e58c --- /dev/null +++ b/x11-plugins/wmxres/Manifest @@ -0,0 +1,6 @@ +AUX wmxres-debian-1.1-1.2.patch 1699 SHA256 79f5a5204ade63f83553856a8bfe47258287e40f4a7a894c00a8c203e4eff7f1 SHA512 d2043b9ff22415f03ec7a3c46770562b7d6ee0180d1048dbd447f27c49149b405faca3c2e863a91abc71c766ce461464f6c4fdea54d2b5916c88a85e8f2d8051 WHIRLPOOL d91e8e1e66728ed09d1b010b2d1f329f425ecef3069ff01ec4c5f8ecfb26ac137e0c404492a68c21a3f8a6121c27e9887dea90421bf5601554879df181c5a323 +DIST wmxres-1.1-0.tar.gz 9948 SHA256 c6d1e0fbc1dce2aa9d35f1558b8d561c12677229a89b7f0a062679096f8a3b33 SHA512 e7b5bfb061822fb827da50b24287ab9c6b14d3ddf9a89ff6cd5e1bb61939905c901b4a0ff7a6492e0ccce3b39b8bb4d8ffb13cbf7978075a73a30080e25c18ad WHIRLPOOL 58476cbcb7b6a34a86e5235b937ef4972dfc577b3145d1b41455ea28397f03b64201ddb09cb36fc122f7fc9a9e45f20cee5f187ead389c142d6cfa5a60947ad5 +EBUILD wmxres-1.2.ebuild 903 SHA256 e9d9d10f0019863bdbd5ea47b3a0a7f8845baac92e931041b9187f66b3f7180a SHA512 a172f3c77ee2ceab2da6c406d5b01aa220ca0407f65f9485eeada968f9d8d373a98f174f25b095681ef3b85acd1dc222a8c8d7723eeffe48e527ff44ba308401 WHIRLPOOL b76e6d26c1d7d1753048d72854ecc9ba7c693b8d9dfec79a9896e1072605e9bc0ae44040741a1126914c67a2b479c806395ffa74499593642075ac30dc6fa87d +MISC ChangeLog 2917 SHA256 2e974b4ffe1b1dbdf979f3f84f36021e18ed323ca258414a400130d8896de470 SHA512 6a01c074debe3f2c5d3d228ade3e21ff89dbd89f76dab2fe42bfa1cdcb960e4a5ee054ffbfbb289dcd847ed0bb7e3be1a7ef558e6c98358cb0d0a5049fca7fba WHIRLPOOL fc59e8684e047e89099bd6ffade48b18095d1faad17b863d0de24f27bbaa35313a4fc066e6daf36ddfe880edc76eb71bf9e33f10ac05d4b6a0a4476a5a53e5e4 +MISC ChangeLog-2015 1426 SHA256 88e813fac0cc0fb2df2acbea9434edd17489284404bf52ddcfb285e3f103949d SHA512 5fc7b0562cdb3c93ca51d9944e790eea33425199a64fb883b4b6797e94fc203b49ede132d9fcacc1eb28962b95906efb796d4371fbf1a43a53ae2aeaa17a0121 WHIRLPOOL 8ee5a78b244b7f2bb87deb340daf0e2201a73b90338b58fb6b30bdb2de0cd3d2ff702d71364e4166437e63f7e6294a57b866554364560215aca7e58a6dee5f72 +MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d diff --git a/x11-plugins/wmxres/files/wmxres-debian-1.1-1.2.patch b/x11-plugins/wmxres/files/wmxres-debian-1.1-1.2.patch new file mode 100644 index 000000000000..ef7438e5e973 --- /dev/null +++ b/x11-plugins/wmxres/files/wmxres-debian-1.1-1.2.patch @@ -0,0 +1,55 @@ +diff -Naur wmxres.app/wmxres/wmxres.c wmxres-1.2/wmxres/wmxres.c +--- wmxres.app/wmxres/wmxres.c 1999-11-13 22:43:12.000000000 +0000 ++++ wmxres-1.2/wmxres/wmxres.c 2004-04-19 01:27:19.000000000 +0000 +@@ -29,7 +29,7 @@ + int res_selected; + int res_i_active=-1; + char res_active[10]; +-char res_list[10][20]; ++char res_list[100][20]; + XF86VidModeModeInfo **res_modelines; + XEvent Event; + +@@ -139,7 +139,12 @@ + } + } + +- for(c=0; c < res_count; c++) { ++ /* fix bounds on res_count -- Todd Troxell 100) { ++ res_count =100; ++ } ++ ++ for(c=0; c < res_count ; c++) { + sprintf(res_list[c], "%dx%d", res_modelines[c]->hdisplay, res_modelines[c]->vdisplay); + } + } +diff -Naur wmxres.app/wmxres.1 wmxres-1.2/wmxres.1 +--- wmxres.app/wmxres.1 1970-01-01 00:00:00.000000000 +0000 ++++ wmxres-1.2/wmxres.1 2004-04-19 01:02:46.000000000 +0000 +@@ -0,0 +1,25 @@ ++.\" Hey, EMACS: -*- nroff -*- ++.\" wmxres.1 is copyright 2001 by ++.\" Todd Troxell ++.\" ++.\" This is free documentation, see the latest version of the GNU ++.\" General Public License for copying conditions. There is NO warranty. ++.TH WMXRES 1 "May 5, 2001" ++ ++.SH NAME ++wmxres \- dockable application to change X modes ++ ++.SH SYNOPSIS ++.B wmxres ++ ++.SH DESCRIPTION ++dockable application to select your display mode from those available. It is written in C. ++ ++.SH INFO ++This manual page was written for the Debian GNU/Linux distribution ++because the original program does not have a manual page. ++.PP ++ ++.SH AUTHOR ++This manual page was written by Todd Troxell , ++for the Debian GNU/Linux system (but may be used by others). diff --git a/x11-plugins/wmxres/metadata.xml b/x11-plugins/wmxres/metadata.xml new file mode 100644 index 000000000000..1d5e6504004e --- /dev/null +++ b/x11-plugins/wmxres/metadata.xml @@ -0,0 +1,9 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + diff --git a/x11-plugins/wmxres/wmxres-1.2.ebuild b/x11-plugins/wmxres/wmxres-1.2.ebuild new file mode 100644 index 000000000000..bc0f29ab3149 --- /dev/null +++ b/x11-plugins/wmxres/wmxres-1.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Dock application to select your display mode among those possible" +HOMEPAGE="http://yalla.free.fr/wn" +SRC_URI="http://yalla.free.fr/wn/${PN}-1.1-0.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~amd64 x86 ~ppc" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXxf86vm" +DEPEND="${RDEPEND} + x11-libs/libXxf86dga + x11-proto/xextproto + x11-proto/xf86vidmodeproto" + +S=${WORKDIR}/${PN}.app + +src_prepare() { + epatch "${FILESDIR}"/${PN}-debian-1.1-1.2.patch + sed -e "s:-g -c -O2:${CFLAGS} -c:" \ + -e "s:\tcc :\t $(tc-getCC) \$(LDFLAGS) :g" \ + -i Makefile || die "sed failed" +} + +src_compile() { + emake INCDIR="-I/usr/include" LIBDIR="-L/usr/$(get_libdir)" +} + +src_install() { + dobin ${PN}/${PN} + doman ${PN}.1 +} -- cgit v1.2.3