(*** This bug was imported into bugs.kde.org ***) Package: kdevelop Version: 2.1.2 (using KDE 3.0.2 ) Severity: normal Installed from: Compiled From Sources Compiler: GCC 2.95.2 OS: Linux OS/Compiler notes: Kernel 2.2.21 Hi I just tested KDevelop 2.1.2 with KDE 3.0.2 and QT 3.0.4 and I think I found some bugs. When I create a KDE project with I18N support and try to create a translation for all those texts it failed. 1. In Makefile.common at the rule "package-merge:" the first line in the rule should be @MAKE=$(MAKE) POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" 2. In cvs.sh in the function package_messages() I changed the line XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x ${includedir:-$KDEDIR/include}/kde.pot" \ to XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x /usr${includedir:-$KDEDIR/include}/kde.pot" \ This is NOT the correct solution ... I don't know why it "forgets" the /usr but this works for me ... Best regards Mark Junker (Submitted via bugs.kde.org)
Created attachment 179 [details] patch for admin/Makefile.common I had similar problems using KDE 3.0.3, but in addition the cvs.sh file was not found when the rule "package-merge" was applied. Therefore I simply copied the recursive admin directory search stuff from the other rule to the "package-merge" rule. That's not elegant but it works. For me it was not necessary to patch cvs.sh, when I have set the environment variable KDEDIR correctly (on my system to /opt/kde3, on other systems possibly to /usr, can be done within the file startkde).
Subject: kde-common/admin CVS commit by coolo: - MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@ - -package-merge: - @MAKE=$(MAKE) POFILES=$(POFILES) PACKAGE=$(PACKAGE) \ - $(SHELL) admin/cvs.sh package-merge + if test "$@" = "package-merge"; then \ + MAKE=$(MAKE) POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \ + $(SHELL) $$admindir/cvs.sh package-merge ;\ + else MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@ ;\ + fi CCMAIL: 45086-close@bugs.kde.org --------------------------------------------------------------------------- M +6 -6 1.154 1.155 Makefile.common