WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: gtkfind  (Read 3925 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
gtkfind
« on: August 26, 2016, 05:00:17 AM »
gtkfind from prebuilt doesn't work in dCore-jessie.

Installs and opens okay, just can't perform 'find':
Unable to load output font -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1

Also clicking Help:
sh: exec: line 1: /usr/X11R6/bin/xterm: not found

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: gtkfind
« Reply #1 on: August 26, 2016, 05:48:29 AM »
the gtk1 apps are still the best  ;)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: gtkfind
« Reply #2 on: August 26, 2016, 07:30:02 AM »
Indeed gtk1 still rocks. Successfully compiled gtkfind, help now works so probably my import configuration, but still font error when performing 'find'. Tried installing different fonts, no luck. Doesn't look like it's still maintained. Nonetheless v1.1 is available, prebuilt uses v1.0. The developer's download site is no longer available, found these:
https://www.freshports.org/misc/gtkfind/
http://www.bayofrum.net/dist/gtkfind/
http://www.purplehat.org/downloads/gtkfind/

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: gtkfind
« Reply #3 on: August 26, 2016, 07:52:25 AM »
The core and corepure64 gtkfind versions are both 1.1

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: gtkfind
« Reply #4 on: August 26, 2016, 11:10:47 AM »
Thanks, I will look into this tonight.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: gtkfind
« Reply #5 on: August 26, 2016, 09:50:33 PM »
I have rebuilt and uploaded updated gtk1 and glib1 packages using Slackware current's patches, Slackware is one of the only other distros that still supports gtk1.  Please retest gtkfind and I will rebuild it against these updated gtk1 libraries if needed in case the bugs are still there.  The gtk1 and any other dCore prebuilt build happens on dCore-wheezy so all dCore x86 ports can use the resulting packages, fwiw. 

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: gtkfind
« Reply #6 on: August 27, 2016, 01:47:20 AM »
Sorry no fix with the gtk1 and glib1 updates.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: gtkfind
« Reply #7 on: August 27, 2016, 10:33:00 AM »
Maybe you need to install the X11 bitmap fonts? It's possible some distros don't ship them anymore.

7x13-ISO8859-1.pcf.gz is the file you want.
The only barriers that can stop you are the ones you create yourself.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: gtkfind
« Reply #8 on: August 27, 2016, 05:21:36 PM »
Thanks curaga, the file is still in Debian Jessie in xfonts-base. 

I rebuilt and updated gtkfind to version 1.1, please test.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: gtkfind
« Reply #9 on: August 27, 2016, 07:29:36 PM »
Updated latest gtkfind no success, same issue.

Error message:
Code: [Select]
Unable to load output font -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1

