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-misc/skippy |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/skippy')
-rw-r--r-- | x11-misc/skippy/Manifest | 7 | ||||
-rw-r--r-- | x11-misc/skippy/files/skippy-0.5.0-Makefile.patch | 32 | ||||
-rw-r--r-- | x11-misc/skippy/files/skippy-pointer-size.patch | 11 | ||||
-rw-r--r-- | x11-misc/skippy/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/skippy/skippy-0.5.0-r1.ebuild | 44 |
5 files changed, 102 insertions, 0 deletions
diff --git a/x11-misc/skippy/Manifest b/x11-misc/skippy/Manifest new file mode 100644 index 000000000000..6634bdeac3e0 --- /dev/null +++ b/x11-misc/skippy/Manifest @@ -0,0 +1,7 @@ +AUX skippy-0.5.0-Makefile.patch 972 SHA256 d93dbb9beae0a44d0b76f16f91f78fa230b59050a37a87bf3506f8db0b3bb3cb SHA512 c94db12a8b21016923968ac179d43b6d57cc1a9cfc1fa45e3c2432aa7f8fa223a1aae41467b1756c309a209280667190c4b26c512430f5398e36e8af6d5b7150 WHIRLPOOL b3598d69811b6875beaf76ce0e5136fa154043dfc4a3c7d893137be5e2b16c59af34e7730a5d9b682b5bac95d49b8a47037638e5ad375b378e573a8d3c4a4cc8 +AUX skippy-pointer-size.patch 208 SHA256 887d36912e0ff95afcc579e1cc5dbffede6a716f6ec4b93c0056ad0c7cea231b SHA512 b922e816ec7f2ba672cc528a3ca5adfbb8af9ca8744deb6a2f6bfd40928a62e0937c4f453f046a87e23bc34f5a67ca9109cc46076c12454ab7097591059c847e WHIRLPOOL 3dee43759b7cccfb9969995f7c0bfcc3b986c9ee8ba402cc30b9ef11a808a33a820269f71db609541dffbc15681ff96080d4cc86f9b19fc1453830261dd9f9f2 +DIST skippy-0.5.0.tar.bz2 23722 SHA256 8f0f15f34a9fcfacb36cc8dc156d0d10c62020bbdd45edc348af67d861b74a99 SHA512 516e648e23a6a92e37f4d712b36f65ad640e299bd18677e30d4aa565929629c7749e64124b97da590d947daaa4e0de819cdcc3aec99c524833dea4c7955a7770 WHIRLPOOL 027264c9b51f193e839b926923319b5724d5b4e7d89208f04714a7c44c0ef2cd7e89ac42e0b95df75960b84eb7095672b9bb334381562398d0554274a7cd9a0b +EBUILD skippy-0.5.0-r1.ebuild 967 SHA256 1347e2823e1625b2b4451b35ae60e4160d21fd9f936448ae02561cdc7503fcef SHA512 6da59ce10da775b110400061efae103396790abe0aaea28633a61a4a3a01312906022916f85e61672c284b7b8fbc490471945cc0e291579057134a64edcde742 WHIRLPOOL 0a9e43198022b8d4e80958ec483bd5f4806f1697da49ae78699882a967c8ae1ae068b6feefee0875eba5a5761cb6d249e1e1f3e6c56f6cba229d148ca10edff3 +MISC ChangeLog 2496 SHA256 17784829e5d955206d45dbb86423e4a2926f024f8b651755aa40d4d5324eed41 SHA512 2a2dd9f6a8a58a40c5168fc599c8354e5dadf4d4015adfdceb218298b9a6650de54b36292efab636cc85075849f701ecf68489db6675287bd56e1ce9fdb64844 WHIRLPOOL e9ea5c1c356133a60cff850c4f353470191067c27a6dd3e869d4951f1222702288445b26b0a5f16c1f1ca8e3976e6fad48087a8e7440bc8063e746c8496e68fa +MISC ChangeLog-2015 2005 SHA256 4f9c12ecc9ca87348a37dc2dfdd38e778ac8327bf0ec9131da4cdbdeed00e181 SHA512 79c32171424f6be918ba1238aaa53e2198dc3581eab85d761888281eecf8d10dccb46f900877f6be7879a91f9350caee036157aeae6b4f3737b510fb1fdeffbd WHIRLPOOL 294a9e2f160d5d34d3faff3cfc0808dade6c38152f34c1fab5d1f3ea1863edb4fb7581a8c3a78a14a7b3a09f3efd98716a9b2bf9870a0dea4e44fd993297b144 +MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5 diff --git a/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch b/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch new file mode 100644 index 000000000000..5c8c64b632f9 --- /dev/null +++ b/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch @@ -0,0 +1,32 @@ +Don't use LDFLAGS to pass libraries. + +--- a/Makefile ++++ b/Makefile +@@ -1,14 +1,12 @@ +-PREFIX = /usr/local ++PREFIX = /usr + BINDIR = ${PREFIX}/bin + +-X11PREFIX = /usr/X11R6 +- +-CFLAGS += -I${X11PREFIX}/include `imlib2-config --cflags` `pkg-config xft --cflags` -g -pedantic -Wall +-LDFLAGS += -L${X11PREFIX}/lib -lX11 -lm `imlib2-config --libs` `pkg-config xft --libs` ++CFLAGS += `imlib2-config --cflags` `pkg-config xft --cflags` -pedantic -Wall ++LDLIBS = -lX11 -lm `imlib2-config --libs` `pkg-config xft --libs` + + # Comment these out to disable Xinerama support + CFLAGS += -DXINERAMA +-LDFLAGS += -lXext -lXinerama ++LDLIBS += -lXext -lXinerama + + # Uncomment this for Xinerama debugging + #CFLAGS += -DDEBUG +@@ -21,7 +19,7 @@ + all: skippy${EXESUFFIX} + + skippy${EXESUFFIX}: Makefile ${SOURCES} ${HEADERS} +- gcc ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDFLAGS} ++ ${CC} ${LDFLAGS} ${CFLAGS} -o skippy${EXESUFFIX} ${SOURCES} ${LDLIBS} + + clean: + rm -f skippy${EXESUFFIX} diff --git a/x11-misc/skippy/files/skippy-pointer-size.patch b/x11-misc/skippy/files/skippy-pointer-size.patch new file mode 100644 index 000000000000..7f5971179102 --- /dev/null +++ b/x11-misc/skippy/files/skippy-pointer-size.patch @@ -0,0 +1,11 @@ +--- a/wm.c ++++ b/wm.c +@@ -258,7 +258,7 @@ + return 0; + + for(i = 0; i < items_read; i++) +- l = dlist_add(l, (void*)((CARD32*)data)[i]); ++ l = dlist_add(l, (void*)((void**)data)[i]); + + XFree(data); + diff --git a/x11-misc/skippy/metadata.xml b/x11-misc/skippy/metadata.xml new file mode 100644 index 000000000000..2ba8e9e851e4 --- /dev/null +++ b/x11-misc/skippy/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>desktop-misc@gentoo.org</email> + <name>Gentoo Desktop Miscellaneous Project</name> + </maintainer> +</pkgmetadata> diff --git a/x11-misc/skippy/skippy-0.5.0-r1.ebuild b/x11-misc/skippy/skippy-0.5.0-r1.ebuild new file mode 100644 index 000000000000..e2823f2dfb16 --- /dev/null +++ b/x11-misc/skippy/skippy-0.5.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality" +HOMEPAGE="http://thegraveyard.org/skippy.php" +SRC_URI="http://thegraveyard.org/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="media-libs/imlib2[X] + x11-libs/libXext + x11-libs/libX11 + x11-libs/libXinerama + x11-libs/libXmu + x11-libs/libXft" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xineramaproto + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-pointer-size.patch + "${FILESDIR}"/${P}-Makefile.patch +) + +DOCS=( CHANGELOG skippyrc-default ) + +src_compile() { + tc-export CC + default +} + +pkg_postinst() { + elog + elog "You should copy skippyrc-default from /usr/share/doc/${PF} to" + elog "~/.skippyrc and edit the keysym used to invoke skippy." + elog "Use x11-apps/xev to find out the keysym." + elog +} |