From d3ae3ea75073c53ed5f3a4418e76383436bb0f58 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 20 Jul 2024 12:29:37 +0100 Subject: gentoo auto-resync : 20:07:2024 - 12:29:37 --- app-misc/Manifest.gz | Bin 50731 -> 50733 bytes app-misc/lcd4linux/Manifest | 4 +- .../lcd4linux-0.11.0_pre20170527-r8.ebuild | 203 --------------------- .../lcd4linux-0.11.0_pre20170527-r9.ebuild | 201 ++++++++++++++++++++ app-misc/lcd4linux/metadata.xml | 1 - 5 files changed, 203 insertions(+), 206 deletions(-) delete mode 100644 app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r8.ebuild create mode 100644 app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r9.ebuild (limited to 'app-misc') diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz index 1b80f3056635..343b54ddfa2a 100644 Binary files a/app-misc/Manifest.gz and b/app-misc/Manifest.gz differ diff --git a/app-misc/lcd4linux/Manifest b/app-misc/lcd4linux/Manifest index 64aa82db1362..4e3aca0bb46d 100644 --- a/app-misc/lcd4linux/Manifest +++ b/app-misc/lcd4linux/Manifest @@ -3,5 +3,5 @@ AUX lcd4linux-0.11.0_pre20170527-libtool.patch 1137 BLAKE2B 4247f176b8146ddedea3 AUX lcd4linux-0.11.0_pre20170527-python3.patch 1437 BLAKE2B b6b3e3267761d4b8df64687137451bba8cb564e9de2c5e1891061d0adf7927aeb1834ef40d46594569f3fa04141083ef43957efa54dbbac7a83a1ffa742e1f76 SHA512 ea4ddb89702d37200e0118df019d3971dd85f977ffeb1f50b3b54d48536efa91e9f0747bd235a68b0b0a33f7a7a3be76b4a29e852431a17887b370200e2cfe62 AUX lcd4linux-r2.initd 746 BLAKE2B a4e7ce0f6780fab205777c13c1e0dbe6d7d6a8b40c45995d248fd1553f4e967b59fba9e6a4c56a777e013693b743c7939b382dbe9bb1c3d856ca9ec23e1661be SHA512 8cc10e236dcf045f6da955fcbdfd1ecedf24cbe8a31dbb39c7b8830007de790e38b6af31549fa552cb35e63ed4ef75738b4b40f672ce05c72d28ec95c2580142 DIST lcd4linux-0.11.0_pre20170527.tar.bz2 478823 BLAKE2B 7b332e7262781dd0dc954a0576890dda78ecbeab9dc003d1d5b84a643ad522d57e32a04a2aa6fbe13b18e4699d07d88412e19c81739fafdf98ba327b151061a9 SHA512 c131b9cb04bb0ff4dc46c1e3ab8f5dcda309bbef89bcb670508f9afe7c515d6ccfe79a03782be4f4b2ba4aaf977cd13c0059805e5b7230216e39ee3421b0f143 -EBUILD lcd4linux-0.11.0_pre20170527-r8.ebuild 6125 BLAKE2B c0addae13293dec599c6e54fa8b61583fa75df875944c1922f54a3e3757b00700bb1d5431882490288ec4d5c1cbda81bb78c521cb4265031841b5693f8d5a068 SHA512 2e90df99bd4ae0aa4bb47bd71f64a27fdc14d97acedbb40233f3e0b88ff53740ce86f0391ed018718fbdf6e67a9d6806d2cd4f71afdc8c43c96bd9c6ec136d6e -MISC metadata.xml 3532 BLAKE2B 6a452dd30d609881b8c0934c065e06fe0aad52b37b39b4412075606e7cd4e0dd9234959be89f344e562092abb16c237a566b6f3f8a9f79fa07af64e1eb50c84a SHA512 8f8f521f99b834b8a1752c1fb8c7dd6183070b4f3f7da6852c1f8fac9d0bc3273221dfa0ce48e61f79dd6951b29a7f9257a47679bc12ae99bbfbd183d7fe34b0 +EBUILD lcd4linux-0.11.0_pre20170527-r9.ebuild 6064 BLAKE2B 4ebdb8731701619df4504f7623221145b5b7ee19eaf685be740ab5a97af36c316374b8f29b354cbdd519c3a3ab40809d095d0b3805804f7f6cf9c14990df0e7c SHA512 6e017975da14b6c2323fbebabf0090b39ebfe822326d7a6cd7701e5eb5160cc93aa74e6cec02616fef0533cffb859cad7fadc9f2152919cedf61945c42af3780 +MISC metadata.xml 3472 BLAKE2B cdb1b40602282164870c5acb7a1a24ba218e2cadf3c52e3a0f08c6953bcf248c171c6704407443d9338dfc18d90e7ccc413b0cb12eb95eef997201e0c137b04e SHA512 091decbac4e538b457bd6e80810d917bfca7770ab252d9297e2b766e85eada4f4aeb7fac3c62ea097e5abb95ed772d9d8f1234aa5c766e491f16fbd9e35572a3 diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r8.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r8.ebuild deleted file mode 100644 index 694ca75a9750..000000000000 --- a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r8.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit autotools flag-o-matic python-single-r1 - -DESCRIPTION="A small program that grabs information and displays it on an external LCD" -HOMEPAGE="https://github.com/jmccrohan/lcd4linux/" -SRC_URI="https://dev.gentoo.org/~conikost/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="dmalloc outb" -REQUIRED_USE=" - ?? ( lcd_devices_hd44780 lcd_devices_hd44780-i2c ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -# Define the list of valid lcd devices. -# Some drivers were removed from this list: -# - lcdlinux: It's an ancient driver, which needs app-misc/lcd-linux, that made it never to the portage tree. -# - lcdlinux: Besides, app-misc/lcd-linux won't compile on a modern linux kernel. -# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated. -IUSE_LCD_DEVICES=( - ASTUSB BeckmannEgle BWCT CrystalFontz Curses Cwlinux D4D DPF EA232graphic EFN FutabaVFD - FW8888 G15 GLCD2USB HD44780 HD44780-I2C IRLCD LCD2USB LCDTerm LEDMatrix LPH7508 LUIse LW_ABP M50530 - MatrixOrbital MatrixOrbitalGX MilfordInstruments MDM166A Newhaven Noritake NULL Pertelian PHAnderson - PICGraphic picoLCD picoLCDGraphic PNG PPM RouterBoard Sample SamsungSPF serdisplib ShuttleVFD - SimpleLCD T6963 TeakLCM Trefon ULA200 USBHUB USBLCD VNC WincorNixdorf X11 -) - -# Define the list of valid lcd4linux plugins. -# Some plugins were removed from this list: -# - imon: Uses telmond, which is only available on a fli4l router or an eisfair server. -# - ppp: It has been replaced by the netdev plugin. -# - seti: SETI@home software was replaced by sci-misc/boinc, which is not compatible. -# - xmms: XMMS software was replaced by media-sound/xmms2, which is not compatible. -IUSE_LCD4LINUX_PLUGINS=( - apm asterisk button-exec cpuinfo dbus diskstats dvb exec event - fifo file gps hddtemp huawei i2c-sensors iconv isdn kvv - loadavg meminfo mpd mpris-dbus mysql netdev netinfo pop3 - proc-stat python qnaplog raspi sample statfs uname uptime - w1retap wireless -) - -# Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE' -REQUIRED_USE+=" || ( " -for LCD_DEVICE in "${IUSE_LCD_DEVICES[@]}"; do - LCD_DEVICE=${LCD_DEVICE,,} - IUSE+=" lcd_devices_${LCD_DEVICE} " - REQUIRED_USE+=" lcd_devices_${LCD_DEVICE} " -done -REQUIRED_USE+=" ) " -unset LCD_DEVICE - -# Add supported plugins from 'IUSE_LCD4LINUX_PLUGINS' to 'IUSE' and 'REQUIRED_USE' -IUSE+=" ${IUSE_LCD4LINUX_PLUGINS[*]} " -REQUIRED_USE+=" || ( ${IUSE_LCD4LINUX_PLUGINS[*]} ) " - -# Define dependencies for all drivers in 'IUSE_LCD_DEVICES' -DEPEND_LCD_DEVICES=" - lcd_devices_astusb? ( virtual/libusb:0= ) - lcd_devices_bwct? ( virtual/libusb:0= ) - lcd_devices_curses? ( sys-libs/ncurses:0= ) - lcd_devices_dpf? ( virtual/libusb:0= ) - lcd_devices_g15? ( virtual/libusb:0= ) - lcd_devices_glcd2usb? ( virtual/libusb:0= ) - lcd_devices_irlcd? ( virtual/libusb:0= ) - lcd_devices_lcd2usb? ( virtual/libusb:0= ) - lcd_devices_ledmatrix? ( virtual/libusb:0= ) - lcd_devices_luise? ( - dev-libs/luise - virtual/libusb:0= - ) - lcd_devices_matrixorbitalgx? ( virtual/libusb:0= ) - lcd_devices_mdm166a? ( virtual/libusb:0= ) - lcd_devices_picolcd? ( virtual/libusb:0= ) - lcd_devices_picolcdgraphic? ( virtual/libusb:0= ) - lcd_devices_png? ( - media-libs/gd[png] - media-libs/libpng:0= - ) - lcd_devices_ppm? ( media-libs/gd ) - lcd_devices_samsungspf? ( virtual/libusb:0= ) - lcd_devices_serdisplib? ( dev-libs/serdisplib ) - lcd_devices_shuttlevfd? ( virtual/libusb:0= ) - lcd_devices_trefon? ( virtual/libusb:0= ) - lcd_devices_ula200? ( - dev-embedded/libftdi:1= - virtual/libusb:0= - ) - lcd_devices_usbhub? ( virtual/libusb:0= ) - lcd_devices_usblcd? ( virtual/libusb:0= ) - lcd_devices_vnc? ( net-libs/libvncserver ) - lcd_devices_x11? ( x11-libs/libX11 ) -" - -# Define dependencies for all plugins in 'IUSE_LCD4LINUX_PLUGINS' -DEPEND_LCD4LINUX_PLUGINS=" - asterisk? ( net-misc/asterisk ) - dbus? ( sys-apps/dbus ) - gps? ( dev-libs/nmeap ) - hddtemp? ( app-admin/hddtemp ) - iconv? ( virtual/libiconv ) - mpd? ( media-libs/libmpd ) - mpris-dbus? ( sys-apps/dbus ) - mysql? ( dev-db/mysql-connector-c:0= ) - python? ( ${PYTHON_DEPS} ) - wireless? ( - || ( - net-wireless/iw - net-wireless/wireless-tools - ) - ) -" - -RDEPEND=" - dmalloc? ( dev-libs/dmalloc ) - ${DEPEND_LCD_DEVICES} - ${DEPEND_LCD4LINUX_PLUGINS} -" - -DEPEND="${RDEPEND}" - -BDEPEND="dev-build/autoconf-archive" - -PATCHES=( - "${FILESDIR}/${P}-libtool.patch" # 783492 - "${FILESDIR}/${P}-python3.patch" - "${FILESDIR}/${P}-clang16-build-fix.patch" -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - if use python; then - # Shipped one is outdated and doesn't know python3, use system's instead. - rm ax_python_devel.m4 - - # Use correct python version. - # (See: bug #793869) - append-libs $(python_get_LIBS) - fi - - eautoreconf -} - -src_configure() { - # Enable all users enabled lcd devices - local myeconfargs_lcd_devices - for lcd_device in "${IUSE_LCD_DEVICES[@]}"; do - if use "lcd_devices_${lcd_device,,}"; then - myeconfargs_lcd_devices+=",${lcd_device}" - fi - done - - # Enable all users enabled lcd4linux plugins - local myeconfargs_lcd4linux_plugins - for lcd4linux_plugin in "${IUSE_LCD4LINUX_PLUGINS[@]}"; do - if use "${lcd4linux_plugin}"; then - myeconfargs_lcd4linux_plugins+=",${lcd4linux_plugin/-/_}" - fi - done - - local myeconfargs=( - --disable-rpath - $(use_with dmalloc) - $(use_with outb) - $(use_with python) - $(use_with lcd_devices_x11 x) - --with-drivers="${myeconfargs_lcd_devices#,}" - --with-plugins="${myeconfargs_lcd4linux_plugins#,}" - --x-include="/usr/include" - --x-libraries="/usr/$(get_libdir)" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # Install sample config, and must have 600, as lcd4linux checks this. - insinto /etc/lcd4linux - insopts -m 0600 - doins lcd4linux.conf.sample - - newinitd "${FILESDIR}/lcd4linux-r2.initd" lcd4linux -} - -pkg_postinst() { - if [[ ! -z ${REPLACING_VERSIONS} ]]; then - use python && einfo "Starting with this version, the python plugins now uses python3 instead of python2!" - fi -} diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r9.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r9.ebuild new file mode 100644 index 000000000000..f4a6bc4dd5d0 --- /dev/null +++ b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r9.ebuild @@ -0,0 +1,201 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit autotools flag-o-matic python-single-r1 + +DESCRIPTION="A small program that grabs information and displays it on an external LCD" +HOMEPAGE="https://github.com/jmccrohan/lcd4linux/" +SRC_URI="https://dev.gentoo.org/~conikost/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="outb" +REQUIRED_USE=" + ?? ( lcd_devices_hd44780 lcd_devices_hd44780-i2c ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +# Define the list of valid lcd devices. +# Some drivers were removed from this list: +# - lcdlinux: It's an ancient driver, which needs app-misc/lcd-linux, that made it never to the portage tree. +# - lcdlinux: Besides, app-misc/lcd-linux won't compile on a modern linux kernel. +# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated. +IUSE_LCD_DEVICES=( + ASTUSB BeckmannEgle BWCT CrystalFontz Curses Cwlinux D4D DPF EA232graphic EFN FutabaVFD + FW8888 G15 GLCD2USB HD44780 HD44780-I2C IRLCD LCD2USB LCDTerm LEDMatrix LPH7508 LUIse LW_ABP M50530 + MatrixOrbital MatrixOrbitalGX MilfordInstruments MDM166A Newhaven Noritake NULL Pertelian PHAnderson + PICGraphic picoLCD picoLCDGraphic PNG PPM RouterBoard Sample SamsungSPF serdisplib ShuttleVFD + SimpleLCD T6963 TeakLCM Trefon ULA200 USBHUB USBLCD VNC WincorNixdorf X11 +) + +# Define the list of valid lcd4linux plugins. +# Some plugins were removed from this list: +# - imon: Uses telmond, which is only available on a fli4l router or an eisfair server. +# - ppp: It has been replaced by the netdev plugin. +# - seti: SETI@home software was replaced by sci-misc/boinc, which is not compatible. +# - xmms: XMMS software was replaced by media-sound/xmms2, which is not compatible. +IUSE_LCD4LINUX_PLUGINS=( + apm asterisk button-exec cpuinfo dbus diskstats dvb exec event + fifo file gps hddtemp huawei i2c-sensors iconv isdn kvv + loadavg meminfo mpd mpris-dbus mysql netdev netinfo pop3 + proc-stat python qnaplog raspi sample statfs uname uptime + w1retap wireless +) + +# Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE' +REQUIRED_USE+=" || ( " +for LCD_DEVICE in "${IUSE_LCD_DEVICES[@]}"; do + LCD_DEVICE=${LCD_DEVICE,,} + IUSE+=" lcd_devices_${LCD_DEVICE} " + REQUIRED_USE+=" lcd_devices_${LCD_DEVICE} " +done +REQUIRED_USE+=" ) " +unset LCD_DEVICE + +# Add supported plugins from 'IUSE_LCD4LINUX_PLUGINS' to 'IUSE' and 'REQUIRED_USE' +IUSE+=" ${IUSE_LCD4LINUX_PLUGINS[*]} " +REQUIRED_USE+=" || ( ${IUSE_LCD4LINUX_PLUGINS[*]} ) " + +# Define dependencies for all drivers in 'IUSE_LCD_DEVICES' +DEPEND_LCD_DEVICES=" + lcd_devices_astusb? ( virtual/libusb:0= ) + lcd_devices_bwct? ( virtual/libusb:0= ) + lcd_devices_curses? ( sys-libs/ncurses:0= ) + lcd_devices_dpf? ( virtual/libusb:0= ) + lcd_devices_g15? ( virtual/libusb:0= ) + lcd_devices_glcd2usb? ( virtual/libusb:0= ) + lcd_devices_irlcd? ( virtual/libusb:0= ) + lcd_devices_lcd2usb? ( virtual/libusb:0= ) + lcd_devices_ledmatrix? ( virtual/libusb:0= ) + lcd_devices_luise? ( + dev-libs/luise + virtual/libusb:0= + ) + lcd_devices_matrixorbitalgx? ( virtual/libusb:0= ) + lcd_devices_mdm166a? ( virtual/libusb:0= ) + lcd_devices_picolcd? ( virtual/libusb:0= ) + lcd_devices_picolcdgraphic? ( virtual/libusb:0= ) + lcd_devices_png? ( + media-libs/gd[png] + media-libs/libpng:0= + ) + lcd_devices_ppm? ( media-libs/gd ) + lcd_devices_samsungspf? ( virtual/libusb:0= ) + lcd_devices_serdisplib? ( dev-libs/serdisplib ) + lcd_devices_shuttlevfd? ( virtual/libusb:0= ) + lcd_devices_trefon? ( virtual/libusb:0= ) + lcd_devices_ula200? ( + dev-embedded/libftdi:1= + virtual/libusb:0= + ) + lcd_devices_usbhub? ( virtual/libusb:0= ) + lcd_devices_usblcd? ( virtual/libusb:0= ) + lcd_devices_vnc? ( net-libs/libvncserver ) + lcd_devices_x11? ( x11-libs/libX11 ) +" + +# Define dependencies for all plugins in 'IUSE_LCD4LINUX_PLUGINS' +DEPEND_LCD4LINUX_PLUGINS=" + asterisk? ( net-misc/asterisk ) + dbus? ( sys-apps/dbus ) + gps? ( dev-libs/nmeap ) + hddtemp? ( app-admin/hddtemp ) + iconv? ( virtual/libiconv ) + mpd? ( media-libs/libmpd ) + mpris-dbus? ( sys-apps/dbus ) + mysql? ( dev-db/mysql-connector-c:0= ) + python? ( ${PYTHON_DEPS} ) + wireless? ( + || ( + net-wireless/iw + net-wireless/wireless-tools + ) + ) +" + +RDEPEND=" + ${DEPEND_LCD_DEVICES} + ${DEPEND_LCD4LINUX_PLUGINS} +" + +DEPEND="${RDEPEND}" + +BDEPEND="dev-build/autoconf-archive" + +PATCHES=( + "${FILESDIR}/${P}-libtool.patch" # 783492 + "${FILESDIR}/${P}-python3.patch" + "${FILESDIR}/${P}-clang16-build-fix.patch" +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + if use python; then + # Shipped one is outdated and doesn't know python3, use system's instead. + rm ax_python_devel.m4 + + # Use correct python version. + # (See: bug #793869) + append-libs $(python_get_LIBS) + fi + + eautoreconf +} + +src_configure() { + # Enable all users enabled lcd devices + local myeconfargs_lcd_devices + for lcd_device in "${IUSE_LCD_DEVICES[@]}"; do + if use "lcd_devices_${lcd_device,,}"; then + myeconfargs_lcd_devices+=",${lcd_device}" + fi + done + + # Enable all users enabled lcd4linux plugins + local myeconfargs_lcd4linux_plugins + for lcd4linux_plugin in "${IUSE_LCD4LINUX_PLUGINS[@]}"; do + if use "${lcd4linux_plugin}"; then + myeconfargs_lcd4linux_plugins+=",${lcd4linux_plugin/-/_}" + fi + done + + local myeconfargs=( + --disable-rpath + $(use_with outb) + $(use_with python) + $(use_with lcd_devices_x11 x) + --with-drivers="${myeconfargs_lcd_devices#,}" + --with-plugins="${myeconfargs_lcd4linux_plugins#,}" + --x-include="/usr/include" + --x-libraries="/usr/$(get_libdir)" + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # Install sample config, and must have 600, as lcd4linux checks this. + insinto /etc/lcd4linux + insopts -m 0600 + doins lcd4linux.conf.sample + + newinitd "${FILESDIR}/lcd4linux-r2.initd" lcd4linux +} + +pkg_postinst() { + if [[ ! -z ${REPLACING_VERSIONS} ]]; then + use python && einfo "Starting with this version, the python plugins now uses python3 instead of python2!" + fi +} diff --git a/app-misc/lcd4linux/metadata.xml b/app-misc/lcd4linux/metadata.xml index 7d64ef2eb48e..4099174376ae 100644 --- a/app-misc/lcd4linux/metadata.xml +++ b/app-misc/lcd4linux/metadata.xml @@ -16,7 +16,6 @@ Enable the cpuinfo plugin. Enable the dbus plugin. Enable the diskstats plugin. - Enable dmalloc for debugging. Enable support for the DVB plugin. Enable the event plugin. Enable the exec plugin, to read output from external programs. -- cgit v1.2.3