pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/packagekit Import packagekit version 0.4.0. M...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1799495e3bf
branches:  trunk
changeset: 552709:a1799495e3bf
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Thu Jan 08 00:21:00 2009 +0000

description:
Import packagekit version 0.4.0. Much work to do.

PackageKit is a system designed to make installing and updating software on
your computer easier. The primary design goal is to unify all the software
graphical tools used in different distributions, and use some of the latest
technology like PolicyKit to make the process suck less.

The actual nuts-and-bolts distro tool (yum, apt, conary, etc) is used by
PackageKit using compiled and scripted helpers. PackageKit isn't meant to
replace these tools, instead providing a common set of abstractions that can
be used by standard GUI and text mode package managers.

PackageKit itself is a system activated daemon called packagekitd. Being
system activated means that it's only being run when the user is using a text
mode or graphical tool, and quits when it's no longer being used. This means
we don't delay the boot sequence or session startup and don't consume memory
when not being used.

diffstat:

 pkgtools/packagekit/DESCR                                     |   15 +
 pkgtools/packagekit/INSTALL                                   |   14 +
 pkgtools/packagekit/Makefile                                  |   63 +
 pkgtools/packagekit/PLIST                                     |  193 +++
 pkgtools/packagekit/buildlink3.mk                             |   24 +
 pkgtools/packagekit/distinfo                                  |   21 +
 pkgtools/packagekit/files/backends-pkgsrc/Makefile.am         |   13 +
 pkgtools/packagekit/files/backends-pkgsrc/Makefile.in         |  638 ++++++++++
 pkgtools/packagekit/files/backends-pkgsrc/pk-backend-pkgsrc.c |  143 ++
 pkgtools/packagekit/files/backends-pkgsrc/pkgsrc-backend.sh   |  120 +
 pkgtools/packagekit/patches/patch-aa                          |   22 +
 pkgtools/packagekit/patches/patch-ab                          |   32 +
 pkgtools/packagekit/patches/patch-ac                          |   32 +
 pkgtools/packagekit/patches/patch-ad                          |   12 +
 pkgtools/packagekit/patches/patch-ae                          |   32 +
 pkgtools/packagekit/patches/patch-af                          |   25 +
 pkgtools/packagekit/patches/patch-ag                          |   32 +
 pkgtools/packagekit/patches/patch-ah                          |   32 +
 pkgtools/packagekit/patches/patch-ai                          |   13 +
 pkgtools/packagekit/patches/patch-aj                          |   16 +
 pkgtools/packagekit/patches/patch-ak                          |   13 +
 pkgtools/packagekit/patches/patch-al                          |   25 +
 pkgtools/packagekit/patches/patch-am                          |   17 +
 pkgtools/packagekit/patches/patch-an                          |   54 +
 pkgtools/packagekit/patches/patch-ao                          |   15 +
 pkgtools/packagekit/patches/patch-ap                          |   30 +
 26 files changed, 1646 insertions(+), 0 deletions(-)

diffs (truncated from 1750 to 300 lines):

