Import libzvt-2.0.1

--
The libzvt package contains a terminal widget for GTK+2 and Gnome2.

From marcm for gnome2
This commit is contained in:
todd 2003-01-31 18:38:37 +00:00
parent 9f19aef72e
commit f068cdf4f3
7 changed files with 153 additions and 0 deletions

32
devel/libzvt/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/01/31 18:38:37 todd Exp $
COMMENT= "library for handling pseudo terminals"
DISTNAME= libzvt-2.0.1
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/
MAINTAINER= Marc Matteo <marcm@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libzvt/2.0/}
EXTRACT_SUFX= .tar.bz2
BUILD_DEPENDS= :pkgconfig->=0.12.0p1:devel/pkgconfig
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
art_lgpl_2.5::graphics/libart
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

3
devel/libzvt/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (libzvt-2.0.1.tar.bz2) = 4bbea49495a341650fa1f89908e6554e
RMD160 (libzvt-2.0.1.tar.bz2) = 7e13db566a23a90efc90cac3ced53d48c425789d
SHA1 (libzvt-2.0.1.tar.bz2) = 0531918eb1b88f386d65737b782b05332be24494

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/01/31 18:38:37 todd Exp $
--- configure.orig Mon Jun 24 08:41:40 2002
+++ configure Mon Aug 19 18:17:03 2002
@@ -5218,8 +5218,8 @@ else
hardcode_direct=yes
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
export_dynamic_flag_spec='${wl}-E'
else
case "$host_os" in
@@ -5228,8 +5228,8 @@ else
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
;;
esac
fi

View File

@ -0,0 +1,72 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/01/31 18:38:37 todd Exp $
--- ltmain.sh.orig Mon Jun 24 08:41:26 2002
+++ ltmain.sh Mon Aug 19 18:17:03 2002
@@ -1060,6 +1060,17 @@ compiler."
continue
;;
+ -pthread)
+ case $host in
+ *-*-openbsd*)
+ deplibs="$deplibs $arg"
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ ;;
+
-module)
module=yes
continue
@@ -1496,6 +1507,9 @@ compiler."
fi
continue
;;
+ -pthread)
+ continue
+ ;;
%DEPLIBS%)
alldeplibs=yes
continue
@@ -4451,40 +4465,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = ":" && exit 0
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "If you ever happen to want to link against installed libraries"
- echo "in a given directory, LIBDIR, you must either use libtool, and"
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "----------------------------------------------------------------------"
exit 0
;;

3
devel/libzvt/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
The libzvt package contains a terminal widget for GTK+2 and Gnome2.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/01/31 18:38:37 todd Exp $
lib/libzvt-2.0.so.0.1
DYNLIBDIR(%D/lib)

15
devel/libzvt/pkg/PLIST Normal file
View File

@ -0,0 +1,15 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/01/31 18:38:37 todd Exp $
include/libzvt-2.0/libzvt/background.h
include/libzvt-2.0/libzvt/libzvt.h
include/libzvt-2.0/libzvt/lists.h
include/libzvt-2.0/libzvt/vt.h
include/libzvt-2.0/libzvt/vtx.h
lib/libzvt-2.0.a
lib/libzvt-2.0.la
lib/pkgconfig/libzvt-2.0.pc
libexec/libzvt-2.0/gnome-pty-helper
%%SHARED%%
@dirrm libexec/libzvt-2.0
@comment @dirrm lib/pkgconfig
@dirrm include/libzvt-2.0/libzvt
@dirrm include/libzvt-2.0