Import libglade2-2.0.1
-- This library allows you to load glade interface files in a program at runtime. It doesn't require GLADE to be used, but GLADE is by far the easiest way to create the interface files. From marcm for gnome2
This commit is contained in:
parent
ce2fd6972d
commit
312bb938a1
56
devel/libglade2/Makefile
Normal file
56
devel/libglade2/Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/01/31 18:27:45 todd Exp $
|
||||
|
||||
COMMENT= "library for loading GLADE interface files at runtime"
|
||||
COMMENT-convert= "conversion utility for glade files"
|
||||
V= 2.0.1
|
||||
DISTNAME= libglade-${V}
|
||||
PKGNAME= libglade2-${V}
|
||||
PKGNAME-convert= libglade2-convert-${V}
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.gnome.org
|
||||
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libglade/2.0/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MODULES= gettext
|
||||
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
|
||||
xml2.6::textproc/libxml
|
||||
|
||||
PSEUDO_FLAVORS= no_python
|
||||
# Python doesn't work on Alpha... so work around it
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
FLAVOR?=no_python
|
||||
.else
|
||||
FLAVOR?=
|
||||
.endif
|
||||
|
||||
MULTI_PACKAGES=
|
||||
.if !${FLAVOR:L:Mno_python}
|
||||
MULTI_PACKAGES+= -convert
|
||||
BUILD_DEPENDS= :python-expat-2.2*:lang/python/2.2,-expat
|
||||
.endif
|
||||
SUBPACKAGE?=
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if defined(PACKAGING)
|
||||
. if ${SUBPACKAGE} == "-convert"
|
||||
RUN_DEPENDS= :python-expat-2.2*:lang/python/2.2,-expat
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/libglade2/distinfo
Normal file
3
devel/libglade2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (libglade-2.0.1.tar.bz2) = 4d93f6b01510013ae429e91af432cfe2
|
||||
RMD160 (libglade-2.0.1.tar.bz2) = 344ad0cd29ff04f5e97da15a590bb9c5b2f443be
|
||||
SHA1 (libglade-2.0.1.tar.bz2) = d4b900de6643a164dc35b2753ce2e4caebcf1428
|
13
devel/libglade2/patches/patch-Makefile_in
Normal file
13
devel/libglade2/patches/patch-Makefile_in
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2003/01/31 18:27:45 todd Exp $
|
||||
--- Makefile.in.orig Thu Aug 29 05:53:59 2002
|
||||
+++ Makefile.in Mon Sep 23 11:52:34 2002
|
||||
@@ -636,9 +636,7 @@ uninstall-info: uninstall-info-recursive
|
||||
|
||||
|
||||
install-data-local:
|
||||
- -xmlcatalog --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" $(xmldir)/glade-2.0.dtd $(XMLCATALOG)
|
||||
uninstall-local:
|
||||
- -xmlcatalog --noout --del $(xmldir)/glade-2.0.dtd $(XMLCATALOG)
|
||||
|
||||
#small hack to get distcheck to work
|
||||
clean-local:
|
43
devel/libglade2/patches/patch-configure
Normal file
43
devel/libglade2/patches/patch-configure
Normal file
@ -0,0 +1,43 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2003/01/31 18:27:45 todd Exp $
|
||||
--- configure.orig Thu Aug 29 05:54:02 2002
|
||||
+++ configure Wed Dec 11 22:55:11 2002
|
||||
@@ -5486,8 +5486,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
|
||||
@@ -5496,8 +5496,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
|
||||
@@ -6013,6 +6013,8 @@ openbsd*)
|
||||
version_type=sunos
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
+ sys_lib_search_path_spec="/usr/lib"
|
||||
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
case "$host_os" in
|
||||
openbsd2.[89] | openbsd2.[89].*)
|
||||
@@ -7911,7 +7913,7 @@ echo "${ECHO_T}yes" >&6
|
||||
|
||||
echo "$as_me:$LINENO: checking LIBGLADE_CFLAGS" >&5
|
||||
echo $ECHO_N "checking LIBGLADE_CFLAGS... $ECHO_C" >&6
|
||||
- LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.4.10 atk >= 1.0.0 gtk+-2.0 >= 2.0.0"`
|
||||
+ LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.4.10 gtk+-2.0 >= 2.0.0 atk >= 1.0.0"`
|
||||
echo "$as_me:$LINENO: result: $LIBGLADE_CFLAGS" >&5
|
||||
echo "${ECHO_T}$LIBGLADE_CFLAGS" >&6
|
||||
|
14
devel/libglade2/patches/patch-doc_Makefile_in
Normal file
14
devel/libglade2/patches/patch-doc_Makefile_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-doc_Makefile_in,v 1.1.1.1 2003/01/31 18:27:45 todd Exp $
|
||||
--- doc/Makefile.in.orig Thu Aug 29 05:53:59 2002
|
||||
+++ doc/Makefile.in Mon Sep 23 11:52:34 2002
|
||||
@@ -342,10 +342,6 @@ install-data-local:
|
||||
echo '-- Installing '$$i ; \
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
|
||||
done; \
|
||||
- echo '-- Installing $(srcdir)/html/index.sgml' ; \
|
||||
- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(TARGET_DIR); \
|
||||
- echo '-- Fixing Crossreferences' ; \
|
||||
- gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR) || true; \
|
||||
fi)
|
||||
|
||||
uninstall-local:
|
62
devel/libglade2/patches/patch-ltmain_sh
Normal file
62
devel/libglade2/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,62 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/01/31 18:27:45 todd Exp $
|
||||
--- ltmain.sh.orig Mon May 27 06:33:15 2002
|
||||
+++ ltmain.sh Fri Jul 19 22:35:03 2002
|
||||
@@ -1073,6 +1073,17 @@ compiler."
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -4526,40 +4537,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
|
||||
;;
|
||||
|
7
devel/libglade2/pkg/DESCR
Normal file
7
devel/libglade2/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
This library allows you to load glade interface files in a program at runtime.
|
||||
It doesn't require GLADE to be used, but GLADE is by far the easiest way to
|
||||
create the interface files.
|
||||
|
||||
For more information about libglade, visit:
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
devel/libglade2/pkg/DESCR-convert
Normal file
3
devel/libglade2/pkg/DESCR-convert
Normal file
@ -0,0 +1,3 @@
|
||||
A utility for converting old glade files into new glade files.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
devel/libglade2/pkg/PFRAG.shared
Normal file
3
devel/libglade2/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/01/31 18:27:45 todd Exp $
|
||||
lib/libglade-2.0.so.0.1
|
||||
DYNLIBDIR(%D/lib)
|
32
devel/libglade2/pkg/PLIST
Normal file
32
devel/libglade2/pkg/PLIST
Normal file
@ -0,0 +1,32 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/01/31 18:27:45 todd Exp $
|
||||
include/libglade-2.0/glade/glade-build.h
|
||||
include/libglade-2.0/glade/glade-init.h
|
||||
include/libglade-2.0/glade/glade-parser.h
|
||||
include/libglade-2.0/glade/glade-xml.h
|
||||
include/libglade-2.0/glade/glade.h
|
||||
lib/libglade-2.0.a
|
||||
lib/libglade-2.0.la
|
||||
lib/pkgconfig/libglade-2.0.pc
|
||||
share/gtk-doc/html/libglade/gladexml.html
|
||||
share/gtk-doc/html/libglade/libglade-dtd-exceptions.html
|
||||
share/gtk-doc/html/libglade/libglade-dtd.html
|
||||
share/gtk-doc/html/libglade/libglade-embedding.html
|
||||
share/gtk-doc/html/libglade/libglade-extending.html
|
||||
share/gtk-doc/html/libglade/libglade-i18n.html
|
||||
share/gtk-doc/html/libglade/libglade-lib.html
|
||||
share/gtk-doc/html/libglade/libglade-libglade-build.html
|
||||
share/gtk-doc/html/libglade/libglade-libglade-initialisation.html
|
||||
share/gtk-doc/html/libglade/libglade-libglade-sax-parser.html
|
||||
share/gtk-doc/html/libglade/libglade-modules.html
|
||||
share/gtk-doc/html/libglade/libglade-notes.html
|
||||
share/gtk-doc/html/libglade/libglade.html
|
||||
share/xml/libglade/glade-2.0.dtd
|
||||
%%SHARED%%
|
||||
@dirrm share/xml/libglade
|
||||
@comment @dirrm share/xml
|
||||
@dirrm share/gtk-doc/html/libglade
|
||||
@comment @dirrm share/gtk-doc/html
|
||||
@comment @dirrm share/gtk-doc
|
||||
@comment @dirrm lib/pkgconfig
|
||||
@dirrm include/libglade-2.0/glade
|
||||
@dirrm include/libglade-2.0
|
2
devel/libglade2/pkg/PLIST-convert
Normal file
2
devel/libglade2/pkg/PLIST-convert
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST-convert,v 1.1.1.1 2003/01/31 18:27:45 todd Exp $
|
||||
bin/libglade-convert
|
Loading…
Reference in New Issue
Block a user