A Gnome utility library for XKB. New with Gnome 2.6.

This commit is contained in:
marcm 2004-06-22 03:27:12 +00:00
parent 3e216570da
commit 493662c651
6 changed files with 131 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/06/22 03:27:12 marcm Exp $
COMMENT= "utility library for XKB"
DISTNAME= libxklavier-1.02
CATEGORIES= x11/gnome
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/libxklavier/1.02/}
EXTRACT_SUFX= .tar.bz2
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= xml2::textproc/libxml
USE_GMAKE= Yes
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (libxklavier-1.02.tar.bz2) = 008ab2966476a4e1eb2b03fd5ece6c67
RMD160 (libxklavier-1.02.tar.bz2) = c7b9c34f9bbfa3ac3dbe731b7601ce5cd253ac28
SHA1 (libxklavier-1.02.tar.bz2) = 4c65fe52537b90bdf19002b7c6e04ae88034ae38

View File

@ -0,0 +1,82 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2004/06/22 03:27:12 marcm Exp $
--- ltmain.sh.orig 2004-04-12 14:58:54.000000000 -0600
+++ ltmain.sh 2004-06-21 11:16:57.000000000 -0600
@@ -1290,6 +1290,17 @@ EOF
continue
;;
+ -pthread)
+ case $host in
+ *-*-openbsd*)
+ deplibs="$deplibs $arg"
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ ;;
+
-module)
module=yes
continue
@@ -1961,6 +1972,19 @@ EOF
fi
continue
;;
+ -pthread)
+ case $linkmode in
+ lib)
+ deplibs="$deplib $deplibs"
+ newdependency_libs="$deplib $newdependency_libs"
+ ;;
+ prog)
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ ;;
+ esac
+ continue
+ ;;
%DEPLIBS%)
alldeplibs=yes
continue
@@ -5705,40 +5729,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
;;

View File

@ -0,0 +1 @@
libxklavier is a utility library to make XKB stuff easier.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/06/22 03:27:12 marcm Exp $
lib/libxklavier.so.8.0
DYNLIBDIR(%D/lib)

View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/06/22 03:27:12 marcm Exp $
include/libxklavier/xklavier.h
include/libxklavier/xklavier_config.h
lib/libxklavier.a
lib/libxklavier.la
lib/pkgconfig/libxklavier.pc
share/libxklavier/xfree86.xml
%%SHARED%%
@dirrm share/libxklavier
@dirrm include/libxklavier