From lueck at hube-lueck.de Sat Jul 1 16:32:24 2006 From: lueck at hube-lueck.de (Burkhard =?iso-8859-15?q?L=FCck?=) Date: Sat, 1 Jul 2006 16:32:24 +0200 Subject: [kde-edu]: dead link on http://edu.kde.org/contrib/kvtml.php Message-ID: <200607011632.24649.lueck@hube-lueck.de> Hi, I found a dead link on edu.kde.org. Attached a patch to fix this. Burkhard L?ck -------------- next part -------------- A non-text attachment was scrubbed... Name: contrib-kvtml.diff Type: text/x-diff Size: 636 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-edu/attachments/20060701/ed019efb/attachment.bin From tsdgeos at terra.es Sun Jul 2 00:22:08 2006 From: tsdgeos at terra.es (Albert Astals Cid) Date: Sat, 01 Jul 2006 22:22:08 +0000 Subject: [kde-edu]: www/areas/edu/contrib Message-ID: <1151792528.342808.19622.nullmailer@svn.kde.org> SVN commit 556925 by aacid: fix dead link, patch by Burkhard L?ck CCMAIL: lueck at hube-lueck.de CCMAIL: kde-edu at kde.org M +1 -1 kvtml.php --- trunk/www/areas/edu/contrib/kvtml.php #556924:556925 @@ -756,7 +756,7 @@ data is). Also books out of copyright can be used for data (in the US this means mainly pre-1923 books). Have a look at project Gutenberg at - www.gutenberg2000.de (deutsche Webseite), + Projekt Gutenberg-DE (deutsche Webseite), or www.gutenberg.org (English site), for more information about finding out if a book is out of copyright.

