Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] cnijfilter-2.70
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
BlueRain
n00b
n00b


Joined: 19 Jan 2010
Posts: 8

PostPosted: Tue Jan 19, 2010 1:40 am    Post subject: [Solved] cnijfilter-2.70 Reply with quote

Hi everyone,

I downloaded the cnijfilter-2.70 overlay from here http://en.gentoo-wiki.com/wiki/Canon_Pixma_Series. I followed every direction. Built the digest under net-print/cnijfilter-2.70 and placed my arch specific keyword and unmasked my printer driver under package.use. I, however, came into a message that reads

Quote:
emerge: there are no ebuilds to satisfy "virtual/ghostscript".
(dependency required by "net-print/cnijfilter-2.70-r1" [ebuild])
(dependency required by "cnijfilter" [argument])


I searched through portage tree, and online catagory list to find nothing by virtual/ghostscript. Under net-print/cups, however, I saw this,

Quote:
26 Dec 2009; Peter Volkov (pva) cups-1.3.11-r1.ebuild,
cups-1.3.11-r2.ebuild:
virtual/ghostscript->app-text/ghostscript-gpl: ghostscript-gpl is the only
implementation left in the tree


According to here, http://cia.vc/stats/author/pva?s_message=2, virtual/ghostscript was removed because "no one uses it anymore."

My question is, what can I do to build the cnijfilter-2.70? Should I change the ebuild so that it will depend, instead of virtual/ghostscript, to net-print/cups-1.3.11-r1, seeing how I noticed the line reads, "virtual/ghostscript->app-text/ghostscript-gpl: ghostscript-gpl is the only implementation left in the tree."


Last edited by BlueRain on Tue Jan 19, 2010 7:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 734
Location: Glasgow, UK

PostPosted: Tue Jan 19, 2010 10:01 am    Post subject: Reply with quote

You should change the ebuild to require app-text/ghostscript-gpl, and there should also be a line depending on cups.

Looking something like this:

Code:

DEPEND="app-text/ghostscript-gpl
   >=net-print/cups-1.1.14
   !amd64? ( sys-libs/glibc
      >=dev-libs/popt-1.6
      >=media-libs/tiff-3.4
      >=media-libs/libpng-1.0.9 )
   amd64? ( >=app-emulation/emul-linux-x86-bjdeps-0.1
      app-emulation/emul-linux-x86-compat
      app-emulation/emul-linux-x86-baselibs )
   servicetools? ( !amd64? ( >=gnome-base/libglade-0.6
         >=dev-libs/libxml-1.8
         =x11-libs/gtk+-1.2* )
      amd64? ( >=app-emulation/emul-linux-x86-bjdeps-0.1
         app-emulation/emul-linux-x86-gtklibs ) )"


That's adapted from the r1 ebuild but that should make no difference for either ebuild and still require the correct dependencies.

-Freestyling-[/quote]
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4209
Location: Dallas area

PostPosted: Tue Jan 19, 2010 11:46 am    Post subject: Reply with quote

I've been using the cnijfilter-2.80 ebuild for several months now.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
BlueRain
n00b
n00b


Joined: 19 Jan 2010
Posts: 8

PostPosted: Tue Jan 19, 2010 7:10 pm    Post subject: Reply with quote

freestyling wrote:
You should change the ebuild to require app-text/ghostscript-gpl, and there should also be a line depending on cups.

Looking something like this:

Code:

DEPEND="app-text/ghostscript-gpl
   >=net-print/cups-1.1.14
   !amd64? ( sys-libs/glibc
      >=dev-libs/popt-1.6
      >=media-libs/tiff-3.4
      >=media-libs/libpng-1.0.9 )
   amd64? ( >=app-emulation/emul-linux-x86-bjdeps-0.1
      app-emulation/emul-linux-x86-compat
      app-emulation/emul-linux-x86-baselibs )
   servicetools? ( !amd64? ( >=gnome-base/libglade-0.6
         >=dev-libs/libxml-1.8
         =x11-libs/gtk+-1.2* )
      amd64? ( >=app-emulation/emul-linux-x86-bjdeps-0.1
         app-emulation/emul-linux-x86-gtklibs ) )"


