mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-text/paps: drop 0.6.8-r2
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
parent
c91d560c21
commit
cce3d5732f
@ -1,2 +1 @@
|
||||
DIST paps-0.6.8.tar.gz 460062 BLAKE2B 8ca34cd217a5ed26de80a1e35f5cb05d75c291a966923ddcf73fb8a6db1a3823075c480c876cff932757feb3a4767057d269bac0863236df0b513e246726b01b SHA512 db657d90179e11fe42bbcdbebe09a84f1927c99d0b539c9e29b66b3cb8ffcf33ff500c9d81835ae5a0880382bf8f24801f04742517b76b8e005b125a139d8bba
|
||||
DIST paps-0.8.0.tar.gz 75685 BLAKE2B e20ea4ceafe41e938901d61c3c684d9d6b53a621127a66551d0137215c42a7a3c9a8657456bfe4893b8b6b9cd0b65fb104e0492d090b1bb584ca850c06d01236 SHA512 f8c101f6439159354b6a6d218b19baab605f08fa4e70171addb6e38cf5645a7888601fa0aa9d067ec1e5c423297f305cc35268cfde8a3327ffc6ced73ce6df50
|
||||
|
||||
@ -1,36 +0,0 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -18,4 +18,6 @@
|
||||
|
||||
DX_INIT_DOXYGEN(libpaps, doxygen.cfg, doxygen-doc)
|
||||
|
||||
+PKG_CHECK_MODULES([PANGO], [pangoft2])
|
||||
+
|
||||
AC_OUTPUT(Makefile src/Makefile)
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -7,21 +7,19 @@
|
||||
bin_PROGRAMS = paps
|
||||
paps_CFLAGS = -Wall
|
||||
paps_SOURCES = paps.c
|
||||
-paps_LDADD = $(lib_LIBRARIES) $(all_libraries)
|
||||
-paps_LDFLAGS = `pkg-config --libs pangoft2`
|
||||
+paps_LDADD = $(lib_LIBRARIES) $(all_libraries) $(PANGO_LIBS)
|
||||
paps_DEPENDENCIES = $(lib_LIBRARIES)
|
||||
|
||||
EXTRA_DIST = test_libpaps.c paps.1
|
||||
|
||||
# set the include path found by configure
|
||||
-INCLUDES= $(all_includes) `pkg-config --cflags pangoft2`
|
||||
+INCLUDES= $(all_includes) $(PANGO_CFLAGS)
|
||||
|
||||
# Test program
|
||||
noinst_PROGRAMS = test_libpaps
|
||||
|
||||
|
||||
test_libpaps_SOURCES = test_libpaps.c
|
||||
-test_libpaps_LDADD = $(lib_LIBRARIES) $(all_libraries)
|
||||
-test_libpaps_LDFLAGS = `pkg-config --libs pangoft2`
|
||||
+test_libpaps_LDADD = $(lib_LIBRARIES) $(all_libraries) $(PANGO_LIBS)
|
||||
test_libpaps_DEPENDENCIES = $(lib_LIBRARIES)
|
||||
|
||||
@ -1,20 +0,0 @@
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -78,7 +78,7 @@
|
||||
AC_PATH_TOOL([$1], [$2])
|
||||
if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
|
||||
AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])
|
||||
- AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
|
||||
+ AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
|
||||
fi
|
||||
])
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
# ----------------------------------------------------------
|
||||
# Turn off the DX_CURRENT_FEATURE if the required feature is off.
|
||||
AC_DEFUN([DX_CLEAR_DEPEND], [
|
||||
-test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
|
||||
+test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
|
||||
])
|
||||
|
||||
# DX_FEATURE_ARG(FEATURE, DESCRIPTION,
|
||||
@ -1,23 +0,0 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=566050#c2
|
||||
|
||||
--- a/src/paps.c
|
||||
+++ b/src/paps.c
|
||||
@@ -569,11 +569,14 @@
|
||||
|
||||
fclose (file);
|
||||
|
||||
- /* Add a trailing new line if it is missing */
|
||||
- if (inbuf->str[inbuf->len-1] != '\n')
|
||||
- g_string_append(inbuf, "\n");
|
||||
+ if (inbuf->len) {
|
||||
+ /* Add a trailing new line if it is missing */
|
||||
+ if (inbuf->str[inbuf->len-1] != '\n')
|
||||
+ g_string_append(inbuf, "\n");
|
||||
|
||||
- text = inbuf->str;
|
||||
+ text = inbuf->str;
|
||||
+ } else
|
||||
+ text = g_strdup("\n");
|
||||
g_string_free (inbuf, FALSE);
|
||||
|
||||
return text;
|
||||
@ -1,14 +0,0 @@
|
||||
--- a/src/libpaps.c
|
||||
+++ b/src/libpaps.c
|
||||
@@ -25,8 +25,9 @@
|
||||
|
||||
#include <pango/pango.h>
|
||||
#include <pango/pangoft2.h>
|
||||
-#include <freetype/ftglyph.h>
|
||||
-#include <freetype/ftoutln.h>
|
||||
+#include <ft2build.h>
|
||||
+#include FT_GLYPH_H
|
||||
+#include FT_OUTLINE_H
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Unicode-aware text to PostScript converter"
|
||||
HOMEPAGE="http://paps.sourceforge.net/"
|
||||
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="x11-libs/pango"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-as-needed-build.patch
|
||||
"${FILESDIR}"/${P}-fix-doxygen-acinclude.patch
|
||||
"${FILESDIR}"/${P}-fix-freetype-include.patch
|
||||
"${FILESDIR}"/${P}-fix-empty-file.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv configure.in configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/paps
|
||||
doman src/paps.1
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user