Re: [blfs-dev] [blfs-book] r10027
On Mon, 30 Apr 2012 02:47:23 +0100 Bruce Dubbs wrote: > files.libisoburnia-project.org could not be found. > I think it should be files.libburnia-project.org Doh! The result of a careless sed. Fixed thanks. > I don't have a problem with libburn-1.2.2 and libisofs-1.2.2, but I really > don't > want to make LFS users to have to build three packages to create a program to > burn an iso. Well the alternative is that some would install libburn-1.2.2 and libisofs-1.2.2 for Brasero or Xfburn and then install xorriso with those libraries statically linked into it. It's the same code, I think it's better to put it into libraries that can be shared with other apps. Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
On 29-04-2012 14:49, Fernando de Oliveira wrote: > On 28-04-2012 21:22, Fernando de Oliveira wrote: > [...] > >> Bruce, >> >> The machines were off, but I turned this one on, just to thank for this >> message, tomorrow will reply properly, will try to solve xsane png problem, >> perhaps only after will reply this. >> >> >> []s, >> Fernando > Solved like this: > > Newer versions. > sane-backends-1.0.22 > xsane-0.998 > > Got the md5 and addresses from ArchLinux > > sane-backends-1.0.22: > # wget -c > ftp://ftp2.sane-project.org/pub/sane/sane-backends-1.0.22/sane-backends-1.0.22.tar.gz > && > # echo "fadf56a60f4776bfb24491f66b617cf5 sane-backends-1.0.22.tar.gz" > > sane-backends-1.0.22.tar.gz.md5 && > # md5sum -c sane-backends-1.0.22.tar.gz.md5 > > Build instructions unchanged. > > > xsane-0.998 > # wget -c http://www.xsane.org/download/xsane-0.998.tar.gz && > # echo "936f1cc76b37caa8f285e1e15ac7e0aa xsane-0.998.tar.gz" > > xsane-0.998.tar.gz.md5 && > # md5sum -c xsane-0.998.tar.gz.md5 > > Added two seds to build instructions. > > > # fix use "xdg-open" instead of "netscape" to launch help browser - > taken > # from Fedora, via patch from ArchLinux (I transformed in sed) > sed -i 's:netscape:xdg-open:' src/xsane.h && ># fix png problem > sed -i -e 's:png_ptr->jmpbuf:png_jmpbuf(png_ptr):' src/xsane-save.c && > ./configure ... >... > > Bruce, thank you very very much They build and work correctly in LFS7.1 "svn": $ cat /etc/release SVN-20120311 Attached, you find thie image of XSane working! I edited the image with gimp-2.6.12 i n this machine, to decrease the size and save as jpg. If quality is not good is that I have chosen very small jpg quality, to try it ti fit in the list size limit for messages. This is so important for this (B)LFS user/contributor, that I am celebrating with a shot of scotch! Hope you are not angry with me due some opinions I wrote yesterday (no scotch in mind, then). -- []s, Fernando<>-- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
I had to choose the usb link in VMW, and include my user in the scanner group (obiously, but Doh! have not done before). Discovered that, by running xsane as root, and going on, after recevieng warnings about running it as root. Decided to test like that afetr reading information in the page you directed me to: http://www.sane-project.org/sane-mfgs.html and seeing my printer/scanner: > Stylus CX7300 USB 0x04b8/0x0838 Goodall-in-one > overseas version of the PX-A640 epson2 > (1.0.124) sane-epson2 As you can see in the image, my CX7300 is recognized as CX7400. Thanfs and apologies, again. []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-dev] VTE-0.28.2 conflict
Both VTE-0.32 and VTE-0.28 install setuid binary called gnome-pty-helper into libexecdir so there is a conflict. I've solved that one by specifying --libexecdir=/usr/lib/vte for GTK+2 version of VTE and --libexecdir=/usr/lib/vte3 for GTK+3 version of VTE. If you are going to keep it in libexecdir, I'd suggest you change it to /usr/libexec/vte2 or whatever to avoid conflict when I remove --libexecdir switches from gnome packages (I planned on doing that with the next release, everything has been tested now with --libexedir instructions) -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Fernando, I'm glad you got it working, but I can't get it to build. Lets compare notes: sane: download sane-backends-1.0.22.tar.gz sane-frontends-1.0.14.tar.gz tar -xf sane-backends-1.0.22.tar.gz cd sane-backends-1.0.22 I checked the sed for sane-1.0.19 and it seems to be already applied in 1.0.22. ./configure --prefix=/usr --sysconfdir=/etc make ... /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -DLIBDIR="/usr/lib/sane" -DBACKEND_NAME=v4l -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/usr/var/lock/sane-DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall -MT libv4l_la-v4l.lo -MD -MP -MF .deps/libv4l_la-v4l.Tpo -c -o libv4l_la-v4l.lo `test -f 'v4l.c' || echo './'`v4l.c In file included from /usr/include/libv4l1.h:29:0, from v4l.c:89: /usr/include/libv4l1-videodev.h:23:8: error: redefinition of 'struct video_capability' v4l.h:50:8: note: originally defined here /usr/include/libv4l1-videodev.h:36:8: error: redefinition of 'struct video_channel' v4l.h:122:8: note: originally defined here /usr/include/libv4l1-videodev.h:72:8: error: redefinition of 'struct video_picture' v4l.h:62:8: note: originally defined here /usr/include/libv4l1-videodev.h:130:8: error: redefinition of 'struct video_window' v4l.h:91:8: note: originally defined here /usr/include/libv4l1-videodev.h:153:8: error: redefinition of 'struct video_mmap' v4l.h:115:8: note: originally defined here /usr/include/libv4l1-videodev.h:160:8: error: redefinition of 'struct video_mbuf' v4l.h:108:8: note: originally defined here These seem to be from v4l-utils which are not in th ebook, but the package is referenced in ffmpeg. I installed v4l-utils-0.8.5.tar.bz2 in December, but v4l-utils-0.8.8.tar.bz2 seems to be current as of April 14. I'll reinstall that and try again. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
On 04/30/2012 07:11 PM, Bruce Dubbs wrote: > > /bin/sh ../libtool --silent --tag=CC > --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include > -I. -I. -I../include -I../include > -DLIBDIR="/usr/lib/sane" -DBACKEND_NAME=v4l -DPATH_SANE_CONFIG_DIR=/etc/sane.d > -DPATH_SANE_DATA_DIR=/usr/share > -DPATH_SANE_LOCK_DIR=/usr/var/lock/sane-DV_MAJOR=1 -DV_MINOR=0 > -g -O2 -W -Wall -MT libv4l_la-v4l.lo -MD -MP -MF .deps/libv4l_la-v4l.Tpo > -c -o libv4l_la-v4l.lo `test -f 'v4l.c' || echo './'`v4l.c > Looking at this I noticed -DPATH_SANE_LOCK_DIR=/usr/var/lock/sane ... Perhaps you should use --localstatedir=/var since it seems to use localstatedir after all. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
On 04/30/2012 07:11 PM, Bruce Dubbs wrote: > Fernando, > >I'm glad you got it working, but I can't get it to build. Lets compare > notes: > > sane: > > download sane-backends-1.0.22.tar.gz >sane-frontends-1.0.14.tar.gz > > tar -xf sane-backends-1.0.22.tar.gz > cd sane-backends-1.0.22 > > I checked the sed for sane-1.0.19 and it seems to be already applied in > 1.0.22. > > ./configure --prefix=/usr --sysconfdir=/etc > make > > ... > > /bin/sh ../libtool --silent --tag=CC > --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include > -I. -I. -I../include -I../include > -DLIBDIR="/usr/lib/sane" -DBACKEND_NAME=v4l -DPATH_SANE_CONFIG_DIR=/etc/sane.d > -DPATH_SANE_DATA_DIR=/usr/share > -DPATH_SANE_LOCK_DIR=/usr/var/lock/sane-DV_MAJOR=1 -DV_MINOR=0 > -g -O2 -W -Wall -MT libv4l_la-v4l.lo -MD -MP -MF .deps/libv4l_la-v4l.Tpo > -c -o libv4l_la-v4l.lo `test -f 'v4l.c' || echo './'`v4l.c > > In file included from /usr/include/libv4l1.h:29:0, >from v4l.c:89: > /usr/include/libv4l1-videodev.h:23:8: error: redefinition of 'struct > video_capability' > v4l.h:50:8: note: originally defined here > /usr/include/libv4l1-videodev.h:36:8: error: redefinition of 'struct > video_channel' > v4l.h:122:8: note: originally defined here > /usr/include/libv4l1-videodev.h:72:8: error: redefinition of 'struct > video_picture' > v4l.h:62:8: note: originally defined here > /usr/include/libv4l1-videodev.h:130:8: error: redefinition of 'struct > video_window' > v4l.h:91:8: note: originally defined here > /usr/include/libv4l1-videodev.h:153:8: error: redefinition of 'struct > video_mmap' > v4l.h:115:8: note: originally defined here > /usr/include/libv4l1-videodev.h:160:8: error: redefinition of 'struct > video_mbuf' > v4l.h:108:8: note: originally defined here > > These seem to be from v4l-utils which are not in th ebook, but the package is > referenced in ffmpeg. I installed v4l-utils-0.8.5.tar.bz2 in December, but > v4l-utils-0.8.8.tar.bz2 seems to be current as of April 14. I'll reinstall > that > and try again. > > -- Bruce Also, there is a patch for v4l stuff. I got it from Debian, which seems to have got it from upstream: commit c5ca46c2d1be78c651afb843cc834cf2b5b24953 Author: Julien BLACHE Date: Wed Feb 16 19:37:43 2011 +0100 Fix v4l build with libv4l 0.8.3+ Index: sane-backends-1.0.22/backend/v4l.c === --- sane-backends-1.0.22.orig/backend/v4l.c 2011-02-16 19:20:51.193016002 +0100 +++ sane-backends-1.0.22/backend/v4l.c 2011-02-16 19:21:00.497016002 +0100 @@ -84,9 +84,8 @@ #include "../include/sane/sanei_config.h" #define V4L_CONFIG_FILE "v4l.conf" -#include "v4l.h" - #include +#include "v4l.h" static const SANE_Device **devlist = NULL; static int num_devices; Index: sane-backends-1.0.22/backend/v4l.h === --- sane-backends-1.0.22.orig/backend/v4l.h 2011-02-16 19:20:07.537016001 +0100 +++ sane-backends-1.0.22/backend/v4l.h 2011-02-16 19:20:41.889016001 +0100 @@ -29,6 +29,7 @@ #ifndef v4l_h #define v4l_h +#ifndef __LINUX_VIDEODEV_H /* Kernel interface */ /* Only the stuff we need. For more features, more defines are needed */ @@ -165,7 +166,7 @@ /* end of kernel interface */ - +#endif /* !__LINUX_VIDEODEV_H */ #include <../include/sane/sane.h> -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] VTE-0.28.2 conflict
On Mon, 30 Apr 2012 17:45:55 +0100 "Armin K." wrote: > Both VTE-0.32 and VTE-0.28 install setuid binary called gnome-pty-helper > into libexecdir so there is a conflict. I've solved that one by > specifying --libexecdir=/usr/lib/vte for GTK+2 version of VTE and > --libexecdir=/usr/lib/vte3 for GTK+3 version of VTE. If you are going to > keep it in libexecdir, I'd suggest you change it to /usr/libexec/vte2 or > whatever to avoid conflict when I remove --libexecdir switches from > gnome packages (I planned on doing that with the next release, > everything has been tested now with --libexedir instructions) Thanks for the heads up, I'll look into it. Looking at the configure script there is an option to --disable-gnome-pty-helper. Xfce's terminal seems to work Ok without it. I'll test it a bit more before I add it to the book. Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Armin K. wrote: > On 04/30/2012 07:11 PM, Bruce Dubbs wrote: >> /bin/sh ../libtool --silent --tag=CC >> --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include >> -I. -I. -I../include -I../include >> -DLIBDIR="/usr/lib/sane" -DBACKEND_NAME=v4l >> -DPATH_SANE_CONFIG_DIR=/etc/sane.d >> -DPATH_SANE_DATA_DIR=/usr/share >> -DPATH_SANE_LOCK_DIR=/usr/var/lock/sane-DV_MAJOR=1 -DV_MINOR=0 >> -g -O2 -W -Wall -MT libv4l_la-v4l.lo -MD -MP -MF .deps/libv4l_la-v4l.Tpo >> -c -o libv4l_la-v4l.lo `test -f 'v4l.c' || echo './'`v4l.c >> > > Looking at this I noticed -DPATH_SANE_LOCK_DIR=/usr/var/lock/sane ... > Perhaps you should use --localstatedir=/var since it seems to use > localstatedir after all. Good thought. I'm still trying to figure out the v4l issues I have. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Armin K. wrote: > On 04/30/2012 07:11 PM, Bruce Dubbs wrote: > Also, there is a patch for v4l stuff. I got it from Debian, which seems > to have got it from upstream: > > commit c5ca46c2d1be78c651afb843cc834cf2b5b24953 > Author: Julien BLACHE > Date: Wed Feb 16 19:37:43 2011 +0100 > > Fix v4l build with libv4l 0.8.3+ > > Index: sane-backends-1.0.22/backend/v4l.c > === > --- sane-backends-1.0.22.orig/backend/v4l.c 2011-02-16 > 19:20:51.193016002 +0100 > +++ sane-backends-1.0.22/backend/v4l.c2011-02-16 19:21:00.497016002 > +0100 > @@ -84,9 +84,8 @@ > #include "../include/sane/sanei_config.h" > #define V4L_CONFIG_FILE "v4l.conf" > > -#include "v4l.h" > - > #include > +#include "v4l.h" Well that didn't work for me. It probably generated 100 unknown type names. I'll continue to research. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
On 04/30/2012 08:11 PM, Bruce Dubbs wrote: > Armin K. wrote: >> On 04/30/2012 07:11 PM, Bruce Dubbs wrote: > >> Also, there is a patch for v4l stuff. I got it from Debian, which seems >> to have got it from upstream: >> >> commit c5ca46c2d1be78c651afb843cc834cf2b5b24953 >> Author: Julien BLACHE >> Date: Wed Feb 16 19:37:43 2011 +0100 >> >> Fix v4l build with libv4l 0.8.3+ >> >> Index: sane-backends-1.0.22/backend/v4l.c >> === >> --- sane-backends-1.0.22.orig/backend/v4l.c 2011-02-16 >> 19:20:51.193016002 +0100 >> +++ sane-backends-1.0.22/backend/v4l.c 2011-02-16 19:21:00.497016002 >> +0100 >> @@ -84,9 +84,8 @@ >>#include "../include/sane/sanei_config.h" >>#define V4L_CONFIG_FILE "v4l.conf" >> >> -#include "v4l.h" >> - >>#include >> +#include "v4l.h" > > Well that didn't work for me. It probably generated 100 unknown type names. > > I'll continue to research. > > -- Bruce Hm, this is the upstream commit for that one http://anonscm.debian.org/gitweb/?p=sane/sane-backends.git;a=commitdiff;h=c5ca46c2d1be78c651afb843cc834cf2b5b24953;hp=2c5e12d53c6a66a142c3e7a750a21417be4e199e I think that I did not have any problems with it. You can try applying it to fresh extracted source tree and try building it just in case you made some other modifications. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Armin K. wrote: > On 04/30/2012 07:11 PM, Bruce Dubbs wrote: >> Fernando, >> >>I'm glad you got it working, but I can't get it to build. Lets compare >> notes: >> >> sane: >> >> download sane-backends-1.0.22.tar.gz >>sane-frontends-1.0.14.tar.gz >> >> tar -xf sane-backends-1.0.22.tar.gz >> cd sane-backends-1.0.22 >> >> I checked the sed for sane-1.0.19 and it seems to be already applied in >> 1.0.22. >> >> ./configure --prefix=/usr --sysconfdir=/etc >> make >> >> ... > Also, there is a patch for v4l stuff. I got it from Debian, which seems > to have got it from upstream: I found a patch at gentoo that is from RH that works for me. Appears to have been around for a year and sane hasn't fixed it. :) -- Bruce --- sane-backends-1.0.22/backend/v4l.h.deconflict-v4l 2010-12-01 15:49:58.0 -0800 +++ sane-backends-1.0.22/backend/v4l.h 2011-04-01 21:44:18.797102300 -0700 @@ -29,6 +29,8 @@ #ifndef v4l_h #define v4l_h +#include + /* Kernel interface */ /* Only the stuff we need. For more features, more defines are needed */ @@ -46,7 +48,7 @@ #define VID_TYPE_MPEG_ENCODER 2048/* Can encode MPEG streams */ #define VID_TYPE_MJPEG_DECODER4096/* Can decode MJPEG streams */ #define VID_TYPE_MJPEG_ENCODER8192/* Can encode MJPEG streams */ - +#if 0 struct video_capability { char name[32]; @@ -58,7 +60,6 @@ int minwidth; /* Supported width */ int minheight; /* And height */ }; - struct video_picture { __u16 brightness; @@ -102,9 +103,10 @@ /* bitmap is 1024x625, a '1' bit represents a clipped pixel */ #define VIDEO_CLIPMAP_SIZE(128 * 625) }; - +#endif #define VIDEO_MAX_FRAME 32 +#if 0 struct video_mbuf { int size; /* Total memory to map */ @@ -132,7 +134,7 @@ #define VIDEO_TYPE_CAMERA 2 __u16 norm; /* Norm set by channel */ }; - +#endif -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] VTE-0.28.2 conflict
On Mon, 30 Apr 2012 18:53:01 +0100 Andrew Benton wrote: > On Mon, 30 Apr 2012 17:45:55 +0100 > "Armin K." wrote: > > > Both VTE-0.32 and VTE-0.28 install setuid binary called gnome-pty-helper > > into libexecdir so there is a conflict. I've solved that one by > > specifying --libexecdir=/usr/lib/vte for GTK+2 version of VTE and > > --libexecdir=/usr/lib/vte3 for GTK+3 version of VTE. If you are going to > > keep it in libexecdir, I'd suggest you change it to /usr/libexec/vte2 or > > whatever to avoid conflict when I remove --libexecdir switches from > > gnome packages (I planned on doing that with the next release, > > everything has been tested now with --libexedir instructions) > > Thanks for the heads up, I'll look into it. Looking at the configure > script there is an option to --disable-gnome-pty-helper. Xfce's > terminal seems to work Ok without it. I'll test it a bit more before I > add it to the book. As I'm not really sure what this gnome-pty-helper does I've decided to play it safe and do what you suggest, put it into /usr/libexec/vte2 Thanks Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
On 30-04-2012 14:11, Bruce Dubbs wrote: > Fernando, > > I'm glad you got it working, but I can't get it to build. Lets compare > notes: > > sane: > > download sane-backends-1.0.22.tar.gz > sane-frontends-1.0.14.tar.gz > > tar -xf sane-backends-1.0.22.tar.gz > cd sane-backends-1.0.22 > > I checked the sed for sane-1.0.19 and it seems to be already applied in > 1.0.22. > > ./configure --prefix=/usr --sysconfdir=/etc > make > > ... > > /bin/sh ../libtool --silent --tag=CC > --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include > -I. -I. -I../include -I../include > -DLIBDIR="/usr/lib/sane" -DBACKEND_NAME=v4l > -DPATH_SANE_CONFIG_DIR=/etc/sane.d >-DPATH_SANE_DATA_DIR=/usr/share > -DPATH_SANE_LOCK_DIR=/usr/var/lock/sane-DV_MAJOR=1 -DV_MINOR=0 > -g -O2 -W -Wall -MT libv4l_la-v4l.lo -MD -MP -MF .deps/libv4l_la-v4l.Tpo > -c -o libv4l_la-v4l.lo `test -f 'v4l.c' || echo './'`v4l.c > > In file included from /usr/include/libv4l1.h:29:0, > from v4l.c:89: > /usr/include/libv4l1-videodev.h:23:8: error: redefinition of 'struct > video_capability' > v4l.h:50:8: note: originally defined here > /usr/include/libv4l1-videodev.h:36:8: error: redefinition of 'struct > video_channel' > v4l.h:122:8: note: originally defined here > /usr/include/libv4l1-videodev.h:72:8: error: redefinition of 'struct > video_picture' > v4l.h:62:8: note: originally defined here > /usr/include/libv4l1-videodev.h:130:8: error: redefinition of 'struct > video_window' > v4l.h:91:8: note: originally defined here > /usr/include/libv4l1-videodev.h:153:8: error: redefinition of 'struct > video_mmap' > v4l.h:115:8: note: originally defined here > /usr/include/libv4l1-videodev.h:160:8: error: redefinition of 'struct > video_mbuf' > v4l.h:108:8: note: originally defined here > > These seem to be from v4l-utils which are not in th ebook, but the package is > referenced in ffmpeg. I installed v4l-utils-0.8.5.tar.bz2 in December, but > v4l-utils-0.8.8.tar.bz2 seems to be current as of April 14. I'll reinstall > that > and try again. > >-- Bruce Bruce, this is what is related to v4l: > $ grep -i v4l Downloads/blfs/sane-backends-1.0.22-2012.04.29.log > checking for LIBV4L... no > *** v4l backend requires v4l libraries - disabling > Generating v4l.conf from v4l.conf.in > Generating manpage sane-v4l.5... Built with sed -i 's/SYSFS/ATTRS/g' tools/sane-desc.c && # You say we won't need ./configure \ --prefix=/usr \ --sysconfdir=/etc && make && make install && install -v -m644 tools/udev/libsane.rules \ /etc/udev/rules.d/65-scanner.rules $ ls -lh /etc/udev/rules.d/65-scanner.rules -rw-r--r-- 1 root root 104K Abr 29 13:44 /etc/udev/rules.d/65-scanner.rules Don't know if this is relevant: $ paco -dd xf86-video-v4l 13-Apr-2012 02:19 xf86-video-v4l-0.2.0 I have not used this patch, as I do not have libv4l: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/libv4l-0.8.3.patch?h=packages/sane Inside that, can read: > Fix v4l build with libv4l 0.8.3+ > > (cherry picked from commit c5ca46c2d1be78c651afb843cc834cf2b5b24953) -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
On 30-04-2012 15:33, Fernando de Oliveira wrote: Please, disregard previous post. I am glad to have Just seen you succeeded. -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Bruce, Any news? []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Fernando de Oliveira wrote: > Bruce, > > Any news? I had to go out for a bit. I was able to get sane-backends-1.0.22 to build OK, but there is a problem with sane-frontends-1.0.14: gtkglue.c:1479:24: error: 'SANE_CAP_ALWAYS_SETTABLE' undeclared I'm looking for the patch now. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
--- Em seg, 30/4/12, Bruce Dubbs escreveu: > De: Bruce Dubbs > Assunto: Re: [blfs-dev] sane and xsane > Para: "BLFS Development List" > Data: Segunda-feira, 30 de Abril de 2012, 18:36 > Fernando de Oliveira wrote: > > Bruce, > > > > Any news? > > I had to go out for a bit. I was able to get > sane-backends-1.0.22 to build OK, > but there is a problem with sane-frontends-1.0.14: > > gtkglue.c:1479:24: error: 'SANE_CAP_ALWAYS_SETTABLE' > undeclared > > I'm looking for the patch now. > > -- Bruce > Thanks, Bruce. Does this help? https://projects.archlinux.org/svntogit/packages.git/plain/trunk/MissingCapsFlag.patch?h=packages/sane-frontends --- src/gtkglue.c 2005-04-16 15:12:07.0 +0200 +++ src/gtkglue.c.new 2009-06-24 00:26:46.0 +0200 @@ -1476,8 +1476,7 @@ || opt->type == SANE_TYPE_GROUP || !dialog->element[i].widget) continue; - if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE)) - gtk_widget_set_sensitive (dialog->element[i].widget, sensitive); + gtk_widget_set_sensitive (dialog->element[i].widget, sensitive); } } []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Fernando de Oliveira wrote: > --- Em seg, 30/4/12, Bruce Dubbs escreveu: > >> De: Bruce Dubbs >> Assunto: Re: [blfs-dev] sane and xsane >> Para: "BLFS Development List" >> Data: Segunda-feira, 30 de Abril de 2012, 18:36 >> Fernando de Oliveira wrote: >>> Bruce, >>> >>> Any news? >> I had to go out for a bit. I was able to get >> sane-backends-1.0.22 to build OK, >> but there is a problem with sane-frontends-1.0.14: >> >> gtkglue.c:1479:24: error: 'SANE_CAP_ALWAYS_SETTABLE' >> undeclared >> >> I'm looking for the patch now. >> >>-- Bruce >> > > Thanks, Bruce. > > Does this help? Yes. I used: sed -i -e "/SANE_CAP_ALWAYS_SETTABLE/d" src/gtkglue.c I'll get the book updated and then start on xsane. I suspect it'll take an hour or so. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Bruce, Sorry, my mistake: Found one problem with "help" not working in XSane. Of course, there was no xdg-open (from xdg-utils). So, commented out the sed, and linked netscape to some browser: ln -sv midori /usr/bin/netscape After deleting ~/.sane/xsane directory, got "help" working, except for Driver Documentation: > Erro - file:///usr/share/sane/xsane/doc/sane-001-doc.html > > A página [The page] 'file:///usr/share/sane/xsane/doc/sane-001-doc.html' não > pôde ser carregada [could not be loaded]. > > Erro ao abrir arquivo: Arquivo ou diretório não encontrado {Error opening > file: File or directory not found] > > Tentar novamente [Try again] In numbers, Help menu has F1-F9 options, but F2 does not work. Again, sorry. []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Fernando de Oliveira wrote: > Bruce, > > Sorry, my mistake: > > Found one problem with "help" not working in XSane. Of course, there was no > xdg-open (from xdg-utils). So, commented out the sed, and linked netscape to > some browser: > > ln -sv midori /usr/bin/netscape > > After deleting ~/.sane/xsane directory, got "help" working, except for Driver > Documentation: Fernando, I don't fully understand. You want me to remove the first sed? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-dev] balsa
I've started looking at balsa, a gnome-2 based email client. I'm currently missing some gnome-2 libraries: No package 'gnome-icon-theme' found No package 'libgnome-2.0' found No package 'libgnomeui-2.0' found No package 'libbonobo-2.0' found No package 'gconf-2.0' found The middle 3 are in the 'Legacy Gnome-2 libraries' section, but the first and last are no longer in the book. Should I just remove balsa from the book and mark the ticket overcomebyevents or does someone really think we need this in the book? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] balsa
On Mon, Apr 30, 2012 at 08:36:51PM -0500, Bruce Dubbs wrote: > I've started looking at balsa, a gnome-2 based email client. I'm currently > missing some gnome-2 libraries: > > No package 'gnome-icon-theme' found > No package 'libgnome-2.0' found > No package 'libgnomeui-2.0' found > No package 'libbonobo-2.0' found > No package 'gconf-2.0' found > > The middle 3 are in the 'Legacy Gnome-2 libraries' section, but the first and > last are no longer in the book. > > Should I just remove balsa from the book and mark the ticket overcomebyevents > or > does someone really think we need this in the book? > >-- Bruce FWIW, everything from gnome-2 which I used to build *and* which required GConf2 was happy with the GConf-3.2 version. The book is using GConf-3.2.5 which gave me a pkgconfig file for gconf-2.0. For gnome-icon-theme, I haven't got that far in my current build. BUT, from gnome-icon-theme-3.2.1.2 I got gnome-icon-theme.pc. So, I suggest, respectfully, that you might be looking in the wrong place! As to whether anyone *needs* this 'almost-gnome' package (i.e. it needs gnome packages, but is not part of gnome), no idea. My use of mutt is well known, I can't imagine the horrors of going back to a graphical mail client (I once used netscape!). Maybe there is an even-newer version for gnome-3 ? ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
--- Em seg, 30/4/12, Bruce Dubbs escreveu: > De: Bruce Dubbs > Assunto: Re: [blfs-dev] sane and xsane > Para: "BLFS Development List" > Data: Segunda-feira, 30 de Abril de 2012, 22:16 > Fernando de Oliveira wrote: > > Bruce, > > > > Sorry, my mistake: > > > > Found one problem with "help" not working in XSane. Of > course, there was no > > xdg-open (from xdg-utils). So, commented out the sed, > and linked netscape to > > some browser: > > > > ln -sv midori /usr/bin/netscape > > > > After deleting ~/.sane/xsane directory, got "help" > working, except for Driver > > Documentation: > > Fernando, I don't fully understand. You want me > to remove the first sed? Yes. xdg-open is from xdg-utils, not in the book. I installed xdg-utils, and got xdg-open in /usr/bin, but even reinstalling Xsane, no option worked in XSane "Help" Menu and it even crashed. Reinstalling without the "netscape" sed, I got help working, but only after 1. ln -sv midori /usr/bin/netscape (netscape points to some browser) 2. removing ~/.sane/xsane directory (configurations of user), so cleaning something which prevented XSane help from finding "netscape", because it was somehow recorded that the browser for help could not be found. But still a problem remained: option F2 of XSane Help menu, which is for "driver documentation" cannot find the proper html file. I searched the whole hd for it and it is not there. The error message appears in the help browser, in my case, midori, to which netscape points. Why this file is not prduced I cannot yet understand []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] sane and xsane
Fernando de Oliveira wrote: >> Fernando, I don't fully understand. You want me to remove the first sed? > > Yes. > xdg-open is from xdg-utils, not in the book. OK, done. On my system netscape is a link to firefox. > I installed xdg-utils, and got xdg-open in /usr/bin, but even reinstalling > Xsane, no option worked in XSane "Help" Menu and it even crashed. > > Reinstalling without the "netscape" sed, I got help working, but only after > > 1. ln -sv midori /usr/bin/netscape (netscape points to some browser) 2. > removing ~/.sane/xsane directory (configurations of user), so cleaning > something which prevented XSane help from finding "netscape", because it was > somehow recorded that the browser for help could not be found. > > But still a problem remained: option F2 of XSane Help menu, which is for > "driver documentation" cannot find the proper html file. I searched the whole > hd for it and it is not there. The error message appears in the help browser, > in my case, midori, to which netscape points. Why this file is not prduced I > cannot yet understand. When I run xsane, it says "Scanning for devices", can't find any, and brings up a dialog saying that with a mandatory exit. I can't get far enough to reproduce the issues you are having. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page