Date: Sun, 10 Aug 2014 08:22:56 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364511 - in head/graphics/agave: . files Message-ID: <53e72be0.2e2d.596d90bc@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sun Aug 10 08:22:55 2014 New Revision: 364511 URL: http://svnweb.freebsd.org/changeset/ports/364511 QAT: https://qat.redports.org/buildarchive/r364511/ Log: graphics/agave: Upgrade version 0.4.2 => 0.4.7 and stage PR: 192477 Submitted by: Ports Fury Added: head/graphics/agave/files/ head/graphics/agave/files/patch-src__dialogs__gcs-about-window.cc (contents, props changed) head/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc (contents, props changed) head/graphics/agave/files/patch-src__widgets__gcs-paletteview.h (contents, props changed) head/graphics/agave/files/patch-src__widgets__gcs-schemebox.cc (contents, props changed) Modified: head/graphics/agave/Makefile head/graphics/agave/distinfo head/graphics/agave/pkg-descr head/graphics/agave/pkg-plist Modified: head/graphics/agave/Makefile ============================================================================== --- head/graphics/agave/Makefile Sun Aug 10 08:19:48 2014 (r364510) +++ head/graphics/agave/Makefile Sun Aug 10 08:22:55 2014 (r364511) @@ -2,37 +2,39 @@ # $FreeBSD$ PORTNAME= agave -PORTVERSION= 0.4.2 -PORTREVISION= 11 +PORTVERSION= 0.4.7 CATEGORIES= graphics gnome MASTER_SITES= http://download.gna.org/colorscheme/releases/ MAINTAINER= ports@FreeBSD.org COMMENT= Color scheme builder for the GNOME desktop -LIB_DEPENDS= libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 \ - libboost_thread.so:${PORTSDIR}/devel/boost-libs +LICENSE= GPLv2 # (or later) -# --disable-gnome option is broken in 0.4.2 -#OPTIONS= GNOME "Adds GNOME support" on +LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ + libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 -USES= gettext gmake pkgconfig tar:bzip2 -USE_GNOME= gnomeprefix gnomehack gnomedocutils intlhack -GCONF_SCHEMAS= agave.schemas +USES= gettext gmake pathfix pkgconfig tar:bzip2 +USE_GNOME= gconfmm26 gnomedocutils gnomeprefix gtkmm24 +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-scrollkeeper \ + --disable-schemas-install \ + --disable-cppunit INSTALLS_ICONS= yes INSTALLS_OMF= yes -GNU_CONFIGURE= yes + CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include <bsd.port.pre.mk> +GCONF_SCHEMAS= agave.schemas + +OPTIONS_DEFINE= GNOME + +GNOME_USE= gnome=libgnomeui +GNOME_CONFIGURE_ENABLE= gnome -#.if defined(WITHOUT_GNOME) -#CONFIGURE_ARGS+= --disable-gnome --disable-gconf -#.else -USE_GNOME+= libgnomeui -LIB_DEPENDS+= libgconfmm-2.6.so:${PORTSDIR}/devel/gconfmm26 -#.endif +post-patch: + @${REINPLACE_CMD} -e \ + 's| _GCS_| __GCS_|' ${WRKSRC}/src/gcs-conf.h -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/graphics/agave/distinfo ============================================================================== --- head/graphics/agave/distinfo Sun Aug 10 08:19:48 2014 (r364510) +++ head/graphics/agave/distinfo Sun Aug 10 08:22:55 2014 (r364511) @@ -1,2 +1,2 @@ -SHA256 (agave-0.4.2.tar.bz2) = d34aaca056b3b2f097bb38e90dce7d2b6b9aab3ebe05dea9368fd5f48c7d2bde -SIZE (agave-0.4.2.tar.bz2) = 306607 +SHA256 (agave-0.4.7.tar.bz2) = ee19f62287d03dfbc41bb2dd86683eb13e3f9664135f4108e9c93e68994402f2 +SIZE (agave-0.4.7.tar.bz2) = 500407 Added: head/graphics/agave/files/patch-src__dialogs__gcs-about-window.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/agave/files/patch-src__dialogs__gcs-about-window.cc Sun Aug 10 08:22:55 2014 (r364511) @@ -0,0 +1,30 @@ +--- src/dialogs/gcs-about-window.cc.orig ++++ src/dialogs/gcs-about-window.cc +@@ -48,9 +48,9 @@ + + #ifdef HAVE_GNOME + set_url_hook(sigc::mem_fun(*this, &AboutWindow::on_link_clicked)); ++#endif // HAVE_GNOME + set_website(PACKAGE_WEBSITE); + set_website_label(_("Project Website")); +-#endif // HAVE_GNOME + + Glib::ustring version(PACKAGE_VERSION); + set_version(version); +@@ -111,14 +111,14 @@ + } + + ++#ifdef HAVE_GNOME + void + AboutWindow::on_link_clicked(Gtk::AboutDialog& dialog, + const Glib::ustring& link) + { +-#ifdef HAVE_GNOME + gnome_url_show(link.c_str(), 0); +-#endif // HAVE_GNOME + } ++#endif // HAVE_GNOME + + void + AboutWindow::on_response(int response_id) Added: head/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc Sun Aug 10 08:22:55 2014 (r364511) @@ -0,0 +1,32 @@ +--- src/gcs-mainwindow-actions.cc.orig ++++ src/gcs-mainwindow-actions.cc +@@ -25,7 +25,12 @@ + + #include <vector> + #include <gtk/gtk.h> ++ ++#include <config.h> ++#ifdef HAVE_GNOME + #include <libgnome/gnome-help.h> ++#endif // HAVE_GNOME ++ + #include <gtkmm/iconfactory.h> + #include <gtkmm/stock.h> + #include <gtkmm/clipboard.h> +@@ -251,9 +256,16 @@ + /* Help Menu Actions */ + void MainWindow::on_action_help_contents(void) + { ++#ifdef HAVE_GNOME + gnome_help_display("agave.xml", + NULL /* link id */, + NULL /* GError */); ++#else ++ gtk_show_uri(NULL, ++ "ghelp:agave", ++ gtk_get_current_event_time (), ++ NULL); ++#endif // HAVE_GNOME + } + + Added: head/graphics/agave/files/patch-src__widgets__gcs-paletteview.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/agave/files/patch-src__widgets__gcs-paletteview.h Sun Aug 10 08:22:55 2014 (r364511) @@ -0,0 +1,10 @@ +--- src/widgets/gcs-paletteview.h.orig ++++ src/widgets/gcs-paletteview.h +@@ -40,6 +40,7 @@ + #include "core/gcs-types.h" + #include "core/gcs-color.h" + #include "paletteparser/palette.h" ++#include "palettetreemodel.h" + #include "palette-selector.h" + + using namespace Gnome; Added: head/graphics/agave/files/patch-src__widgets__gcs-schemebox.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/agave/files/patch-src__widgets__gcs-schemebox.cc Sun Aug 10 08:22:55 2014 (r364511) @@ -0,0 +1,11 @@ +--- src/widgets/gcs-schemebox.cc.orig ++++ src/widgets/gcs-schemebox.cc +@@ -45,7 +45,7 @@ + + SchemeBox::SchemeBox(Scheme schm) + { +- SchemeBox::SchemeBox(); ++ SchemeBox(); + set_scheme(schm); + } + Modified: head/graphics/agave/pkg-descr ============================================================================== --- head/graphics/agave/pkg-descr Sun Aug 10 08:19:48 2014 (r364510) +++ head/graphics/agave/pkg-descr Sun Aug 10 08:22:55 2014 (r364511) @@ -1,9 +1,9 @@ GNOME Colorscheme is a color scheme builder for the GNOME desktop. It is -useful for web creation as well as room painting. It supports 6 various types -of color schemes: Complements, Split Complements, Triads, Tetrads, Analogous, -and Monochromatic. +useful for web creation as well as room painting. It supports 6 various +types of color schemes: Complements, Split Complements, Triads, Tetrads, +Analogous, and Monochromatic. -The user can lighten/darken the whole colorscheme or increase/decrease its -saturation. +The user can lighten/darken the whole colorscheme or increase/decrease +its saturation. WWW: http://home.gna.org/colorscheme/ Modified: head/graphics/agave/pkg-plist ============================================================================== --- head/graphics/agave/pkg-plist Sun Aug 10 08:19:48 2014 (r364510) +++ head/graphics/agave/pkg-plist Sun Aug 10 08:22:55 2014 (r364511) @@ -1,39 +1,76 @@ bin/agave share/applications/agave.desktop -share/agave/palettes/Gnome-Palette.gpl -share/agave/palettes/Tango-Palette.gpl -share/agave/palettes/Visibone.gpl -share/agave/palettes/Web.gpl -share/agave/pixmaps/darken.png -share/agave/pixmaps/desaturate.png -share/agave/pixmaps/lighten.png -share/agave/pixmaps/saturate.png -share/agave/ui/agave.glade -share/agave/ui/agave.ui -share/agave/ui/bookmarkspopup.ui +%%DATADIR%%/palettes/Gnome-Palette.gpl +%%DATADIR%%/palettes/Tango-Palette.gpl +%%DATADIR%%/palettes/Visibone.gpl +%%DATADIR%%/palettes/Web.gpl +%%DATADIR%%/pixmaps/darken.png +%%DATADIR%%/pixmaps/desaturate.png +%%DATADIR%%/pixmaps/lighten.png +%%DATADIR%%/pixmaps/saturate.png +%%DATADIR%%/ui/agave.glade +%%DATADIR%%/ui/agave.ui +%%DATADIR%%/ui/bookmarkspopup.ui share/gnome/help/agave/C/agave.xml +share/gnome/help/agave/C/figures/analogous.png +share/gnome/help/agave/C/figures/complements.png share/gnome/help/agave/C/figures/gtk-color-selector.png share/gnome/help/agave/C/figures/main-window.png +share/gnome/help/agave/C/figures/split-complements.png +share/gnome/help/agave/C/figures/tetrads.png +share/gnome/help/agave/C/figures/triads.png share/gnome/help/agave/C/legal.xml -share/omf/agave/agave-C.omf -share/icons/hicolor/48x48/apps/agave-icon.png -share/icons/hicolor/scalable/apps/agave-icon.svg +share/gnome/help/agave/cs/agave.xml +share/gnome/help/agave/cs/figures/analogous.png +share/gnome/help/agave/cs/figures/complements.png +share/gnome/help/agave/cs/figures/gtk-color-selector.png +share/gnome/help/agave/cs/figures/main-window.png +share/gnome/help/agave/cs/figures/split-complements.png +share/gnome/help/agave/cs/figures/tetrads.png +share/gnome/help/agave/cs/figures/triads.png +share/gnome/help/agave/cs/legal.xml +share/gnome/help/agave/de/agave.xml +share/gnome/help/agave/de/figures/analogous.png +share/gnome/help/agave/de/figures/complements.png +share/gnome/help/agave/de/figures/gtk-color-selector.png +share/gnome/help/agave/de/figures/main-window.png +share/gnome/help/agave/de/figures/split-complements.png +share/gnome/help/agave/de/figures/tetrads.png +share/gnome/help/agave/de/figures/triads.png +share/gnome/help/agave/de/legal.xml +share/icons/hicolor/16x16/apps/agave.png +share/icons/hicolor/22x22/apps/agave.png +share/icons/hicolor/32x32/apps/agave.png +share/icons/hicolor/scalable/apps/agave.svg share/locale/bg/LC_MESSAGES/agave.mo share/locale/ca/LC_MESSAGES/agave.mo share/locale/cs/LC_MESSAGES/agave.mo share/locale/de/LC_MESSAGES/agave.mo share/locale/es_ES/LC_MESSAGES/agave.mo +share/locale/fr/LC_MESSAGES/agave.mo +share/locale/gl_ES/LC_MESSAGES/agave.mo share/locale/it/LC_MESSAGES/agave.mo +share/locale/ja/LC_MESSAGES/agave.mo share/locale/nl/LC_MESSAGES/agave.mo +share/locale/pl/LC_MESSAGES/agave.mo share/locale/pt_BR/LC_MESSAGES/agave.mo share/locale/ru/LC_MESSAGES/agave.mo share/locale/sv/LC_MESSAGES/agave.mo share/locale/zh_TW/LC_MESSAGES/agave.mo +share/omf/agave/agave-C.omf +share/omf/agave/agave-cs.omf +share/omf/agave/agave-de.omf @dirrm share/omf/agave +@dirrmtry share/locale/gl_ES/LC_MESSAGES +@dirrmtry share/locale/gl_ES +@dirrm share/gnome/help/agave/de/figures +@dirrm share/gnome/help/agave/de +@dirrm share/gnome/help/agave/cs/figures +@dirrm share/gnome/help/agave/cs @dirrm share/gnome/help/agave/C/figures @dirrm share/gnome/help/agave/C @dirrm share/gnome/help/agave -@dirrm share/agave/ui -@dirrm share/agave/pixmaps -@dirrm share/agave/palettes -@dirrm share/agave +@dirrm %%DATADIR%%/ui +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%%/palettes +@dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e72be0.2e2d.596d90bc>