tech-pkg archive

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

Re: HEADS UP: png updated to 1.4.2


On Mon, 14 Jun 2010 07:49:36 +0900, Thomas Klausner <> 

I've just committed the update for png from 1.2.x to 1.4.2. I've run
multiple limited bulk builds[1][2] to identify and fix problems
introduced with this change. I've committed the patches needed with
the PKGREVISION bump commit.

I've bumped some packages additionally, found by
% grep libpng12 /var/db/pkg/*/+BUILD_INFO

audio/arts                                      lib/
devel/m17n-lib                          bin/m17n-dump
fonts/gucharmap                 lib/
inputmethod/gtk-im-libthai      immodules
inputmethod/uim                 immodules
(maybe some more missing packages, I've not installed)

Does it mean that additional cares is required for recursive revision bump
other than notes in revbump(1)?

And I'm using following patch for "make replace" with pkg_rolling-replace,
because "set unsafe_depends=YES" may help to detect build failure with updated
packages, but hide above missing revbump issues.

RCS file: /cvsroot/pkgsrc/mk/flavor/pkg/,v
retrieving revision 1.29
diff -u -r1.29
---  12 Jun 2010 00:53:43 -0000      1.29
+++  16 Jun 2010 14:39:38 -0000
@@ -194,20 +194,17 @@
        @${PHASE_MSG} "Updating using binary package of "${PKGNAME:Q}
 .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
-       ${PKG_ADD} -U -f -m ${MACHINE_ARCH} -I -p ${_CROSS_DESTDIR}${PREFIX} 
+       ${PKG_ADD} -U -m ${MACHINE_ARCH} -I -p ${_CROSS_DESTDIR}${PREFIX} 
        @${ECHO} "Fixing recorded cwd..."
        @${SED} -e 's|@cwd ${_CROSS_DESTDIR}|@cwd |' 
        @${MV} ${_PKG_DBDIR}/${PKGNAME:Q}/+CONTENTS.tmp 
-       ${PKG_ADD} -U -f ${PKGFILE}
+       ${PKG_ADD} -U ${PKGFILE}
        ${RUN}${_REPLACE_OLDNAME_CMD}; \
        ${PKG_INFO} -qR ${PKGNAME:Q} | while read pkg; do \
                [ -n "$$pkg" ] || continue; \
                ${PKG_ADMIN} set unsafe_depends_strict=YES "$$pkg"; \
-               if [ "$$oldname" != ${PKGNAME:Q} ]; then \
-                       ${PKG_ADMIN} set unsafe_depends=YES "$$pkg"; \
-               fi; \
        ${RUN}${PKG_ADMIN} unset unsafe_depends ${PKGNAME:Q}
        ${RUN}${PKG_ADMIN} unset unsafe_depends_strict ${PKGNAME:Q}

OBATA Akio /

Home | Main Index | Thread Index | Old Index