WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: couple of small bugs....  (Read 3165 times)

Offline u54749

  • Jr. Member
  • **
  • Posts: 70
couple of small bugs....
« on: October 17, 2010, 05:35:12 PM »
1)  Wrong permissions in  bzip2-lib.tcz

 $ unsquashfs -lls bzip2-lib.tcz
Parallel unsquashfs: Using 1 processor
4 inodes (17 blocks) to write

drwx------ root/root                26 2010-10-15 22:01 squashfs-root
drwxr-xr-x root/root                28 2010-10-15 22:01 squashfs-root/usr
<....>

As only root can read the squashfs-root directory, applications can't find the library


2) New version of gtk2 misses libprintbackend-cups.so

Print dialog in gtk applications does not show real printer names, properties and options anymore.  I'm using cups1311.tcz.  Getting only "print to file" and "print to LPR" now, without possibility to set paper size, print quality etc.   Worked fine in older gtk2 versions.


3) gtk2.tcz complains about missing library libtiff when installing.

tce-load -i /mnt/hda1/tcz/gtk2.tcz
g_module_open() failed for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so:  libtiff.so.3: cannot open shared object file: No such file or directory

Reason: 
-  graphics-libs-1.tcz and gdk-pixbuf2.tcz are both dependencies of gtk2
-  libtiff.so.3 is in graphics-lib1
-  libtiff.so.3 is used by install script of gdk-pixbuf2
-  gdk-pixbuf2 is installed before graphics-libs-1 so when the install script runs libtiff is not there yet

solution:
Put gdk-pixbuf2.tcz as first line in gtk2.tcz.dep so it will be installed after graphics-libs-1.tcz

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: couple of small bugs....
« Reply #1 on: October 17, 2010, 06:29:39 PM »
Thanks.  I will upload the old squashfs-tools extension until the perms thing is sorted out.  I didn't think the perms were an issue with this 4.1 version, but I will check it out tonight.

And I will build gtk2 against cups to give it that print function, perhaps then libcups can be an optional dependency if not needed to run gtk2 apps.

Placing graphics libs extension ahead of gdk-pixbuf in the gtk2 dep file would be a workaround, but the best solution would be to simply add graphics-libs extension to the gdk-pixbuf2.tcz.dep file so it will be available for it's startup script.

Offline u54749

  • Jr. Member
  • **
  • Posts: 70
Re: couple of small bugs....
« Reply #2 on: October 17, 2010, 07:16:34 PM »
I think the error is in the bzip2-lib extension, not in squashfs-tools.

try to mount bzip2-lib.tcz, then open the mountpoint (as user tc)
"Access Denied"


Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: couple of small bugs....
« Reply #3 on: October 17, 2010, 09:12:19 PM »
I tested and it actually is a permissions issue that mksquashfs is giving to created images.  I adjusted it to behave like the previous 4.0 one that Curaga had earlier fixed.  

Everyone please update to this squashfs-tools rebuild before making more extensions.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: couple of small bugs....
« Reply #4 on: October 17, 2010, 11:34:45 PM »
Actually, it very well was the bzip2 package and not squashfs-tools, as in an oversight I used a bad perm directory to test with.  But nevertheless, it won't hurt to have the resulting perms exactly as the previous squashfs-tools package, which was only one small change in this version.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: couple of small bugs....
« Reply #5 on: October 18, 2010, 04:12:50 AM »
Probably the dir was created by mktemp, I remember being bitten by that myself before.
The only barriers that can stop you are the ones you create yourself.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: couple of small bugs....
« Reply #6 on: October 18, 2010, 12:01:18 PM »
I will aim for rebuilding gtk2 on Wednesday.

Offline kimmo

  • Newbie
  • *
  • Posts: 9
Re: couple of small bugs....
« Reply #7 on: January 21, 2015, 04:20:32 AM »
Quote
2) New version of gtk2 misses libprintbackend-cups.so
I will aim for rebuilding gtk2 on Wednesday.

6.x misses  libprintbackend-cups.so from gtk2, thus Firefox is not able to see other than "print to file" and "print to lpr".

Can you rebuild gtk2 for 6.x with cups support?