mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Update libgnomecanvas to 1.110.0 after a repo-copy from ports/graphics/gnomecanvas
and connect it to the build.
This commit is contained in:
parent
5a88132e64
commit
f8d6defcec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54777
@ -153,6 +153,7 @@
|
||||
SUBDIR += libfpx
|
||||
SUBDIR += libgdgeda
|
||||
SUBDIR += libggi
|
||||
SUBDIR += libgnomecanvas
|
||||
SUBDIR += libgrass5
|
||||
SUBDIR += libimg
|
||||
SUBDIR += liblug
|
||||
|
@ -5,30 +5,30 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gnomecanvas
|
||||
PORTNAME= libgnomecanvas
|
||||
PORTVERSION= 1.110.0
|
||||
CATEGORIES= graphics gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-alpha2
|
||||
DIST_SUBDIR= gnome2
|
||||
|
||||
LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
|
||||
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||
LIB_DEPENDS= glade-2.0.0:${PORTSDIR}/devel/libglade2 \
|
||||
art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2
|
||||
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../gdk-pixbuf
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
||||
|
||||
COMMENT= ${.CURDIR}/pkg-comment
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
pre-patch:
|
||||
@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
|
||||
's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
|
||||
|
||||
USE_GNOMELIBS= yes
|
||||
|
||||
BUILD_CANVAS= yes
|
||||
|
||||
NAME= gnomecanvaspixbuf
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/${NAME}Conf.sh ${PREFIX}/etc
|
||||
cd ${WRKSRC}/gdk-pixbuf/.libs && \
|
||||
${MKDIR} ${PREFIX}/include/gdk-pixbuf-1.0/gdk-pixbuf && \
|
||||
${INSTALL_DATA} ../gnome-canvas-pixbuf.h ${PREFIX}/include/gdk-pixbuf-1.0/gdk-pixbuf && \
|
||||
${INSTALL_DATA} lib${NAME}.a ${PREFIX}/lib && \
|
||||
${INSTALL_PROGRAM} lib${NAME}.so.1 ${PREFIX}/lib && \
|
||||
${LN} -sf lib${NAME}.so.1 ${PREFIX}/lib/lib${NAME}.so
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
.include <bsd.port.mk>
|
||||
|
45
graphics/libgnomecanvas/files/patch-ltmain.sh
Normal file
45
graphics/libgnomecanvas/files/patch-ltmain.sh
Normal file
@ -0,0 +1,45 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- ltmain.sh.orig Wed Jan 23 11:38:40 2002
|
||||
+++ ltmain.sh Sun Feb 3 01:44:17 2002
|
||||
@@ -1037,8 +1037,16 @@
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ compile_command="$compile_command -pthread"
|
||||
+ finalize_command="$finalize_command -pthread"
|
||||
+ compiler_flags="$compiler_flags -pthread"
|
||||
+ continue
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
+ build_old_libs=no
|
||||
continue
|
||||
;;
|
||||
|
||||
@@ -2412,6 +2420,9 @@
|
||||
*-*-netbsd*)
|
||||
# Don't link with libc until the a.out ld.so is fixed.
|
||||
;;
|
||||
+ *-*-freebsd*)
|
||||
+ # FreeBSD doesn't need this...
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems if necessary.
|
||||
if test "$build_libtool_need_lc" = "yes"; then
|
||||
@@ -4179,10 +4190,12 @@
|
||||
fi
|
||||
|
||||
# Install the pseudo-library for information purposes.
|
||||
+ if /usr/bin/false; then
|
||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
||||
instname="$dir/$name"i
|
||||
$show "$install_prog $instname $destdir/$name"
|
||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
||||
+ fi
|
||||
|
||||
# Maybe install the static library, too.
|
||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
@ -1,5 +1,61 @@
|
||||
etc/gnomecanvaspixbufConf.sh
|
||||
include/gdk-pixbuf-1.0/gdk-pixbuf/gnome-canvas-pixbuf.h
|
||||
lib/libgnomecanvaspixbuf.a
|
||||
lib/libgnomecanvaspixbuf.so
|
||||
lib/libgnomecanvaspixbuf.so.1
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-bpath.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-clipgroup.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-line.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-path-def.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-pixbuf.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-polygon.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-rect-ellipse.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-rich-text.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-shape.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-text.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-util.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-widget.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas.h
|
||||
include/libgnomecanvas-2.0/libgnomecanvas/libgnomecanvas.h
|
||||
lib/libglade/2.0/libcanvas.so
|
||||
lib/libgnomecanvas-2.a
|
||||
lib/libgnomecanvas-2.so
|
||||
lib/libgnomecanvas-2.so.0
|
||||
libdata/pkgconfig/libgnomecanvas-2.0.pc
|
||||
share/doc/libgnomecanvas/c4.html
|
||||
share/doc/libgnomecanvas/index.html
|
||||
share/doc/libgnomecanvas/index.sgml
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnome-canvas-i18n.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnome-canvas-marshal.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnome-canvas-path-def.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnome-canvas-util.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvas.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvasbpath.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvasclipgroup.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvasellipse.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvasline.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvaspixbuf.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvaspolygon.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvasrichtext.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvasshape.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvastext.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-gnomecanvaswidget.html
|
||||
share/doc/libgnomecanvas/libgnomecanvas-libgnomecanvas.html
|
||||
share/locale/az/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/es/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/fr/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/it/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/ja/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/ms/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/nl/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/nn/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/no/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/pt/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/ru/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/sk/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/sv/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/ta/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/tr/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/uk/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/wa/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/libgnomecanvas-2.0.mo
|
||||
@dirrm share/doc/libgnomecanvas
|
||||
@dirrm lib/libglade/2.0
|
||||
@dirrm lib/libglade
|
||||
@dirrm include/libgnomecanvas-2.0/libgnomecanvas
|
||||
@dirrm include/libgnomecanvas-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user