dev-libs/libg15render: drop 1.2-r2, 3.0.4

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk
2024-10-06 17:07:38 +02:00
parent 86cb3a7665
commit 316da3b374
5 changed files with 0 additions and 177 deletions

View File

@@ -1,2 +1 @@
DIST libg15render-1.2.tar.bz2 246034 BLAKE2B 70c21341949186dc65bec7ef0f695c783928ab024e5bd3f83eedc527a501bee64cf0561f5e642e3e9173f063b6f74ecca458262ee9c40a2a8837f197338bbb31 SHA512 960fd6bc6159b1b12e1de3b0c07e5960d7d5056d4927be8eddf89a911e2c97a8677ef41456aa255399e8a86cd354b848fab28a47005ee2d1b6640e0c886deaac
DIST libg15render-3.0.4.tar.bz2 293668 BLAKE2B 82fece311baf59098d6196b5aa31d6584bf3f610854839e3dcf2318f3e3275ae9394ea2b21576d6e6cc4fffb2440d19b7322704087988de8c47e60d822949758 SHA512 f11470b4c8709b7cab8747d8eca4d55ddf88f6dd0a46f11de78612d6070c8b5ea7188ec1ea0236edbb0e5904e6dffd7c75831d5e00564b3cebf8b9dc58b0100e

View File

@@ -1,53 +0,0 @@
--- a/configure.in
+++ b/configure.in
@@ -13,19 +13,20 @@
AC_PROG_LIBTOOL
# Checks for --enable args
-AC_MSG_CHECKING(whether to enable FreeType2 support)
-AC_ARG_ENABLE(ttf, [ --enable-ttf enable FreeType2 support],
- if [[[ "$enableval" = "yes" ]]]; then
- AC_DEFINE(TTF_SUPPORT, [1], [Define to 1 to enable FreeType2 support])
- CFLAGS="$CFLAGS `freetype-config --cflags`"
- FTLIB="-lfreetype"
- ttf_support="yes"
- else
- ttf_support="no"
- fi,
- ttf_support="no"
+AC_ARG_ENABLE(ttf, [ --enable-ttf enable FreeType2 support],,enable_ttf=no)
+AS_IF([test "x$enable_ttf" = "xyes"], [
+ PKG_PROG_PKG_CONFIG
+ PKG_CHECK_MODULES(FREETYPE, freetype2,
+ [
+ AC_DEFINE(TTF_SUPPORT, [1], [Define to 1 to enable FreeType2 support])
+ CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
+ FTLIB="$FREETYPE_LIBS"
+ ],
+ AC_MSG_ERROR([Cannot find freetype2])
+ )
+],
+ AC_MSG_RESULT(No Freetype is being used)
)
-AC_MSG_RESULT($ttf_support)
# Checks for libraries.
AC_CHECK_LIB([g15], [writePixmapToLCD], ,AC_MSG_ERROR(["libg15 not found. please install it"]))
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,3 @@
-LLIBDIR=@LIBDIR@
-AM_CFLAGS=@CFLAGS@
lib_LTLIBRARIES = libg15render.la
libg15render_la_SOURCES = libg15render.h text.c pixel.c screen.c font_6x4.c font_7x5.c font_8x8.c
libg15render_la_LIBADD = @FTLIB@
@@ -7,8 +5,7 @@
include_HEADERS= libg15render.h
EXTRA_DIST = debian Doxyfile libg15render.3
man3_MANS = $(top_srcdir)/libg15render.3
-docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
-doc_DATA = AUTHORS ChangeLog COPYING NEWS README
+doc_DATA = AUTHORS ChangeLog NEWS README
dist-hook:
rm -rf `find $(distdir)/debian -name .svn`

View File

@@ -1,23 +0,0 @@
* QA Notice: Package has poor programming practices which may compile
* fine but exhibit random runtime failures.
* pixel.c:356: warning: incompatible implicit declaration of built-in function 'ceil'
Should be fixed by including math.h
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* pixel.c:504:16: warning: incompatible implicit declaration of built-in function malloc
Should be fixed by including stdlib.h
--- libg15render-1.2/pixel.c
+++ libg15render-1.2/pixel.c
@@ -17,6 +17,8 @@
*/
#include <fcntl.h>
+#include <stdlib.h>
+#include <math.h>
#include "libg15render.h"
void

View File

@@ -1,48 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard"
HOMEPAGE="https://sourceforge.net/projects/g15tools/"
SRC_URI="https://downloads.sourceforge.net/g15tools/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="truetype"
RDEPEND="
dev-libs/libg15
truetype? ( media-libs/freetype )"
DEPEND="${RDEPEND}"
BDEPEND="
truetype? ( virtual/pkgconfig )"
PATCHES=(
"${FILESDIR}"/${P}-pixel-c.patch
"${FILESDIR}"/${P}-freetype_pkgconfig.patch
)
src_prepare() {
default
mv configure.{in,ac} || die
eautoreconf
}
src_configure() {
local myeconfargs=(
--disable-static
$(use_enable truetype ttf)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
# no static archives
find "${ED}" -type f -name '*.la' -delete || die
}

View File

@@ -1,52 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard"
HOMEPAGE="https://gitlab.com/menelkir/libg15render"
if [[ ${PV} == *9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/menelkir/libg15render.git"
else
SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${P}.tar.bz2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="truetype"
RDEPEND="
>=dev-libs/libg15-3.0
truetype? ( media-libs/freetype )"
DEPEND="${RDEPEND}"
BDEPEND="
truetype? ( virtual/pkgconfig )"
PATCHES=(
"${FILESDIR}/${P}-freetype_pkgconfig.patch"
"${FILESDIR}/${PN}-3.0.4-docdir.patch"
)
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
--disable-static
$(use_enable truetype ttf)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
# no static archives
find "${ED}" -type f -name '*.la' -delete || die
}