Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles: package.mask
В Срд, 14/01/2009 в 20:24 -0800, Donnie Berkholz пишет: On 11:05 Mon 12 Jan , AllenJB wrote: In my opinion the cvs commit log and the ChangeLog serve 2 different purposes. The cvs log is for developers while the ChangeLog is for users. While the cvs log will likely just want to explain what change was made, the ChangeLog should explain why it was made. So if you want to know both, you need to look in 2 places? That doesn't seem very nice to me. We do not distribute portage tree trough cvs and rsync does not have ChangeLog's. But even with cvs, cvs log is very slow ... Also in a distributed VCS, we'd want to generate ChangeLogs from the commit logs True. But portage tree is still CVS and until this happened we need document all changes in ChangeLog's. -- Peter.
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-misc/anki: anki-0.9.9.5.ebuild metadata.xml ChangeLog
В Чтв, 15/01/2009 в 09:12 +0100, Christian Faulhammer пишет: Heath Caldwell (hncaldwell) hncaldw...@gentoo.org: + flag name=latex + Enable support for LaTeX + /flag You only have to add flags to metadata.xml, that are not in use.desc... I asked on IRC some time ago and I was told that it's good idea to document global USE flags in metadata.xml in case description does not amend global USE flag description but specializes it. and USE=latex is there with a similar description as yours. In this case it's just redundant. -- Peter.
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-misc/anki: anki-0.9.9.5.ebuild metadata.xml ChangeLog
On Thu, 15 Jan 2009 14:38:26 +0100 Maciej Mrozowski reave...@poczta.fm wrote: That being said, I would rather suggest adding always *precise* and *non- general* USE flags descriptions even for global USE flags (actually especially for them) as I usually found it pretty much necessary to look up ebuilds to get to know what does particular USE flag actually do, and I guess this should be avoided at all cost, especially when it does not cost a penny as maintainer actually already knows what's all about with those USE flags for particular package. That'd definitely be annoying when doing euse -i some flag and getting over 9000 hits, so let's remove the always -- Christoph Mende Gentoo/AMD64 Operational Lead and Release Engineering GPG: EE2A 454A 6A3B A2D8 E43B FF45 2A19 C3B3 6DA0 C1AF signature.asc Description: PGP signature
[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-misc/anki: anki-0.9.9.5.ebuild metadata.xml ChangeLog
On 2009-01-15 09:12, Christian Faulhammer wrote: Hi, Heath Caldwell (hncaldwell) hncaldw...@gentoo.org: + flag name=latex + Enable support for LaTeX + /flag You only have to add flags to metadata.xml, that are not in use.desc...and USE=latex is there with a similar description as yours. Fixed, thanks. -- Heath Caldwell - hncaldw...@gentoo.org pgp9fkZ68W1D0.pgp Description: PGP signature
[gentoo-dev] New eclass: go-mono.eclass
Below is a copy of the eclass I intend to use for all apps from go-mono.com (AKA mono-project.com). Pretty standard fare. The affected ebuilds are: www-apache/mod_mono dev-dotnet/xsp dev-dotnet/libgdiplus dev-dotnet/gluezilla dev-lang/mono dev-lang/mono-basic dev-util/mono-debugger dev-util/mono-tools I'll be committing it tomorrow together with version 2.2 of the mono stack unless anybody has a good reason not to. -- /PA # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/mono.eclass,v 1.9 2008/12/13 13:59:02 loki_val Exp $ # @ECLASS: go-mono.eclass # @MAINTAINER: # dot...@gentoo.org # @BLURB: Common functionality for go-mono.org apps # @DESCRIPTION: # Common functionality needed by all go-mono.org apps. inherit base versionator mono NO_MONO_DEPEND=( dev-lang/mono dev-dotnet/libgdiplus dev-dotnet/gluezilla ) GO_MONO_REL_PV=$(get_version_component_range 1-2) if ! has ${CATEGORY}/${PN} ${no_mono_depe...@]} then RDEPEND==dev-lang/mono-${GO_MONO_REL_PV}* DEPEND=${RDEPEND} fi # @ECLASS-VARIABLE: PRE_URI # @DESCRIPTION: If installing a preview, set this variable to the base # path on ximians's servers from which to install. DEPEND=${DEPEND} =dev-util/pkgconfig-0.23 if [[ ${GO_MONO_REL_PV} = 2.2 ]] then PRE_URI=http://mono.ximian.com/monobuild/preview/sources; fi if [[ ${PV%_rc*} != ${PV} ]] then GO_MONO_P=${P%_rc*} SRC_URI=${PRE_URI}/${PN}/${GO_MONO_P} - ${P}.tar.bz2 S=${WORKDIR}/${GO_MONO_P} elif [[ ${PV%_pre*} != ${PV} ]] then GO_MONO_P=${P%_pre*} SRC_URI=${PRE_URI}/${PN}/${GO_MONO_P} - ${P}.tar.bz2 S=${WORKDIR}/${GO_MONO_P} else GO_MONO_P=${P} SRC_URI=http://ftp.novell.com/pub/mono/sources/${PN}/${P}.tar.bz2; fi # @FUNCTION: go-mono_src_unpack # @DESCRIPTION: Runs default() go-mono_src_unpack() { default } # @FUNCTION: go-mono_src_prepare # @DESCRIPTION: Runs autopatch from base.eclass, if PATCHES is set. go-mono_src_prepare() { base_src_util autopatch } # @FUNCTION: go-mono_src_configure # @DESCRIPTION: Runs econf, disabling static libraries and dependency-tracking. go-mono_src_configure() { econf --disable-dependency-tracking \ --disable-static\ $@ } # @FUNCTION: go-mono_src_configure # @DESCRIPTION: Runs default() go-mono_src_compile() { default } # @ECLASS-VARIABLE: DOCS # @DESCRIPTION: Insert path of docs you want installed. If more than one, # consider using an array. # @FUNCTION: go-mono_src_install # @DESCRIPTION: Rune emake, installs common doc files, if DOCS is # set, installs those. Gets rid of .la files. go-mono_src_install () { emake -j1 DESTDIR=${D} install || die install failed mono_multilib_comply local COMMONDOC=( AUTHORS ChangeLog README TODO ) for docfile in ${commond...@]} do [[ -e ${docfile} ]] dodoc ${docfile} done if [[ ${do...@]} ]] then dodoc ${do...@]} || die dodoc DOCS failed fi find ${D} -name '*.la' -exec rm -rf '{}' '+' || die la removal failed } EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install