Import gtk-engines2 1.9.0:

gtk-engines2 provides three sample theme engines for GTK+2:

* Pixmap: A generic engine that renders using pixmaps.
  One theme using this theme engine is included.

* Metal: A fairly complete theme engine that looks like the
  Java-Metal look of Swing.

* Redmond95: A simple theme engine that looks a bit like 
  Microsoft Windows95.
This commit is contained in:
nino 2002-09-12 09:33:01 +00:00
parent 70be3d485d
commit f7e868876b
7 changed files with 174 additions and 0 deletions

33
x11/gtk-engines2/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/09/12 09:33:01 nino Exp $
COMMENT= "collection of theme engines for GTK+2"
DISTNAME= gtk-engines-1.9.0
PKGNAME= gtk-engines2-1.9.0
CATEGORIES= x11
HOMEPAGE= http://www.gnome.org
MAINTAINER= Nils Nordman <nino@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=2.0.2/sources/gtk-engines/}
EXTRACT_SUFX= .tar.bz2
BUILD_DEPENDS= :pkgconfig->=0.9.0:devel/pkgconfig
LIB_DEPENDS= gdk-x11-2.0.=0,gdk_pixbuf-2.0.=0,gtk-x11-2.0.=0::x11/gtk+2
SEPARATE_BUILD= concurrent
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/themes/Pixmap/gtk-2.0
${INSTALL_DATA} ${WRKSRC}/pixbuf/examples/bubble/gtk-2.0/* ${PREFIX}/share/themes/Pixmap/gtk-2.0
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (gtk-engines-1.9.0.tar.bz2) = d77b10a9e73226a306a32d5c89ba066d
RMD160 (gtk-engines-1.9.0.tar.bz2) = dbacbe98850c0999861e80cebafc99a67c97762c
SHA1 (gtk-engines-1.9.0.tar.bz2) = 1ce89fa8b203ff5c3563c96c2924c60cbfc6c524

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-configure,v 1.1.1.1 2002/09/12 09:33:01 nino Exp $
--- configure.orig Tue Jul 16 23:25:51 2002
+++ configure Tue Jul 16 23:28:18 2002
@@ -5061,8 +5061,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
@@ -5071,8 +5071,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 2002/09/12 09:33:01 nino Exp $
--- ltmain.sh.orig Tue Jul 16 23:25:44 2002
+++ ltmain.sh Tue Jul 16 23:27:46 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
@@ -4450,40 +4464,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,12 @@
This package provides three sample theme engines for GTK+2:
* Pixmap: A generic engine that renders using pixmaps.
One theme using this theme engine is included.
* Metal: A fairly complete theme engine that looks like the
Java-Metal look of Swing.
* Redmond95: A simple theme engine that looks a bit like
Microsoft Windows95.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2002/09/12 09:33:01 nino Exp $
lib/gtk-2.0/2.0.0/engines/libmetal.so
lib/gtk-2.0/2.0.0/engines/libpixmap.so
lib/gtk-2.0/2.0.0/engines/libredmond95.so

View File

@ -0,0 +1,25 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/09/12 09:33:01 nino Exp $
lib/gtk-2.0/2.0.0/engines/libmetal.la
lib/gtk-2.0/2.0.0/engines/libpixmap.la
lib/gtk-2.0/2.0.0/engines/libredmond95.la
@comment share/themes/Metal/ICON.png
@comment share/themes/Metal/README.html
share/themes/Metal/gtk-2.0/gtkrc
share/themes/Pixmap/gtk-2.0/bc-dark.png
share/themes/Pixmap/gtk-2.0/bc-light.png
share/themes/Pixmap/gtk-2.0/bc.png
share/themes/Pixmap/gtk-2.0/bubble-blue.png
share/themes/Pixmap/gtk-2.0/bubble-parts.xcf
share/themes/Pixmap/gtk-2.0/gtkrc
share/themes/Pixmap/gtk-2.0/triangle_background.png
@comment share/themes/Redmond95/ICON.png
@comment share/themes/Redmond95/README.html
share/themes/Redmond95/gtk-2.0/gtkrc
@dirrm share/themes/Redmond95/gtk-2.0
@unexec rmdir %D/share/themes/Redmond95 || true
@dirrm share/themes/Pixmap/gtk-2.0
@unexec rmdir %D/share/themes/Pixmap || true
@dirrm share/themes/Metal/gtk-2.0
@unexec rmdir %D/share/themes/Metal || true
@comment @dirrm share/themes
@dirrm lib/gtk-2.0/2.0.0/engines