dev-libs/log4cxx - 1.8.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/log4cxx-1.8.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/log4cxx-1.8.0

Or alternatively:

emerge --autounmask-write -a =dev-libs/log4cxx-1.8.0

Package Information

Description:
Library of C++ classes for logging to files, syslog and other destinations
Homepage:
https://logging.apache.org/log4cxx/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.8.0 8 ~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 0/15.8
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake verify-sig

MY_P=apache-${P}
DESCRIPTION="Library of C++ classes for logging to files, syslog and other destinations"
HOMEPAGE="https://logging.apache.org/log4cxx/"
SRC_URI="mirror://apache/logging/${PN}/${PV}/${MY_P}.tar.gz
	verify-sig? ( mirror://apache/logging/${PN}/${PV}/${MY_P}.tar.gz.asc )"
S="${WORKDIR}/${MY_P}"

LICENSE="Apache-2.0"
SLOT="0/15.8"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
IUSE="odbc smtp test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-libs/apr:1=
	dev-libs/apr-util:1=
	dev-libs/libfmt:=
	odbc? ( dev-db/unixODBC )
	smtp? ( net-libs/libesmtp )
"
DEPEND="${RDEPEND}"
BDEPEND="
	app-arch/zip
	test? (
		app-alternatives/gzip
		app-arch/zip
	)
	verify-sig? ( >=sec-keys/openpgp-keys-apache-logging-20251104 )
"

VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/logging.apache.org.asc"

src_configure() {
	local mycmakeargs=(
		-DENABLE_FMT_LAYOUT=ON
		-DLOG4CXX_QT_SUPPORT=OFF
		-DLOG4CXX_ENABLE_ODBC=$(usex odbc ON OFF)
		-DLOG4CXX_ENABLE_ESMTP=$(usex smtp ON OFF)
	)

	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/log4cxx | euse -E <flag> -p dev-libs/log4cxx | euse -D <flag> -p dev-libs/log4cxx

Global/Standard Flags

Inherited Eclasses

Applicable Mirrors

Mirror Name URLs
apache

Dependencies

DEPEND

	dev-libs/apr:1=
	dev-libs/apr-util:1=
	dev-libs/libfmt:=
	odbc? ( dev-db/unixODBC )
	smtp? ( net-libs/libesmtp )

RDEPEND

	dev-libs/apr:1=
	dev-libs/apr-util:1=
	dev-libs/libfmt:=
	odbc? ( dev-db/unixODBC )
	smtp? ( net-libs/libesmtp )

BDEPEND

	app-arch/zip
	test? (
		app-alternatives/gzip
		app-arch/zip
	)
	verify-sig? ( >=sec-keys/openpgp-keys-apache-logging-20251104 )

Manifest for 1.8.0

Type File Size Source URLs
DIST apache-log4cxx-1.8.0.tar.gz 934518 bytes mirror://apache/logging/log4cxx/1.8.0/apache-log4cxx-1.8.0.tar.gz
DIST apache-log4cxx-1.8.0.tar.gz.asc 833 bytes mirror://apache/logging/log4cxx/1.8.0/apache-log4cxx-1.8.0.tar.gz.asc