diff options
-rw-r--r-- | Mk/bsd.gnome.mk | 9 | ||||
-rw-r--r-- | graphics/gtk-update-icon-cache/Makefile | 70 | ||||
-rw-r--r-- | graphics/gtk-update-icon-cache/distinfo | 2 | ||||
-rw-r--r-- | graphics/gtk-update-icon-cache/pkg-descr | 3 | ||||
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/gtk20/files/patch-docs_reference_gtk_Makefile.in | 11 | ||||
-rw-r--r-- | x11-toolkits/gtk20/files/patch-gtk_Makefile.in | 20 | ||||
-rw-r--r-- | x11-toolkits/gtk20/pkg-plist | 9 | ||||
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 6 | ||||
-rw-r--r-- | x11-toolkits/gtk30/pkg-plist | 6 |
10 files changed, 124 insertions, 21 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index 5f1fd2f79..ea981f04c 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -3,7 +3,7 @@ # # $FreeBSD$ # $NetBSD: $ -# $MCom: ports/Mk/bsd.gnome.mk,v 1.533 2011/02/11 00:30:58 kwm Exp $ +# $MCom: ports/Mk/bsd.gnome.mk,v 1.534 2011/02/11 22:12:29 kwm Exp $ # # Please view me with 4 column tabs! @@ -80,7 +80,7 @@ _USE_GNOME_ALL+= bonobo gal gconf gdkpixbuf glib12 \ # GNOME 2 components _USE_GNOME_ALL+= atk atspi desktopfileutils eel2 evolutiondataserver gal2 gdkpixbuf2 \ gconf2 _glib20 glib20 gnomecontrolcenter2 gnomedesktop gnomedesktopsharp20 \ - gnomedocutils gnomemenus gnomepanel gnomesharp20 gnomespeech gnomevfs2 gtk20 \ + gnomedocutils gnomemenus gnomepanel gnomesharp20 gnomespeech gnomevfs2 gtk-update-icon-cache gtk20 \ gtkhtml3 gtksharp10 gtksharp20 gtksourceview gtksourceview2 gvfs \ libartlgpl2 libbonobo libbonoboui libgailgnome libgda2 libgda3 libgda4 \ libglade2 libgnome libgnomecanvas libgnomedb libgnomekbd libgnomeprint \ @@ -278,6 +278,11 @@ gdkpixbuf2_LIB_DEPENDS= gdk_pixbuf-2.0.0:${PORTSDIR}/graphics/gdk-pixbuf2 gdkpixbuf2_DETECT= ${LOCALBASE}/libdata/pkgconfig/gdk-pixbuf-2.0.pc gdkpixbuf2_USE_GNOME_IMPL=glib20 +gtk-update-icon-cache_BUILD_DEPENDS= gtk-update-icon-cache:${PORTSDIR}/graphics/gtk-update-icon-cache +gtk-update-icon-cache_RUN_DEPENDS= gtk-update-icon-cache:${PORTSDIR}/graphics/gtk-update-icon-cache +gtk-update-icon-cache_DETECT= ${LOCALBASE}/bin/gtk-update-icon-cache +gtk-update-icon-cache_USE_GNOME_IMPL= atk pango gdkpixbuf2 + gtk20_LIB_DEPENDS= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 gtk20_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtk+-x11-2.0.pc gtk20_USE_GNOME_IMPL= intltool atk pango diff --git a/graphics/gtk-update-icon-cache/Makefile b/graphics/gtk-update-icon-cache/Makefile new file mode 100644 index 000000000..c8485d86c --- /dev/null +++ b/graphics/gtk-update-icon-cache/Makefile @@ -0,0 +1,70 @@ +# New ports collection makefile for: gtk-update-icon-cache +# Date Created: 4 Mar 2011 +# Whom: Koop Mast <kwm@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gtk-update-icon-cache +PORTVERSION= 2.24.1 +PORTREVISION?= 0 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ + ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ + ftp://ftp.gimp.org/pub/%SUBDIR%/ \ + ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \ + http://www.ameth.org/gimp/%SUBDIR%/ \ + ftp://ftp.mirror.ac.uk/sites/ftp.gimp.org/pub/%SUBDIR%/ \ + ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,} +MASTER_SITE_SUBDIR= gtk/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DISTNAME= gtk+-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= gtk-update-icon-cache utility from the Gtk+ toolkit. + +LICENSE= LGPL20 +LICENSE_FILE= ${WRKSRC}/COPYING +USE_BZIP2= yes + +BUILD_DEPENDS+= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection +RUN_DEPENDS+= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \ + ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme + +USE_GMAKE= yes +USE_PERL5_BUILD=yes +MAKE_JOBS_UNSAFE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool +USE_GNOME= gnomehack atk pango gdkpixbuf2 ltverhack +USE_GETTEXT= yes +USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \ + xcomposite +PATCHDIR= ${.CURDIR}/../../x11-toolkits/gtk20/files +CONFIGURE_ARGS= --enable-static --enable-xinput=yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ + -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +PLIST_FILES= bin/gtk-update-icon-cache + +MAN1= gtk-update-icon-cache.1 + +.include <bsd.port.pre.mk> + +pre-configure: +.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc) + @${ECHO_CMD} "${PKGNAME}: Needs cairo build with X11 support." + @${FALSE} +.endif + +do-build: + @cd ${WRKSRC}/gtk && ${GMAKE} gtk-update-icon-cache + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/gtk/gtk-update-icon-cache \ + ${PREFIX}/bin/ + @${INSTALL_MAN} ${WRKSRC}/docs/reference/gtk/gtk-update-icon-cache.1 \ + ${PREFIX}/man/man1/ + +.include <bsd.port.post.mk> diff --git a/graphics/gtk-update-icon-cache/distinfo b/graphics/gtk-update-icon-cache/distinfo new file mode 100644 index 000000000..54c95b4fd --- /dev/null +++ b/graphics/gtk-update-icon-cache/distinfo @@ -0,0 +1,2 @@ +SHA256 (gnome2/gtk+-2.24.1.tar.bz2) = 0e2f94dfeb82ffb73640e17a411b9d62851dc4b2e147d90a24f94c1bfc0491ed +SIZE (gnome2/gtk+-2.24.1.tar.bz2) = 17600141 diff --git a/graphics/gtk-update-icon-cache/pkg-descr b/graphics/gtk-update-icon-cache/pkg-descr new file mode 100644 index 000000000..ce3c00694 --- /dev/null +++ b/graphics/gtk-update-icon-cache/pkg-descr @@ -0,0 +1,3 @@ +gtk-update-icon-cache util from the Gtk+ toolkits. + +WWW: http://www.gtk.org/ diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index df27c4504..4c5aee34d 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -3,12 +3,13 @@ # Whom: Vanilla I. Shu <vanilla@MinJe.com.TW> # # $FreeBSD$ -# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.218 2011/02/21 20:17:35 kwm Exp $ +# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.219 2011/03/04 09:46:52 kwm Exp $ # +# Remember to update graphics/gtk-update-icon-cache too. PORTNAME= gtk PORTVERSION= 2.24.1 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ @@ -40,7 +41,7 @@ USE_PERL5_BUILD=yes MAKE_JOBS_SAFE= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libtool -USE_GNOME= gnomehack atk pango gdkpixbuf2 ltverhack +USE_GNOME= gnomehack atk pango gdkpixbuf2 ltverhack gtk-update-icon-cache USE_GETTEXT= yes USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \ xcomposite @@ -49,7 +50,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -MAN1= gtk-query-immodules-2.0.1 gtk-update-icon-cache.1 +MAN1= gtk-query-immodules-2.0.1 .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug=yes diff --git a/x11-toolkits/gtk20/files/patch-docs_reference_gtk_Makefile.in b/x11-toolkits/gtk20/files/patch-docs_reference_gtk_Makefile.in new file mode 100644 index 000000000..b1a3d8374 --- /dev/null +++ b/x11-toolkits/gtk20/files/patch-docs_reference_gtk_Makefile.in @@ -0,0 +1,11 @@ +--- docs/reference/gtk/Makefile.in.orig 2011-03-04 12:25:26.000000000 +0100 ++++ docs/reference/gtk/Makefile.in 2011-03-04 12:25:42.000000000 +0100 +@@ -748,7 +748,7 @@ + @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp + + ######################################################################## +-@ENABLE_MAN_TRUE@man_MANS = gtk-query-immodules-2.0.1 gtk-update-icon-cache.1 gtk-builder-convert.1 ++@ENABLE_MAN_TRUE@man_MANS = gtk-query-immodules-2.0.1 gtk-builder-convert.1 + @ENABLE_MAN_TRUE@BUILT_EXTRA_DIST = $(man_MANS) + all: all-am + diff --git a/x11-toolkits/gtk20/files/patch-gtk_Makefile.in b/x11-toolkits/gtk20/files/patch-gtk_Makefile.in index 82740da0a..0672550a9 100644 --- a/x11-toolkits/gtk20/files/patch-gtk_Makefile.in +++ b/x11-toolkits/gtk20/files/patch-gtk_Makefile.in @@ -2,9 +2,19 @@ Stock icons. This was removed in 2.21.x, however it is used by atleast firefox. https://bugzilla.gnome.org/show_bug.cgi?id=629878 ---- gtk/Makefile.in.orig 2010-11-21 16:06:15.000000000 +0100 -+++ gtk/Makefile.in 2010-11-21 16:36:39.000000000 +0100 -@@ -1352,9 +1352,9 @@ +--- gtk/Makefile.in.orig 2011-03-04 12:02:32.000000000 +0100 ++++ gtk/Makefile.in 2011-03-04 12:03:28.000000000 +0100 +@@ -71,8 +71,7 @@ + @HAVE_INTROSPECTION_TRUE@@USE_X11_TRUE@am__append_15 = --add-include-path=$(top_builddir)/gdk/x11 + @HAVE_INTROSPECTION_TRUE@am__append_16 = Gtk-2.0.gir + @HAVE_INTROSPECTION_TRUE@am__append_17 = $(gir_DATA) $(typelibs_DATA) +-bin_PROGRAMS = gtk-query-immodules-2.0$(EXEEXT) \ +- gtk-update-icon-cache$(EXEEXT) ++bin_PROGRAMS = gtk-query-immodules-2.0$(EXEEXT) + @OS_WIN32_TRUE@am__append_18 = \ + @OS_WIN32_TRUE@ $(GTK_UPDATE_ICON_CACHE_MANIFEST) + +@@ -1358,9 +1357,9 @@ # gtk-update-icon-cache.exe doesn't require any special privileges. @OS_WIN32_TRUE@GTK_UPDATE_ICON_CACHE_MANIFEST = gtk-update-icon-cache.exe.manifest gtk_query_immodules_2_0_DEPENDENCIES = $(DEPS) @@ -16,7 +26,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=629878 gtk_update_icon_cache_SOURCES = updateiconcache.c STOCK_ICONS = \ stock-icons/16/document-open-recent.png \ -@@ -1595,7 +1595,171 @@ +@@ -1601,7 +1600,171 @@ stock-icons/24/folder-remote.png \ stock-icons/24/user-home.png \ stock-icons/24/user-desktop.png \ @@ -189,7 +199,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=629878 @CROSS_COMPILING_FALSE@gtk_update_icon_cache_program = \ @CROSS_COMPILING_FALSE@ ./gtk-update-icon-cache -@@ -2866,6 +3030,88 @@ +@@ -2873,6 +3036,88 @@ && $(LN_S) folder.png user-desktop.png \ && $(RM) text-x-generic.png \ && $(LN_S) document-x-generic.png text-x-generic.png \ diff --git a/x11-toolkits/gtk20/pkg-plist b/x11-toolkits/gtk20/pkg-plist index 9c3501696..a4ac7f4e6 100644 --- a/x11-toolkits/gtk20/pkg-plist +++ b/x11-toolkits/gtk20/pkg-plist @@ -1,7 +1,6 @@ bin/gtk-builder-convert bin/gtk-demo bin/gtk-query-immodules-2.0 -bin/gtk-update-icon-cache etc/gtk-2.0/gtk.immodules etc/gtk-2.0/im-multipress.conf include/gail-1.0/gail/gailwidget.h @@ -608,10 +607,12 @@ share/themes/Raleigh/gtk-2.0/gtkrc @exec /usr/bin/find %%LOCALBASE%%/share/icons -type d -depth 1 -exec %D/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null || /usr/bin/true @unexec /usr/bin/find %%LOCALBASE%%/share/icons -type f -depth 2 -name icon-theme.cache -delete 2>/dev/null || /usr/bin/true @dirrm share/themes/Raleigh/gtk-2.0 -@dirrm share/themes/Raleigh +@dirrmtry share/themes/Raleigh @dirrm share/themes/Emacs/gtk-2.0-key -@dirrm share/themes/Emacs +@dirrmtry share/themes/Emacs @dirrm share/themes/Default/gtk-2.0-key +@dirrmtry share/themes/Default +@dirrmtry share/themes @dirrm share/gtk-2.0/demo @dirrm share/gtk-2.0 @dirrm include/gtk-unix-print-2.0/gtk @@ -626,8 +627,6 @@ share/themes/Raleigh/gtk-2.0/gtkrc @exec /bin/mkdir -p %D/lib/gtk-2.0/modules @exec /bin/mkdir -p %D/lib/gtk-2.0/%%GTK2_VERSION%%/engines @exec /bin/mkdir -p %D/lib/gtk-2.0/%%GTK2_VERSION%%/loaders -@dirrmtry share/themes/Default -@dirrmtry share/themes @dirrmtry lib/gtk-2.0/modules @dirrmtry lib/gtk-2.0/%%GTK2_VERSION%%/printbackends @dirrmtry lib/gtk-2.0/%%GTK2_VERSION%%/modules diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index ac33876ab..b80fd25e7 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -3,12 +3,12 @@ # Whom: Vanilla I. Shu <vanilla@MinJe.com.TW> # # $FreeBSD$ -# $MCom: ports/x11-toolkits/gtk30/Makefile,v 1.23 2011/02/14 17:14:28 kwm Exp $ +# $MCom: ports/x11-toolkits/gtk30/Makefile,v 1.24 2011/02/22 04:27:11 avl Exp $ # PORTNAME= gtk PORTVERSION= 3.0.1 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ @@ -40,7 +40,7 @@ USE_PERL5_BUILD=yes MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libtool -USE_GNOME= gnomehack atk pango gdkpixbuf2 ltverhack gtk20 +USE_GNOME= gnomehack atk pango gdkpixbuf2 ltverhack gtk-update-icon-cache USE_GETTEXT= yes USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \ xcomposite diff --git a/x11-toolkits/gtk30/pkg-plist b/x11-toolkits/gtk30/pkg-plist index 396308987..5d6fdaa46 100644 --- a/x11-toolkits/gtk30/pkg-plist +++ b/x11-toolkits/gtk30/pkg-plist @@ -619,8 +619,12 @@ share/themes/Raleigh/gtk-3.0/gtk.css @exec /usr/bin/find %%LOCALBASE%%/share/icons -type d -depth 1 -exec %D/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null || /usr/bin/true @unexec /usr/bin/find %%LOCALBASE%%/share/icons -type f -depth 2 -name icon-theme.cache -delete 2>/dev/null || /usr/bin/true @dirrm share/themes/Raleigh/gtk-3.0 +@dirrmtry share/themes/Raleigh @dirrm share/themes/Emacs/gtk-3.0 +@dirrmtry share/themes/Emacs @dirrm share/themes/Default/gtk-3.0 +@dirrmtry share/themes/Default +@dirrmtry share/themes @dirrm share/gtk-3.0/demo @dirrm share/gtk-3.0 @dirrm include/gtk-3.0/unix-print/gtk @@ -636,8 +640,6 @@ share/themes/Raleigh/gtk-3.0/gtk.css @exec /bin/mkdir -p %D/lib/gtk-3.0/modules @exec /bin/mkdir -p %D/lib/gtk-3.0/%%GTK3_VERSION%%/engines @exec /bin/mkdir -p %D/lib/gtk-3.0/%%GTK3_VERSION%%/loaders -@dirrmtry share/themes/Default -@dirrmtry share/themes @dirrmtry lib/gtk-3.0/modules @dirrmtry lib/gtk-3.0/%%GTK3_VERSION%%/printbackends @dirrmtry lib/gtk-3.0/%%GTK3_VERSION%%/modules |