diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-13 15:06:10 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-13 15:06:10 +0800 |
commit | 2b6ff64f0d9aa85bb9e80c210c56fe783b0a43c9 (patch) | |
tree | e8381780db8edf81f8668bfb86004908b80f57bf /x11 | |
parent | c54f106785cc4f0020d97fff78451e71fec61c90 (diff) | |
download | marcuscom-ports-2b6ff64f0d9aa85bb9e80c210c56fe783b0a43c9.tar marcuscom-ports-2b6ff64f0d9aa85bb9e80c210c56fe783b0a43c9.tar.gz marcuscom-ports-2b6ff64f0d9aa85bb9e80c210c56fe783b0a43c9.tar.bz2 marcuscom-ports-2b6ff64f0d9aa85bb9e80c210c56fe783b0a43c9.tar.lz marcuscom-ports-2b6ff64f0d9aa85bb9e80c210c56fe783b0a43c9.tar.xz marcuscom-ports-2b6ff64f0d9aa85bb9e80c210c56fe783b0a43c9.tar.zst marcuscom-ports-2b6ff64f0d9aa85bb9e80c210c56fe783b0a43c9.zip |
Add themus, a theme view for Nautilus.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@636 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/themus/Makefile | 29 | ||||
-rw-r--r-- | x11/themus/distinfo | 1 | ||||
-rw-r--r-- | x11/themus/files/patch-configure | 59 | ||||
-rw-r--r-- | x11/themus/files/patch-libtheme_gnome-theme-info.c | 11 | ||||
-rw-r--r-- | x11/themus/files/patch-src_theme-method.c | 12 | ||||
-rw-r--r-- | x11/themus/pkg-descr | 16 | ||||
-rw-r--r-- | x11/themus/pkg-plist | 18 |
7 files changed, 146 insertions, 0 deletions
diff --git a/x11/themus/Makefile b/x11/themus/Makefile new file mode 100644 index 000000000..8c3d457dc --- /dev/null +++ b/x11/themus/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: themus +# Date created: 13 April 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= themus +PORTVERSION= 0.1.4 +CATEGORIES= x11 x11-fm gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.1 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A theme view for Nautilus + +USE_BZIP2= yes +USE_GNOME= gnomehack gnomeprefix nautilus2 +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_REINPLACE= yes +USE_LIBTOOL= yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|' \ + ${WRKSRC}/libtheme/gnome-theme-info.c + +.include <bsd.port.mk> diff --git a/x11/themus/distinfo b/x11/themus/distinfo new file mode 100644 index 000000000..ceaf52985 --- /dev/null +++ b/x11/themus/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/themus-0.1.4.tar.bz2) = c40ce61b89cf9982844418a4dc4fddc3 diff --git a/x11/themus/files/patch-configure b/x11/themus/files/patch-configure new file mode 100644 index 000000000..dc81175ed --- /dev/null +++ b/x11/themus/files/patch-configure @@ -0,0 +1,59 @@ +--- configure.orig Sun Mar 30 09:19:47 2003 ++++ configure Sun Apr 13 02:46:35 2003 +@@ -7842,6 +7842,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -8109,23 +8110,23 @@ + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then +- echo "$as_me:$LINENO: checking for gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0" >&5 +-echo $ECHO_N "checking for gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0... $ECHO_C" >&6 ++ echo "$as_me:$LINENO: checking for gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf-2.0 >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0" >&5 ++echo $ECHO_N "checking for gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf-2.0 >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0... $ECHO_C" >&6 + +- if $PKG_CONFIG --exists "gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0" ; then ++ if $PKG_CONFIG --exists "gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf-2.0 >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0" ; then + echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + succeeded=yes + + echo "$as_me:$LINENO: checking LIBTHEME_CFLAGS" >&5 + echo $ECHO_N "checking LIBTHEME_CFLAGS... $ECHO_C" >&6 +- LIBTHEME_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0"` ++ LIBTHEME_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf-2.0 >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0"` + echo "$as_me:$LINENO: result: $LIBTHEME_CFLAGS" >&5 + echo "${ECHO_T}$LIBTHEME_CFLAGS" >&6 + + echo "$as_me:$LINENO: checking LIBTHEME_LIBS" >&5 + echo $ECHO_N "checking LIBTHEME_LIBS... $ECHO_C" >&6 +- LIBTHEME_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0"` ++ LIBTHEME_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf-2.0 >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0"` + echo "$as_me:$LINENO: result: $LIBTHEME_LIBS" >&5 + echo "${ECHO_T}$LIBTHEME_LIBS" >&6 + else +@@ -8133,7 +8134,7 @@ + LIBTHEME_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. +- LIBTHEME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0"` ++ LIBTHEME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf-2.0 >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0"` + echo $LIBTHEME_PKG_ERRORS + fi + +@@ -8148,8 +8149,8 @@ + if test $succeeded = yes; then + : + else +- { { echo "$as_me:$LINENO: error: Library requirements (gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 +-echo "$as_me: error: Library requirements (gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} ++ { { echo "$as_me:$LINENO: error: Library requirements (gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf-2.0 >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 ++echo "$as_me: error: Library requirements (gnome-vfs-module-2.0 >= 2.2.0 glib-2.0 >= 2.2.0 gnome-desktop-2.0 >= 2.2.1 gnome-vfs-2.0 >= 2.2.0 gconf-2.0 >= 1.0.0 gnome-window-settings-2.0 >= 2.2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} + { (exit 1); exit 1; }; } + fi + diff --git a/x11/themus/files/patch-libtheme_gnome-theme-info.c b/x11/themus/files/patch-libtheme_gnome-theme-info.c new file mode 100644 index 000000000..06fda9c0a --- /dev/null +++ b/x11/themus/files/patch-libtheme_gnome-theme-info.c @@ -0,0 +1,11 @@ +--- libtheme/gnome-theme-info.c.orig Sun Apr 13 03:00:18 2003 ++++ libtheme/gnome-theme-info.c Sun Apr 13 03:00:31 2003 +@@ -1620,7 +1620,7 @@ + gnome_vfs_uri_unref (top_theme_dir_uri); + + /* The weird /usr/share/icons */ +- top_theme_dir_uri = gnome_vfs_uri_new ("/usr/share/icons"); ++ top_theme_dir_uri = gnome_vfs_uri_new ("%%X11BASE%%/share/icons"); + if (!gnome_vfs_uri_exists (top_theme_dir_uri)) + gnome_vfs_make_directory_for_uri (top_theme_dir_uri, 0775); + result = add_top_icon_theme_dir_monitor (top_theme_dir_uri, &real_monitor_not_added, 2, NULL); diff --git a/x11/themus/files/patch-src_theme-method.c b/x11/themus/files/patch-src_theme-method.c new file mode 100644 index 000000000..cb9ebe5b0 --- /dev/null +++ b/x11/themus/files/patch-src_theme-method.c @@ -0,0 +1,12 @@ +--- src/theme-method.c.orig Sun Apr 13 02:55:20 2003 ++++ src/theme-method.c Sun Apr 13 02:55:26 2003 +@@ -537,8 +537,8 @@ + return GNOME_VFS_OK; + } + else { +- g_free (path); + GnomeThemeMetaInfo *theme; ++ g_free (path); + + theme = theme_meta_info_find (uri); + if (theme) diff --git a/x11/themus/pkg-descr b/x11/themus/pkg-descr new file mode 100644 index 000000000..14db5b82f --- /dev/null +++ b/x11/themus/pkg-descr @@ -0,0 +1,16 @@ +What is Themus? +=============== + +Themus is a collection of theme utilities for GNOME. It currently consists of: + +* A themes:/// VFS method. You can go to themes:/// in Nautilus to view your + themes. + +* A thumbnailer. Themes in Nautilus will appear as previews. + +* A properties page. The Nautilus properties will have a "Theme" tab containing + details about the theme selected. + +* A nautilus context menu item to apply themes from the themes:/// URI. + +-- Themus README diff --git a/x11/themus/pkg-plist b/x11/themus/pkg-plist new file mode 100644 index 000000000..2611e6684 --- /dev/null +++ b/x11/themus/pkg-plist @@ -0,0 +1,18 @@ +bin/gnome-theme-thumbnailer +etc/gconf/gconf.xml.defaults/desktop/gnome/thumbnailers/application@x-gnome-theme-installed/%gconf.xml +etc/gconf/gconf.xml.defaults/desktop/gnome/thumbnailers/application@x-gnome-theme/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/thumbnailers/application@x-gnome-theme-installed/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/thumbnailers/application@x-gnome-theme/%gconf.xml +etc/gconf/schemas/themus.schemas +etc/gnome-vfs-2.0/modules/theme-method.conf +lib/bonobo/libthemus-component.so +lib/bonobo/libthemus-theme-properties-view.so +lib/gnome-vfs-2.0/modules/libtheme-method.so +libdata/bonobo/servers/Themus_Component.server +libdata/bonobo/servers/Themus_Properties_View.server +share/gnome/mime-info/themus.keys +share/gnome/vfolders/theme-method.directory +@dirrm etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/thumbnailers/application@x-gnome-theme-installed +@dirrm etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/thumbnailers/application@x-gnome-theme +@dirrm etc/gconf/gconf.xml.defaults/desktop/gnome/thumbnailers/application@x-gnome-theme-installed +@dirrm etc/gconf/gconf.xml.defaults/desktop/gnome/thumbnailers/application@x-gnome-theme |