diff --git a/x11/gtk-engines2/Makefile b/x11/gtk-engines2/Makefile new file mode 100644 index 00000000000..c51eb724cd0 --- /dev/null +++ b/x11/gtk-engines2/Makefile @@ -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 + +# 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 diff --git a/x11/gtk-engines2/distinfo b/x11/gtk-engines2/distinfo new file mode 100644 index 00000000000..8c8c3549159 --- /dev/null +++ b/x11/gtk-engines2/distinfo @@ -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 diff --git a/x11/gtk-engines2/patches/patch-configure b/x11/gtk-engines2/patches/patch-configure new file mode 100644 index 00000000000..03c74ae7a68 --- /dev/null +++ b/x11/gtk-engines2/patches/patch-configure @@ -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 diff --git a/x11/gtk-engines2/patches/patch-ltmain_sh b/x11/gtk-engines2/patches/patch-ltmain_sh new file mode 100644 index 00000000000..2b13bb7fc7c --- /dev/null +++ b/x11/gtk-engines2/patches/patch-ltmain_sh @@ -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 + ;; + diff --git a/x11/gtk-engines2/pkg/DESCR b/x11/gtk-engines2/pkg/DESCR new file mode 100644 index 00000000000..e0fa01caf39 --- /dev/null +++ b/x11/gtk-engines2/pkg/DESCR @@ -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} diff --git a/x11/gtk-engines2/pkg/PFRAG.shared b/x11/gtk-engines2/pkg/PFRAG.shared new file mode 100644 index 00000000000..4bb7b6397da --- /dev/null +++ b/x11/gtk-engines2/pkg/PFRAG.shared @@ -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 diff --git a/x11/gtk-engines2/pkg/PLIST b/x11/gtk-engines2/pkg/PLIST new file mode 100644 index 00000000000..cd08635342d --- /dev/null +++ b/x11/gtk-engines2/pkg/PLIST @@ -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