...inspecting gtkfind.sce does not appear to include 8859-1:
Code: [Select]
tc@box:/tmp/tcloop/gtkfind/usr/local/etc/gtk$ ll | grep 8859
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.bg_BG.iso88595 -> gtkrc.iso-8859-5
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.cs -> gtkrc.iso-8859-2
lrwxrwxrwx 1 root root  17 Aug 27 19:42 gtkrc.cy -> gtkrc.iso-8859-14
lrwxrwxrwx 1 root root  17 Aug 27 19:42 gtkrc.et -> gtkrc.iso-8859-15
lrwxrwxrwx 1 root root  17 Aug 27 19:42 gtkrc.ga -> gtkrc.iso-8859-14
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.hr -> gtkrc.iso-8859-2
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.hu -> gtkrc.iso-8859-2
-rw-r--r-- 1 root root 349 Aug 26 23:43 gtkrc.iso-8859-13
-rw-r--r-- 1 root root 350 Aug 26 23:43 gtkrc.iso-8859-14
-rw-r--r-- 1 root root 350 Aug 26 23:43 gtkrc.iso-8859-15
-rw-r--r-- 1 root root 556 Aug 26 23:43 gtkrc.iso-8859-2
-rw-r--r-- 1 root root 330 Aug 26 23:43 gtkrc.iso-8859-3
-rw-r--r-- 1 root root 555 Aug 26 23:43 gtkrc.iso-8859-5
-rw-r--r-- 1 root root 316 Aug 26 23:43 gtkrc.iso-8859-7
-rw-r--r-- 1 root root 330 Aug 26 23:43 gtkrc.iso-8859-9
lrwxrwxrwx 1 root root  17 Aug 27 19:42 gtkrc.lt -> gtkrc.iso-8859-13
lrwxrwxrwx 1 root root  17 Aug 27 19:42 gtkrc.lv -> gtkrc.iso-8859-13
lrwxrwxrwx 1 root root  17 Aug 27 19:42 gtkrc.mi -> gtkrc.iso-8859-13
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.mk -> gtkrc.iso-8859-5
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.pl -> gtkrc.iso-8859-2
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.ro -> gtkrc.iso-8859-2
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.ru_RU.iso88595 -> gtkrc.iso-8859-5
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.sk -> gtkrc.iso-8859-2
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.sl -> gtkrc.iso-8859-2
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.sp -> gtkrc.iso-8859-5
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.sq -> gtkrc.iso-8859-2
lrwxrwxrwx 1 root root  16 Aug 27 19:42 gtkrc.sr -> gtkrc.iso-8859-2

Selecting 'Print to stdout' vs 'Print to window' works, just poorly formatted output so not as functional.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: gtkfind
« Reply #10 on: August 27, 2016, 10:13:26 PM »
Added xfonts-base to the deps of gtkfind.  gtkfind runs without issue here on a large desktop install, re-import and test again, thanks.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: gtkfind
« Reply #11 on: August 28, 2016, 03:44:42 PM »
Hi Jason. Thanks for your help, still can't get the view window to display, same font error message.

Note sce-update did not detect the extra dependencies, re-importing got them, however. Not sure if sce-update bug with changed dependencies, just reporting.

Despite the error, i now have: /usr/share/fonts/X11/misc/7x13-ISO8859-1.pcf.gz.

Things i've tried: disabling sce.purge, re-importing all sceboot.lst extensions, compiling from source with new dependencies present, modifying source code to utilize a different font. Then gtkfind just reports not having the other font, so the output error message may be misleading.

For some reason gtkfind does not appear to find the font. Not familiar with fonts, symlink issue, something i need to activate, font-config? My system is lean unlike your full-featured system, so maybe still something missing? Is gtkfind working well for you in dCore-Jessie or another flavour?

Edit: The extra dependencies bloated a 2MB extension to 14MB, no problem if it worked :)
« Last Edit: August 28, 2016, 03:48:04 PM by nitram »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: gtkfind
« Reply #12 on: August 28, 2016, 06:28:39 PM »
I removed the xfonts-base package from the deps of gtkfind.

I booted dCore-jessie with only xorg-all, flwm_topside, and gtkfind loaded, and gtkfind works for me as expected with both 'Print to Window' and 'Print to Stdout', ran from a terminal and saw no errors or warnings.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: gtkfind
« Reply #13 on: August 28, 2016, 07:41:55 PM »
Now we're cooking with peanut oil, my system runs xorg-intel not xorg-all. Importing xorg-all and reboot, now the gtkfind output window finally works! Took note of the import, seems additional packages not in xorg-intel: xfonts-scalable, x11-apps, xfonts-75dpi. Not sure this makes sense, possibly even xterm, shouldn't that be in xorg-intel (will investigate)?  Even gtkfind -> Help works now, previously gave an xterm error. Might take a few reboots to figure out the culprit package, will report back later, thanks for your help and the hint.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: gtkfind
« Reply #14 on: August 28, 2016, 08:07:51 PM »
My video card is supported by xorg-intel, I will load that with gtkfind and flwm_topside and help test.  Thanks.