=================== BUG #1867: LATEST MODIFICATIONS ==================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1867&group_id=2348

Changes by: Mathieu Roy <[EMAIL PROTECTED]>
Date: 2002-Dec-04 12:26 (Europe/Paris)

------------------ Additional Follow-up Comments ----------------------------
En fait, ce qui me faudrait, c'est plutot le résultat de la commande configure. 
J'ai une idée du problème potentiel, et le problème doit sans doute se produire 
à ce moment là.



=================== BUG #1867: FULL BUG SNAPSHOT ===================


Submitted by: blackshack                Project: Package DataBase View          
Submitted on: 2002-Dec-03 13:20
Category:  None                         Severity:  5 - Major                    
Bug Group:  None                        Resolution:  None                       
Assigned to:  yeupou                    Status:  Open                           

Summary:  problem sur SuSE 8.1

Original Submission:  je suis sur distrib suse8.1 il utilise dkpg apparement 
-je ne sais si c normal mais ne devrait il pas utiliser rpm plutot-.
il n'arrive pas à lister les *.list -peut etre liée au précédent

Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Dec-04 12:26             By: yeupou
En fait, ce qui me faudrait, c'est plutot le résultat de la commande configure. 
J'ai une idée du problème potentiel, et le problème doit sans doute se produire 
à ce moment là.

-------------------------------------------------------
Date: 2002-Dec-04 12:02             By: blackshack
oui c a partir des source voici le makefile:

prefix=/usr/local
INSTALLNLSDIR=$(prefix)/share/locale
INSTALL= install
INSTALL_PROGRAM= ${INSTALL}
INSTALL_DATA= ${INSTALL} -m 644

MSGMERGE = msgmerge

NLSPACKAGE = pdbv

CATALOGS = $(shell ls *.po)
FMTCATALOGS = $(patsubst %.po,%.mo,$(CATALOGS))

POTFILES = ../pdbv

all: $(NLSPACKAGE).pot $(FMTCATALOGS)

$(NLSPACKAGE).pot: $(POTFILES)

new-pot-file-i-really-mean-it: $(POTFILES)
        ./xgettext_sh.py $(POTFILES) > $(NLSPACKAGE).po
        if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \
            rm -f $(NLSPACKAGE).po; \
        else \
            mv $(NLSPACKAGE).po $(NLSPACKAGE).pot; \
        fi

refresh-po: Makefile
        catalogs='$(CATALOGS)'; \
        for cat in $$catalogs; do \
                lang=`echo $$cat | sed 's/.po//'`; \
                if $(MSGMERGE) $$lang.po $(NLSPACKAGE).pot > $$lang.pot ; then \
                        mv -f $$lang.pot $$lang.po ; \
                        echo "$(MSGMERGE) of $$lang succeeded" ; \
                else \
                        echo "$(MSGMERGE) of $$lang failed" ; \
                        rm -f $$lang.pot ; \
                fi \
        done

update-po: $(NLSPACKAGE).pot Makefile refresh-po

report:
        @for cat in $(CATALOGS); do \
                echo -n "$$cat: "; \
                msgfmt -v --statistics -o /dev/null $$cat; \
        done

clean:
        rm -f *mo *.pyc
        rm Makefile

distclean: clean
        rm -f .depend Makefile

depend:

install:        all
        mkdir -p $(INSTALLNLSDIR)
        for n in $(CATALOGS); do \
            l=`basename $$n .po`; \
            mo=$$l.mo; \
            $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l; \
            $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
            $(INSTALL) -m 644 $$mo \
                $(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(NLSPACKAGE).mo; \
        done

%.mo: %.po
        msgfmt -o $@ $<


et voici le makefile.in au cas où:

INSTALL= install
INSTALL_PROGRAM= ${INSTALL}
INSTALL_DATA= ${INSTALL} -m 644

MSGMERGE = msgmerge

NLSPACKAGE = pdbv

CATALOGS = $(shell ls *.po)
FMTCATALOGS = $(patsubst %.po,%.mo,$(CATALOGS))

POTFILES = ../pdbv

all: $(NLSPACKAGE).pot $(FMTCATALOGS)

$(NLSPACKAGE).pot: $(POTFILES)

new-pot-file-i-really-mean-it: $(POTFILES)
        ./xgettext_sh.py $(POTFILES) > $(NLSPACKAGE).po
        if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \
            rm -f $(NLSPACKAGE).po; \
        else \
            mv $(NLSPACKAGE).po $(NLSPACKAGE).pot; \
        fi

refresh-po: Makefile
        catalogs='$(CATALOGS)'; \
        for cat in $$catalogs; do \
                lang=`echo $$cat | sed 's/.po//'`; \
                if $(MSGMERGE) $$lang.po $(NLSPACKAGE).pot > $$lang.pot ; then \
                        mv -f $$lang.pot $$lang.po ; \
                        echo "$(MSGMERGE) of $$lang succeeded" ; \
                else \
                        echo "$(MSGMERGE) of $$lang failed" ; \
                        rm -f $$lang.pot ; \
                fi \
        done

update-po: $(NLSPACKAGE).pot Makefile refresh-po

report:
        @for cat in $(CATALOGS); do \
                echo -n "$$cat: "; \
                msgfmt -v --statistics -o /dev/null $$cat; \
        done

clean:
        rm -f *mo *.pyc
        rm Makefile

distclean: clean
        rm -f .depend Makefile

depend:

install:        all
        mkdir -p $(INSTALLNLSDIR)
        for n in $(CATALOGS); do \
            l=`basename $$n .po`; \
            mo=$$l.mo; \
            $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l; \
            $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
            $(INSTALL) -m 644 $$mo \
                $(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(NLSPACKAGE).mo; \
        done

%.mo: %.po
        msgfmt -o $@ $<


-------------------------------------------------------
Date: 2002-Dec-03 13:40             By: yeupou
Logiquement SuSE utilise RPM, donc logiquement ça devrait utiliser RPM. 

Installé à partir des sources ? Peux-tu copier/coller le résultat de 
./configure ?


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1867&group_id=2348


Reply via email to