WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: howto convert a nonrecursive dep file into recursive?  (Read 8112 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: howto convert a nonrecursive dep file into recursive?
« Reply #15 on: April 02, 2010, 10:03:21 AM »
would be nice 2 automatize the conversion of the tcbuild scritps too, the one I use have inside the deps list
dCore user

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: howto convert a nonrecursive dep file into recursive?
« Reply #16 on: April 02, 2010, 10:10:51 AM »
My main purpose with a script is to of course save time, and I admit it does produce some funny looking results.  Like epdfview, the gtk2 pdf viewer, has now only poppler.tcz as a dependency.  Gtk2 is often buried under gnome libs or even simpler ones like poppler.  But hopefully if it is technically correct then the extensions will load and run with no issue. 

How about this, I can script convert and upload folks extensions as they give the go ahead.  I will backup the existing dep files on the server, and then convert folks dep files as they say it is ok.  I can start with bmarkus' and we can verify to make sure it went ok. 



For me OK
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: howto convert a nonrecursive dep file into recursive?
« Reply #17 on: April 02, 2010, 10:15:40 AM »
Bmarkus, your deps have been converted.  I will be away for a few hours but I have a tarball previous state of all that was converted and can revert in a few seconds.  Let me know if there is any issue in the result.  Thanks.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: howto convert a nonrecursive dep file into recursive?
« Reply #18 on: April 02, 2010, 11:06:24 AM »
I'm testing the new deps. This is really a fun :) gpredict.tcz works, but have missing icons and background image, will look for cause. Main issue is the strange curl.tcz.dep file

BTW, it is not a problem of the conversion script but the original curl.tcz.dep which has libldap.tcz as a dependency. Logically it depend on openssl only.
« Last Edit: April 02, 2010, 11:12:36 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: howto convert a nonrecursive dep file into recursive?
« Reply #19 on: April 02, 2010, 01:13:33 PM »
Here was the original dep file"

Code: [Select]
goocanvas.tcz
curl.tcz
openssl-0.9.8m.tcz
gtk2.tcz
atk.tcz
cairo.tcz
pango.tcz
glib2.tcz
fontconfig.tcz
expat2.tcz
libxml2.tcz
graphics-libs-1.tcz
pixman.tcz
Xlibs_support.tcz

 


Sounds like shared-mime-info was missing as an entry in the original dep file.  I am not on my home machine to test the origial dep file when used with "base norestore", but I am curious if the same behavior would be seen.

And I had added libldap to the curl dep file before conversion, it was not a result of conversion.  I had forgot to take it out after disabling ldap.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: howto convert a nonrecursive dep file into recursive?
« Reply #20 on: April 02, 2010, 02:18:08 PM »

Sounds like shared-mime-info was missing as an entry in the original dep file. 


That's right, and there is another missing dependency. It has nothing to do with recursion or conversion, just a bug in early extension. Will fix it later.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: howto convert a nonrecursive dep file into recursive?
« Reply #21 on: April 02, 2010, 05:25:21 PM »
Jason:

following dep files are tested and correct as they are converted:

aircrack-ng.tcz
alpine.tcz
asterisk.tcz
bind.tcz
fetchmail-locale.tcz
fetchmail.tcz
filezilla-locale.tcz
gnutls.tcz
goocanvas-locale.tcz
goocanvas.tcz
gpicview-locale.tcz
gpicview.tcz
GraphicsMagick.tcz

No conversion bug found, only bugs in original dep files. Corrections will be posted. Remaining in progress.
« Last Edit: April 02, 2010, 05:27:06 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: howto convert a nonrecursive dep file into recursive?
« Reply #22 on: April 03, 2010, 11:34:45 AM »
Thanks.

If anyone wants me to convert their dep files let me know.  For TC 3.x, extensions will all have recursive deps, so any moved from 2.x will be converted in the process. 

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: howto convert a nonrecursive dep file into recursive?
« Reply #23 on: April 03, 2010, 12:03:26 PM »
is there any advantage in terms of  speed in loading tcz with converted deps?
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: howto convert a nonrecursive dep file into recursive?
« Reply #24 on: April 03, 2010, 12:15:30 PM »
There is less processing of entries in the dep files, so there is more efficiency.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: howto convert a nonrecursive dep file into recursive?
« Reply #25 on: April 03, 2010, 12:16:40 PM »
I think it's a bit slower when downloading. Having to download all .dep files (of the extension and deps) instead of one being the main point.
The only barriers that can stop you are the ones you create yourself.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: howto convert a nonrecursive dep file into recursive?
« Reply #26 on: April 03, 2010, 12:30:21 PM »
I thought he was meaning was there a speed advantage when using TC 2.10 with converted dep files versus the old simple ones, but you also have a point.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: howto convert a nonrecursive dep file into recursive?
« Reply #27 on: April 03, 2010, 01:01:22 PM »
I think the deps conversion should be a tc tem decision, 4 me it's ok since I use 2.10
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: howto convert a nonrecursive dep file into recursive?
« Reply #28 on: April 04, 2010, 02:51:23 PM »
I will go ahead and convert the repo's dep files as I think with the recent testing the method is reliable enough to use in production.  I will keep backups of the originals in case of any issue.