graphics/gpaint: Update to 0.3.4

- remove patches that are no longer needed.

Changelog: http://savannah.gnu.org/forum/forum.php?forum_id=10294

Submitter becomes maintainer.  Already maintainer of other ports.

PR:		269941
This commit is contained in:
Clockwork6400 2023-03-03 18:13:27 +02:00 committed by Robert Clausecker
parent 5d51da04fb
commit 38d079ff89
3 changed files with 7 additions and 81 deletions

View file

@ -1,11 +1,10 @@
PORTNAME= gpaint
PORTVERSION= 0.3.3
DISTVERSIONPREFIX= 2-
PORTREVISION= 10
DISTVERSION= 0.3.4
CATEGORIES= graphics gnome
MASTER_SITES= GNU_ALPHA
MAINTAINER= ports@FreeBSD.org
MAINTAINER= Clockwork6400@protonmail.com
COMMENT= Small-scale painting program for GNOME
WWW= https://www.gnu.org/software/gpaint/
@ -17,7 +16,8 @@ USE_GNOME= gtk20 libglade2
GNU_CONFIGURE= yes
LIBS+= -lm
PLIST_FILES= bin/gpaint-2 %%DATADIR%%/glade/gpaint.glade
PLIST_FILES= ${DATADIR}/glade/gpaint.glade \
bin/gpaint-2
post-patch:
@${REINPLACE_CMD} -e \

View file

@ -1,2 +1,3 @@
SHA256 (gpaint-2-0.3.3.tar.gz) = 541706460610c8bd917225a0370762b66e378e756afa780e67677eeb0a2dd0eb
SIZE (gpaint-2-0.3.3.tar.gz) = 569301
TIMESTAMP = 1677859675
SHA256 (gpaint-2-0.3.4.tar.gz) = b0ec9186de2ee26de4fa1ec4b95b0518cf9c11a01ef4a4dce1b27bbbf0075b8e
SIZE (gpaint-2-0.3.4.tar.gz) = 635414

View file

@ -1,75 +0,0 @@
--- configure.orig 2007-09-10 09:52:55 UTC
+++ configure
@@ -19584,72 +19584,6 @@ pkg_failed=no
echo "$as_me:$LINENO: checking for PRINT" >&5
echo $ECHO_N "checking for PRINT... $ECHO_C" >&6
-if test -n "$PKG_CONFIG"; then
- if test -n "$PRINT_CFLAGS"; then
- pkg_cv_PRINT_CFLAGS="$PRINT_CFLAGS"
- else
- if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2\"") >&5
- ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_PRINT_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprint-2.2 libgnomeprintui-2.2" 2>/dev/null`
-else
- pkg_failed=yes
-fi
- fi
-else
- pkg_failed=untried
-fi
-if test -n "$PKG_CONFIG"; then
- if test -n "$PRINT_LIBS"; then
- pkg_cv_PRINT_LIBS="$PRINT_LIBS"
- else
- if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2\"") >&5
- ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_PRINT_LIBS=`$PKG_CONFIG --libs "libgnomeprint-2.2 libgnomeprintui-2.2" 2>/dev/null`
-else
- pkg_failed=yes
-fi
- fi
-else
- pkg_failed=untried
-fi
-
-
-
-if test $pkg_failed = yes; then
-
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi
- if test $_pkg_short_errors_supported = yes; then
- PRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2"`
- else
- PRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$PRINT_PKG_ERRORS" >&5
-
- echo "gnomeprint libraries are not available."
-elif test $pkg_failed = untried; then
- echo "gnomeprint libraries are not available."
-else
- PRINT_CFLAGS=$pkg_cv_PRINT_CFLAGS
- PRINT_LIBS=$pkg_cv_PRINT_LIBS
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
- gpaint_have_gnome_print=1
-fi
-
-
pkg_failed=no
echo "$as_me:$LINENO: checking for GTKPRINT" >&5
echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6