rpms/imgtarget/F-11 imgtarget-0.1.4-argyllcms.patch, NONE, 1.1 imgtarget-0.1.4-dialogs.patch, NONE, 1.1 imgtarget-0.1.4-gcc44.patch, NONE, 1.1 imgtarget.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

zarko pintar grof at fedoraproject.org
Mon May 18 10:44:16 UTC 2009


Author: grof

Update of /cvs/pkgs/rpms/imgtarget/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2810/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	imgtarget-0.1.4-argyllcms.patch imgtarget-0.1.4-dialogs.patch 
	imgtarget-0.1.4-gcc44.patch imgtarget.spec import.log 
Log Message:


imgtarget-0.1.4-argyllcms.patch:

--- NEW FILE imgtarget-0.1.4-argyllcms.patch ---
--- imgtarget-0.1.4/it_core.cpp.orig	2009-01-04 23:22:04.000000000 +0100
+++ imgtarget-0.1.4/it_core.cpp	2009-03-31 08:44:25.000000000 +0200
@@ -35,8 +35,8 @@
 
 ConfigTemplate IT_Settings::Template[]=
 {
-	ConfigTemplate("ArgyllPath_TIFFGamut","/usr/local/bin/tiffgamut"),
-	ConfigTemplate("ArgyllPath_ICCLink","/usr/local/bin/collink"),
+	ConfigTemplate("ArgyllPath_TIFFGamut","/usr/bin/tiffgamut"),
+	ConfigTemplate("ArgyllPath_ICCLink","/usr/bin/collink"),
 	ConfigTemplate("SourceVC","md"),
 	ConfigTemplate("DestVC","pp"),
 	ConfigTemplate("GamutMode","-qm -G"),

imgtarget-0.1.4-dialogs.patch:

--- NEW FILE imgtarget-0.1.4-dialogs.patch ---
diff --git a/dialogs.cpp b/dialogs.cpp
index 8271340..b3cbd1d 100644
--- imgtarget-0.1.4/dialogs.cpp.debug
+++ imgtarget-0.1.4/dialogs.cpp
@@ -197,19 +197,19 @@ void PreferencesDialog(GtkWindow *parent,IT_GUI &gui)
 	gtk_table_attach(GTK_TABLE(table),label,0,1,0,1,GTK_SHRINK,gao,0,0);
 	gtk_widget_show(label);
 
-	argyllpath_tg=gtk_file_chooser_button_new(_("Path to Argyll utilities (TIFFGamut and ICCLink)"),GTK_FILE_CHOOSER_ACTION_OPEN);
-	gtk_table_attach(GTK_TABLE(table),argyllpath_tg,1,2,0,1,gao,gao,0,0);
-	gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(argyllpath_tg),gui.settings.FindString("ArgyllPath_TIFFGamut"));
-	gtk_widget_show(argyllpath_tg);
+//	argyllpath_tg=gtk_file_chooser_button_new(_("Path to Argyll utilities (TIFFGamut and ICCLink)"),GTK_FILE_CHOOSER_ACTION_OPEN);
+//	gtk_table_attach(GTK_TABLE(table),argyllpath_tg,1,2,0,1,gao,gao,0,0);
+//	gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(argyllpath_tg),gui.settings.FindString("ArgyllPath_TIFFGamut"));
+//	gtk_widget_show(argyllpath_tg);
 
 	label=gtk_label_new(_("Path to Argyll's 'collink' command"));
 	gtk_table_attach(GTK_TABLE(table),label,0,1,1,2,GTK_SHRINK,gao,0,0);
 	gtk_widget_show(label);
 
-	argyllpath_il=gtk_file_chooser_button_new(_("Path to Argyll's collink command"),GTK_FILE_CHOOSER_ACTION_OPEN);
-	gtk_table_attach(GTK_TABLE(table),argyllpath_il,1,2,1,2,gao,gao,0,0);
-	gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(argyllpath_il),gui.settings.FindString("ArgyllPath_ICCLink"));
-	gtk_widget_show(argyllpath_il);
+//	argyllpath_il=gtk_file_chooser_button_new(_("Path to Argyll's collink command"),GTK_FILE_CHOOSER_ACTION_OPEN);
+//	gtk_table_attach(GTK_TABLE(table),argyllpath_il,1,2,1,2,gao,gao,0,0);
+//	gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(argyllpath_il),gui.settings.FindString("ArgyllPath_ICCLink"));
+//	gtk_widget_show(argyllpath_il);
 
 	gtk_widget_show(dialog);
 	
@@ -238,8 +238,8 @@ void PreferencesDialog(GtkWindow *parent,IT_GUI &gui)
 				char *tmppaths=gui.GetPaths();
 				gui.SetString("ProfilePath",tmppaths);
 				free(tmppaths);
