trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

arch pkgbuild cleanup - $pkgname, $depends, $provides - first thoughts...

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 23 Feb 2012 13:09:49 -0600
Archers,

  In the effort to clean up the daisy-chain of $pkgname, $depends, and $provides
as I go through the build scripts for the git tree, here is my first thoughts on
a name cleanup. I'm not tied to any of the names and the goal is simply to make
the dependency tree as clean as possible without K_this and T_that intermixed.
The $depends simply lists the git tree depends and does not list the other
required depends for building (those are what they are), but I want to remove
depends that don't belong or are unnecessary (referencing a previous trinity
package implicitly includes all the prior depends - so duplication is unnecessary)

  Look it over. I've only done it for the packages I have built so far
(avahi-tqt still won't build). Obviously some people won't build the 'davs' or
avahi-tqt, so I've set the $depends accordingly.

# GITsource      $pkgname           $provides         $depends

  qt3            tde-qt3            'qt3'
  tqtinterface   tde-tqtinterface   'tqtinterface'    'qt3'
  arts           tde-arts           'arts'            'tqtinterface'
  dbus-tqt       tde-dbus-tqt       'dbus-tqt'        'arts'
  dbus-1-tqt     tde-dbus-1-tqt     'dbus-1-tqt'      'dbus-tqt'
  libcaldav      tde-libcaldav      'libcaldav'       'dbus-1-tqt'
  libcarddav     tde-libcarddav     'libcarddav'      'dbus-1-tqt'
  libart-lpgl    tde-libart-lpgl    'libart-lpgl'     'dbus-1-tqt'
  avahi-tqt      tde-avahi-tqt      'avahi-tqt'       'dbus-1-tqt'
  tdelibs        tde-tdelibs        'tdelibs'         'libart-lpgl'
  tdebase        tde-tdebase        'tdebase'         'tdelibs'

  The $pkgname is just a stab. I actually will probably want something like:

$pkgname

tde-dep-qt3
tde-dep-tqtinterface
tde-dep-arts
tde-dep-dbus-tqt
tde-dep-dbus-1-tqt
tde-dep-libcaldav
tde-dep-libcarddav
tde-dep-libart-lpgl
tde-dep-avahi-tqt
tde-tdelibs
tde-tdebase
...
tde-app-kpilot
...

  That way dependencies, applications, etc... all sort together and the tde-xyz
is shorter than including 'dependencies' or 'applications' in the file name.
Just my thoughts...




-- 
David C. Rankin, J.D.,P.E.