tech-pkg archive

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

What is the gain with EMACS_VERSIONS_ACCEPTED ?



I'm checking the 
   EMACS_VERSIONS_ACCEPTED=
line for some emacs packages.
For example, following combination can be packaged now
  (with dropping above line)
  misc/elscreen emacs20 to emacs25
  misc/bbdb     emacs21 to emacs25
(I believe).

misc/elscreen has missing emacs25 in the Makefile for now.
but actually packaged with emacs25 for now.

What is the gain to set this EMACS_VERSIONS_ACCEPTED value ?
(Is it mainly for xemacs in concern ?)

I'd like to drop this line at least for misc/elscreen.

I'm using following script to check this with pbulk
in limite_list mode
(although it is not optimized in the sense that there are
many duplication packaging on emacs-version independent ones).

Thank you,
---
mef%NetBSD.org@localhost
Makoto Fujiwara, 
http://www.ki.nu/~makoto/pkgsrc/check-update/00_Summary.html

------------------------------------------------------
#!/bin/sh
MK_CONF=/etc/mk.conf
MK_CONF_BAK=/etc/mk.conf-keep
PB_CONF=/usr/pkg_bulk/etc/pbulk.conf
PB_CONF_BAK=/usr/pkg_bulk/etc/pbulk.conf-keep

ulimit
if [ ! -f ${MK_CONF_BAK} ] ; then cp -p ${MK_CONF}  ${MK_CONF_BAK} ; fi
if [ ! -f ${PB_CONF_BAK} ] ; then cp -p ${PB_CONF}  ${PB_CONF_BAK} ; fi

for i in 20 21 22 23 24 25  ; do
    if [ ! -d /packages-emacs$i ] ; then mkdir -p /packages-emacs$i/All ; fi
    if [ ! -d /result/emacs$i   ] ; then mkdir -p /result/emacs$i ; fi
    cp -p ${MK_CONF_BAK}  ${MK_CONF} ;
    echo "EMACS_TYPE= emacs$i"         >> ${MK_CONF} ;
    echo "PACKAGES= /packages-emacs$i" >> ${MK_CONF} ;
    sed  \
         -e "/report_subject_prefix/s,=.*,=\"bulkbuild (t-105 emacs$i)\","  \
         -e "/report_rsync_target/s,=.*,=\"/result/emacs$i\","  \
         ${PB_CONF_BAK}                   >  ${PB_CONF};
    echo "packages=/packages-emacs$i"     >> ${PB_CONF};
# ----------------
    env \
    PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} \
    bulkbuild ;
# ----------------
done
------------------------------------------------------


Home | Main Index | Thread Index | Old Index