Re: [Linphone-users] Add MimeType entry to desktop file (utilise Xdg)
On Sat, 29 Jun 2013 15:22:12 -0700 John White j...@lawquest.com wrote: This worked wellLinphone now opens from the GUI. Must admit I had to give up on MenuLibre as it apparently requires slackware 14. Vector is working on that now. Please ignore my proposal concerning to MenuLibre as it is merely a Desktop Launcher editor and does not support editing of Desktop Launchers of Link Types, as it seems, nor it support editing of reordering menu categories. As to the slow loading, that problem is solved (I took all the friends out of linphonerc. However, I now have to copy and paste contact info (phone numbers), so that's a bummer. I am looking at faster ways to do this. Did you try to execute (double click) the Desktop Launcher I attached? Would you like to use your system menu to manage your contacts? Which Desktop Environment are you using? As to the problem with enable self view I can't tell if that is fixed or not (I doubt it) as I no longer have any video codecs in preferences. They are apparently in linphonerc, but don't show in the gui window. I probably don't know how to pass VIDEO=yes to the build script. Here is what I do: # ./linphone.SlackBuild VIDEO=yes I then use installpkg to install the SBO file. Linphone runs when I do this but does the Video Input Device is greyed out and no video codecs show in Preferences. You have already done more than enough. Still, any thoughts you have about any of this, are most appreciated. Genghis Khan wrote: I suggest to import most of your contacts that are not being used often into an external contact management program that would display contacts in click-able hyperlinks and then use the solution I have proposed. I think this a good idea and will try to find such a program. Please let me know when you do. I tried to use the address book of Claws Mail and I have failed to make a click-able sip: URI. In the meantime I think I have a very strange solution which you might like. Using the Start Menu Application launcher (of freeDesktop.org). More information athttp://wiki.xfce.org/howto/customize-menu Add a category called VoIP and then extract the attached desktop file to ~/.local/share/applications/ This is the content of the attached file: [Desktop Entry] Encoding=UTF-8 Name=iptel Early Music GenericName=Test Music VoIP Bot Comment=Call to iptel Early Music Type=Link URL=sip:early_mu...@iptel.org Icon=sip-bookmark Categories=VoIP; You might want to do some of the above actions using MenuLibre. http://www.smdavis.us/projects/menulibre https://launchpad.net/menulibre -- Proper English www.reddit.com/r/proper 4 teh lulz... http://email.is-not-s.ms ___ Linphone-users mailing list Linphone-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-users
Re: [Linphone-users] genghisk...@gmx.ca
Genghis Khan wrote: On Sat, 29 Jun 2013 15:22:12 -0700 John White j...@lawquest.com wrote: This worked wellLinphone now opens from the GUI. Must admit I had to give up on MenuLibre as it apparently requires slackware 14. Vector is working on that now. Please ignore my proposal concerning to MenuLibre as it is merely a Desktop Launcher editor and does not support editing of Desktop Launchers of Link Types, as it seems, nor it support editing of reordering menu categories. As to the slow loading, that problem is solved (I took all the friends out of linphonerc. However, I now have to copy and paste contact info (phone numbers), so that's a bummer. I am looking at faster ways to do this. Did you try to execute (double click) the Desktop Launcher I attached? Yes, it worked fine far as I know. I can now launch linphone from ApplicationsVoIP. Would you like to use your system menu to manage your contacts? I think so. I have saved the old Friends list from linphonerc to a text file. I open that file, search for the name, copy the phone number, paste it into linphone and then dial the number. Most anything would be better than this. Which Desktop Environment are you using? xfce4 As to the problem with enable self view I can't tell if that is fixed or not (I doubt it) as I no longer have any video codecs in preferences. They are apparently in linphonerc, but don't show in the gui window. I probably don't know how to pass VIDEO=yes to the build script. Here is what I do: # ./linphone.SlackBuild VIDEO=yes I then use installpkg to install the SBO file. Linphone runs when I do this but does the Video Input Device is greyed out and no video codecs show in Preferences. You have already done more than enough. Still, any thoughts you have about any of this, are most appreciated. Genghis Khan wrote: I suggest to import most of your contacts that are not being used often into an external contact management program that would display contacts in click-able hyperlinks and then use the solution I have proposed. I think this a good idea and will try to find such a program. Please let me know when you do. I tried to use the address book of Claws Mail and I have failed to make a click-able sip: URI. In the meantime I think I have a very strange solution which you might like. Using the Start Menu Application launcher (of freeDesktop.org). More information athttp://wiki.xfce.org/howto/customize-menu Add a category called VoIP and then extract the attached desktop file to ~/.local/share/applications/ This is the content of the attached file: [Desktop Entry] Encoding=UTF-8 Name=iptel Early Music GenericName=Test Music VoIP Bot Comment=Call to iptel Early Music Type=Link URL=sip:early_mu...@iptel.org Icon=sip-bookmark Categories=VoIP; You might want to do some of the above actions using MenuLibre. http://www.smdavis.us/projects/menulibre https://launchpad.net/menulibre ___ Linphone-users mailing list Linphone-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-users
Re: [Linphone-users] genghisk...@gmx.ca
On Sat, Jun 29, 2013 at 15:22 (-0700), John White wrote: As to the slow loading, that problem is solved (I took all the friends out of linphonerc. However, I now have to copy and paste contact info (phone numbers), so that's a bummer. I am looking at faster ways to do this. John, I am surprised that no linphone developer has chimed in on this. You might want to consider filing a bug report on this. I guess your problem is worked-around with Genghis' solution, but you shouldn't have to go to that length. # ./linphone.SlackBuild VIDEO=yes I then use installpkg to install the SBO file. Linphone runs when I do this but does the Video Input Device is greyed out and no video codecs show in Preferences. Do you have ffmpeg installed? If you say bash -x ./linphone.SlackBuild VIDEO=yes when it gets to the configure line does it have '--enable-video' in it like this one: ./configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/doc --mandir=/usr/man --disable-static --enable-ipv6 --enable-alsa --enable-truespeech --enable-video --build=x86_64-slackware-linux Try that out and let me know, maybe I can help there. Jim ___ Linphone-users mailing list Linphone-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-users
Re: [Linphone-users] genghisk...@gmx.ca
Jim Diamond wrote: On Sat, Jun 29, 2013 at 15:22 (-0700), John White wrote: As to the slow loading, that problem is solved (I took all the friends out of linphonerc. However, I now have to copy and paste contact info (phone numbers), so that's a bummer. I am looking at faster ways to do this. John, I am surprised that no linphone developer has chimed in on this. You might want to consider filing a bug report on this. I guess your problem is worked-around with Genghis' solution, but you shouldn't have to go to that length. # ./linphone.SlackBuild VIDEO=yes I then use installpkg to install the SBO file. Linphone runs when I do this but does the Video Input Device is greyed out and no video codecs show in Preferences. Do you have ffmpeg installed? Yes: Package Version: 0.10-i586-5vl70 Package Size: 5448 K Package Installed Size: 28020 K If you say bash -x ./linphone.SlackBuild VIDEO=yes when it gets to the configure line does it have '--enable-video' in it like this one: ./configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/doc --mandir=/usr/man --disable-static --enable-ipv6 --enable-alsa --enable-truespeech --enable-video --build=x86_64-slackware-linux Try that out and let me know, maybe I can help there. Thanks Jim, The screen goes by too fast for me to see the ./configure line and so far at least I haven't been able to figure out how to stop it or view it after it compiles. When I scroll up, it doesn't allow me to scroll up far enough to see the ./configure line. John Jim ___ Linphone-users mailing list Linphone-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-users ___ Linphone-users mailing list Linphone-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-users
[Linphone-users] linphone compilation with Ant and Eclipse
Hi All I have tried to compile Linphone (Linphone 2.1.2) for android using ant and eclipse under Ubuntu 12.04 Ant apache-ant-1.9.1 android-sdk_r22-linux.tgz android-ndk-r8d Eclipse eclipse (Juno Service Release 2) android-sdk_r22-linux.tgz android-ndk-r8d Following the instructions in the README file, the ant compilation is ok and the apk file Linphone-debug.apk inside the bin folder seemed working well. When I used the eclipse compilation process below: a. ./prepare_sources.sh b. ndk-build c. import linphone-android into eclipse d. build and run linphone-android It seems there was no error and I can have the apk file linphone-android.apk inside the bin folder. But this linphone-android.apk will not run on emulator and crash. I compare the file size of Linphone-debug.apk (Ant version) and linphone-android.apk (eclipse version) and they are quite different. Also, some file size of libraries generated by android-ndk of Ant and Eclipse are also different (see the corresponding file size below). Could anyone put some light and guidance on this? Thanks kkp2744 = The bin folder after make (with ant) $ ls -l total 25752 -rw-rw-r-- 1 kkp2744 kkp2744 8264 Jun 30 04:24 AndroidManifest.xml -rw-rw-r-- 1 kkp2744 kkp2744 126 Jun 30 04:24 AndroidManifest.xml.d -rw-rw-r-- 1 kkp2744 kkp2744 179 Jun 30 04:24 build.prop drwxrwxr-x 4 kkp2744 kkp2744 4096 Jun 30 04:24 classes -rw-rw-r-- 1 kkp2744 kkp2744 1251816 Jun 30 04:24 classes.dex -rw-rw-r-- 1 kkp2744 kkp274441224 Jun 30 04:24 classes.dex.d drwxrwxr-x 2 kkp2744 kkp2744 4096 Jun 30 04:24 dexedLibs -rw-rw-r-- 1 kkp2744 kkp2744 120 Jun 30 04:24 jarlist.cache -rw-rw-r-- 1 kkp2744 kkp2744 3145881 Jun 30 04:24 Linphone.ap_ -rw-rw-r-- 1 kkp2744 kkp2744 10934978 Jun 30 04:24 Linphone-debug.apk -rw-rw-r-- 1 kkp2744 kkp2744 10934326 Jun 30 04:24 Linphone-debug-unaligned.apk -rw-rw-r-- 1 kkp2744 kkp2744 1377 Jun 30 04:24 Linphone-debug-unaligned.apk.d -rw-rw-r-- 1 kkp2744 kkp2744 5852 Jun 30 04:24 proguard.txt drwxrwxr-x 6 kkp2744 kkp2744 4096 Jun 30 04:24 res =The bin folder after ndk-build and eclipse (android-ndk-r8d) $ ls -l -rw-rw-r-- 1 kkp2744 kkp27448264 Jun 30 19:38 AndroidManifest.xml drwxrwxr-x 4 kkp2744 kkp27444096 Jun 30 19:38 classes -rw-rw-r-- 1 kkp2744 kkp2744 674892 Jun 30 19:39 classes.dex drwxrwxr-x 2 kkp2744 kkp27444096 Jun 30 19:38 dexedLibs -rw-rw-r-- 1 kkp2744 kkp2744 8406730 Jun 30 19:39 linphone-android.apk drwxrwxr-x 6 kkp2744 kkp27444096 Jun 30 19:38 res -rw-rw-r-- 1 kkp2744 kkp2744 3145851 Jun 30 19:38 resources.ap_ =The libs/armeabi-v7a folder after make (with ant) libs/armeabi-v7a$ ls -l total 8400 -rwxr-xr-x 1 kkp2744 kkp2744 1007532 Jun 30 04:24 libavcodecnoneon.so -rwxr-xr-x 1 kkp2744 kkp2744 1007532 Jun 30 04:24 libavcodec.so -rwxr-xr-x 1 kkp2744 kkp2744 17644 Jun 30 04:24 libavcore.so -rwxr-xr-x 1 kkp2744 kkp2744 79100 Jun 30 04:24 libavutil.so -rwxr-xr-x 1 kkp2744 kkp2744 829232 Jun 30 04:24 liblincrypto.so -rwxr-xr-x 1 kkp2744 kkp2744 2585744 Jun 30 04:24 liblinphonearmv7noneon.so -rwxr-xr-x 1 kkp2744 kkp2744 2585744 Jun 30 04:24 liblinphonearmv7.so -rwxr-xr-x 1 kkp2744 kkp2744 217828 Jun 30 04:24 liblinssl.so -rwxr-xr-x 1 kkp2744 kkp2744 13436 Jun 30 04:24 libneon.so -rwxr-xr-x 1 kkp2744 kkp2744 89836 Jun 30 04:24 libsrtp.so -rwxr-xr-x 1 kkp2744 kkp2744 144568 Jun 30 04:24 libswscale.so =The libs/armeabi-v7a folder after ndk-build libs/armeabi-v7a$ ls -l total 7560 -rwxr-xr-x 1 kkp2744 kkp2744 1007532 Jun 30 19:37 libavcodecnoneon.so -rwxr-xr-x 1 kkp2744 kkp2744 1007532 Jun 30 19:37 libavcodec.so -rwxr-xr-x 1 kkp2744 kkp2744 17644 Jun 30 19:37 libavcore.so -rwxr-xr-x 1 kkp2744 kkp2744 79100 Jun 30 19:37 libavutil.so -rwxr-xr-x 1 kkp2744 kkp2744 829232 Jun 30 19:37 liblincrypto.so -rwxr-xr-x 1 kkp2744 kkp2744 2157352 Jun 30 19:37 liblinphonearmv7noneon.so -rwxr-xr-x 1 kkp2744 kkp2744 2157352 Jun 30 19:37 liblinphonearmv7.so -rwxr-xr-x 1 kkp2744 kkp2744 217828 Jun 30 19:37 liblinssl.so -rwxr-xr-x 1 kkp2744 kkp2744 13436 Jun 30 19:37 libneon.so -rwxr-xr-x 1 kkp2744 kkp2744 89836 Jun 30 19:37 libsrtp.so -rwxr-xr-x 1 kkp2744 kkp2744 144568 Jun 30 19:37 libswscale.so =The libs/armeabi folder after make (with ant) libs/armeabi$ ls -l total 2416 -rwxr-xr-x 1 kkp2744 kkp2744 2457440 Jun 30 04:24 liblinphonearmv5noneon.so -rwxr-xr-x 1 kkp2744 kkp2744 13432 Jun 30 04:24 libneon.so =The libs/armeabi-v7a folder after ndk-build kkp2744@pk:~/tmp.dir/linphone-android/libs/armeabi$ ls -l total 1984 -rwxr-xr-x 1 kkp2744 kkp2744 2012672 Jun 30 19:37 liblinphonearmv5noneon.so -rwxr-xr-x 1 kkp2744 kkp2744 13432 Jun 30 19:37 libneon.so ___ Linphone-users mailing list Linphone-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-users
Re: [Linphone-users] genghisk...@gmx.ca
On Sun, Jun 30, 2013 at 12:01 (-0700), John White wrote: Jim Diamond wrote: On Sat, Jun 29, 2013 at 15:22 (-0700), John White wrote: # ./linphone.SlackBuild VIDEO=yes I then use installpkg to install the SBO file. Linphone runs when I do this but does the Video Input Device is greyed out and no video codecs show in Preferences. Do you have ffmpeg installed? Yes: Package Version: 0.10-i586-5vl70 Package Size: 5448 K Package Installed Size: 28020 K Hmmm... I haven't ever used Vector Linux, so I have no idea if that number indicates an ffmpeg version which is recent enough for linphone. (I am using ffmpeg 1.1.2.) If you say bash -x ./linphone.SlackBuild VIDEO=yes when it gets to the configure line does it have '--enable-video' in it like this one: ./configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/doc --mandir=/usr/man --disable-static --enable-ipv6 --enable-alsa --enable-truespeech --enable-video --build=x86_64-slackware-linux Try that out and let me know, maybe I can help there. Thanks Jim, The screen goes by too fast for me to see the ./configure line and so far at least I haven't been able to figure out how to stop it or view it after it compiles. When I scroll up, it doesn't allow me to scroll up far enough to see the ./configure line. Assuming a Bourne-compatible shell, if you type sudo bash -x ./linphone.SlackBuild VIDEO=yes 21 | tee slackbuild.out the whole story should be saved in the file slackbuild.out (but it will still scroll on your terminal window). You need write permissions in the directory from which you run that command; if you don't have write perms there, stick another sudo in front of the command tee. You can then peruse the file 'slackbuild.out' with 'less' (or your favourite text editor). Alternatively / in addition, I don't know what terminal emulator you use, but if you aren't short on memory a lot of terminal emulators allow you to increase the scrollback buffer, perhaps with an option like -sl 2000 which (for rxvt-unicode and others) gives you 2000 lines of history. Of course, you need to use that option when your terminal emulator is started, and depending on your window manager and how you start the terminal, that might be easier or harder. Try one of these out and get back. Jim ___ Linphone-users mailing list Linphone-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-users
Re: [Linphone-users] genghisk...@gmx.ca
Yes, its ffmpeg 0.10-i586-5vl70. The 5 means that Vector has amended it 5 times. That is pretty unusual. Perhaps there is some compatibility reason with Vector which explains lack of a later version. I just put a request in to Vector linux for ffmpeg 1.1.2. As to compiling with VIDEO=yes (thanks for letting me know to increase the scroll back): configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--libdir=/usr/lib' '--docdir=/usr/doc' '--mandir=/usr/man' '--disable-static' '--enable-ipv6' '--enable-alsa' '--enable-truespeech' '--disable-video' '--build=i486-slackware-linux' 'build_alias=i486-slackware-linux' 'CFLAGS=-O2 -march=i486 -mtune=i686' 'CXXFLAGS=-O2 -march=i486 -mtune=i686' 'PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/lib/pkgconfig' -- Later on, the program says: Summary of build options: * Video support false * GTK interface true * Account assistant true * Console interface true * Tools true * Message storagetrue * zRTP encryption (GPLv3)false * uPnP support false I can live without the video support. I know it works on my system as I used it for video calls with 3.5.2. My more immediate problem is that in fooling around with linphone I have broken ETM (sudo easy_install -U etm if setuptools is installed). It gives RuntimeError: the sip module implements API v9.0 to v9.1 but the PyQt4.QtGui module requires API v8.1 and refuses to load. I am working on that now. Perhaps the linphone slow-load problem is related. Thanks again, John Jim Diamond wrote: Do you have ffmpeg installed? Yes: Package Version: 0.10-i586-5vl70 Package Size: 5448 K Package Installed Size: 28020 K Hmmm... I haven't ever used Vector Linux, so I have no idea if that number indicates an ffmpeg version which is recent enough for linphone. (I am using ffmpeg 1.1.2.) ___ Linphone-users mailing list Linphone-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-users