WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Recursive dep file example  (Read 2602 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Recursive dep file example
« on: March 21, 2010, 03:31:30 PM »
Lets see an example, how recursive dep files look in 2.10 I will use hal.tcz as an example.

The old fashioned hal.tcz.dep file lists all extensions rerquired:

Quote
expat2.tcz
glib2.tcz
dbus.tcz
dbus-glib.tcz
libpci.tcz
pci-utils.tcz
libusb.tcz
usb-utils.tcz
udevadm.tcz
acl.tcz

The new hal.tcz.dep is:

Quote
dbus-glib.tcz
pci-utils.tcz
usb-utils.tcz
udevadm.tcz

libpci.tcz and libusb.tcz are listed in pci-utils.tcz.dep and usb-utils.tcz.dep therefore no need for them here, will be loaded by appbrowser due to pci-utils.tcz.dep and usb-utils.tcz.dep Similarly expat2.tcz, glib2.tcz and dbus.tcz will be loaded due to dbus-glibc.tcz.dep; acl.tcz is also removed as it is a dependency of udevadm.

Now hal.tcz.dep is more informative, as it lists only the real dependencies.

« Last Edit: March 21, 2010, 03:36:45 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

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

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: Recursive dep file example
« Reply #1 on: March 21, 2010, 07:32:38 PM »
I do`nt know how you guys have programmed 2.10, but hope the duplicate dependecies ( dependent ext required by 2 or more exts ), wo`nt cause any problem while loading recursive deps thru AB.
In normal case, AB flash the message - `ext already loaded !`

~ Pats

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Recursive dep file example
« Reply #2 on: March 22, 2010, 12:56:47 AM »
I do`nt know how you guys have programmed 2.10, but hope the duplicate dependecies ( dependent ext required by 2 or more exts ), wo`nt cause any problem while loading recursive deps thru AB.
In normal case, AB flash the message - `ext already loaded !`

~ Pats


It is not a problem. AB works fine with the current dep files too, where commonly used extensions are listed many times. Tested and works fine for example whith rhythmbox.tcz.dep corrected but all other extensions left as they are. Original rhythmbox.tcz.dep:

Quote
atk.tcz
cairo.tcz
pango.tcz
glib2.tcz
fontconfig.tcz
expat2.tcz
libxml2.tcz
graphics-libs-1.tcz
pixman.tcz
ttf-bitstream-vera.tcz
Xlibs_support.tcz
gtk2.tcz
dbus.tcz
dbus-glib.tcz
libproxy.tcz
gnutls.tcz
libgcrypt.tcz
libgpg-error.tcz
totem-pl-parser.tcz
gnome-media.tcz
GConf.tcz
ORBit2.tcz
libglade.tcz
libsoup.tcz
libsoup-gnome.tcz
eggdbus.tcz
libgnome-keyring.tcz
gstreamer.tcz
gst-plugins-base.tcz
libasound.tcz
liboil.tcz
ogg-vorbis.tcz
libtheora.tcz
gst-plugins-good.tcz
flac.tcz
taglib.tcz
bzip2-lib.tcz
libcdaudio.tcz
libdvdnav.tcz
gst-plugins-bad.tcz
libmad.tcz
libid3tag.tcz
gst-plugins-ugly.tcz
gst-python.tcz
gmime.tcz
libffi.tcz
python.tcz
sqlite3.tcz
openssl-0.9.8m.tcz
tcl_tk.tcz
pycairo.tcz
pygobject.tcz
pygtk.tcz
pyorbit.tcz
libIDL.tcz
gnome-python.tcz
audiofile.tcz
esound.tcz
gnome-vfs.tcz
libbonobo.tcz
libgnome.tcz
libnotify.tcz
gcc_libs.tcz
libgpod.tcz
gnome-icon-theme.tcz
shared-mime-info.tcz
libgsf.tcz
libcroco.tcz
librsvg.tcz
popt.tcz
libdca.tcz
faad.tcz
SDL.tcz
liba52.tcz
libcdio.tcz
libdvdread.tcz
libmpeg2.tcz
gamin.tcz
libpci.tcz
pci-utils.tcz
libusb.tcz
usb-utils.tcz
udevadm.tcz
hal.tcz
hicolor-icon-theme.tcz
libavahi.tcz

Recursive versioon:

Quote
ttf-bitstream-vera.tcz
gtk2.tcz
totem-pl-parser.tcz
gnome-media.tcz
libsoup-gnome.tcz
gst-plugins-good.tcz
gst-plugins-bad.tcz
gst-plugins-ugly.tcz
gst-python.tcz
gmime.tcz
pygtk.tcz
pyorbit.tcz
gnome-python.tcz
libnotify.tcz
libgpod.tcz
gnome-icon-theme.tcz
shared-mime-info.tcz
hal.tcz
hicolor-icon-theme.tcz
Béla
Ham Radio callsign: HA5DI

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