-				gui.settings.SetString("ArgyllPath_TIFFGamut",gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(argyllpath_tg)));
-				gui.settings.SetString("ArgyllPath_ICCLink",gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(argyllpath_il)));
+//				gui.settings.SetString("ArgyllPath_TIFFGamut",gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(argyllpath_tg)));
+//				gui.settings.SetString("ArgyllPath_ICCLink",gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(argyllpath_il)));
 				if(result==RESPONSE_SAVE)
 				{
 					gui.SaveGeometry();

imgtarget-0.1.4-gcc44.patch:

--- NEW FILE imgtarget-0.1.4-gcc44.patch ---
--- imgtarget-0.1.4/support/layoutrectangle.h.debug	2008-10-19 03:14:20.000000000 +0900
+++ imgtarget-0.1.4/support/layoutrectangle.h	2009-05-10 02:14:35.000000000 +0900
@@ -1,5 +1,6 @@
 #ifndef LAYOUTRECTANGLE_H
 #define LAYOUTRECTANGLE_H
+#include <cstdio>
 
 enum PP_ROTATION
 {
--- imgtarget-0.1.4/support/pathsupport.cpp.debug	2008-11-19 03:54:03.000000000 +0900
+++ imgtarget-0.1.4/support/pathsupport.cpp	2009-05-10 02:15:23.000000000 +0900
@@ -2,6 +2,7 @@
 #include <iostream>
 #include <string.h>
 #include <glib.h>
+#include <cstdio>
 
 #include "searchpath.h"
 #include "pathsupport.h"
--- imgtarget-0.1.4/support/searchpath.cpp.debug	2008-11-20 09:06:23.000000000 +0900
+++ imgtarget-0.1.4/support/searchpath.cpp	2009-05-10 02:15:59.000000000 +0900
@@ -3,6 +3,7 @@
 #include <iostream>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <cstdio>
 
 #include "pathsupport.h"
 
--- imgtarget-0.1.4/support/tempfile.cpp.debug	2008-10-13 06:49:26.000000000 +0900
+++ imgtarget-0.1.4/support/tempfile.cpp	2009-05-10 02:17:42.000000000 +0900
@@ -14,6 +14,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <cstdio>
 
 #include "tempfile.h"
 


--- NEW FILE imgtarget.spec ---
Name:           imgtarget
Version:        0.1.4
Release:        3%{?dist}
Summary:        Front-end to functionality provided by ArgyllCMS

Group:          Applications/Multimedia
License:        GPLv2+
URL:            http://blackfiveimaging.co.uk/index.php?article=02Software%2F02ImgTarget
Source0:        http://www.blackfiveimaging.co.uk/imgtarget/%{name}-%{version}.tar.gz
Patch0:         imgtarget-0.1.4-argyllcms.patch
Patch1:         imgtarget-0.1.4-gcc44.patch
Patch2:         imgtarget-0.1.4-dialogs.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gtk2-devel
BuildRequires:  netpbm-devel
BuildRequires:  lcms-devel
BuildRequires:  libjpeg-devel
BuildRequires:  libtiff-devel
BuildRequires:  desktop-file-utils
Requires:       argyllcms

%description
ImgTarget wraps the details of performing this task in a graphical 
user interface, and displays the original image, the image converted 
to a specific profile the traditional way, and the results of 
applying the devicelink profile - all side-by-side for convenient 
comparison.  It can also export the converted image data, with the 
target profile embedded, in either TIFF or JPEG format. 


%prep
%setup -q
%patch0 -p1 -b .argyllcms
%patch1 -p1 -b .gcc44
%patch2 -p1 -b .dialogs

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop

%clean
rm -rf $RPM_BUILD_ROOT

%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :


%files 
%defattr(-,root,root,-)
%doc NEWS README ChangeLog COPYING 
%{_bindir}/*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png



%changelog
* Tue May 12 2009 Zarko <zarko.pintar at gmail.com> - 0.1.4-3
- spec cleaning
- added dialogs patch for resolving crashing

* Tue May 11 2009 Zarko <zarko.pintar at gmail.com> - 0.1.4-2
- patch for gcc4.4
- spec cleaning

* Tue Mar 31 2009 Zarko <zarko.pintar at gmail.com> - 0.1.4-1
- initial release


--- NEW FILE import.log ---
imgtarget-0_1_4-3_fc11:F-11:imgtarget-0.1.4-3.fc11.src.rpm:1242643492


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/imgtarget/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	15 May 2009 23:41:05 -0000	1.1
+++ .cvsignore	18 May 2009 10:44:15 -0000	1.2
@@ -0,0 +1 @@
+imgtarget-0.1.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/imgtarget/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	15 May 2009 23:41:05 -0000	1.1
+++ sources	18 May 2009 10:44:16 -0000	1.2
@@ -0,0 +1 @@
+9845b184b2dc66bba9fccf4f4db769a9  imgtarget-0.1.4.tar.gz




More information about the fedora-extras-commits mailing list