To all interested parties, I recently sent an email to the list asking if anyone had used or if there was a SUSE rpm for the new Gutenprint due to replace the gimp-print we now use with CUPS. I don't recall seeing any replies, so this past weekend I decided to create a proper rpm and test. I'm happy to report success on both! I can honestly say, using the new printer drivers, I managed to actually get good printouts from Gimp for the very first time! The printer control is exceptional for the supported models and it appears even the text output is improved. I've tested in several programs, from text editors up and all have been improved. I recommend all here that does printing of any type take the time to install this and use it! Job well done Gutenprint developers. happy printing, Lee -- -- KMail v1.9.4 -- KDE v3.5 -- SuSE Linux v10.1 -- Registered Linux User #225206 "If a man speaks in a forest where no woman can hear, ...is he still wrong?"
On Tuesday 15 August 2006 20:04, BandiPat wrote:
To all interested parties,
I recently sent an email to the list asking if anyone had used or if there was a SUSE rpm for the new Gutenprint due to replace the gimp-print we now use with CUPS. I don't recall seeing any replies, so this past weekend I decided to create a proper rpm and test.
I'm happy to report success on both! I can honestly say, using the new printer drivers, I managed to actually get good printouts from Gimp for the very first time! The printer control is exceptional for the supported models and it appears even the text output is improved. I've tested in several programs, from text editors up and all have been improved. I recommend all here that does printing of any type take the time to install this and use it! Job well done Gutenprint developers.
happy printing, Lee
-- -- KMail v1.9.4 -- KDE v3.5 -- SuSE Linux v10.1 -- Registered Linux User #225206 "If a man speaks in a forest where no woman can hear, ...is he still wrong?" I just installed Gutenprint 5.0.0 but had to use a tar file since I could not find an RPM for SUSE 10.0. Where did you find the RPM for 10.1? and do you know if one exists for 10.0? Gutenprint is the only reliable package I found for my Epson CX6600. Used rc1 & 3 also.
Thanks -- Russ
On Tuesday 15 August 2006 23:53, Russbucket wrote: [...]
I just installed Gutenprint 5.0.0 but had to use a tar file since I could not find an RPM for SUSE 10.0. Where did you find the RPM for 10.1? and do you know if one exists for 10.0? Gutenprint is the only reliable package I found for my Epson CX6600. Used rc1 & 3 also.
Thanks -- Russ ==========
Hi Russ, Well, I didn't find one either, which was the reason I built my own. I've built it for 10.1 though, so you would have to either build your own for 10.0 or use my src.rpm to compile it for your 10.0. The file is quite large, so sending via email is a no-no. Contact me off list and we'll figure something out, should you want it. regards, Lee
On Wednesday 16 August 2006 15:25, BandiPat wrote:
On Tuesday 15 August 2006 23:53, Russbucket wrote: [...]
I just installed Gutenprint 5.0.0 but had to use a tar file since I could not find an RPM for SUSE 10.0. Where did you find the RPM for 10.1? and do you know if one exists for 10.0? Gutenprint is the only reliable package I found for my Epson CX6600. Used rc1 & 3 also.
Hi Russ, Well, I didn't find one either, which was the reason I built my own. I've built it for 10.1 though, so you would have to either build your own for 10.0 or use my src.rpm to compile it for your 10.0. The file is quite large, so sending via email is a no-no.
Contact me off list and we'll figure something out, should you want it.
Maybe you could post just the spec file here. One would only have to put the spec file and the tarbal(ls) in the same dir and issue a "y2pmbuild-10.1 <specfilename>" to build the rpm's... ;) Cheers, Leen
On Monday 21 August 2006 14:20, Leendert Meyer wrote: [...]it.
Maybe you could post just the spec file here. One would only have to put the spec file and the tarbal(ls) in the same dir and issue a "y2pmbuild-10.1 <specfilename>" to build the rpm's... ;)
Cheers,
Leen
========= Splendid idea Leen, here it is, just cut and paste into your favorite text editor. Save it out as this: gutenprint-5.0.0-1.spec Name: gutenprint Summary: A suite of printer drivers that may be used with most common UNIX print spooling systems Version: 5.0.0 Release: 1 License: GPL Group: Utilities Source: gutenprint-5.0.0.tar.bz2 BuildRoot: %{_tmppath}/build-root-%{name} Packager: penguin0601@earthlink.net Distribution: SUSE 10.1 Prefix: /usr/local Url: http://gimp-print.sourceforge.net/ Provides: gutenprint Requires: cups %description This is Gutenprint version 5.0.0, the first stable release of Gutenprint 5.0. Gutenprint, formerly named Gimp-Print, is a suite of printer drivers that may be used with most common UNIX print spooling systems, including CUPS, lpr, LPRng, or others. These drivers provide high quality printing for UNIX (including Macintosh OS X 10.2 and newer) and Linux systems in many cases equal to or better than proprietary vendor-supplied drivers. Gutenprint also includes an enhanced print plug-in for the GIMP image editor, replacing the Gimp-Print 4.2-based plugin supplied with GIMP 1.2, 2.0, and 2.2, and offering an alternative with additional capabilities to the GtkPrint-based plugin supplied with GIMP 2.4 and beyond. %prep rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT %setup -q %build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=%{prefix} make -j 2 %install make DESTDIR=$RPM_BUILD_ROOT install-strip cd $RPM_BUILD_ROOT find . -type d -fprint $RPM_BUILD_DIR/file.list.%{name}.dirs find . -type f -fprint $RPM_BUILD_DIR/file.list.%{name}.files.tmp sed '/\/man\//s/$/.gz/g' $RPM_BUILD_DIR/file.list.%{name}.files.tmp > $RPM_BUILD_DIR/file.list.%{name}.files find . -type l -fprint $RPM_BUILD_DIR/file.list.%{name}.libs sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' $RPM_BUILD_DIR/file.list. %{name}.dirs > $RPM_BUILD_DIR/file.list.%{name} sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list. %{name}.files >> $RPM_BUILD_DIR/file.list.%{name} sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list. %{name}.libs >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/file.list.%{name} rm -rf $RPM_BUILD_DIR/file.list.%{name}.libs rm -rf $RPM_BUILD_DIR/file.list.%{name}.files rm -rf $RPM_BUILD_DIR/file.list.%{name}.files.tmp rm -rf $RPM_BUILD_DIR/file.list.%{name}.dirs %files -f ../file.list.%{name} %defattr(-,root,root,0755) %changelog * Sat Aug 12 2006 <penguin0601@earthlink.net> - first build for SuSE 10.1 32 bit
On Monday 21 August 2006 14:08, BandiPat wrote:
On Monday 21 August 2006 14:20, Leendert Meyer wrote: [...]it.
Maybe you could post just the spec file here. One would only have to put the spec file and the tarbal(ls) in the same dir and issue a "y2pmbuild-10.1 <specfilename>" to build the rpm's... ;)
Cheers,
Leen
Can I change this to reflect 10.0 and then build it this way? -- Russ
On Monday 21 August 2006 17:47, Russbucket wrote:
On Monday 21 August 2006 14:08, BandiPat wrote:
On Monday 21 August 2006 14:20, Leendert Meyer wrote: [...]it.
Maybe you could post just the spec file here. One would only have to put the spec file and the tarbal(ls) in the same dir and issue a "y2pmbuild-10.1 <specfilename>" to build the rpm's... ;)
Cheers,
Leen
Can I change this to reflect 10.0 and then build it this way? -- Russ ========
Sure, however you need to make adjustments Russ, feel free to do so in order to fit your needs. Lee
On Monday 21 August 2006 17:47, Russbucket wrote:
On Monday 21 August 2006 14:08, BandiPat wrote:
On Monday 21 August 2006 14:20, Leendert Meyer wrote: [...]it.
Maybe you could post just the spec file here. One would only have to put the spec file and the tarbal(ls) in the same dir and issue a "y2pmbuild-10.1 <specfilename>" to build the rpm's... ;)
Cheers,
Leen
Can I change this to reflect 10.0 and then build it this way? -- Russ
========
Sure, however you need to make adjustments Russ, feel free to do so in order to fit your needs.
Lee Lee is there any document that would describe the setup for 10.0. I changes
On Monday 21 August 2006 18:23, BandiPat wrote: the references to reflect 10.0 where you had 10.1. I know I need to use y2pmbuild-10.0 But I'm not sure about the references to the directories. I assume it will use the default rpm build stuff in /usr/src/packages Thanks for providing the spec file. This is the first time I'm trying to build an RPM. -- Russ
On Tuesday 22 August 2006 16:39, Russbucket wrote: [...]
Lee is there any document that would describe the setup for 10.0. I changes the references to reflect 10.0 where you had 10.1. I know I need to use y2pmbuild-10.0 But I'm not sure about the references to the directories. I assume it will use the default rpm build stuff in /usr/src/packages
Thanks for providing the spec file. This is the first time I'm trying to build an RPM. -- Russ
========== There should be very little change from 10.0 to 10.1 Russ. Just make the changes you want, if anything is wrong, the compile will let you know. Drop your spec file in /usr/src/packages/SPECS/ and your source file, tar file into /usr/src/packages/SOURCES/. Run, from a shell as root, the command: rpmbuild -ba --target i686 /usr/src/packages/SPECS/<name of spec file> That will build both your src.rpm and optimized i686 rpm. You'll see at end of your compile where the files are put, so you can install them and/or save them. If all is well with your system, you should get a couple of files to use. regards, Lee
On Tuesday 22 August 2006 17:55, BandiPat wrote:
On Tuesday 22 August 2006 16:39, Russbucket wrote: [...]
Lee is there any document that would describe the setup for 10.0. I changes the references to reflect 10.0 where you had 10.1. I know I need to use y2pmbuild-10.0 But I'm not sure about the references to the directories. I assume it will use the default rpm build stuff in /usr/src/packages
Thanks for providing the spec file. This is the first time I'm trying to build an RPM. -- Russ
==========
There should be very little change from 10.0 to 10.1 Russ. Just make the changes you want, if anything is wrong, the compile will let you know. Drop your spec file in /usr/src/packages/SPECS/ and your source file, tar file into /usr/src/packages/SOURCES/.
Run, from a shell as root, the command: rpmbuild -ba --target i686 /usr/src/packages/SPECS/<name of spec file>
That will build both your src.rpm and optimized i686 rpm. You'll see at end of your compile where the files are put, so you can install them and/or save them.
If all is well with your system, you should get a couple of files to use.
regards, Lee Thanks for all the help. I will try and build it tomorrow. -- Russ
==========
There should be very little change from 10.0 to 10.1 Russ. Just make the changes you want, if anything is wrong, the compile will let you know. Drop your spec file in /usr/src/packages/SPECS/ and your source file, tar file into /usr/src/packages/SOURCES/.
Run, from a shell as root, the command: rpmbuild -ba --target i686 /usr/src/packages/SPECS/<name of spec file>
That will build both your src.rpm and optimized i686 rpm. You'll see at end of your compile where the files are put, so you can install them and/or save them.
If all is well with your system, you should get a couple of files to use.
regards, Lee Lee ran above. Initially got an error on line three of spec file, did not like
On Tuesday 22 August 2006 17:55, BandiPat wrote: <snip> the continuation from line two. Fixed that and it ran until I got the following error near end: make[1]: Leaving directory `/usr/src/packages/BUILD/gutenprint-5.0.0' + cd /var/tmp/build-root-gutenprint + find . -type d -fprint /usr/src/packages/BUILD/file.list.gutenprint.dirs + find . -type f -fprint /usr/src/packages/BUILD/file.list.gutenprint.files.tmp /var/tmp/rpm-tmp.86308: line 29: syntax error near unexpected token `newline' error: Bad exit status from /var/tmp/rpm-tmp.86308 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.86308 (%install) I assume its talking about line 29 of the spec. This is part of the description. i see nothing different on that line than the ones above. Any Ideas Sorry about sending copy direct to you but I appear to have a problem with my posts on this list. I made a change my ISP suggested, see if it works. --- Russ
participants (3)
-
BandiPat
-
Leendert Meyer
-
Russbucket