summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-27 18:28:48 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-27 18:28:48 +0800
commitf9e741615cdff3e948210a841ad2c8b804df3800 (patch)
tree8409a4c5c387bd45188a0801aa0fbfbd30bf1d8c /graphics
parent07b2a104ed948332f09a6aac1502150895ddbcc4 (diff)
downloadmarcuscom-ports-f9e741615cdff3e948210a841ad2c8b804df3800.tar
marcuscom-ports-f9e741615cdff3e948210a841ad2c8b804df3800.tar.gz
marcuscom-ports-f9e741615cdff3e948210a841ad2c8b804df3800.tar.bz2
marcuscom-ports-f9e741615cdff3e948210a841ad2c8b804df3800.tar.lz
marcuscom-ports-f9e741615cdff3e948210a841ad2c8b804df3800.tar.xz
marcuscom-ports-f9e741615cdff3e948210a841ad2c8b804df3800.tar.zst
marcuscom-ports-f9e741615cdff3e948210a841ad2c8b804df3800.zip
Fix build with new gtkmm.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13045 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/agave/Makefile42
-rw-r--r--graphics/agave/distinfo3
-rw-r--r--graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc12
-rw-r--r--graphics/agave/pkg-descr9
-rw-r--r--graphics/agave/pkg-plist40
5 files changed, 106 insertions, 0 deletions
diff --git a/graphics/agave/Makefile b/graphics/agave/Makefile
new file mode 100644
index 000000000..836ada894
--- /dev/null
+++ b/graphics/agave/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: gnome-colorscheme
+# Date created: 30 August 2005
+# Whom: Piotr Smyrak <smyru@heron.pl>
+#
+# $FreeBSD: ports/graphics/agave/Makefile,v 1.13 2009/07/31 13:51:57 dinoex Exp $
+#
+
+PORTNAME= agave
+PORTVERSION= 0.4.2
+PORTREVISION= 6
+CATEGORIES= graphics gnome
+MASTER_SITES= http://download.gna.org/colorscheme/releases/
+
+MAINTAINER= smyru@heron.pl
+COMMENT= A color scheme builder for the GNOME desktop
+
+LIB_DEPENDS= glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
+ boost_thread.4:${PORTSDIR}/devel/boost-libs
+
+# --disable-gnome option is broken in 0.4.2
+#OPTIONS= GNOME "Adds GNOME support" on
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack gnomedocutils intlhack
+GCONF_SCHEMAS= agave.schemas
+INSTALLS_ICONS= yes
+INSTALLS_OMF= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+#.if defined(WITHOUT_GNOME)
+#CONFIGURE_ARGS+= --disable-gnome --disable-gconf
+#.else
+USE_GNOME+= libgnomeui
+LIB_DEPENDS+= gconfmm-2.6:${PORTSDIR}/devel/gconfmm26
+#.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/agave/distinfo b/graphics/agave/distinfo
new file mode 100644
index 000000000..1499b0643
--- /dev/null
+++ b/graphics/agave/distinfo
@@ -0,0 +1,3 @@
+MD5 (agave-0.4.2.tar.bz2) = eb0801cc951c93f5a8fefb4b1c8afb09
+SHA256 (agave-0.4.2.tar.bz2) = d34aaca056b3b2f097bb38e90dce7d2b6b9aab3ebe05dea9368fd5f48c7d2bde
+SIZE (agave-0.4.2.tar.bz2) = 306607
diff --git a/graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc b/graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc
new file mode 100644
index 000000000..dfe9587b2
--- /dev/null
+++ b/graphics/agave/files/patch-src_dialogs_gcs-save-chooser.cc
@@ -0,0 +1,12 @@
+--- src/dialogs/gcs-save-chooser.cc.orig 2009-09-27 01:26:32.000000000 +0200
++++ src/dialogs/gcs-save-chooser.cc 2009-09-27 12:00:37.000000000 +0200
+@@ -40,7 +40,8 @@ namespace gcs
+ m_cancelButton = add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
+ m_okButton = add_button(Gtk::Stock::OK, Gtk::RESPONSE_OK);
+ set_do_overwrite_confirmation();
+- m_okButton->can_default();
++ if (m_okButton->get_can_default())
++ m_okButton->set_can_default();
+
+ // update the last saved location in gconf whenever the user
+ // presses the "OK" button on the SaveChooser dialog
diff --git a/graphics/agave/pkg-descr b/graphics/agave/pkg-descr
new file mode 100644
index 000000000..c6b349ea1
--- /dev/null
+++ b/graphics/agave/pkg-descr
@@ -0,0 +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.
+
+The user can lighten/darken the whole colorscheme or increase/decrease its
+saturation.
+
+WWW: http://home.gna.org/colorscheme/
diff --git a/graphics/agave/pkg-plist b/graphics/agave/pkg-plist
new file mode 100644
index 000000000..006094a7d
--- /dev/null
+++ b/graphics/agave/pkg-plist
@@ -0,0 +1,40 @@
+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
+share/gnome/help/agave/C/agave.xml
+share/gnome/help/agave/C/figures/gtk-color-selector.png
+share/gnome/help/agave/C/figures/main-window.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/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/it/LC_MESSAGES/agave.mo
+share/locale/nl/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
+@dirrm share/omf/agave
+@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
+@dirrmtry share/applications