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/wbar |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/wbar')
-rw-r--r-- | x11-misc/wbar/Manifest | 11 | ||||
-rw-r--r-- | x11-misc/wbar/files/wbar-2.3.3-cfg.patch | 15 | ||||
-rw-r--r-- | x11-misc/wbar/files/wbar-2.3.3-desktopfile.patch | 89 | ||||
-rw-r--r-- | x11-misc/wbar/files/wbar-2.3.3-nowerror.patch | 14 | ||||
-rw-r--r-- | x11-misc/wbar/files/wbar-2.3.3-test.patch | 11 | ||||
-rw-r--r-- | x11-misc/wbar/files/wbar-2.3.4-automake-1.13.patch | 11 | ||||
-rw-r--r-- | x11-misc/wbar/files/wbar-2.3.4-completion.patch | 19 | ||||
-rw-r--r-- | x11-misc/wbar/metadata.xml | 15 | ||||
-rw-r--r-- | x11-misc/wbar/wbar-2.3.4-r2.ebuild | 55 |
9 files changed, 240 insertions, 0 deletions
diff --git a/x11-misc/wbar/Manifest b/x11-misc/wbar/Manifest new file mode 100644 index 000000000000..a86cf52f5b6c --- /dev/null +++ b/x11-misc/wbar/Manifest @@ -0,0 +1,11 @@ +AUX wbar-2.3.3-cfg.patch 291 SHA256 9618f4277d8362fd74f3cf5de630441c29735f7a375bf9dd4ed6f492343bf978 SHA512 e37e7a192d738defe1d47f5e47dff27761272a1f0dc0866f358777a28dc509d2aba2794b432101bd0a0b3bb198901c09618c2fe251d8e73d3dc79737443fdb7e WHIRLPOOL 53ce1fe15803cc890f737adbfb63d43d2555312633b5496126a084cb73436d5af7111728c361d527260b77e94ba4fb273c529cbc2f9bed257740bfbb1cedc8a5 +AUX wbar-2.3.3-desktopfile.patch 2416 SHA256 5d1f1eccca5c85b815ea07ae470e81ed2dfb88db287bb3fe84f137b9742b1b85 SHA512 12a1ffc38196fe6bfe32320e42781f1db1ef742cc58474d784033fb9678da91bf00e0c7efbcfe9acedef511c51ca70a2be5746ba7824a652e4b68f731dadde03 WHIRLPOOL 70fb582069cf5c415e167c13271edf0d5e5728c998afbd39e9e129d9703d0e108caa724f6e1c3783d266404fee7011e34a4c76758ea34505b1a62b234c57900c +AUX wbar-2.3.3-nowerror.patch 282 SHA256 8c5816476a6a4dc87acebac32e35c7733ee7ade39f9ec1b11dedf0fc9bb71a48 SHA512 38de89325a8c028e25f91e30e585c04e6be7affbde2c37723c384fc9e1477dc46c1853bf127c94c4c90dd22661b5a9bcf210ea63770e868cb8658faa4fc26946 WHIRLPOOL fe98b1b090e4172553bd8efe3a63320d6158f52ee59b33db8d15c72659b344e510d4ce636e60d7081b78340a3522e2c4ce242601b7bd00eabeaa9c238395ea82 +AUX wbar-2.3.3-test.patch 247 SHA256 3a327133f16fabd8c17c511374e68e7c236e68c43cde58bcffd15b0bb89ca33e SHA512 da5425b8d3a618fae397c453903add62918352a329656610cd4f49b1e8372d79c99f9fb58f715a020fefb23b61cac8108f765a6d58945064a2e91e1a3a50dfd2 WHIRLPOOL 09dd4e982d8d229cc582c48feea09f84df43e778de2c773a52b811c866dd0ab18929c39193c5c450152a61368dce120824a6359aca1f1a81e12025fb543fc4d6 +AUX wbar-2.3.4-automake-1.13.patch 238 SHA256 4aaa3687527a9a1e448f7f08e025a3a4da8bb624b2417588bba0e544080c0f47 SHA512 62f3c1266a715b3b4368002a4658a2d010b24a6bd2251ab13b8b665370c7e8584a3b10904687d272628cba97785c2bcd0a6bacd643f712cb3e6c9ec940b99f67 WHIRLPOOL dbaeda8239754bf457b8d76c0e83aaa2e89b6608598e7a53c93b3409cb46d78e10edff95f6e0c16d653f0c1c27e1f7a1f13388a90bdffa4993d326ded959aa4c +AUX wbar-2.3.4-completion.patch 283 SHA256 001ee62f09aeb6215c46381dc150a1ab9b6dfb064fae208034c6288f89cde4a1 SHA512 dadc31f136b2e85efd19a25698499810de0d6e9dde873d89c50a18e84f4b158f3570c63885270b09541eb89574375ed2c6e630b28b627b5383f23bab5f94d1eb WHIRLPOOL 79f11a9a834ff4eefbdccc5255385637e5d3801ca6896301a0b7ded3fbc965d358a21ca83788b136b65cf0c95ab913dfc1b81a4891339b3bce12f8761a5fba72 +DIST wbar-2.3.4.tgz 189999 SHA256 46a69849e4436529aefb5cfb2c94b520d05a53c237e7773b90207f67f97a93e3 SHA512 07f3484bd071761d57ef1172c56b30980eef9ce2ee65d1fc21ea20c631a1da1d88c1b8a9e1a1fca0e5f18e7bf1c5697c349a543d72966ce71ff53d7e921147b3 WHIRLPOOL 3d5ff6e1ea5f9079c5e7ab2e9e59729795514415241f180c9438480d94c192180f725f6d541b117ed33728694f632fc11beb69bcfdb3dcbc03d4c211e2b28d31 +EBUILD wbar-2.3.4-r2.ebuild 1248 SHA256 056b046c95317a83821ac8c6591899299ac0a85b844c9a45ae913646cb4670e7 SHA512 2bbf0e8c6233e724da9820ad2b4ce8f86f7431b5ca25a8dba4f47ec9bfb5c7b49a0de483901f37fcc4f5e0d30ec365cd03cdcf61da68a0a0031f8a7d7b3b2137 WHIRLPOOL e7eb983088e45cfa1d576e8ae0e7006e9ef482a00d752bff2e015a3ef6e18c41f29cd26c90ea9893e6057e03c3195d85d88898b2034ddbcd9a90a614400f108b +MISC ChangeLog 3390 SHA256 0474a2691625132e1a7b76ffbca1638e1706902dfef17d3ee83ab16b0324053a SHA512 287af697b053ee7635048d6e35762ff45ece65628a8c2a436fff516481ffc60a6ae2bc105fc113a620f1cf7518564c84d0c4763a4fdda24ab7e7081519ecb3e2 WHIRLPOOL 5763e8bb1ffe4d6a502fdeab858f9055d6f1bc6a6ff1212cf3aa62452aeee28758798cd068ba79c1c1869afffbd8cbf95ea9e7570219eb2766e434a02b94a993 +MISC ChangeLog-2015 6196 SHA256 033d8b9c3c1a69f95b9d088d549fbf91b2310699c4672eddb6fc0dc8e78a3031 SHA512 29e59b1136723d4556a84e1a52412e11cfa1eb956cf0030b51b9d7c8589c6e41a475c122022b65981461987a1ed4dab89d3d48253524569d295061db52f3351a WHIRLPOOL 0766c35d6db7fd48cdac64d54972ff7170c6a0c0d8a443df0a709e8a7e63db2a1f10f7afb2d11dd7b265a7f9e4e468e99516139b8e254c0f5642325ec39bd730 +MISC metadata.xml 481 SHA256 0531faa7be4a7e9713c4a952f4249880d2c657eaddacba558f1ed5c9d5822347 SHA512 05a8903618ab4022768e4eec18f1e89a64a99049b135565bfe921d376ba24c1b6081e6afc50cca90109050364c79e09050372a478c2ac1e200fce0c8216b357b WHIRLPOOL b17e3981b413cbc31853f24ff291617967cf4953d52f2da06562c882b5c2ec9b89408a339e90499cbcee8513a021b5bdc12440223efbc29df007ad42ad4ae614 diff --git a/x11-misc/wbar/files/wbar-2.3.3-cfg.patch b/x11-misc/wbar/files/wbar-2.3.3-cfg.patch new file mode 100644 index 000000000000..5ffd82869983 --- /dev/null +++ b/x11-misc/wbar/files/wbar-2.3.3-cfg.patch @@ -0,0 +1,15 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Fri Sep 21 21:45:22 UTC 2012 +Subject: remove wbar-config for -gtk + +--- a/etc/wbar.cfg.in ++++ b/etc/wbar.cfg.in +@@ -2,8 +2,3 @@ + c: @PACKAGE_NAME@ @DEFAULT_ARGV@ + t: none + +-i: @PIXMAPDIR@/@PACKAGE_NAME@/wbar.png +-c: wbar-config +-t: Config +- +- diff --git a/x11-misc/wbar/files/wbar-2.3.3-desktopfile.patch b/x11-misc/wbar/files/wbar-2.3.3-desktopfile.patch new file mode 100644 index 000000000000..79a5de15629d --- /dev/null +++ b/x11-misc/wbar/files/wbar-2.3.3-desktopfile.patch @@ -0,0 +1,89 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Fri Sep 21 17:08:32 2012 +0200 + + fix desktop file destination and QA issues + +diff --git a/configure.ac b/configure.ac +index 00ad0b6..48fe73d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -83,6 +83,7 @@ AC_DEFINE_UNQUOTED(PIDOF_BIN, "$PIDOF_BIN ", [ program to retreive wbar pid ]) + + AC_CONFIG_FILES([Makefile \ + share/Makefile \ ++share/wbar.desktop.in \ + etc/Makefile \ + etc/wbar.cfg \ + etc/wbar.desktop.in \ +diff --git a/etc/Makefile.am b/etc/Makefile.am +index ec41c76..d78525e 100644 +--- a/etc/Makefile.am ++++ b/etc/Makefile.am +@@ -3,7 +3,7 @@ CLEANFILES = *~ $(wbardesktop:.desktop.in.in=.desktop) + defaultdir = @DEFAULT_CONFIGDIR@ + default_DATA = $(wbarcfg:.cfg.in=.cfg) + +-autostartdir = @DEFAULT_CONFIGDIR@ ++autostartdir = $(sysconfdir)/xdg/autostart + autostart_DATA = $(wbardesktop:.desktop.in.in=.desktop) + + bashcompletiondir = /etc/bash_completion.d +diff --git a/po/POTFILES.in b/po/POTFILES.in +index ddf920c..16ee6dd 100644 +--- a/po/POTFILES.in ++++ b/po/POTFILES.in +@@ -1,3 +1,4 @@ ++share/wbar.desktop.in + share/wbar.glade + src/config/Functions.cc + src/config/Functions.h +diff --git a/po/POTFILES.skip b/po/POTFILES.skip +index 327f139..27a8f48 100644 +--- a/po/POTFILES.skip ++++ b/po/POTFILES.skip +@@ -1,2 +1,3 @@ + etc/wbar.desktop.in.in ++share/wbar.desktop.in.in + +diff --git a/share/Makefile.am b/share/Makefile.am +index 87c736b..66027d4 100644 +--- a/share/Makefile.am ++++ b/share/Makefile.am +@@ -1,8 +1,17 @@ +-CLEANFILES = *~ ++CLEANFILES = *~ $(wbardesktop:.desktop.in.in=.desktop) + + gladedir = @GLADE_PACKAGE_DIR@ + glade_DATA = @PACKAGE@.glade + ++desktopfilesdir = $(prefix)/share/applications ++desktopfiles_DATA = $(wbardesktop:.desktop.in.in=.desktop) ++ ++@INTLTOOL_DESKTOP_RULE@ ++ ++wbardesktop = wbar.desktop.in.in ++ + EXTRA_DIST = \ +-$(glade_DATA) ++$(glade_DATA) \ ++$(wbardesktop) \ ++$(wbardesktop:.desktop.in.in=.desktop.in) + +diff --git a/share/wbar.desktop.in.in b/share/wbar.desktop.in.in +new file mode 100644 +index 0000000..48fc33c +--- /dev/null ++++ b/share/wbar.desktop.in.in +@@ -0,0 +1,12 @@ ++[Desktop Entry] ++_Name=Warlock Bar ++Type=Application ++Exec=@BINDIR@/@PACKAGE_NAME@ ++Terminal=false ++Icon=@PIXMAPDIR@/@PACKAGE_NAME@.png ++_Comment=A light and fast launch bar. ++Categories=Utility; ++X-GNOME-Bugzilla-Bugzilla=GNOME ++X-GNOME-Bugzilla-Product=@PACKAGE_NAME@ ++X-GNOME-Bugzilla-Component=general ++X-Ubuntu-Gettext-Domain=@PACKAGE_NAME@ diff --git a/x11-misc/wbar/files/wbar-2.3.3-nowerror.patch b/x11-misc/wbar/files/wbar-2.3.3-nowerror.patch new file mode 100644 index 000000000000..2cf163bc4642 --- /dev/null +++ b/x11-misc/wbar/files/wbar-2.3.3-nowerror.patch @@ -0,0 +1,14 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sun Aug 26 17:18:37 UTC 2012 +Subject: remove Werror + +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -8,7 +8,6 @@ + -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ + -Wall \ + -Wunused \ +- -Werror \ + -I$(top_srcdir)/src/utils + + if WBAR_CONFIG diff --git a/x11-misc/wbar/files/wbar-2.3.3-test.patch b/x11-misc/wbar/files/wbar-2.3.3-test.patch new file mode 100644 index 000000000000..4468791a4202 --- /dev/null +++ b/x11-misc/wbar/files/wbar-2.3.3-test.patch @@ -0,0 +1,11 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Fri Sep 21 21:50:34 UTC 2012 +Subject: fix test phase + +--- a/po/POTFILES.in ++++ b/po/POTFILES.in +@@ -1,3 +1,4 @@ ++etc/wbar.desktop.in + share/wbar.desktop.in + share/wbar.glade + src/config/Functions.cc diff --git a/x11-misc/wbar/files/wbar-2.3.4-automake-1.13.patch b/x11-misc/wbar/files/wbar-2.3.4-automake-1.13.patch new file mode 100644 index 000000000000..d8f59518ca16 --- /dev/null +++ b/x11-misc/wbar/files/wbar-2.3.4-automake-1.13.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ + AC_INIT([wbar], [2.3.4]) + AM_INIT_AUTOMAKE([ filename-length-max=256 tar-ustar ]) + +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + AC_CONFIG_MACRO_DIR([m4]) + + AC_PROG_CXX diff --git a/x11-misc/wbar/files/wbar-2.3.4-completion.patch b/x11-misc/wbar/files/wbar-2.3.4-completion.patch new file mode 100644 index 000000000000..218d33442a9e --- /dev/null +++ b/x11-misc/wbar/files/wbar-2.3.4-completion.patch @@ -0,0 +1,19 @@ +--- a/etc/wbar ++++ b/etc/wbar +@@ -1,7 +1,6 @@ + # bash completion for wbar + # Yadickson Soto yadickson@gmail.com + +-have wbar && + _wbar() + { + local cur prev split=false +@@ -106,7 +105,7 @@ + -- "$cur") ) + + fi +-} && ++} + complete -F _wbar wbar + + # Local variables: diff --git a/x11-misc/wbar/metadata.xml b/x11-misc/wbar/metadata.xml new file mode 100644 index 000000000000..e36cd4b8fcbb --- /dev/null +++ b/x11-misc/wbar/metadata.xml @@ -0,0 +1,15 @@ +<?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> + <use> + <flag name="gtk">Enables the gtk-based wbar-config GUI</flag> + </use> + <upstream> + <remote-id type="google-code">wbar</remote-id> + <remote-id type="github">rodolf0/wbar</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-misc/wbar/wbar-2.3.4-r2.ebuild b/x11-misc/wbar/wbar-2.3.4-r2.ebuild new file mode 100644 index 000000000000..d5e6928b2a88 --- /dev/null +++ b/x11-misc/wbar/wbar-2.3.4-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools bash-completion-r1 eutils + +DESCRIPTION="A fast, lightweight quick launch bar" +HOMEPAGE="https://github.com/rodolf0/wbar" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="gtk" + +RDEPEND="media-libs/imlib2[X] + x11-libs/libX11 + gtk? ( gnome-base/libglade + media-libs/freetype:2 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 )" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + use gtk || epatch "${FILESDIR}"/${PN}-2.3.3-cfg.patch + + epatch \ + "${FILESDIR}"/${PN}-2.3.3-desktopfile.patch \ + "${FILESDIR}"/${PN}-2.3.3-nowerror.patch \ + "${FILESDIR}"/${PN}-2.3.3-test.patch \ + "${FILESDIR}"/${P}-automake-1.13.patch \ + "${FILESDIR}"/${P}-completion.patch + + sed -i \ + -e "/^bashcompletiondir/s:=.*$:=$(get_bashcompdir):" \ + etc/Makefile.am || die #482358 + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable gtk wbar-config) +} + +pkg_postinst() { + einfo + elog "media-libs/imlib2 needs to be compiled with the appropriate useflags" + elog "depending on your choice of image files (such as png, jpeg...)" + einfo +} |