From aacid at kde.org Sun Jul 2 00:24:11 2006 From: aacid at kde.org (Albert Astals Cid) Date: Sun, 2 Jul 2006 00:24:11 +0200 Subject: [kde-edu]: dead link on http://edu.kde.org/contrib/kvtml.php In-Reply-To: <200607011632.24649.lueck@hube-lueck.de> References: <200607011632.24649.lueck@hube-lueck.de> Message-ID: <200607020024.11540.aacid@kde.org> A Dissabte 01 Juliol 2006 16:32, Burkhard L?ck va escriure: > Hi, > > I found a dead link on edu.kde.org. > Attached a patch to fix this. > > Burkhard L?ck Both changes commited, thanks for the work. Albert From kstars at 30doradus.org Thu Jul 6 16:58:08 2006 From: kstars at 30doradus.org (Jason Harris) Date: Thu, 06 Jul 2006 10:58:08 -0400 Subject: [kde-edu]: cmake errors Message-ID: <44AD2500.1060208@30doradus.org> Hello, I'm getting errors like this: CMake Error: Error in cmake code at /home/jharris/KDE/kde4svn/kdeedu/blinken/src/CMakeLists.txt:27: INSTALL TARGETS given no DESTINATION! for every CMakeLists.txt file in kdeedu when I try to run cmake. The lines triggering the errors look like this: install(TARGETS blinken DESTINATION ${BIN_INSTALL_DIR} ) My cmake command line is: cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=debugfull /home/jharris/KDE/kde4svn/kdeedu Has anyone else seen this? thanks, Jason From aacid at kde.org Thu Jul 6 19:32:12 2006 From: aacid at kde.org (Albert Astals Cid) Date: Thu, 6 Jul 2006 19:32:12 +0200 Subject: [kde-edu]: cmake errors In-Reply-To: <44AD2500.1060208@30doradus.org> References: <44AD2500.1060208@30doradus.org> Message-ID: <200607061932.12756.aacid@kde.org> A Dijous 06 Juliol 2006 16:58, Jason Harris va escriure: > Hello, > > I'm getting errors like this: > > CMake Error: Error in cmake code at > /home/jharris/KDE/kde4svn/kdeedu/blinken/src/CMakeLists.txt:27: > INSTALL TARGETS given no DESTINATION! > > for every CMakeLists.txt file in kdeedu when I try to run cmake. > The lines triggering the errors look like this: > > install(TARGETS blinken DESTINATION ${BIN_INSTALL_DIR} ) > > My cmake command line is: > cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=debugfull > /home/jharris/KDE/kde4svn/kdeedu > > Has anyone else seen this? old kdelibs4_snapshot? Albert > > thanks, > Jason > _______________________________________________ > kde-edu mailing list > kde-edu at mail.kde.org > https://mail.kde.org/mailman/listinfo/kde-edu From kstars at 30doradus.org Thu Jul 6 19:47:27 2006 From: kstars at 30doradus.org (Jason Harris) Date: Thu, 06 Jul 2006 13:47:27 -0400 Subject: [kde-edu]: cmake errors In-Reply-To: <200607061932.12756.aacid@kde.org> References: <44AD2500.1060208@30doradus.org> <200607061932.12756.aacid@kde.org> Message-ID: <44AD4CAF.5070707@30doradus.org> Albert Astals Cid wrote: >> Has anyone else seen this? > > old kdelibs4_snapshot? > Ah, yes, of course...specifically, I forgot to "make install" libs. *blush* Thanks Albert! Jason From lueck at hube-lueck.de Wed Jul 12 20:36:02 2006 From: lueck at hube-lueck.de (Burkhard =?iso-8859-15?q?L=FCck?=) Date: Wed, 12 Jul 2006 20:36:02 +0200 Subject: [kde-edu]: german sounds for klettres Message-ID: <200607122036.02346.lueck@hube-lueck.de> Hi, I have comitted german sounds for klettres to l10n/de/data in trunk and stable. As Anne-Marie is offline until the end of August, where to send this stuff: patch for klettres website (German sounds added) patch for klettres/news website (Announcement for German sounds) patch for knewstuff.xml and the klettres-de.tar.bz2 tarball for upload to ghns Albert? I found a bug in KLettres, which makes the special characters toolbar unusable for every language, not only for german. You find my patch here: http://bugs.kde.org/show_bug.cgi?id=130629 Please check and commit to fix this bug, if possible. Burkhard L?ck From aacid at kde.org Wed Jul 12 22:19:27 2006 From: aacid at kde.org (Albert Astals Cid) Date: Wed, 12 Jul 2006 22:19:27 +0200 Subject: [kde-edu]: german sounds for klettres In-Reply-To: <200607122036.02346.lueck@hube-lueck.de> References: <200607122036.02346.lueck@hube-lueck.de> Message-ID: <200607122219.27150.aacid@kde.org> A Dimecres 12 Juliol 2006 20:36, Burkhard L?ck va escriure: > Hi, > > I have comitted german sounds for klettres to l10n/de/data in trunk and > stable. > > As Anne-Marie is offline until the end of August, where to send this stuff: > > patch for klettres website (German sounds added) > patch for klettres/news website (Announcement for German sounds) > patch for knewstuff.xml and the klettres-de.tar.bz2 tarball for upload to > ghns > > Albert? Yeah, send them my way. > I found a bug in KLettres, which makes the special characters toolbar > unusable for every language, not only for german. > > You find my patch here: http://bugs.kde.org/show_bug.cgi?id=130629 > > Please check and commit to fix this bug, if possible. Done Albert > > Burkhard L?ck > > _______________________________________________ > kde-edu mailing list > kde-edu at mail.kde.org > https://mail.kde.org/mailman/listinfo/kde-edu From bald at starman.ee Wed Jul 12 22:31:22 2006 From: bald at starman.ee (Marek Laane) Date: Wed, 12 Jul 2006 16:31:22 -0400 Subject: [kde-edu]: New language for KAnagram Message-ID: <200607122331.22775.bald@starman.ee> Hi! I made some files needed for guessing Estonian words in KAnagram. I looked in SVN that Italian team has translated file names also, so I translated them, too. If they have to be in English, let me know - I've not deleted English ones, yet. Also I added file containing Estonian special characters, if You need it, but as I said on the case of KHangman when in doubt You can check over the characters in the web http://www.eki.ee/letter/chardata.cgi?lang=et+Estonian&script=latin because it describes Estonian special letters probably much more better than I ever could... Marek Laane KDE Estonian translator -------------- next part -------------- A non-text attachment was scrubbed... Name: Arhiiv1.tar.bz2 Type: application/x-tbz Size: 8911 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-edu/attachments/20060712/98ddf4bf/attachment.bin From aacid at kde.org Wed Jul 12 23:02:07 2006 From: aacid at kde.org (Albert Astals Cid) Date: Wed, 12 Jul 2006 23:02:07 +0200 Subject: [kde-edu]: New language for KAnagram In-Reply-To: <200607122331.22775.bald@starman.ee> References: <200607122331.22775.bald@starman.ee> Message-ID: <200607122302.08177.aacid@kde.org> A Dimecres 12 Juliol 2006 22:31, Marek Laane va escriure: > Hi! > > I made some files needed for guessing Estonian words in KAnagram. I looked > in SVN that Italian team has translated file names also, so I translated > them, too. If they have to be in English, let me know - I've not deleted > English ones, yet. > Also I added file containing Estonian special characters, if You need it, > but as I said on the case of KHangman when in doubt You can check over the > characters in the web > http://www.eki.ee/letter/chardata.cgi?lang=et+Estonian&script=latin because > it describes Estonian special letters probably much more better than I ever > could... Good work, please follow this instructions [1] to add Estonian to kanagram, There's nothing that needs to be done in the code side, just drop the files and it will work. [1] http://websvn.kde.org/branches/KDE/3.5/kdeedu/kanagram/DATA_FILE_TRANSLATION.readme?rev=478008&view=markup Albert > > > Marek Laane > KDE Estonian translator From cniehaus at gmx.de Thu Jul 13 09:10:58 2006 From: cniehaus at gmx.de (Carsten Niehaus) Date: Thu, 13 Jul 2006 09:10:58 +0200 Subject: [kde-edu]: =?iso-8859-15?q?Fwd=3A_=5Bkde-i18n-de=5D_KVoctrain_nic?= =?iso-8859-15?q?ht_=FCbersetzter_String_in_GUI?= Message-ID: <200607130911.13368.cniehaus@gmx.de> Hi This question was asked on kde-i18n-de. Short version: "&Sort alphabetically" doesn't show up in the translationfile (kvoctrain.po) and Burkhard asks why... ---------- Weitergeleitete Nachricht ---------- Subject: [kde-i18n-de] KVoctrain nicht ?bersetzter String in GUI Date: Mittwoch 12 Juli 2006 20:50 From: Burkhard L?ck To: kde-i18n-de at kde.org Hallo, in kvoctrain habe ich den nicht ?bersetzten String "&Sort alphabetically". Kommt aus kdeedu/kvoctrain/kvoctrain/kva_header.cpp: #define SORT_ALPHA I18N_NOOP("&Sort alphabetically") #define SORT_NUM I18N_NOOP("Sort by &index") Die Targets im Makefile sehen Ok aus, aber beide Strings sind nicht in kvoctrain.po, wohl aber der Rest der Strings aus dieser Datei. In Zeile 52 und 53 von kva_header.cpp finde ich dann noch i18n(SORT_ALPHA) und i18n(SORT_NUM). Wer kennt sich mit diesem Makro I18N_NOOP aus? Burkhard L?ck ------------------------------------------------------- -- Gru?, Carsten Niehaus -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-edu/attachments/20060713/0e7f866c/attachment.pgp From aacid at kde.org Thu Jul 13 19:57:56 2006 From: aacid at kde.org (Albert Astals Cid) Date: Thu, 13 Jul 2006 19:57:56 +0200 Subject: [kde-edu]: =?iso-8859-15?q?Fwd=3A_=5Bkde-i18n-de=5D_KVoctrain_nic?= =?iso-8859-15?q?ht_=FCbersetzter_String_in_GUI?= In-Reply-To: <200607130911.13368.cniehaus@gmx.de> References: <200607130911.13368.cniehaus@gmx.de> Message-ID: <200607131957.56718.aacid@kde.org> A Dijous 13 Juliol 2006 09:10, Carsten Niehaus va escriure: > Hi > > This question was asked on kde-i18n-de. Short version: "&Sort > alphabetically" doesn't show up in the translationfile (kvoctrain.po) and > Burkhard asks why... Personally i think the messages: target is not as good as it should be, but you should find someone with more messages-fu to tell you whats the problem. Albert > > ---------- Weitergeleitete Nachricht ---------- > > Subject: [kde-i18n-de] KVoctrain nicht ?bersetzter String in GUI > Date: Mittwoch 12 Juli 2006 20:50 > From: Burkhard L?ck > To: kde-i18n-de at kde.org > > Hallo, > > in kvoctrain habe ich den nicht ?bersetzten String "&Sort alphabetically". > > Kommt aus kdeedu/kvoctrain/kvoctrain/kva_header.cpp: > #define SORT_ALPHA I18N_NOOP("&Sort alphabetically") > #define SORT_NUM I18N_NOOP("Sort by &index") > > Die Targets im Makefile sehen Ok aus, aber beide Strings sind nicht in > kvoctrain.po, wohl aber der Rest der Strings aus dieser Datei. > > In Zeile 52 und 53 von kva_header.cpp finde ich dann noch i18n(SORT_ALPHA) > und i18n(SORT_NUM). > > Wer kennt sich mit diesem Makro I18N_NOOP aus? > > Burkhard L?ck > > ------------------------------------------------------- From kstars at 30doradus.org Sat Jul 15 04:31:13 2006 From: kstars at 30doradus.org (Jason Harris) Date: Fri, 14 Jul 2006 19:31:13 -0700 Subject: [kde-edu]: CMakeLists.txt for a library Message-ID: <200607141931.13222.kstars@30doradus.org> Hello, I am trying to add a library written in C to KStars in order to track Earth satellites. I'm having trouble getting the CMakeLists.txt file set up properly. The library is very simple, there is only one source-code file and two header files. I have placed the files in a subdirectory, and here is my attempt at a CMakeLists.txt file: ------------------------- ## SatLib Library ### set(SatLib_LIB_SRCS ${CMAKE_SOURCE_DIR}/kstars/kstars/satlib/SatLib.c ) kde4_add_library(SatLib SHARED ${SatLib_LIB_SRCS}) target_link_libraries(SatLib m) set_target_properties(SatLib PROPERTIES VERSION 0.1.0 SOVERSION 1 ) install(TARGETS SatLib DESTINATION ${LIB_INSTALL_DIR} ) ------------------------- The problem is, if I run "make" in the build dir for this library, nothing happens. Any idea what I've done wrong? thanks, Jason -- KStars: http://edu.kde.org/kstars Community Forums: http://kstars.30doradus.org From kstars at 30doradus.org Sat Jul 15 05:09:16 2006 From: kstars at 30doradus.org (Jason Harris) Date: Fri, 14 Jul 2006 20:09:16 -0700 Subject: [kde-edu]: CMakeLists.txt for a library In-Reply-To: <200607141931.13222.kstars@30doradus.org> References: <200607141931.13222.kstars@30doradus.org> Message-ID: <200607142009.16902.kstars@30doradus.org> On Friday 14 July 2006 19:31, Jason Harris wrote: > The problem is, if I run "make" in the build dir for this library, nothing > happens. Any idea what I've done wrong? > Ah, nevermind...nothing happens because the lib is already built. I was confused because it gets placed in kdeedu/lib/libSatLib.so However, I am getting udefined reference errors when trying to link kstars (referring to functions in libSatLib.so). My kstars/kstars/CMakeLists.txt file contains the following: target_link_libraries(kstars ${KDE4_KDECORE_LIBS} kdeeduplot kdeeduui extdate kdeprint knewstuff SatLib m z ) I thought that having "SatLib" there meant that it would link libSatLib.so. Is there something else missing? thanks, Jason -- KStars: http://edu.kde.org/kstars Community Forums: http://kstars.30doradus.org From cniehaus at gmx.de Sat Jul 15 09:25:18 2006 From: cniehaus at gmx.de (Carsten Niehaus) Date: Sat, 15 Jul 2006 09:25:18 +0200 Subject: [kde-edu]: CMakeLists.txt for a library In-Reply-To: <200607141931.13222.kstars@30doradus.org> References: <200607141931.13222.kstars@30doradus.org> Message-ID: <200607150925.31312.cniehaus@gmx.de> Am Samstag 15 Juli 2006 04:31 schrieb Jason Harris: > set(SatLib_LIB_SRCS > ? ? ? ? ${CMAKE_SOURCE_DIR}/kstars/kstars/satlib/SatLib.c > ) What is the policy about case-sensivity now that we have to support the great filesystem called vfat32? -- Gru?, Carsten Niehaus -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-edu/attachments/20060715/43be8d83/attachment.pgp From kstars at 30doradus.org Sat Jul 15 18:29:11 2006 From: kstars at 30doradus.org (Jason Harris) Date: Sat, 15 Jul 2006 09:29:11 -0700 Subject: [kde-edu]: CMakeLists.txt for a library In-Reply-To: <200607142009.16902.kstars@30doradus.org> References: <200607141931.13222.kstars@30doradus.org> <200607142009.16902.kstars@30doradus.org> Message-ID: <200607150929.11616.kstars@30doradus.org> How do I tell cmake or make that I want to see the full command line of each step? I think I heard this was possible. I want to see if it's actually linking libSatLib.so when getting these undefined reference errors. thanks, Jason On Friday 14 July 2006 20:09, Jason Harris wrote: > On Friday 14 July 2006 19:31, Jason Harris wrote: > > The problem is, if I run "make" in the build dir for this library, > > nothing happens. Any idea what I've done wrong? > > Ah, nevermind...nothing happens because the lib is already built. I was > confused because it gets placed in kdeedu/lib/libSatLib.so > > However, I am getting udefined reference errors when trying to link kstars > (referring to functions in libSatLib.so). My kstars/kstars/CMakeLists.txt > file contains the following: > > target_link_libraries(kstars ${KDE4_KDECORE_LIBS} kdeeduplot kdeeduui > extdate kdeprint knewstuff SatLib m z ) > > I thought that having "SatLib" there meant that it would link libSatLib.so. > Is there something else missing? > > thanks, > Jason -- KStars: http://edu.kde.org/kstars Community Forums: http://kstars.30doradus.org From henrique.pinto at kdemail.net Sat Jul 15 18:33:46 2006 From: henrique.pinto at kdemail.net (Henrique Pinto) Date: Sat, 15 Jul 2006 13:33:46 -0300 Subject: [kde-edu]: CMakeLists.txt for a library In-Reply-To: <200607150929.11616.kstars@30doradus.org> References: <200607141931.13222.kstars@30doradus.org> <200607142009.16902.kstars@30doradus.org> <200607150929.11616.kstars@30doradus.org> Message-ID: <200607151333.47244.henrique.pinto@kdemail.net> On Sat 15 Jul 2006 13:29, Jason Harris wrote: > How do I tell cmake or make that I want to see the full command line of > each step? ?I think I heard this was possible. ?I want to see if it's > actually linking libSatLib.so when getting these undefined reference > errors. "make VERBOSE=1" -- Henrique Pinto henrique.pinto at kdemail.net From cniehaus at gmx.de Sun Jul 16 13:50:04 2006 From: cniehaus at gmx.de (Carsten Niehaus) Date: Sun, 16 Jul 2006 13:50:04 +0200 Subject: [kde-edu]: Merging the glossary with other KDEEDU code Message-ID: <200607161350.25392.cniehaus@gmx.de> Hi In Kalzium there is the Glossary. In schools, at least in germany, many teachers use a system called Lernkartei. This is basically a glossary custom-made for a specific class. For example, the students/pupil write every definition ("What is an Atom") on a card and always have those cards with them. They use those cards very flashcard-like in class but also to learn. Ok, I would like to add an easy / simple GUI for teachers or students to enter such definitions, with the posibility to also add images and links to other definitions. Just like the current glossary. Of course it would be best to share all that stuff and also the xml-format with other applications. I looked at the kvtml-format but that is not what I have in mind. My XML looks like this: State of matter Form of a substance; dependant on form stability and whether it takes up a definite volume: solid, liquid or gaseous. Boiling point Melting point The means: This item somehow belongs to the item "Melting Point". Thus, a link to "Melting point" is given. The editor would give you a simple interface to create those items. Not i18n is involved because it is userinput. Wikipedia-integration would mean another xml-tag which gives you the link to the Wikipedia-article. COuld all this be merged into kvtml or should the format stay seperate? -- Gru?, Carsten Niehaus -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-edu/attachments/20060716/3ea7750a/attachment.pgp From jkerian at gmail.com Sun Jul 16 19:16:55 2006 From: jkerian at gmail.com (Joseph Kerian) Date: Sun, 16 Jul 2006 12:16:55 -0500 Subject: [kde-edu]: : CMakeLists.txt for a library In-Reply-To: <200607141931.13222.kstars@30doradus.org> References: <200607141931.13222.kstars@30doradus.org> Message-ID: <282b2dd90607161016x17cc51a6h818e8f51fdaa29bd@mail.gmail.com> On 7/14/06, Jason Harris wrote: > Hello, > > I am trying to add a library written in C to KStars in order to track Earth > satellites. I'm having trouble getting the CMakeLists.txt file set up > properly. The library is very simple, there is only one source-code file > and > two header files. > > I have placed the files in a subdirectory, and here is my attempt at a > CMakeLists.txt file: > > ------------------------- > ## SatLib Library ### > set(SatLib_LIB_SRCS > ${CMAKE_SOURCE_DIR}/kstars/kstars/satlib/SatLib.c > ) > > kde4_add_library(SatLib SHARED ${SatLib_LIB_SRCS}) > > target_link_libraries(SatLib m) > > set_target_properties(SatLib PROPERTIES VERSION 0.1.0 SOVERSION 1 ) > install(TARGETS SatLib DESTINATION ${LIB_INSTALL_DIR} ) I don't see you instructing cmake to build install targets for your header files here. You probably need something like: install( FILES header_file_A.h header_file_B.h DESTINATION ${INCLUDE_INSTALL_DIR}/satlib ) added to the CMakeLists.txt. Your #include line will either have to take the satlib bit into account, or you can use an explicit include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../satlib ) in the projects that need to link to it (or something similar). --Joe From kstars at 30doradus.org Sun Jul 16 20:04:20 2006 From: kstars at 30doradus.org (Jason Harris) Date: Sun, 16 Jul 2006 11:04:20 -0700 Subject: [kde-edu]: : CMakeLists.txt for a library In-Reply-To: <282b2dd90607161016x17cc51a6h818e8f51fdaa29bd@mail.gmail.com> References: <200607141931.13222.kstars@30doradus.org> <282b2dd90607161016x17cc51a6h818e8f51fdaa29bd@mail.gmail.com> Message-ID: <44BA7FA4.3070009@30doradus.org> Hi, AFAIK, it's not necessary to install these header files, since no other code needs to use them. The include path is defined in the parent directory's CMakeLists.txt. I don't think the includes are the problem; IIUC, "undefined reference" errors at the linker stage indicate a missing *.so library, not a missing header. thanks, Jason Joseph Kerian wrote: > On 7/14/06, Jason Harris wrote: >> Hello, >> >> I am trying to add a library written in C to KStars in order to track Earth >> satellites. I'm having trouble getting the CMakeLists.txt file set up >> properly. The library is very simple, there is only one source-code file >> and >> two header files. >> >> I have placed the files in a subdirectory, and here is my attempt at a >> CMakeLists.txt file: >> >> ------------------------- >> ## SatLib Library ### >> set(SatLib_LIB_SRCS >> ${CMAKE_SOURCE_DIR}/kstars/kstars/satlib/SatLib.c >> ) >> >> kde4_add_library(SatLib SHARED ${SatLib_LIB_SRCS}) >> >> target_link_libraries(SatLib m) >> >> set_target_properties(SatLib PROPERTIES VERSION 0.1.0 SOVERSION 1 ) >> install(TARGETS SatLib DESTINATION ${LIB_INSTALL_DIR} ) > > I don't see you instructing cmake to build install targets for your > header files here. You probably need something like: > install( FILES header_file_A.h header_file_B.h DESTINATION > ${INCLUDE_INSTALL_DIR}/satlib ) > added to the CMakeLists.txt. > Your #include line will either have to take the satlib bit into > account, or you can use an explicit include_directories( > ${CMAKE_CURRENT_SOURCE_DIR}/../satlib ) in the projects that need to > link to it (or something similar). > > --Joe > _______________________________________________ > kde-edu mailing list > kde-edu at mail.kde.org > https://mail.kde.org/mailman/listinfo/kde-edu > > From peter at peterandlinda.com Sun Jul 16 21:14:36 2006 From: peter at peterandlinda.com (Peter Hedlund) Date: Sun, 16 Jul 2006 12:14:36 -0700 Subject: [kde-edu]: Merging the glossary with other KDEEDU code In-Reply-To: <200607161350.25392.cniehaus@gmx.de> References: <200607161350.25392.cniehaus@gmx.de> Message-ID: <200607161214.36111.peter@peterandlinda.com> Hi Carsten, On Sunday 16 July 2006 04:50, Carsten Niehaus wrote: > > State of matter > Form of a substance; dependant on form stability and whether > it takes up a definite volume: solid, liquid or gaseous. > > Boiling point > Melting point > > > > The means: This item somehow belongs to the item "Melting Point". > Thus, a link to "Melting point" is given. > > The editor would give you a simple interface to create those items. Not > i18n is involved because it is userinput. Wikipedia-integration would mean > another xml-tag which gives you the link to the Wikipedia-article. > > COuld all this be merged into kvtml or should the format stay seperate? I think you can use kvtml, however it might not be optimal for your needs. I would, like I'm sure you would, have designed kvtml differently. It currently relies heavily on attributes instead of elements, which IMHO is a bad idea. Nevertheless, kvtml supports an attribute for description (your ). For the you can probably use the support for lessons or perhaps word categories. The only thing really missing in kvtml are tags for images and sounds, something I hope we can add for KDE4. Having tags for online dictionaries is also an interesting idea. I think it would be unfortunate if we introduce a completely new file format for flashcard-like information. Thanks, Peter From jacob at math.jussieu.fr Wed Jul 19 11:08:51 2006 From: jacob at math.jussieu.fr (=?iso-8859-1?q?Beno=EEt_Jacob?=) Date: Wed, 19 Jul 2006 11:08:51 +0200 Subject: [kde-edu]: problems with CMake and kde-edu Message-ID: <200607191108.52036.jacob@math.jussieu.fr> Hi, since I did a svn up on kdeedu yesterday, CMake gives me the following error messages when running CMake on kdeedu: CMake Error: Error in cmake code at /home/gaston/cuisine/trunk/kdeedu/CMakeLists.txt:13: Unknown CMake command "macro_log_feature". CMake Error: Error in cmake code at /home/gaston/cuisine/trunk/kdeedu/CMakeLists.txt:14: Unknown CMake command "macro_log_feature". CMake Error: Error in cmake code at /home/gaston/cuisine/trunk/kdeedu/CMakeLists.txt:15: Unknown CMake command "macro_log_feature". and, farther, CMake Error: Error in cmake code at /home/gaston/cuisine/trunk/kdeedu/kalzium/src/CMakeLists.txt:88: INSTALL TARGETS given no DESTINATION! CMake Error: Error in cmake code at /home/gaston/cuisine/trunk/kdeedu/kalzium/simulations/CMakeLists.txt:37: INSTALL TARGETS given no DESTINATION! -- Configuring done any idea? Cheers, Benoit From jacob at math.jussieu.fr Wed Jul 19 14:08:44 2006 From: jacob at math.jussieu.fr (=?iso-8859-15?q?Beno=EEt_Jacob?=) Date: Wed, 19 Jul 2006 14:08:44 +0200 Subject: [kde-edu]: problems with CMake and kde-edu In-Reply-To: <200607191108.52036.jacob@math.jussieu.fr> References: <200607191108.52036.jacob@math.jussieu.fr> Message-ID: <200607191408.45297.jacob@math.jussieu.fr> OK, so Carsten answered me on Jabber, it seems I have to update my kdelibs from trunk. Thanks Carsten. Le mercredi 19 juillet 2006 11:08, Beno?t Jacob a ?crit?: > Hi, > > since I did a svn up on kdeedu yesterday, CMake gives me the following > error messages when running CMake on kdeedu: > > CMake Error: Error in cmake code at > /home/gaston/cuisine/trunk/kdeedu/CMakeLists.txt:13: > Unknown CMake command "macro_log_feature". > CMake Error: Error in cmake code at > /home/gaston/cuisine/trunk/kdeedu/CMakeLists.txt:14: > Unknown CMake command "macro_log_feature". > CMake Error: Error in cmake code at > /home/gaston/cuisine/trunk/kdeedu/CMakeLists.txt:15: > Unknown CMake command "macro_log_feature". > > and, farther, > > CMake Error: Error in cmake code at > /home/gaston/cuisine/trunk/kdeedu/kalzium/src/CMakeLists.txt:88: > INSTALL TARGETS given no DESTINATION! > CMake Error: Error in cmake code at > /home/gaston/cuisine/trunk/kdeedu/kalzium/simulations/CMakeLists.txt:37: > INSTALL TARGETS given no DESTINATION! > -- Configuring done > > any idea? > > Cheers, > Benoit > _______________________________________________ > kde-edu mailing list > kde-edu at mail.kde.org > https://mail.kde.org/mailman/listinfo/kde-edu From cniehaus at gmx.de Sat Jul 22 15:38:16 2006 From: cniehaus at gmx.de (Carsten Niehaus) Date: Sat, 22 Jul 2006 15:38:16 +0200 Subject: [kde-edu]: Fwd: Month names in libkdeedu Message-ID: <200607221538.27846.cniehaus@gmx.de> ---------- Weitergeleitete Nachricht ---------- Subject: Month names in libkdeedu Date: Samstag 22 Juli 2006 15:18 From: Krzysztof Lichota To: KDE i18n-doc I have noticed that in libkdeedu.po appeared 38 strings with names of months, days of week, etc. I am wondering, what are they for as there are already such strings in kdelibs.po, so they should be used. Having them in 2 places is not a good idea. Anyone knows something about this? Krzysztof Lichota ------------------------------------------------------- -- Gru?, Carsten Niehaus -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-edu/attachments/20060722/49a667ec/attachment.pgp From kstars at 30doradus.org Sat Jul 22 16:20:57 2006 From: kstars at 30doradus.org (Jason Harris) Date: Sat, 22 Jul 2006 10:20:57 -0400 Subject: [kde-edu]: Fwd: Month names in libkdeedu In-Reply-To: <200607221538.27846.cniehaus@gmx.de> References: <200607221538.27846.cniehaus@gmx.de> Message-ID: <44C23449.6060406@30doradus.org> That's my fault...they're in my ExtDate class. I need to modify that class to use the new KDateTime classes anyway, so I'll take care of this at that time. It's just a matter of using I18N_NOOP() instead of i18n(), isn't that right? Jason Carsten Niehaus wrote: > > ---------- Weitergeleitete Nachricht ---------- > > Subject: Month names in libkdeedu > Date: Samstag 22 Juli 2006 15:18 > From: Krzysztof Lichota > To: KDE i18n-doc > > I have noticed that in libkdeedu.po appeared 38 strings with names of > months, days of week, etc. > I am wondering, what are they for as there are already such strings in > kdelibs.po, so they should be used. Having them in 2 places is not a > good idea. > > Anyone knows something about this? > > Krzysztof Lichota > > ------------------------------------------------------- > > > > ------------------------------------------------------------------------ > > _______________________________________________ > kde-edu mailing list > kde-edu at mail.kde.org > https://mail.kde.org/mailman/listinfo/kde-edu From aacid at kde.org Sat Jul 22 21:11:12 2006 From: aacid at kde.org (Albert Astals Cid) Date: Sat, 22 Jul 2006 21:11:12 +0200 Subject: [kde-edu]: Fwd: Month names in libkdeedu In-Reply-To: <44C23449.6060406@30doradus.org> References: <200607221538.27846.cniehaus@gmx.de> <44C23449.6060406@30doradus.org> Message-ID: <200607222111.13027.aacid@kde.org> A Dissabte 22 Juliol 2006 16:20, Jason Harris va escriure: > That's my fault...they're in my ExtDate class. I need to modify that > class to use the new KDateTime classes anyway, so I'll take care of this > at that time. It's just a matter of using I18N_NOOP() instead of > i18n(), isn't that right? No, I18N_NOOP() still marks the strings for extraction. AFAIK what you need is this. Agree to commit? Albert > > Jason > > Carsten Niehaus wrote: > > ---------- Weitergeleitete Nachricht ---------- > > > > Subject: Month names in libkdeedu > > Date: Samstag 22 Juli 2006 15:18 > > From: Krzysztof Lichota > > To: KDE i18n-doc > > > > I have noticed that in libkdeedu.po appeared 38 strings with names of > > months, days of week, etc. > > I am wondering, what are they for as there are already such strings in > > kdelibs.po, so they should be used. Having them in 2 places is not a > > good idea. > > > > Anyone knows something about this? > > > > Krzysztof Lichota > > > > ------------------------------------------------------- > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > kde-edu mailing list > > kde-edu at mail.kde.org > > https://mail.kde.org/mailman/listinfo/kde-edu > > _______________________________________________ > kde-edu mailing list > kde-edu at mail.kde.org > https://mail.kde.org/mailman/listinfo/kde-edu -------------- next part -------------- A non-text attachment was scrubbed... Name: i18nless Type: text/x-diff Size: 6740 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-edu/attachments/20060722/f7ea3e8e/attachment.bin From kstars at 30doradus.org Sun Jul 23 16:09:51 2006 From: kstars at 30doradus.org (Jason Harris) Date: Sun, 23 Jul 2006 10:09:51 -0400 Subject: [kde-edu]: Fwd: Month names in libkdeedu In-Reply-To: <200607222111.13027.aacid@kde.org> References: <200607221538.27846.cniehaus@gmx.de> <44C23449.6060406@30doradus.org> <200607222111.13027.aacid@kde.org> Message-ID: <44C3832F.1010705@30doradus.org> Hi Albert, Looks good, please commit it. Thanks for switching it to QStringList; we should have done it that way from the beginning. thanks, Jason Albert Astals Cid wrote: > A Dissabte 22 Juliol 2006 16:20, Jason Harris va escriure: >> That's my fault...they're in my ExtDate class. I need to modify that >> class to use the new KDateTime classes anyway, so I'll take care of this >> at that time. It's just a matter of using I18N_NOOP() instead of >> i18n(), isn't that right? > > No, I18N_NOOP() still marks the strings for extraction. > > AFAIK what you need is this. Agree to commit? > > Albert > >> Jason >> >> Carsten Niehaus wrote: >>> ---------- Weitergeleitete Nachricht ---------- >>> >>> Subject: Month names in libkdeedu >>> Date: Samstag 22 Juli 2006 15:18 >>> From: Krzysztof Lichota >>> To: KDE i18n-doc >>> >>> I have noticed that in libkdeedu.po appeared 38 strings with names of >>> months, days of week, etc. >>> I am wondering, what are they for as there are already such strings in >>> kdelibs.po, so they should be used. Having them in 2 places is not a >>> good idea. >>> >>> Anyone knows something about this? >>> >>> Krzysztof Lichota >>> >>> ------------------------------------------------------- >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> kde-edu mailing list >>> kde-edu at mail.kde.org >>> https://mail.kde.org/mailman/listinfo/kde-edu >> _______________________________________________ >> kde-edu mailing list >> kde-edu at mail.kde.org >> https://mail.kde.org/mailman/listinfo/kde-edu >> >> ------------------------------------------------------------------------ >> >> Index: extdatetime.cpp >> =================================================================== >> --- extdatetime.cpp (revision 565226) >> +++ extdatetime.cpp (working copy) >> @@ -45,34 +45,10 @@ >> uint ExtDate::m_monthLength[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; >> uint ExtDate::m_monthOrigin[] = { 0, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; >> >> -QString ExtDate::m_shortMonthNames[12] = { >> - i18n("Short month name", "Jan"), i18n("Short month name", "Feb"), >> - i18n("Short month name", "Mar"), i18n("Short month name", "Apr"), >> - i18n("Short month name", "May"), i18n("Short month name", "Jun"), >> - i18n("Short month name", "Jul"), i18n("Short month name", "Aug"), >> - i18n("Short month name", "Sep"), i18n("Short month name", "Oct"), >> - i18n("Short month name", "Nov"), i18n("Short month name", "Dec") >> -}; >> -QString ExtDate::m_shortDayNames[7] = { >> - i18n("Short day name", "Mon"), i18n("Short day name", "Tue"), >> - i18n("Short day name", "Wed"), i18n("Short day name", "Thu"), >> - i18n("Short day name", "Fri"), i18n("Short day name", "Sat"), >> - i18n("Short day name", "Sun") >> -}; >> -QString ExtDate::m_longMonthNames[12] = { >> - i18n("Long month name", "January"), i18n("Long month name", "February"), >> - i18n("Long month name", "March"), i18n("Long month name", "April"), >> - i18n("Long month name", "May"), i18n("Long month name", "June"), >> - i18n("Long month name", "July"), i18n("Long month name", "August"), >> - i18n("Long month name", "September"), i18n("Long month name", "October"), >> - i18n("Long month name", "November"), i18n("Long month name", "December") >> -}; >> -QString ExtDate::m_longDayNames[7] = { >> - i18n("Long day name", "Monday"), i18n("Long day name", "Tuesday"), >> - i18n("Long day name", "Wednesday"), i18n("Long day name", "Thursday"), >> - i18n("Long day name", "Friday"), i18n("Long day name", "Saturday"), >> - i18n("Long day name", "Sunday") >> -}; >> +QStringList ExtDate::m_shortMonthNames; >> +QStringList ExtDate::m_shortDayNames; >> +QStringList ExtDate::m_longMonthNames; >> +QStringList ExtDate::m_longDayNames; >> >> ExtDate::ExtDate( int y, int m, int d) >> { >> @@ -200,10 +176,72 @@ >> } >> >> #ifndef QT_NO_TEXTDATE >> -QString ExtDate::shortMonthName( int month ) {return m_shortMonthNames[month-1];} >> -QString ExtDate::shortDayName( int weekday ) {return m_shortDayNames[weekday-1];} >> -QString ExtDate::longMonthName( int month ) {return m_longMonthNames[month-1];} >> -QString ExtDate::longDayName( int weekday ) {return m_longDayNames[weekday-1];} >> +QString ExtDate::shortMonthName( int month ) >> +{ >> + if (m_shortMonthNames.isEmpty()) >> + { >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("January", "Jan") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("February", "Feb") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("March", "Mar") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("April", "Apr") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("May short", "May") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("June", "Jun") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("July", "Jul") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("August", "Aug") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("September", "Sep") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("October", "Oct") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("November", "Nov") ); >> + m_shortMonthNames.push_back( KGlobal::locale()->translate("December", "Dec") ); >> + } >> + return m_shortMonthNames[month-1]; >> +} >> +QString ExtDate::shortDayName( int weekday ) >> +{ >> + if (m_shortDayNames.isEmpty()) >> + { >> + m_shortDayNames.push_back( KGlobal::locale()->translate("Monday", "Mon") ); >> + m_shortDayNames.push_back( KGlobal::locale()->translate("Tuesday", "Tue") ); >> + m_shortDayNames.push_back( KGlobal::locale()->translate("Wednesday", "Wed") ); >> + m_shortDayNames.push_back( KGlobal::locale()->translate("Thursday", "Thu") ); >> + m_shortDayNames.push_back( KGlobal::locale()->translate("Friday", "Fri") ); >> + m_shortDayNames.push_back( KGlobal::locale()->translate("Saturday", "Sat") ); >> + m_shortDayNames.push_back( KGlobal::locale()->translate("Sunday", "Sun") ); >> + } >> + return m_shortDayNames[weekday-1]; >> +} >> +QString ExtDate::longMonthName( int month ) >> +{ >> + if (m_longMonthNames.isEmpty()) >> + { >> + m_longMonthNames.push_back( KGlobal::locale()->translate("January") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("February") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("March") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("April") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("May long", "May") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("June") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("July") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("August") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("September") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("October") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("November") ); >> + m_longMonthNames.push_back( KGlobal::locale()->translate("December") ); >> + } >> + return m_longMonthNames[month-1]; >> +} >> +QString ExtDate::longDayName( int weekday ) >> +{ >> + if (m_longDayNames.isEmpty()) >> + { >> + m_longDayNames.push_back( KGlobal::locale()->translate("Monday") ); >> + m_longDayNames.push_back( KGlobal::locale()->translate("Tuesday") ); >> + m_longDayNames.push_back( KGlobal::locale()->translate("Wednesday") ); >> + m_longDayNames.push_back( KGlobal::locale()->translate("Thursday") ); >> + m_longDayNames.push_back( KGlobal::locale()->translate("Friday") ); >> + m_longDayNames.push_back( KGlobal::locale()->translate("Saturday") ); >> + m_longDayNames.push_back( KGlobal::locale()->translate("Sunday") ); >> + } >> + return m_longDayNames[weekday-1]; >> +} >> #endif //QT_NO_TEXTDATE >> >> #ifndef QT_NO_TEXTSTRING >> Index: extdatetime.h >> =================================================================== >> --- extdatetime.h (revision 565226) >> +++ extdatetime.h (working copy) >> @@ -18,6 +18,7 @@ >> >> #include >> #include "qstring.h" >> +#include "qstringlist.h" >> #include "qnamespace.h" >> #include "qdatetime.h" >> #include >> @@ -106,10 +107,10 @@ >> int m_year, m_month, m_day; >> static uint m_monthLength[12]; >> static uint m_monthOrigin[12]; >> - static QString m_shortMonthNames[12]; >> - static QString m_shortDayNames[7]; >> - static QString m_longMonthNames[12]; >> - static QString m_longDayNames[7]; >> + static QStringList m_shortMonthNames; >> + static QStringList m_shortDayNames; >> + static QStringList m_longMonthNames; >> + static QStringList m_longDayNames; >> >> friend class ExtDateTime; >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> kde-edu mailing list >> kde-edu at mail.kde.org >> https://mail.kde.org/mailman/listinfo/kde-edu