sample theme engines for GTK+ provided with GNOME
This commit is contained in:
parent
89cb85cbc0
commit
04c2c04ae2
36
x11/gtk-engines/Makefile
Normal file
36
x11/gtk-engines/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/13 20:48:53 todd Exp $
|
||||
|
||||
COMMENT= "sample theme engines for GTK+ provided with GNOME"
|
||||
V= 0.12
|
||||
DISTNAME= gtk-engines-${V}
|
||||
CATEGORIES= x11
|
||||
NEED_VERSION= 1.384
|
||||
HOMEPAGE= http://www.gnome.org
|
||||
MAINTAINER= Nils Nordman <nino@nforced.com>
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= stable/sources/gtk-engines
|
||||
|
||||
LIB_DEPENDS= gdk_imlib.19::graphics/imlib
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
|
||||
post-patch:
|
||||
@cd ${WRKSRC}; \
|
||||
perl -pi -e 's|/lib/gtk/themes/engines/|/share/gtk/themes/engines|' gtk-engines.spec; \
|
||||
perl -pi -e 's|\$$\(libdir\)/gtk/themes/engines|\$$\(datadir\)/gtk/themes/engines|' \
|
||||
{metal,notif,pixmap,raleigh,redmond95}/Makefile.in;
|
||||
|
||||
post-install:
|
||||
@cd ${PREFIX}/share/gtk/themes/engines; \
|
||||
for l in *.so*; do ln -s $$l $${l%.?.?}; done
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/gtk-engines/files/md5
Normal file
3
x11/gtk-engines/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gtk-engines-0.12.tar.gz) = c867d1ebd6dbea355765d689a11330ec
|
||||
RMD160 (gtk-engines-0.12.tar.gz) = 2c738c02bbb2ad4cae11caf21d65adfaaef35bbc
|
||||
SHA1 (gtk-engines-0.12.tar.gz) = 80472a42b5eaf5ced352b8a3cf450fe34998b870
|
51
x11/gtk-engines/patches/patch-ltconfig
Normal file
51
x11/gtk-engines/patches/patch-ltconfig
Normal file
@ -0,0 +1,51 @@
|
||||
--- ltconfig.orig Sun Oct 3 15:17:34 1999
|
||||
+++ ltconfig Tue Feb 20 17:11:31 2001
|
||||
@@ -1105,6 +1105,9 @@ cygwin* | mingw*)
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
+openbsd*)
|
||||
+ with_gnu_ld=no
|
||||
+ ;;
|
||||
|
||||
esac
|
||||
|
||||
@@ -1391,10 +1394,21 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ case "$host_os" in
|
||||
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ ;;
|
||||
+ *)
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then
|
||||
+ export_dynamic_flag_spec='${wl}-E'
|
||||
+ fi
|
||||
+ ;;
|
||||
+ esac
|
||||
;;
|
||||
|
||||
os2*)
|
||||
@@ -1955,13 +1969,10 @@ netbsd*)
|
||||
|
||||
openbsd*)
|
||||
version_type=sunos
|
||||
- if test "$with_gnu_ld" = yes; then
|
||||
- need_lib_prefix=no
|
||||
- need_version=no
|
||||
- fi
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
+ deplibs_check_method='pass_all'
|
||||
;;
|
||||
|
||||
os2*)
|
83
x11/gtk-engines/patches/patch-ltmain.sh
Normal file
83
x11/gtk-engines/patches/patch-ltmain.sh
Normal file
@ -0,0 +1,83 @@
|
||||
--- ltmain.sh.orig Sun Oct 3 15:17:34 1999
|
||||
+++ ltmain.sh Tue Feb 20 17:12:45 2001
|
||||
@@ -1073,7 +1073,18 @@ compiler."
|
||||
# These systems don't actually have c library (as such)
|
||||
continue
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # Do not include libc due to us having libc/libc_r.
|
||||
+ continue
|
||||
+ ;;
|
||||
esac
|
||||
+ elif test "$arg" = "-lc_r"; then
|
||||
+ case "$host" in
|
||||
+ *-*-openbsd*)
|
||||
+ # Do not include libc_r directly, use -pthread flag.
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
elif test "$arg" = "-lm"; then
|
||||
case "$host" in
|
||||
*-*-cygwin* | *-*-beos*)
|
||||
@@ -1085,6 +1096,10 @@ compiler."
|
||||
deplibs="$deplibs $arg"
|
||||
;;
|
||||
|
||||
+ -?thread)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -1789,6 +1804,9 @@ compiler."
|
||||
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
|
||||
# these systems don't actually have a c library (as such)!
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # Do not include libc due to us having libc/libc_r.
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems.
|
||||
deplibs="$deplibs -lc"
|
||||
@@ -3522,40 +3540,6 @@ libdir='$install_libdir'\
|
||||
# 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 \`-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
|
||||
;;
|
||||
|
14
x11/gtk-engines/pkg/DESCR
Normal file
14
x11/gtk-engines/pkg/DESCR
Normal file
@ -0,0 +1,14 @@
|
||||
This package provides four sample theme engines for GTK+:
|
||||
|
||||
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.
|
||||
|
||||
Notif: A simple Motif-look-alike theme
|
||||
|
||||
WWW: ${HOMEPAGE}
|
7
x11/gtk-engines/pkg/PFRAG.shared
Normal file
7
x11/gtk-engines/pkg/PFRAG.shared
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/09/13 20:48:53 todd Exp $
|
||||
share/gtk/themes/engines/libmetal.so.0.0
|
||||
share/gtk/themes/engines/libnotif.so.0.0
|
||||
share/gtk/themes/engines/libpixmap.so.0.0
|
||||
share/gtk/themes/engines/libraleigh.so.0.0
|
||||
share/gtk/themes/engines/libredmond95.so.0.0
|
||||
NEWDYNLIBDIR(%D/share/gtk/themes/engines)
|
109
x11/gtk-engines/pkg/PLIST
Normal file
109
x11/gtk-engines/pkg/PLIST
Normal file
@ -0,0 +1,109 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/09/13 20:48:53 todd Exp $
|
||||
share/gtk/themes/engines/libmetal.la
|
||||
share/gtk/themes/engines/libmetal.so
|
||||
share/gtk/themes/engines/libnotif.la
|
||||
share/gtk/themes/engines/libnotif.so
|
||||
share/gtk/themes/engines/libpixmap.la
|
||||
share/gtk/themes/engines/libpixmap.so
|
||||
share/gtk/themes/engines/libraleigh.la
|
||||
share/gtk/themes/engines/libraleigh.so
|
||||
share/gtk/themes/engines/libredmond95.la
|
||||
share/gtk/themes/engines/libredmond95.so
|
||||
share/themes/Metal/ICON.png
|
||||
share/themes/Metal/README.html
|
||||
share/themes/Metal/gtk/gtkrc
|
||||
share/themes/Notif/ICON.png
|
||||
share/themes/Notif/README.html
|
||||
share/themes/Notif/gtk/gtkrc
|
||||
share/themes/Pixmap/ICON.png
|
||||
share/themes/Pixmap/README.html
|
||||
share/themes/Pixmap/gtk/arrow_down1.png
|
||||
share/themes/Pixmap/gtk/arrow_down2.png
|
||||
share/themes/Pixmap/gtk/arrow_down3.png
|
||||
share/themes/Pixmap/gtk/arrow_left1.png
|
||||
share/themes/Pixmap/gtk/arrow_left2.png
|
||||
share/themes/Pixmap/gtk/arrow_left3.png
|
||||
share/themes/Pixmap/gtk/arrow_right1.png
|
||||
share/themes/Pixmap/gtk/arrow_right2.png
|
||||
share/themes/Pixmap/gtk/arrow_right3.png
|
||||
share/themes/Pixmap/gtk/arrow_up1.png
|
||||
share/themes/Pixmap/gtk/arrow_up2.png
|
||||
share/themes/Pixmap/gtk/arrow_up3.png
|
||||
share/themes/Pixmap/gtk/brown_bg1.png
|
||||
share/themes/Pixmap/gtk/brown_bg2.png
|
||||
share/themes/Pixmap/gtk/button1.png
|
||||
share/themes/Pixmap/gtk/button2.png
|
||||
share/themes/Pixmap/gtk/button3.png
|
||||
share/themes/Pixmap/gtk/button4.png
|
||||
share/themes/Pixmap/gtk/button5.png
|
||||
share/themes/Pixmap/gtk/button6.png
|
||||
share/themes/Pixmap/gtk/button7.png
|
||||
share/themes/Pixmap/gtk/button8.png
|
||||
share/themes/Pixmap/gtk/button9.png
|
||||
share/themes/Pixmap/gtk/button_def.png
|
||||
share/themes/Pixmap/gtk/check1.png
|
||||
share/themes/Pixmap/gtk/check2.png
|
||||
share/themes/Pixmap/gtk/curve_bg1.png
|
||||
share/themes/Pixmap/gtk/entry1.png
|
||||
share/themes/Pixmap/gtk/entry2.png
|
||||
share/themes/Pixmap/gtk/extension_bottom1.png
|
||||
share/themes/Pixmap/gtk/extension_left1.png
|
||||
share/themes/Pixmap/gtk/extension_right1.png
|
||||
share/themes/Pixmap/gtk/extension_top1.png
|
||||
share/themes/Pixmap/gtk/focus.png
|
||||
share/themes/Pixmap/gtk/frame1.png
|
||||
share/themes/Pixmap/gtk/frame2.png
|
||||
share/themes/Pixmap/gtk/frame_gap.png
|
||||
share/themes/Pixmap/gtk/frame_gap_top_end.png
|
||||
share/themes/Pixmap/gtk/frame_gap_top_start.png
|
||||
share/themes/Pixmap/gtk/gap_bottom.png
|
||||
share/themes/Pixmap/gtk/gap_bottom_end.png
|
||||
share/themes/Pixmap/gtk/gap_bottom_start.png
|
||||
share/themes/Pixmap/gtk/gap_left.png
|
||||
share/themes/Pixmap/gtk/gap_left_end.png
|
||||
share/themes/Pixmap/gtk/gap_left_start.png
|
||||
share/themes/Pixmap/gtk/gap_right.png
|
||||
share/themes/Pixmap/gtk/gap_right_end.png
|
||||
share/themes/Pixmap/gtk/gap_right_start.png
|
||||
share/themes/Pixmap/gtk/gap_top.png
|
||||
share/themes/Pixmap/gtk/gap_top_end.png
|
||||
share/themes/Pixmap/gtk/gap_top_start.png
|
||||
share/themes/Pixmap/gtk/gtkrc
|
||||
share/themes/Pixmap/gtk/handle_vert_thumb.png
|
||||
share/themes/Pixmap/gtk/hline.png
|
||||
share/themes/Pixmap/gtk/menubar.png
|
||||
share/themes/Pixmap/gtk/notebook1.png
|
||||
share/themes/Pixmap/gtk/option1.png
|
||||
share/themes/Pixmap/gtk/option2.png
|
||||
share/themes/Pixmap/gtk/option_menu.png
|
||||
share/themes/Pixmap/gtk/progressbar.png
|
||||
share/themes/Pixmap/gtk/ruler_horiz.png
|
||||
share/themes/Pixmap/gtk/ruler_vert.png
|
||||
share/themes/Pixmap/gtk/scrollbar_horiz1.png
|
||||
share/themes/Pixmap/gtk/scrollbar_thumb.png
|
||||
share/themes/Pixmap/gtk/scrollbar_thumb2.png
|
||||
share/themes/Pixmap/gtk/scrollbar_vert1.png
|
||||
share/themes/Pixmap/gtk/shadow1.png
|
||||
share/themes/Pixmap/gtk/shadow2.png
|
||||
share/themes/Pixmap/gtk/trough.png
|
||||
share/themes/Pixmap/gtk/vline.png
|
||||
share/themes/Raleigh/ICON.png
|
||||
share/themes/Raleigh/README.html
|
||||
share/themes/Raleigh/gtk/gtkrc
|
||||
share/themes/Redmond95/ICON.png
|
||||
share/themes/Redmond95/README.html
|
||||
share/themes/Redmond95/gtk/gtkrc
|
||||
%%SHARED%%
|
||||
@dirrm share/themes/Redmond95/gtk
|
||||
@dirrm share/themes/Redmond95
|
||||
@dirrm share/themes/Raleigh/gtk
|
||||
@dirrm share/themes/Raleigh
|
||||
@dirrm share/themes/Pixmap/gtk
|
||||
@dirrm share/themes/Pixmap
|
||||
@dirrm share/themes/Notif/gtk
|
||||
@dirrm share/themes/Notif
|
||||
@dirrm share/themes/Metal/gtk
|
||||
@dirrm share/themes/Metal
|
||||
@dirrm share/gtk/themes/engines
|
||||
@dirrm share/gtk/themes
|
||||
@dirrm share/gtk
|
Loading…
Reference in New Issue
Block a user