diff -r fe2a45f96dd8 -r a1799495e3bf pkgtools/packagekit/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/packagekit/DESCR Thu Jan 08 00:21:00 2009 +0000
@@ -0,0 +1,15 @@
+PackageKit is a system designed to make installing and updating software on
+your computer easier. The primary design goal is to unify all the software
+graphical tools used in different distributions, and use some of the latest
+technology like PolicyKit to make the process suck less.
+
+The actual nuts-and-bolts distro tool (yum, apt, conary, etc) is used by
+PackageKit using compiled and scripted helpers. PackageKit isn't meant to
+replace these tools, instead providing a common set of abstractions that can
+be used by standard GUI and text mode package managers.
+
+PackageKit itself is a system activated daemon called packagekitd. Being
+system activated means that it's only being run when the user is using a text
+mode or graphical tool, and quits when it's no longer being used. This means
+we don't delay the boot sequence or session startup and don't consume memory
+when not being used.
diff -r fe2a45f96dd8 -r a1799495e3bf pkgtools/packagekit/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/packagekit/INSTALL       Thu Jan 08 00:21:00 2009 +0000
@@ -0,0 +1,14 @@
+#!@SH@
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2009/01/08 00:21:00 jmcneill Exp $
+
+case "${STAGE}" in
+PRE-INSTALL)
+       mkdir -p ${PKG_SYSCONFDIR}/PackageKit
+       ;;
+POST-INSTALL)
+       mkdir -p ${VARBASE}/cache/PackageKit
+       mkdir -p ${VARBASE}/lib/PackageKit
+       mkdir -p ${VARBASE}/log/PackageKit
+       ;;
+esac
diff -r fe2a45f96dd8 -r a1799495e3bf pkgtools/packagekit/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/packagekit/Makefile      Thu Jan 08 00:21:00 2009 +0000
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/08 00:21:00 jmcneill Exp $
+#
+
+DISTNAME=      PackageKit-0.4.0
+PKGNAME=       ${DISTNAME:S/PackageKit/packagekit/}
+CATEGORIES=    pkgtools
+MASTER_SITES=  http://www.packagekit.org/releases/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.packagekit.org/
+COMMENT=       System activated daemon for managing software updates
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config gmake intltool autoconf
+USE_LANGUAGES= c c++
+
+BUILD_DEFS+=   VARBASE
+BUILD_DEFS+=   PKG_SYSCONFBASE
+
+EGDIR=         ${PREFIX}/share/examples/packagekit
+CONF_FILES=    ${EGDIR}/CommandNotFound.conf \
+               ${PKG_SYSCONFDIR}/PackageKit/CommandNotFound.conf
+CONF_FILES+=   ${EGDIR}/PackageKit.conf \
+               ${PKG_SYSCONFDIR}/PackageKit/PackageKit.conf
+CONF_FILES+=   ${EGDIR}/Vendor.conf \
+               ${PKG_SYSCONFDIR}/PackageKit/Vendor.conf
+CONF_FILES+=   ${EGDIR}/org.freedesktop.PackageKit.conf \
+               ${PKG_SYSCONFDIR}/dbus-1/system.d/org.freedesktop.PackageKit.conf
+CONF_FILES+=   ${EGDIR}/org.freedesktop.PackageKitTestBackend.conf \
+               ${PKG_SYSCONFDIR}/dbus-1/system.d/org.freedesktop.PackageKitTestBackend.conf
+
+CONFIGURE_ARGS+=       --disable-qt
+CONFIGURE_ARGS+=       --with-security-framework=polkit
+CONFIGURE_ARGS+=       --enable-pkgsrc
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASE:Q}
+
+PKGCONFIG_OVERRIDE+=   data/packagekit-qt.pc.in
+PKGCONFIG_OVERRIDE+=   data/packagekit-glib.pc.in
+
+PY_PATCHPLIST= yes
+
+REPLACE_PYTHON=        backends/test/helpers/PackageKitDbusTest.py     \
+               lib/python/packagekit/client.py         \
+               lib/python/packagekit/filter.py         \
+               lib/python/packagekit/misc.py
+
+post-extract:
+       cp -r ${FILESDIR}/backends-pkgsrc ${WRKSRC}/backends/pkgsrc
+
+pre-configure:
+       cd ${WRKSRC} && autoconf -f
+
+.include "../../databases/shared-mime-info/mimedb.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../security/policykit/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fe2a45f96dd8 -r a1799495e3bf pkgtools/packagekit/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/packagekit/PLIST Thu Jan 08 00:21:00 2009 +0000
@@ -0,0 +1,193 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/08 00:21:00 jmcneill Exp $
+bin/packagekit-bugreport.sh
+bin/pkcon
+bin/pkgenpack
+bin/pkmon
+include/PackageKit/backend/pk-backend-spawn.h
+include/PackageKit/backend/pk-backend.h
+include/PackageKit/packagekit-glib/packagekit.h
+include/PackageKit/packagekit-glib/pk-bitfield.h
+include/PackageKit/packagekit-glib/pk-catalog.h
+include/PackageKit/packagekit-glib/pk-category-obj.h
+include/PackageKit/packagekit-glib/pk-client.h
+include/PackageKit/packagekit-glib/pk-common.h
+include/PackageKit/packagekit-glib/pk-connection.h
+include/PackageKit/packagekit-glib/pk-control.h
+include/PackageKit/packagekit-glib/pk-desktop.h
+include/PackageKit/packagekit-glib/pk-details-obj.h
+include/PackageKit/packagekit-glib/pk-distro-upgrade-obj.h
+include/PackageKit/packagekit-glib/pk-enum.h
+include/PackageKit/packagekit-glib/pk-obj-list.h
+include/PackageKit/packagekit-glib/pk-package-id.h
+include/PackageKit/packagekit-glib/pk-package-ids.h
+include/PackageKit/packagekit-glib/pk-package-list.h
+include/PackageKit/packagekit-glib/pk-package-obj.h
+include/PackageKit/packagekit-glib/pk-service-pack.h
+include/PackageKit/packagekit-glib/pk-task-list.h
+include/PackageKit/packagekit-glib/pk-transaction-obj.h
+include/PackageKit/packagekit-glib/pk-update-detail-obj.h
+lib/libpackagekit-glib.la
+lib/packagekit-backend/libpk_backend_dummy.la
+lib/packagekit-backend/libpk_backend_pkgsrc.la
+lib/packagekit-backend/libpk_backend_test_dbus.la
+lib/packagekit-backend/libpk_backend_test_fail.la
+lib/packagekit-backend/libpk_backend_test_nop.la
+lib/packagekit-backend/libpk_backend_test_spawn.la
+lib/packagekit-backend/libpk_backend_test_succeed.la
+lib/packagekit-backend/libpk_backend_test_thread.la
+lib/pkgconfig/packagekit-glib.pc
+lib/pkgconfig/packagekit-qt.pc
+lib/pm-utils/sleep.d/95packagekit
+${PYSITELIB}/packagekit/__init__.py
+${PYSITELIB}/packagekit/__init__.pyc
+${PYSITELIB}/packagekit/__init__.pyo
+${PYSITELIB}/packagekit/backend.py
+${PYSITELIB}/packagekit/backend.pyc
+${PYSITELIB}/packagekit/backend.pyo
+${PYSITELIB}/packagekit/client.py
+${PYSITELIB}/packagekit/client.pyc
+${PYSITELIB}/packagekit/client.pyo
+${PYSITELIB}/packagekit/daemonBackend.py
+${PYSITELIB}/packagekit/daemonBackend.pyc
+${PYSITELIB}/packagekit/daemonBackend.pyo
+${PYSITELIB}/packagekit/enums.py
+${PYSITELIB}/packagekit/enums.pyc
+${PYSITELIB}/packagekit/enums.pyo
+${PYSITELIB}/packagekit/filter.py
+${PYSITELIB}/packagekit/filter.pyc
+${PYSITELIB}/packagekit/filter.pyo
+${PYSITELIB}/packagekit/frontend.py
+${PYSITELIB}/packagekit/frontend.pyc
+${PYSITELIB}/packagekit/frontend.pyo
+${PYSITELIB}/packagekit/misc.py
+${PYSITELIB}/packagekit/misc.pyc
+${PYSITELIB}/packagekit/misc.pyo
+${PYSITELIB}/packagekit/package.py
+${PYSITELIB}/packagekit/package.pyc
+${PYSITELIB}/packagekit/package.pyo
+${PYSITELIB}/packagekit/pkdbus.py
+${PYSITELIB}/packagekit/pkdbus.pyc
+${PYSITELIB}/packagekit/pkdbus.pyo
+${PYSITELIB}/packagekit/pkexceptions.py
+${PYSITELIB}/packagekit/pkexceptions.pyc
+${PYSITELIB}/packagekit/pkexceptions.pyo
+${PYSITELIB}/packagekit/progress.py
+${PYSITELIB}/packagekit/progress.pyc
+${PYSITELIB}/packagekit/progress.pyo
+libexec/PackageKitDbusTest.py
+libexec/pk-command-not-found
+sbin/packagekitd
+share/PackageKit/helpers/pkgsrc/pkgsrc-backend.sh
+share/PackageKit/helpers/test_spawn/search-name.sh
+share/PackageKit/pk-upgrade-distro.sh
+share/PolicyKit/policy/org.freedesktop.packagekit.policy
+share/dbus-1/system-services/org.freedesktop.PackageKit.service
+share/dbus-1/system-services/org.freedesktop.PackageKitAptBackend.service
+share/dbus-1/system-services/org.freedesktop.PackageKitTestBackend.service
+share/examples/packagekit/CommandNotFound.conf
+share/examples/packagekit/PackageKit.conf
+share/examples/packagekit/Vendor.conf
+share/examples/packagekit/pk-completion.bash
+share/examples/packagekit/packagekit-background.cron
+share/examples/packagekit/org.freedesktop.PackageKit.conf
+share/examples/packagekit/org.freedesktop.PackageKitAptBackend.conf
+share/examples/packagekit/org.freedesktop.PackageKitTestBackend.conf
+share/examples/packagekit/PackageKit.sh
+share/examples/packagekit/packagekit-background
+share/examples/packagekit/51-packagekit-firmware.rules
+share/gtk-doc/html/PackageKit/PackageKit-egg-debug.html
+share/gtk-doc/html/PackageKit/PackageKit-pk-common.html
+share/gtk-doc/html/PackageKit/PackageKit-pk-enum.html
+share/gtk-doc/html/PackageKit/PackageKit-pk-package-id.html
+share/gtk-doc/html/PackageKit/PackageKit.devhelp
+share/gtk-doc/html/PackageKit/PackageKit.devhelp2
+share/gtk-doc/html/PackageKit/PackageKit.html
+share/gtk-doc/html/PackageKit/PkClient.html
+share/gtk-doc/html/PackageKit/PkConnection.html
+share/gtk-doc/html/PackageKit/PkControl.html
+share/gtk-doc/html/PackageKit/PkDesktop.html
+share/gtk-doc/html/PackageKit/PkPackageList.html
+share/gtk-doc/html/PackageKit/PkTaskList.html
+share/gtk-doc/html/PackageKit/Transaction.html
+share/gtk-doc/html/PackageKit/api-reference.html
+share/gtk-doc/html/PackageKit/backend-compiled.html
+share/gtk-doc/html/PackageKit/backend-dbus.html
+share/gtk-doc/html/PackageKit/backend-spawn.html
+share/gtk-doc/html/PackageKit/backends-spawn-common.html
+share/gtk-doc/html/PackageKit/backends-spawn-methods.html
+share/gtk-doc/html/PackageKit/concepts.html
+share/gtk-doc/html/PackageKit/config-main.html
+share/gtk-doc/html/PackageKit/developer-faq.html
+share/gtk-doc/html/PackageKit/faq.html
+share/gtk-doc/html/PackageKit/home.png
+share/gtk-doc/html/PackageKit/index.html
+share/gtk-doc/html/PackageKit/index.sgml
+share/gtk-doc/html/PackageKit/introduction-backends.html
+share/gtk-doc/html/PackageKit/introduction-cancellation.html
+share/gtk-doc/html/PackageKit/introduction-errors.html
+share/gtk-doc/html/PackageKit/introduction-group-type.html
+share/gtk-doc/html/PackageKit/introduction-ideas-filters.html
+share/gtk-doc/html/PackageKit/introduction-ideas-status.html
+share/gtk-doc/html/PackageKit/introduction-ideas-transactionid.html
+share/gtk-doc/html/PackageKit/introduction-ideas-transactions.html
+share/gtk-doc/html/PackageKit/introduction.html
+share/gtk-doc/html/PackageKit/left.png
+share/gtk-doc/html/PackageKit/libpackagekit-gobject.html
+share/gtk-doc/html/PackageKit/libpackagekit-helpers.html
+share/gtk-doc/html/PackageKit/pk-faq-error-code.png
+share/gtk-doc/html/PackageKit/pk-faq-filter.png
+share/gtk-doc/html/PackageKit/pk-faq-status.png
+share/gtk-doc/html/PackageKit/pk-structure.png
+share/gtk-doc/html/PackageKit/pk-structure.svg
+share/gtk-doc/html/PackageKit/pk-transactions-download.png
+share/gtk-doc/html/PackageKit/pk-transactions-failure.png
+share/gtk-doc/html/PackageKit/pk-transactions-set-locale.png
+share/gtk-doc/html/PackageKit/pk-transactions-sig-install.png
+share/gtk-doc/html/PackageKit/pk-transactions-success.png
+share/gtk-doc/html/PackageKit/pk-transactions-trusted.png
+share/gtk-doc/html/PackageKit/pk-transactions.svg
+share/gtk-doc/html/PackageKit/right.png
+share/gtk-doc/html/PackageKit/specification.html
+share/gtk-doc/html/PackageKit/style.css
+share/gtk-doc/html/PackageKit/up.png
+share/locale/bn_IN/LC_MESSAGES/PackageKit.mo
+share/locale/ca/LC_MESSAGES/PackageKit.mo
+share/locale/cs/LC_MESSAGES/PackageKit.mo
+share/locale/de/LC_MESSAGES/PackageKit.mo
+share/locale/el/LC_MESSAGES/PackageKit.mo
+share/locale/es/LC_MESSAGES/PackageKit.mo
+share/locale/fi/LC_MESSAGES/PackageKit.mo
+share/locale/fr/LC_MESSAGES/PackageKit.mo
+share/locale/gu/LC_MESSAGES/PackageKit.mo
+share/locale/he/LC_MESSAGES/PackageKit.mo
+share/locale/hu/LC_MESSAGES/PackageKit.mo
+share/locale/it/LC_MESSAGES/PackageKit.mo
+share/locale/ml/LC_MESSAGES/PackageKit.mo
+share/locale/ms/LC_MESSAGES/PackageKit.mo
+share/locale/nb/LC_MESSAGES/PackageKit.mo
+share/locale/nl/LC_MESSAGES/PackageKit.mo
+share/locale/pl/LC_MESSAGES/PackageKit.mo
+share/locale/pt_BR/LC_MESSAGES/PackageKit.mo
+share/locale/ru/LC_MESSAGES/PackageKit.mo
+share/locale/sk/LC_MESSAGES/PackageKit.mo
+share/locale/sr/LC_MESSAGES/PackageKit.mo
+share/locale/sr@latin/LC_MESSAGES/PackageKit.mo
+share/locale/sv/LC_MESSAGES/PackageKit.mo
+share/locale/tr/LC_MESSAGES/PackageKit.mo
+share/locale/zh_CN/LC_MESSAGES/PackageKit.mo
+share/locale/zh_TW/LC_MESSAGES/PackageKit.mo
+share/mime/packages/packagekit-catalog.xml
+share/mime/packages/packagekit-package-list.xml
+share/mime/packages/packagekit-servicepack.xml
+@dirrm share/gtk-doc/html/PackageKit
+@dirrm share/PackageKit/helpers/test_spawn
+@dirrm share/PackageKit/helpers/pkgsrc
+@dirrm share/PackageKit/helpers
+@dirrm share/PackageKit
+@dirrm ${PYSITELIB}/packagekit
+@dirrm lib/pm-utils/sleep.d
+@dirrm lib/pm-utils
+@dirrm lib/packagekit-backend
+@dirrm include/PackageKit/packagekit-glib
+@dirrm include/PackageKit/backend



Home | Main Index | Thread Index | Old Index