Import gail-0.17
-- This is the GNOME Accessibility Implementation Library. From marcm for gnome2
This commit is contained in:
parent
3cf2c1ff57
commit
f71794eccb
35
x11/gnome/gail/Makefile
Normal file
35
x11/gnome/gail/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/01/31 18:50:02 todd Exp $
|
||||
|
||||
COMMENT= "GNOME Accessibility Implementation Library"
|
||||
|
||||
DISTNAME= gail-0.17
|
||||
CATEGORIES= devel x11/gnome
|
||||
|
||||
HOMEPAGE= http://www.gnome.org
|
||||
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gail/0.17/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MODULES= gettext
|
||||
|
||||
BUILD_DEPENDS= :pkgconfig->=0.12.0p1:devel/pkgconfig
|
||||
LIB_DEPENDS= gnomecanvas-2.0::x11/gnome/libgnomecanvas
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --disable-rebuilds
|
||||
CONFIGURE_ARGS+= --disable-gtk-doc
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/gnome/gail/distinfo
Normal file
3
x11/gnome/gail/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gail-0.17.tar.bz2) = 23d73923bd0947d5c975afa13b2de3a3
|
||||
RMD160 (gail-0.17.tar.bz2) = 9d71143ee63c9de8dfaa3bceca311c9aea35c7b3
|
||||
SHA1 (gail-0.17.tar.bz2) = 85b160fd5be05ef6c60a394aaf73f8d5a1ec4e90
|
47
x11/gnome/gail/patches/patch-configure
Normal file
47
x11/gnome/gail/patches/patch-configure
Normal file
@ -0,0 +1,47 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2003/01/31 18:50:02 todd Exp $
|
||||
--- configure.orig Mon Jul 22 10:04:30 2002
|
||||
+++ configure Tue Aug 13 18:50:08 2002
|
||||
@@ -2496,6 +2496,16 @@ newos6*)
|
||||
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
||||
;;
|
||||
|
||||
+openbsd*)
|
||||
+ lt_cv_file_magic_cmd=/usr/bin/file
|
||||
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
||||
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
|
||||
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
|
||||
+ else
|
||||
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
|
||||
+ fi
|
||||
+ ;;
|
||||
+
|
||||
osf3* | osf4* | osf5*)
|
||||
# this will be overridden with pass_all, but let us keep it just in case
|
||||
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
|
||||
@@ -4725,8 +4735,8 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
@@ -5209,10 +5219,11 @@ newsos6)
|
||||
|
||||
openbsd*)
|
||||
version_type=sunos
|
||||
- if test "$with_gnu_ld" = yes; then
|
||||
- need_lib_prefix=no
|
||||
- need_version=no
|
||||
- fi
|
||||
+ need_lib_prefix=no
|
||||
+ need_version=no
|
||||
+ sys_lib_search_path_spec="/usr/lib"
|
||||
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
84
x11/gnome/gail/patches/patch-ltmain_sh
Normal file
84
x11/gnome/gail/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,84 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/01/31 18:50:02 todd Exp $
|
||||
--- ltmain.sh.orig Wed Apr 17 15:06:13 2002
|
||||
+++ ltmain.sh Tue Aug 13 18:44:47 2002
|
||||
@@ -1037,6 +1037,17 @@ compiler."
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -1473,6 +1484,9 @@ compiler."
|
||||
fi
|
||||
continue
|
||||
;;
|
||||
+ -pthread)
|
||||
+ continue
|
||||
+ ;;
|
||||
%DEPLIBS%)
|
||||
alldeplibs=yes
|
||||
continue
|
||||
@@ -1714,11 +1728,6 @@ compiler."
|
||||
continue
|
||||
fi
|
||||
|
||||
- if test "$installed" = no; then
|
||||
- notinst_deplibs="$notinst_deplibs $lib"
|
||||
- need_relink=yes
|
||||
- fi
|
||||
-
|
||||
if test -n "$old_archive_from_expsyms_cmds"; then
|
||||
# figure out the soname
|
||||
set dummy $library_names
|
||||
@@ -4412,40 +4421,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
|
||||
;;
|
||||
|
26
x11/gnome/gail/patches/patch-tests_ferret_c
Normal file
26
x11/gnome/gail/patches/patch-tests_ferret_c
Normal file
@ -0,0 +1,26 @@
|
||||
$OpenBSD: patch-tests_ferret_c,v 1.1.1.1 2003/01/31 18:50:02 todd Exp $
|
||||
--- tests/ferret.c.orig Tue Aug 13 18:55:20 2002
|
||||
+++ tests/ferret.c Tue Aug 13 19:04:03 2002
|
||||
@@ -3,9 +3,10 @@
|
||||
#define MAX_GROUPS 20
|
||||
#define MAX_NAME_VALUE 20
|
||||
|
||||
-#include <netinet/in.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
+#include <netinet/in.h>
|
||||
+#include <arpa/inet.h>
|
||||
#include <sys/un.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
@@ -239,8 +240,8 @@ static GtkWidget *menuitem_festival_ters
|
||||
static GtkWidget *menuitem_trackmouse = NULL;
|
||||
static GtkWidget *menuitem_trackfocus = NULL;
|
||||
|
||||
-static struct sockaddr_un mag_server = { AF_UNIX , "/tmp/magnifier_socket" };
|
||||
-static struct sockaddr_un client = { AF_UNIX, "/tmp/mag_client"};
|
||||
+static struct sockaddr_un mag_server = { sizeof(struct sockaddr_un), AF_UNIX , "/tmp/magnifier_socket" };
|
||||
+static struct sockaddr_un client = { sizeof(struct sockaddr_un), AF_UNIX, "/tmp/mag_client"};
|
||||
|
||||
/* GUI Information for the output window */
|
||||
typedef struct
|
5
x11/gnome/gail/pkg/DESCR
Normal file
5
x11/gnome/gail/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
This is the GNOME Accessibility Implementation Library.
|
||||
|
||||
For more information about the gnome project, visit:
|
||||
|
||||
WWW: ${HOMEPAGE}
|
5
x11/gnome/gail/pkg/PFRAG.shared
Normal file
5
x11/gnome/gail/pkg/PFRAG.shared
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/01/31 18:50:02 todd Exp $
|
||||
lib/libgailutil.so.17.0
|
||||
lib/gtk-2.0/modules/libferret.so
|
||||
lib/gtk-2.0/modules/libgail.so
|
||||
DYNLIBDIR(%D/lib)
|
19
x11/gnome/gail/pkg/PLIST
Normal file
19
x11/gnome/gail/pkg/PLIST
Normal file
@ -0,0 +1,19 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/01/31 18:50:02 todd Exp $
|
||||
include/gail-1.0/libgail-util/gail-util.h
|
||||
include/gail-1.0/libgail-util/gailmisc.h
|
||||
include/gail-1.0/libgail-util/gailtextutil.h
|
||||
lib/gtk-2.0/modules/libferret.la
|
||||
lib/gtk-2.0/modules/libgail.la
|
||||
lib/libgailutil.la
|
||||
lib/pkgconfig/gail.pc
|
||||
share/gtk-doc/html/gail-libgail-util/book1.html
|
||||
share/gtk-doc/html/gail-libgail-util/gail-libgail-util-gailmisc.html
|
||||
share/gtk-doc/html/gail-libgail-util/gail-libgail-util-gailtextutil.html
|
||||
share/gtk-doc/html/gail-libgail-util/index.sgml
|
||||
share/gtk-doc/html/gail-libgail-util/libgail-util-main.html
|
||||
%%SHARED%%
|
||||
@dirrm share/gtk-doc/html/gail-libgail-util
|
||||
@comment @dirrm lib/pkgconfig
|
||||
@comment @dirrm lib/gtk-2.0/modules
|
||||
@dirrm include/gail-1.0/libgail-util
|
||||
@dirrm include/gail-1.0
|
Loading…
x
Reference in New Issue
Block a user