summaryrefslogtreecommitdiff
path: root/app-misc/digitemp
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /app-misc/digitemp
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'app-misc/digitemp')
-rw-r--r--app-misc/digitemp/Manifest1
-rw-r--r--app-misc/digitemp/digitemp-3.7.2-r1.ebuild85
-rw-r--r--app-misc/digitemp/files/digitemp-3.7.2-conflict-types.patch35
-rw-r--r--app-misc/digitemp/metadata.xml22
4 files changed, 0 insertions, 143 deletions
diff --git a/app-misc/digitemp/Manifest b/app-misc/digitemp/Manifest
deleted file mode 100644
index dd2dbeda2fb8..000000000000
--- a/app-misc/digitemp/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST digitemp-3.7.2.tar.gz 146166 BLAKE2B 9718e5d8a135e99cfd8893f5f4d2cc40a0bcdffa4e01c4ef460d654b38d9808c75ea1efced6211672033a67be8ba7f30f34320ef8e64d47d8a88be8bbac8c997 SHA512 807934ecc743df5ee69e9a8a0f5e90e469f03e577cc80b4510e6ac4ecc61ff9c79e05642602a4f50b4acda7e1f53e33016e6c201898ab0b44c76f3f7ac028820
diff --git a/app-misc/digitemp/digitemp-3.7.2-r1.ebuild b/app-misc/digitemp/digitemp-3.7.2-r1.ebuild
deleted file mode 100644
index 53eb7892f2dc..000000000000
--- a/app-misc/digitemp/digitemp-3.7.2-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Temperature logging and reporting using Maxim's iButtons and 1-Wire protocol"
-HOMEPAGE="https://www.digitemp.com/ https://www.ibutton.com/"
-SRC_URI="https://github.com/bcl/digitemp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="ds9097 ds9097u ds2490"
-
-DEPEND="ds2490? ( virtual/libusb:0 )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${P}-conflict-types.patch"
-)
-
-targets() {
- # default is to compile to the ds9097u.
- if ! ( use ds9097 || use ds9097u || use ds2490 ); then
- echo ds9097u
- fi
-
- local target
- for target in ds9097 ds9097u ds2490; do
- if use ${target}; then
- echo ${target}
- fi
- done
-}
-
-src_prepare() {
- default
-
- sed -i \
- -e "/^CFLAGS/s|-O2|${CFLAGS}|" \
- Makefile || die
-
- # default is to compile to the ds9097u.
- if ! ( use ds9097 || use ds9097u || use ds2490 ); then
- ewarn "If you don't choose a component to install, we default to ds9097u"
- fi
-}
-
-src_compile() {
- local targets=$(targets)
-
- local target
- for target in ${targets}; do
- emake clean
- emake CC="$(tc-getCC)" LOCK="no" ${target}
- done
-}
-
-src_install() {
- local target
- for target in $(echo $(targets) | tr '[:lower:]' '[:upper:]'); do
- dobin digitemp_${target} && \
- dosym digitemp_${target} /usr/bin/digitemp
- done
-
- if [[ $(targets|wc -l) -ge 1 ]]; then
- ewarn "/usr/bin/digitemp has been symlinked to /usr/bin/digitemp_${target}"
- ewarn "If you want to access the others, they are available at /usr/bin/digitemp_*"
- fi
-
- dodoc README FAQ TODO
-
- local example
- for example in perl python rrdb; do
- docinto ${example}_examples
- dodoc -r ${example}/*
- done
-}
-
-pkg_postinst() {
- elog "Examples of using digitemp with python, perl, and rrdtool are"
- elog "located in /usr/share/doc/${PF}/"
-}
diff --git a/app-misc/digitemp/files/digitemp-3.7.2-conflict-types.patch b/app-misc/digitemp/files/digitemp-3.7.2-conflict-types.patch
deleted file mode 100644
index 34f7ef667e01..000000000000
--- a/app-misc/digitemp/files/digitemp-3.7.2-conflict-types.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-https://bugs.gentoo.org/943788
-https://github.com/bcl/digitemp/commit/fa56b0f78d12f97ac44e0a367d413a9e88611d1c
-
-From fa56b0f78d12f97ac44e0a367d413a9e88611d1c Mon Sep 17 00:00:00 2001
-From: Robert Scheck <robert-scheck@users.noreply.github.com>
-Date: Thu, 16 Jan 2025 21:24:41 +0100
-Subject: [PATCH] Fix conflicting prototype
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-src/digitemp.c:171:6: error: conflicting types for ‘free_coupler’; have ‘void(int)’
- 171 | void free_coupler( int free_only )
- | ^~~~~~~~~~~~
-In file included from src/digitemp.c:78:
-src/digitemp.h:90:6: note: previous declaration of ‘free_coupler’ with type ‘void(void)’
- 90 | void free_coupler();
- | ^~~~~~~~~~~~
----
- src/digitemp.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/digitemp.h b/src/digitemp.h
-index 06d50e9..e81a7be 100644
---- a/src/digitemp.h
-+++ b/src/digitemp.h
-@@ -87,7 +87,7 @@ struct _coupler {
-
- /* Prototypes */
- void usage();
--void free_coupler();
-+void free_coupler( int free_only );
- float c2f( float temp );
- int build_tf( char *time_format, char *format, int sensor,
- float temp_c, int humidity, unsigned char *sn );
diff --git a/app-misc/digitemp/metadata.xml b/app-misc/digitemp/metadata.xml
deleted file mode 100644
index 759d68a9852e..000000000000
--- a/app-misc/digitemp/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
-DigiTemp is a simple to use program for reading values from 1-wire devices. Its
-main use is for reading temperature sensors, but it also reads counters, and
-understands the 1-wire hubs with devices on different branches of the network.
-DigiTemp now supports the following 1-wire temperature sensors: DS18S20 (and
-DS1820), DS18B20, DS1822, the DS2438 Smart Battery Monitor, DS2422 and DS2423
-Counters, DS2409 MicroLAN Coupler (used in 1-wire hubs), and the AAG TAI-8540
-humidity sensor.
- </longdescription>
- <use>
- <flag name="ds2490">Build support for the ds2490 sensor</flag>
- <flag name="ds9097">Build support for the ds9097 sensor</flag>
- <flag name="ds9097u">Build support for the ds9097u sensor</flag>
- </use>
- <upstream>
- <remote-id type="github">bcl/digitemp</remote-id>
- </upstream>
-</pkgmetadata>