debian/0000775000000000000000000000000012004317346007170 5ustar debian/menu0000775000000000000000000000015212004315372010055 0ustar ?package(agave):needs="X11" \ section="Applications/Graphics"\ title="Agave" command="/usr/bin/agave" debian/copyright0000664000000000000000000000513212004315372011121 0ustar This package was debianized by Varun Hiremath on Fri, 25 Aug 2006 17:48:18 +0530. It was downloaded from Upstream Authors: Jonathon Jongsma , Ole Laursen , Hubert Matthews, Steven G. Kargl, Mike Barcroft , David Schultz Copyright: © 2005 Jonathon Jongsma , © 2002,2003 Ole Laursen , © 2005 Hubert Matthews, © 1993 Sun Microsystems, Inc. © 2003 Steven G. Kargl, © 2003 Mike Barcroft , © 2002,2003 David Schultz License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. On Debian systems, you can find the GPL license in: /usr/share/common-licenses/GPL ------- src/ucompose.h is copyright © 2002, 2003 Ole Laursen , and is licenced as follows: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. On Debian systems, you can find the LGPL license in: /usr/share/common-licenses/LGPL ------- The Agave Docbook included in this package is licensed under the terms of the GNU Free Documentation License: Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. On Debian systems, you can find the GFDL license in: /usr/share/common-licenses/GFDL The Debian packaging is © 2006, Varun Hiremath and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/manpages0000664000000000000000000000001712004315372010701 0ustar debian/agave.1 debian/control0000664000000000000000000000150712004315372010573 0ustar Source: agave Section: gnome Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Varun Hiremath Build-Depends: debhelper (>= 7), cdbs, libboost-dev, libgtkmm-2.4-dev, libgnomeui-dev, libgconfmm-2.6-dev, libcppunit-dev, libxml-parser-perl, libglademm-2.4-dev, gnome-doc-utils, scrollkeeper, intltool, quilt Standards-Version: 3.9.2 Homepage: http://home.gna.org/colorscheme/ Vcs-Svn: https://bollin.googlecode.com/svn/agave/ Vcs-Browser: http://bollin.googlecode.com/svn/agave/ Package: agave Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: colorscheme designer for the GNOME desktop Agave is a very simple application for the GNOME desktop that allows you to generate a variety of colorschemes from a single starting color. debian/compat0000664000000000000000000000000212004315372010363 0ustar 5 debian/watch0000664000000000000000000000014512004315372010216 0ustar version=3 http://download.gna.org/colorscheme/releases/agave-(.*)\.tar\.gz debian debian/orig-tar.sh debian/source/0000775000000000000000000000000012004317346010470 5ustar debian/source/format0000664000000000000000000000001412004315372011673 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000012004317346010617 5ustar debian/patches/fix_gcc-4.5_ftbfs.diff0000664000000000000000000000110412004315372014534 0ustar Description: fix FTBFS with gcc 4.5 Author: Varun Hiremath Date: Wed, 21 Sep 2011 16:47:48 -0400 Index: agave-0.4.7/src/widgets/gcs-schemebox.cc =================================================================== --- agave-0.4.7.orig/src/widgets/gcs-schemebox.cc 2011-09-21 16:44:52.000000000 -0400 +++ agave-0.4.7/src/widgets/gcs-schemebox.cc 2011-09-21 16:46:03.000000000 -0400 @@ -45,7 +45,7 @@ SchemeBox::SchemeBox(Scheme schm) { - SchemeBox::SchemeBox(); + SchemeBox(); set_scheme(schm); } debian/patches/compat-round.diff0000664000000000000000000001341512004315372014062 0ustar Description: Patched compat-round.cc to be more portable on systems with GNU libc Author: Torsten Werner Date: Thu, 5 Oct 2006 23:52:57 +0200 Index: agave-0.4.5/src/core/compat-round.cc =================================================================== --- agave-0.4.5.orig/src/core/compat-round.cc 2006-10-01 03:25:58.000000000 +0530 +++ agave-0.4.5/src/core/compat-round.cc 2008-02-15 19:34:10.000000000 +0530 @@ -34,206 +34,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include - -/* Symbolic constants to classify floating point numbers. */ -#define COMPAT_FP_INFINITE 0x01 -#define COMPAT_FP_NAN 0x02 -#define COMPAT_FP_NORMAL 0x04 -#define COMPAT_FP_SUBNORMAL 0x08 -#define COMPAT_FP_ZERO 0x10 - -#ifdef Linux -#include -#elif defined(__FreeBSD__) -#include -#endif -#define compat_fpclassify(x) \ - ((sizeof (x) == sizeof (float)) ? compat___fpclassifyf(x) \ - : (sizeof (x) == sizeof (double)) ? compat___fpclassifyd(x) \ - : compat___fpclassifyl(x)) - -union compat_IEEEf2bits { - float f; - struct { -#if _BYTE_ORDER == _LITTLE_ENDIAN - unsigned int man :23; - unsigned int exp :8; - unsigned int sign :1; -#else /* _BIG_ENDIAN */ - unsigned int sign :1; - unsigned int exp :8; - unsigned int man :23; -#endif - } bits; -}; - -union compat_IEEEd2bits { - double d; - struct { -#if _BYTE_ORDER == _LITTLE_ENDIAN - unsigned int manl :32; - unsigned int manh :20; - unsigned int exp :11; - unsigned int sign :1; -#else /* _BIG_ENDIAN */ - unsigned int sign :1; - unsigned int exp :11; - unsigned int manh :20; - unsigned int manl :32; -#endif - } bits; -}; - -#ifdef __alpha__ -union compat_IEEEl2bits { - long double e; - struct { - unsigned int manl :32; - unsigned int manh :20; - unsigned int exp :11; - unsigned int sign :1; - } bits; -}; -#define compat_mask_nbit_l(u) ((void)0) -#elif __amd64__ -union compat_IEEEl2bits { - long double e; - struct { - unsigned int manl :32; - unsigned int manh :32; - unsigned int exp :15; - unsigned int sign :1; - unsigned int junkl :16; - unsigned int junkh :32; - } bits; -}; -#define compat_mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff) -#elif __arm__ -union compat_IEEEl2bits { - long double e; - struct { - unsigned int manl :32; - unsigned int manh :32; - unsigned int exp :15; - unsigned int sign :1; - unsigned int junk :16; - } bits; -}; -#define compat_mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff) -#elif __i386__ -union compat_IEEEl2bits { - long double e; - struct { - unsigned int manl :32; - unsigned int manh :32; - unsigned int exp :15; - unsigned int sign :1; - unsigned int junk :16; - } bits; -}; -#define compat_mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff) -#elif __ia64__ -union compat_IEEEl2bits { - long double e; - struct { -#if _BYTE_ORDER == _LITTLE_ENDIAN - unsigned int manl :32; - unsigned int manh :32; - unsigned int exp :15; - unsigned int sign :1; - unsigned long junk :48; -#else /* _BIG_ENDIAN */ - unsigned long junk :48; - unsigned int sign :1; - unsigned int exp :15; - unsigned int manh :32; - unsigned int manl :32; -#endif - } bits; -}; -#define compat_mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff) -#elif __powerpc__ -union compat_IEEEl2bits { - long double e; - struct { - unsigned int sign :1; - unsigned int exp :15; - unsigned long long manh :48; - unsigned long long manl :64; - } bits; -}; -#define compat_mask_nbit_l(u) ((void)0) -#elif __sparc64__ -union compat_IEEEl2bits { - long double e; - struct { - unsigned int sign :1; - unsigned int exp :15; - unsigned long manh :48; - unsigned long manl :64; - } bits; -}; -#define compat_mask_nbit_l(u) ((void)0) -#endif - - static int -compat___fpclassifyf(float f) -{ - union compat_IEEEf2bits u; - - u.f = f; - if (u.bits.exp == 0) { - if (u.bits.man == 0) - return (COMPAT_FP_ZERO); - return (COMPAT_FP_SUBNORMAL); - } - if (u.bits.exp == 255) { - if (u.bits.man == 0) - return (COMPAT_FP_INFINITE); - return (COMPAT_FP_NAN); - } - return (COMPAT_FP_NORMAL); -} +/* modified by Torsten Werner for GNU libc */ - static int -compat___fpclassifyd(double d) -{ - union compat_IEEEd2bits u; - - u.d = d; - if (u.bits.exp == 0) { - if ((u.bits.manl | u.bits.manh) == 0) - return (COMPAT_FP_ZERO); - return (COMPAT_FP_SUBNORMAL); - } - if (u.bits.exp == 2047) { - if ((u.bits.manl | u.bits.manh) == 0) - return (COMPAT_FP_INFINITE); - return (COMPAT_FP_NAN); - } - return (COMPAT_FP_NORMAL); -} - - static int -compat___fpclassifyl(long double e) -{ - union compat_IEEEl2bits u; - - u.e = e; - if (u.bits.exp == 0) { - if ((u.bits.manl | u.bits.manh) == 0) - return (COMPAT_FP_ZERO); - return (COMPAT_FP_SUBNORMAL); - } - compat_mask_nbit_l(u); /* Mask normalization bit if applicable. */ - if (u.bits.exp == 32767) { - if ((u.bits.manl | u.bits.manh) == 0) - return (COMPAT_FP_INFINITE); - return (COMPAT_FP_NAN); - } - return (COMPAT_FP_NORMAL); -} +#include double compat_round(double x) @@ -241,8 +44,8 @@ double t; int i; - i = compat_fpclassify(x); - if (i == COMPAT_FP_INFINITE || i == COMPAT_FP_NAN) + i = fpclassify(x); + if (i == FP_INFINITE || i == FP_NAN) return (x); if (x >= 0.0) { debian/patches/clean_deprecated_gtk_reference.patch0000664000000000000000000000163212004315372017764 0ustar # Description: Gtk::Widget::can_default() is deprecated, and causes FTBFS # unless building without GTK_DISABLE_DEPRECATED. Use # Gtk::Widget::set_can_default() instead Index: agave-0.4.7/src/dialogs/gcs-save-chooser.cc =================================================================== --- agave-0.4.7.orig/src/dialogs/gcs-save-chooser.cc 2009-10-03 00:54:59.000000000 +0100 +++ agave-0.4.7/src/dialogs/gcs-save-chooser.cc 2009-10-03 02:10:19.000000000 +0100 @@ -40,7 +40,7 @@ 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(); + m_okButton->set_can_default(true); // update the last saved location in gconf whenever the user // presses the "OK" button on the SaveChooser dialog debian/patches/series0000664000000000000000000000022512004315654012033 0ustar fix_gcc-4.5_ftbfs.diff headers.diff desktop_file.diff distclean.diff compat-round.diff fix_format_security.diff clean_deprecated_gtk_reference.patch debian/patches/fix_format_security.diff0000664000000000000000000000124512004315536015537 0ustar Description: fix format security warning to fix format security warning to avoid build failure with -Werror=format-security Author: Peter Green Bug-Debian: http://bugs.debian.org/652845 Origin: vendor --- agave-0.4.7.orig/src/dialogs/gcs-about-window.cc +++ agave-0.4.7/src/dialogs/gcs-about-window.cc @@ -105,7 +105,7 @@ namespace gcs catch (const Glib::Error& e) { Glib::ustring message = "Couldn't load Agave logo image from theme. " + e.what(); - g_warning(message.c_str()); + g_warning("%s",message.c_str()); } } } debian/patches/distclean.diff0000664000000000000000000000120712004315372013414 0ustar Description: remove gnome-doc-utils.make in upstream's distclean target Debian Bug: #442483 Author: Varun Hiremath Date: Sun, 9 Aug 2009 19:30:19 -0400 Index: agave-0.4.7/Makefile.in =================================================================== --- agave-0.4.7.orig/Makefile.in 2011-09-21 16:49:46.000000000 -0400 +++ agave-0.4.7/Makefile.in 2011-09-21 16:49:50.000000000 -0400 @@ -227,8 +227,8 @@ DISTCLEANFILES = intltool-extract \ intltool-merge \ - intltool-update \ - gnome-doc-utils.make + intltool-update + AUTOMAKE_OPTIONS = gnu dist-bzip2 LOCAL_RELEASE_BASE = ~/Projects/gcs-releases debian/patches/headers.diff0000664000000000000000000000113612004315372013062 0ustar Description: include cstring header in palette.h Origin: vendor, Debian Forwarded: no Author: Varun Hiremath Last-Update: Sun, 9 Aug 2009 19:28:12 -0400 Index: agave-0.4.7/src/paletteparser/palette.h =================================================================== --- agave-0.4.7.orig/src/paletteparser/palette.h 2011-09-21 16:49:27.000000000 -0400 +++ agave-0.4.7/src/paletteparser/palette.h 2011-09-21 16:49:32.000000000 -0400 @@ -27,6 +27,7 @@ #define __PP_PALETTE_H #include +#include #include #include #include debian/patches/desktop_file.diff0000664000000000000000000000175312004315372014124 0ustar Description: remove encoding from desktop file Author: Varun Hiremath Date: Sun, 9 Aug 2009 19:30:19 -0400 Index: agave-0.4.7/data/agave.desktop.in =================================================================== --- agave-0.4.7.orig/data/agave.desktop.in 2011-09-21 16:50:06.000000000 -0400 +++ agave-0.4.7/data/agave.desktop.in 2011-09-21 16:51:02.000000000 -0400 @@ -1,9 +1,8 @@ [Desktop Entry] Version=1.0 -Encoding=UTF-8 Type=Application _Name=Agave _Comment=Generate color schemes Icon=agave Exec=agave -Categories=GNOME;Application;Graphics +Categories=GNOME;Graphics; Index: agave-0.4.7/data/agave.desktop.in.in =================================================================== --- agave-0.4.7.orig/data/agave.desktop.in.in 2011-09-21 16:50:06.000000000 -0400 +++ agave-0.4.7/data/agave.desktop.in.in 2011-09-21 16:50:10.000000000 -0400 @@ -1,6 +1,5 @@ [Desktop Entry] Version=1.0 -Encoding=UTF-8 Type=Application _Name=Agave _Comment=Generate color schemes debian/orig-tar.sh0000775000000000000000000000032112004315372011244 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $3 $origDir echo "moved $3 to $origDir" fi debian/changelog0000664000000000000000000001225012004317243011036 0ustar agave (0.4.7-2.1ubuntu1) quantal; urgency=low * Merge from Debian unstable. Remaining Ubuntu changes: - debian/patches/clean_deprecated_gtk_reference.patch: The can_default() member of Gtk::Widget is deprecated and causes FTBFS. Use Gtk::Widget::set_can_default() instead. -- Andrew Starr-Bochicchio Thu, 26 Jul 2012 15:35:04 -0400 agave (0.4.7-2.1) unstable; urgency=low * Non-maintainer upload. * Fix build error with -Werror=format-security. (Closes: #652845) Thanks to peter green for the patch. + new patch: fix_format_security.diff -- Ansgar Burchardt Wed, 28 Dec 2011 10:34:34 +0100 agave (0.4.7-2ubuntu1) precise; urgency=low * Merge from debian unstable. Remaining changes: + debian/patches/clean_deprecated_gtk_reference.patch: The can_default() member of Gtk::Widget is deprecated and causes FTBFS. Use Gtk::Widget::set_can_default() instead. * debian/patches/fix_format_security.patch: Fixed errors in: src/dialogs/gcs-about-window.cc -- Stephan Adig Tue, 25 Oct 2011 15:50:52 +0000 agave (0.4.7-2) unstable; urgency=low * Add patches/fix_gcc-4.5_ftbfs.diff to fix FTBFS (Closes: #564850) * Update patches/desktop_file.diff, thanks to Micheas Herman (Closes: #608165) * Bump Standards-Version to 3.9.2 * Switch to source format 3.0 -- Varun Hiremath Wed, 21 Sep 2011 16:47:48 -0400 agave (0.4.7-1ubuntu2) natty; urgency=low * Fix FTBFS with GCC-4.5. Closes: #564850. -- Matthias Klose Fri, 01 Apr 2011 14:09:14 +0200 agave (0.4.7-1ubuntu1) karmic; urgency=low * debian/patches/clean_deprecated_gtk_reference.patch: - The can_default() member of Gtk::Widget is deprecated and causes FTBFS. Use Gtk::Widget::set_can_default() instead. -- Chris Coulson Sat, 03 Oct 2009 01:25:03 +0100 agave (0.4.7-1) unstable; urgency=low * New upstream release + removed colon from PI names (Closes: #522184) + implements saving colour profile (Closes: #514649) * Add menu file for agave (Closes: #512714) * Remove Torsten from Uploaders, as requested * Bump Standards-Version to 3.8.2 * Add description to all debian/patches -- Varun Hiremath Sun, 09 Aug 2009 19:33:09 -0400 agave (0.4.5-2) unstable; urgency=low * Add patches/headers.diff to add missing header files resulting in FTBFS with g++-4.3 (Closes: #470965) -- Varun Hiremath Sat, 15 Mar 2008 18:25:09 +0530 agave (0.4.5-1) unstable; urgency=low * New upstream release -- Varun Hiremath Fri, 15 Feb 2008 19:29:15 +0530 agave (0.4.4-2) unstable; urgency=low * Add patches/desktop_file.diff to remove Encoding field and fix Icon, Thanks to Tomas Safarik (Closes: #462755) -- Varun Hiremath Mon, 28 Jan 2008 01:12:33 +0530 agave (0.4.4-1) unstable; urgency=low * New upstream release * debian/control: + Bump up Standards-Version to 3.7.3 + Add Homepage, Vcs-{Svn, Browser} headers * debian/copyright: remove the full text of GFDL license - now included in common-licenses. -- Varun Hiremath Wed, 16 Jan 2008 17:53:23 +0530 agave (0.4.3-2) unstable; urgency=low * Add a patch to not remove gnome-doc-utils.make in upstream's distclean target. Fixes FTBFS (Closes: #442483) -- Varun Hiremath Mon, 17 Sep 2007 08:36:07 +0530 agave (0.4.3-1) unstable; urgency=low * New upstream release * Enhance debian/watch -- Varun Hiremath Thu, 14 Jun 2007 21:37:21 +0530 agave (0.4.2-2) unstable; urgency=low * debian/rules: --disable-scrollkeeper while configuring (Closes: #415601) * debian/copyright: Include the GFDL license as Agave docbook is released under the GFDL license. -- Varun Hiremath Fri, 23 Mar 2007 16:52:12 +0530 agave (0.4.2-1) unstable; urgency=low * New upstream release. * Add Build-Depends: libglademm-2.4-dev, gnome-doc-utils, scrollkeeper. -- Torsten Werner Mon, 19 Mar 2007 22:52:13 +0100 agave (0.4.1-0) unstable; urgency=low * New upstream release * Add watch file * remove patches/fix-compile.patch as no longer required -- Varun Hiremath Mon, 9 Oct 2006 19:23:53 +0530 agave (0.4.0-4) unstable; urgency=low * Patched compat-round.cc to be more portable on systems with GNU libc. -- Torsten Werner Thu, 5 Oct 2006 23:52:57 +0200 agave (0.4.0-3) unstable; urgency=low * debian/copyright: include src/ucompose.h LGPL license. -- Varun Hiremath Wed, 20 Sep 2006 20:38:42 +0530 agave (0.4.0-2) unstable; urgency=low [ Varun Hiremath ] * debian/copyright: added more authors, copyright holders -- Torsten Werner Thu, 31 Aug 2006 21:30:56 +0200 agave (0.4.0-1) unstable; urgency=low [ Varun Hiremath ] * Initial release (Closes: #384516, #354415) [ Torsten Werner ] * added myself to Uploaders in debian/control -- Torsten Werner Thu, 31 Aug 2006 21:19:09 +0530 debian/agave.10000664000000000000000000000476112004315372010342 0ustar .TH AGAVE 1 "August 25, 2006" .SH NAME Agave \- colorscheme designer for the gnome desktop .SH SYNOPSIS .B agave .RI [ options ] .SH DESCRIPTION Agave is a program for generating colorschemes from a starting color. It currently supports five different colorscheme types: * Complements: The starting color and the color directly across the color wheel * Split Complements: the starting color and the two colors that are slightly offset from the color directly across the color wheel * Triads: the starting color and the two colors 1/3 of the way around the wheel in each direction. * Tetrads: The starting color and its complement plus another color slightly offset from the starting color and _its_ complement * Analogous: The starting color and two colors slightly offset in hue * Monochromatic: The starting color and two other colors of the same hue, one lighter, and one darker .PP \fBUsing Agave\fP * Choose a starting color by clicking on the color button or selecting a color from the palette, and then select a scheme type from the combo box. The generated scheme will be displayed in the main window. * The left-most Color in the main window is the currently-selected color. This color can be added to your favorites list with the '+' button in the bottom right, or with the keyboard shortcut 'Ctrl+D'. * To make one of the other colors in the scheme the currently-selected color, you can double-click the colorswatch. * To copy a hexstring representation of the color (e.g. #FFFFFF) to the clipboard, right-click the colorswatch and select the 'copy' menu item. .SH OPTIONS .SS .SS Help Options: .TP .B -?, --help Show help options .TP .B --help-all Show all help options .TP .B --help-gtk Show GTK+ Options .SS .SS GTK+ Options .TP .B --class=CLASS Program class as used by the window manager .TP .B --name=NAME Program name as used by the window manager .TP .B --screen=SCREEN X screen to use .TP .B --sync Make X calls synchronous .TP .B --gtk-module=MODULES Load additional GTK+ modules .TP .B --g-fatal-warnings Make all warnings fatal .SS .SS Application Options: .TP .B -d, --debug Enable Debugging output .TP .B --display=DISPLAY X display to use .PP .SH AUTHOR Agave was written by Jonathon Jongsma . .PP This manual page was written by Varun Hiremath , for the Debian project (but may be used by others). debian/rules0000775000000000000000000000033512004315372010246 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk DEB_CONFIGURE_EXTRA_FLAGS := --disable-scrollkeeper get-orig-source: -uscan --upstream-version --force-download debian/docs0000664000000000000000000000002112004315372010031 0ustar NEWS README TODO