That's adapted from the r1 ebuild but that should make no difference for either ebuild and still require the correct dependencies.

-Freestyling-
[/quote]

Thanks :).

I was able to do this perfectly. Ran through the digest and created the manifest. I downloaded the driver from http://software.canon-europe.com/software/0027403.asp and untarred it to /usr/portage/distfiles. After invoking emerge -av cnijfilter, I ran into File size error. Not quite sure how to solve this.

Quote:
>>> Emerging (1 of 1) net-print/cnijfilter-2.70-r1 from unknown repo
!!! Previously fetched file: 'cnijfilter-common-2.70-2.src.rpm'
!!! Reason: Filesize does not match recorded size
!!! Got: 7410286
!!! Expected: 13512667
Refetching... File renamed to '/usr/portage/distfiles/cnijfilter-common-2.70-2.src.rpm._checksum_failure_.PvnSx8'


Also, the tar version I downloaded from software.canon-europe.com is 13MB. But this placed inside distfiles will give me error of how it's not an RPM file.

Quote:
gzip: stdin: unexpected end of file
rpm2tar: /var/tmp/portage/net-print/cnijfilter-2.70-r1/distdir/cnijfilter-common-2.70-2.src.rpm: failed to extract cpio via gzip (not actually an RPM?)
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors


From what I noticed, cnijfilter-common-2.70-2.src.rpm by itself is 7.1MB.
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 734
Location: Glasgow, UK

PostPosted: Tue Jan 19, 2010 7:24 pm    Post subject: Reply with quote

I think you may have created the digest against the wrong source package. With the cnijfilter-common-2.70-2.src.rpm package in /usr/portage/distfiles you should go back now and rerun:

Code:

ebuild cnijfilter-common-2.70-r1.ebuild digest


Then hopefully all should go smoothly for you.

-Freestyling-

P.S @Anon-E-Moose, new version doesn't always mean better, and in this case different versions actually support different printers. Check the wiki and canon's own webpages.
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
BlueRain
n00b
n00b


Joined: 19 Jan 2010
Posts: 8

PostPosted: Tue Jan 19, 2010 7:43 pm    Post subject: Reply with quote

Thanks a lot!

The problem appeared so simple but I completly overlooked it. :)
Back to top
View user's profile Send private message
julakali
n00b
n00b


Joined: 27 Mar 2006
Posts: 27

PostPosted: Mon Apr 12, 2010 8:09 pm    Post subject: Reply with quote

Just noticed another Problem: libxml is no longer supported.

Code:
!!! The following installed packages are masked:
- dev-libs/libxml-1.8.17-r3 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Samuli Suominen <ssuominen@gentoo.org> (18 Mar 2010)
# Orphaned and vulnerable library.  Use libxml2 instead.
#
# Bugs 281446 and 281444
#
# Masked for removal in 30 days


Will just replacing the dependency with libxml2 work?

edit: Yes, it does.

Code:
DEPEND="virtual/ghostscript
        >=net-print/cups-1.1.14
        !amd64? ( sys-libs/glibc
                >=dev-libs/popt-1.6
                >=media-libs/tiff-3.4
                >=media-libs/libpng-1.0.9 )
        amd64? ( >=app-emulation/emul-linux-x86-bjdeps-0.1
                app-emulation/emul-linux-x86-compat       
                app-emulation/emul-linux-x86-baselibs )   
        servicetools? ( !amd64? ( >=gnome-base/libglade-0.6
                        >=dev-libs/libxml2-2.7             
                        =x11-libs/gtk+-1.2* )             
                amd64? ( >=app-emulation/emul-linux-x86-bjdeps-0.1
                        app-emulation/emul-linux-x86-gtklibs ) )"


(i dont use ghostscript-gpl yet)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum