Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=a0309b1402fd7f25961477ae18bd5b06574e3966

commit a0309b1402fd7f25961477ae18bd5b06574e3966
Author: Michel Hermier <[email protected]>
Date:   Fri Apr 4 13:38:15 2014 +0200

libpacman: Add/Fix some PM_PKG_* symbols.

diff --git a/doc/libpacman-changes.txt b/doc/libpacman-changes.txt
index 82ef386..a8153e3 100644
--- a/doc/libpacman-changes.txt
+++ b/doc/libpacman-changes.txt
@@ -38,6 +38,8 @@ pacman_trans_cb_download:

pacman_trans_cb_progress: Make 'pkgname' argument a constant.

+PM_PKG_SCRIPTLET: Remove typo to PM_PKG_SCRIPLET (compatibility symbol is 
provided).
+
==== Symbols added:

pmconflict_t: is now public and deprecate PM_CONFLICT.
@@ -72,6 +74,8 @@ pmpkg_t: is now public and deprecate PM_PKG.

pmsyncpkg_t: is now public and deprecate PM_SYNCPKG.

+PM_PKG_SCRIPTLET_PATH: Access to package scriptlet path (.install).
+
PM_PKG_TRIGGERS: Access to package triggers list.

PM_TRANS_SYNCPKGS: Access to transaction syncpkgs list.
diff --git a/lib/libpacman/pacman.h b/lib/libpacman/pacman.h
index b65e7b6..09a1fe9 100644
--- a/lib/libpacman/pacman.h
+++ b/lib/libpacman/pacman.h
@@ -211,12 +211,16 @@ enum {
/* Files entry */
PM_PKG_FILES,
PM_PKG_BACKUP,
-       /* Sciplet */
-       PM_PKG_SCRIPLET,
+       /* Scriptlet */
+       PM_PKG_SCRIPTLET, /* (bool) */
+       PM_PKG_SCRIPTLET_PATH, /* (const char *) */
/* Misc */
PM_PKG_DATA,
PM_PKG_FORCE,
-       PM_PKG_STICK
+       PM_PKG_STICK,
+
+       /* For compatibility */
+       PM_PKG_SCRIPLET = PM_PKG_SCRIPTLET
};

/* reasons -- ie, why the package was installed */
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to