Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189644 - wmvolman (new ebuild)
Summary: wmvolman (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-08-20 21:34 UTC by cazzantonio
Modified: 2008-01-17 08:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wmvolman-0.7.ebuild (wmvolman-0.7.ebuild,1.07 KB, text/plain)
2007-08-20 21:35 UTC, cazzantonio
Details
wmvolman-0.7.ebuild (wmvolman-0.7.ebuild,1.07 KB, text/plain)
2007-08-21 08:12 UTC, cazzantonio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cazzantonio 2007-08-20 21:34:49 UTC
Wmvolman is a dockapp for windowmaker that acts like a volume-manager (just like gnome-volume-manager, ivman and the like).
It is extremely useful so I hope it will go into portage soon :-).

I'll post an ebuild

Reproducible: Always
Comment 1 cazzantonio 2007-08-20 21:35:20 UTC
Created attachment 128719 [details]
wmvolman-0.7.ebuild
Comment 2 Fabian Groffen gentoo-dev 2007-08-21 06:25:35 UTC
Hi, thanks for your report.  A few comments on your ebuild:

src_compile() {
        econf || die "Configuration failed"
	emake CFLAGS="${CFLAGS}" || die "Compilation failed"

Is this really necessary to set CFLAGS here?  Doesn't configure pick them up?

}

src_install () {
        einstall || die "make install failed"

Don't use einstall, use emake DESTDIR="${D}" install instead.  Or do you have a reason to use einstall here?

	dodoc README
}
Comment 3 cazzantonio 2007-08-21 08:12:01 UTC
Created attachment 128744 [details]
wmvolman-0.7.ebuild

Sorry but I'm not that expert in writing ebuilds... Thanks for your corrections and here is the fixed ebuild.
Comment 4 cazzantonio 2007-08-21 08:17:48 UTC
Comment on attachment 128744 [details]
wmvolman-0.7.ebuild

><HTML><HEAD/><BODY><PRE># Copyright 1999-2007 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
>
>inherit eutils
>
>DESCRIPTION="A volume manager dockapp for windowmaker"
>HOMEPAGE="http://people.altlinux.ru/~raorn/wmvolman.html"
>SRC_URI="http://people.altlinux.ru/~raorn/${P}.tar.bz2 http://dockapps.org/download.php/id/690/wmvolman-0.7.tar.bz2"
>SLOT="0"
>LICENSE="GPL-2"
>KEYWORDS="x86 amd64"
>
>DEPEND="&gt;=sys-apps/hal-0.5.0
>        dev-libs/dbus-glib
>        &gt;=x11-libs/libdockapp-0.6.0
>        dev-util/pkgconfig
>        sys-apps/pmount"
>
>IUSE=""
>
>src_compile() {
>        econf || die "Configuration failed"
>	emake || die "Compilation failed"
>}
>
>src_install () {
>        emake DESTDIR="${D}" install || die "make install failed"
>	dodoc README
>}
>
>pkg_postinst() {
>        echo
>        einfo "Properties are set from 30-wmvolman.fdi file which is installed"
>        einfo "by default to /etc/hal/fdi/policy/ and used by HAL."
>        einfo "You can add you own rules that adds or removes 'wmvolman.*'"
>        einfo "properties.  Refer to HAL documentation for more info."
>        echo
>        einfo "You must start DBUS and HAL to use this dockapp." 
>}
></PRE></BODY></HTML>
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2008-01-17 08:01:27 UTC
Version 0.9 is now in Portage, thanks for the ebuild and reporting..