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/wbarconf |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/wbarconf')
-rw-r--r-- | x11-misc/wbarconf/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/wbarconf/files/wbarconf-0.7.2.2-install.patch | 81 | ||||
-rw-r--r-- | x11-misc/wbarconf/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild | 36 |
4 files changed, 131 insertions, 0 deletions
diff --git a/x11-misc/wbarconf/Manifest b/x11-misc/wbarconf/Manifest new file mode 100644 index 000000000000..4f8a2e6c762e --- /dev/null +++ b/x11-misc/wbarconf/Manifest @@ -0,0 +1,6 @@ +AUX wbarconf-0.7.2.2-install.patch 2843 SHA256 07ef20ca349b47a65143b07c4e835a77d2463b0ff955dd9a4ead861aa89d35eb SHA512 496392ec3236c4330f4c2d09ecc29a5dd0dc89a40adacbb3b27c4dce4b7170e05f22ca083fb10d045cc21253f5e460ba4a73e632d68056df3fe64ea8fd954c7c WHIRLPOOL 52d17dbab3866664e449e5e7e0e2335424b37ff00e0703ba3a7a704f62f2d694999f2f0efb8c87a4ec488f3d693f403e1d38792dbe7d27f7a6e702f7fe35c139 +DIST wbarconf-0.7.2.2.tar.gz 764073 SHA256 d0d0722b8db107983d22a0d4d00679d55ad0800ea81f3ce29869ee4f864c6089 SHA512 9be4fe4ccceb8432d601806e4e10c19d4072502b63648e1111537e8a693a64d78f2a08f12598bd7ab0b356a1a24ccf138bcd893cb0cccb5bf7fbf80caf9d9eba WHIRLPOOL 7fad64b6cc3aa39729a1f5533910641d5e4ea5bdd6b5ea9f38d0b473c2f39a94ab7c1d985222673da5041fa3593723e74301da366f45620f976cc90612ff3dd2 +EBUILD wbarconf-0.7.2.2-r2.ebuild 767 SHA256 79c66ea1734ac45ca50ab06dc16072af00107bfece5d58957714d3c664e6511d SHA512 522491806c81ee6942881b0998da7be66e646c3e070a75b5224469f8b2136b503f49d9f0bf0e547dce174c6419cc03c565b406269d44b05dc858c7ec87eec879 WHIRLPOOL a817360f99160f0a3652b3d0d2c84de5d73584319f63b489348c96a31908de76a002bdf88b3c4b6fe385b8351b8027738b7f0897c537cd5b69d1e5cf9ba42df4 +MISC ChangeLog 2481 SHA256 542711f2da4c18d4054bd490cdd8ba7183cede86023adf04aa74990fb5d5d573 SHA512 d07e0900b65efefb9fc42ddbab0b6ae28f21353e1583f57293a8d2b01072ae4cdfd63d7752db136650808308cbe6bc06f32803b05630522d5679a2afdcb49996 WHIRLPOOL 15b861b498458025af32b3fe156f76979226eb665397841cb92d9a8847ede8193dd4fdcdca6372f3c7acd2eef87510d8ac88ebbbe64b98ef441534eebd5eff7c +MISC ChangeLog-2015 1236 SHA256 4604b033cbed20cd9f7ad632ea3743b2485a10d5050ca01a68550bf57d9a6031 SHA512 27c03f5a51a4c6b7146c4d0d19208a89ccb12704a298b0fb1bc4c415bec80056505a8c7d69b1b5fae784de5568c515c599c87b81d58c96286c93ec8c54f97e50 WHIRLPOOL 2ae86a1cfd356c210e667e2675054177d73b0f34aed4ad3b5f6be731a22f6f49519b38c1958eb9d8982022884bb8d3ca54ce6d54508b470963b82fe9012591bb +MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5 diff --git a/x11-misc/wbarconf/files/wbarconf-0.7.2.2-install.patch b/x11-misc/wbarconf/files/wbarconf-0.7.2.2-install.patch new file mode 100644 index 000000000000..040d435bc797 --- /dev/null +++ b/x11-misc/wbarconf/files/wbarconf-0.7.2.2-install.patch @@ -0,0 +1,81 @@ +--- wbarconf/install.sh ++++ wbarconf/install.sh +@@ -1,5 +1,6 @@ + #!/bin/sh + startdir=$1 ++version=0.7.2.2 + + if [ $(echo $1|wc -w) -eq 0 ];then + echo "Usage: install.sh /path/to" +@@ -8,29 +9,28 @@ + exit 1 + fi + +-echo "Installing in to $startdir..." ++echo "Installing in to ${startdir}..." + ++cd "$(dirname "$(readlink -f "$0")")" || exit 1 + +-mkdir -p $startdir/bin/ || return 1 +-install -m0755 wbarconf $startdir/bin/ || return 1 ++mkdir -p "${startdir}"/bin/ || exit 1 ++install -m0755 wbarconf "${startdir}"/bin/ || exit 1 + +-mkdir -p $startdir/share/wbarconf/ +-install -m0644 README $startdir/share/wbarconf/ || return 1 +-install -m0644 COPYING $startdir/share/wbarconf/ || return 1 ++mkdir -p "${startdir}"/share/doc/wbarconf-${version}/wbarbacks/ || exit 1 ++install -m0644 README "${startdir}"/share/doc/wbarconf-${version}/ || exit 1 ++install -m0644 wbarbacks/README "${startdir}"/share/doc/wbarconf-${version}/wbarbacks/ || exit 1 + +-mkdir -p $startdir/share/locale/ || return 1 +-cp -av locale/* $startdir/share/locale/ || return 1 +-chmod 0755 -R $startdir/share/ || return 1 +-find $startdir/share/locale/ -name wbarconf.po -print | xargs rm -f +-install -m0644 messages.pot $startdir/share/wbarconf/ || return 1 ++find . -type d -name LC_MESSAGES -exec mkdir -p "${startdir}/share/{}" \; || exit 1 ++find . -type f -name wbarconf.mo -exec install -m0644 '{}' "${startdir}/share/{}" \; || exit 1 + +-cp -av wbarbacks $startdir/share/wbarconf/ || return 1 +-chmod 0655 -R $startdir/share/wbarconf/ || return 1 ++mkdir -p "${startdir}"/share/wbarconf/wbarbacks/ || exit 1 ++install -m0644 messages.pot "${startdir}"/share/wbarconf/ || exit 1 ++find ./wbarbacks -type f -name "*.png" -exec install -m0644 '{}' "${startdir}/share/wbarconf/{}" \; || exit 1 + +-mkdir -p $startdir/share/pixmaps/ +-install -m0644 wbarconf.png $startdir/share/pixmaps/ || return 1 ++mkdir -p "${startdir}"/share/pixmaps/ || exit 1 ++install -m0644 wbarconf.png "${startdir}"/share/pixmaps/ || exit 1 + +-mkdir -p $startdir/share/applications/ +-install -m0644 wbarconf.desktop $startdir/share/applications/ || return 1 ++mkdir -p "${startdir}"/share/applications/ || exit 1 ++install -m0644 wbarconf.desktop "${startdir}"/share/applications/ || exit 1 + + echo "Installation complete." +--- wbarconf/wbarconf.desktop ++++ wbarconf/wbarconf.desktop +@@ -2,10 +2,10 @@ + Name=WbarConf + Exec=wbarconf + Type=Application +-Icon=wbarconf.png ++Icon=wbarconf + Terminal=false + StartupNotify=true +-Categories=GTK;Utility; ++Categories=GTK;Utility; + Comment=Configuration tool for wbar + Comment[de]=Konfigurationswerkzeug für Wbar + Comment[fi]=Asetustyökalu wbar:lle +--- wbarconf/wbarconf ++++ wbarconf/wbarconf +@@ -51,7 +51,7 @@ + print("Gettext error, defaulting to english!") + # return message + +-wbarversion="0.7.2.1" ++wbarversion="0.7.2.2" + + ITEM_ID = 0 + ITEM_ICON = 1 diff --git a/x11-misc/wbarconf/metadata.xml b/x11-misc/wbarconf/metadata.xml new file mode 100644 index 000000000000..2ba8e9e851e4 --- /dev/null +++ b/x11-misc/wbarconf/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/wbarconf/wbarconf-0.7.2.2-r2.ebuild b/x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild new file mode 100644 index 000000000000..d5ff90ab324e --- /dev/null +++ b/x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="Configuration GUI for x11-misc/wbar" +HOMEPAGE="http://koti.kapsi.fi/ighea/wbarconf/" +SRC_URI="http://koti.kapsi.fi/ighea/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="sys-devel/gettext" +RDEPEND=" + ${PYTHON_DEPS} + >=x11-misc/wbar-1.3.3 + dev-python/pygobject:2[${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${PN}" +PATCHES=( "${FILESDIR}"/${P}-install.patch ) + +src_compile() { + python_fix_shebang wbarconf +} + +src_install() { + ./install.sh "${ED%/}/usr" || die "./install.sh failed." +} |