Re: [SailfishDevel] Next meeting on SailfishOS, open source, collaboration: 20-January 2015 @ 15:00 UTC
#mer-meeting: SailfishOS, open source, collaboration meeting: 20-January 2015 = Meeting started by iekku at 15:00:25 UTC. The full logs are available at http://merproject.org/meetings/mer-meeting/2015/mer-meeting.2015-01-20-15.00.log.html . Meeting summary --- * Introduction of meeting participants (5 min) (iekku, 15:00:37) * iekku pylkk�, developer community & developer care @ jolla, chairing today (iekku, 15:00:57) * Thomas Ruecker, community member (tbr, 15:01:03) * Andrea Bernabei, nemomobile contributor and jolla user (faenil, 15:01:10) * Siteshwar, community (situ, 15:01:29) * Simonas Leleiva, sailor, #sailfishos-porters (sledges, 15:02:00) * Philippe De Swert, Jolla (phdeswer, 15:02:10) * Carol Chen, community chef @ jolla (cybette, 15:02:16) * Pami Ketolainen, developer @ Jolla (pketolai, 15:03:25) * Martin Kolman, community member (M4rtinK_jolla_, 15:04:20) * Fabio Isgrò, community (dr_gogeta86, 15:04:33) * Joe Justen, community (Joe, 15:04:39) * François Kubler, community (France) (daitheflu, 15:05:24) * Lucien Xu, France (SK_work, 15:05:31) * Lucien Xu, community (SK_work, 15:05:38) * Aleksi Suomalainen, nemomobile contributor (locusf, 15:06:17) * Mohammed Hassan, FOSS guy and Jolla guy! (MSameer, 15:06:49) * Artem, greedy app guy on the wait for developer program (artemma, 15:07:11) * Bring back Nemo middleware discussions to public places -Andrea Bernabei / faenil (20 min) (iekku, 15:07:28) * Kimmo Lindholm , late? (kimmoli, 15:09:29) * Dirk, also late (dirkvl, 15:09:40) * middleware discussions used to happen in #nemomobile (iekku, 15:10:05) * it is cool that Jolla still "commits in the open", but that is only part of the game. discussion should be also done in public. (iekku, 15:12:37) * Leif-Jöran Olsson, the even later one (ljo_, 15:12:48) * to summarize this long story short: This is a friendly reminder to be more open, more visible, more proactive. (tbr, 15:14:27) * long story in the full log, see faenil's introduction (tbr, 15:15:04) * in the last few months nothing at all happened in this direction, it would be cool to see Jolla asking their employees to discuss public matters in public places, like it used to happen before Jolla launched (faenil, 15:15:31) * there were mentions of "we're working on it" but the momentum seems to have died down again (tbr, 15:15:56) * iteration planning results should be shared in more detailed level (= MW level) so community could help (iekku, 15:23:28) * preferably they should be translated into mer/nemo bugzilla tickets, to maintain visibility and encourage open work (tbr, 15:23:59) * ACTION: enacting and enforcing policies is homework for jolla, the company (iekku, 15:26:10) * FOSDEM Mer / SailfishOS meal (10 min) - David Greaves /lbt (iekku, 15:28:30) * https://together.jolla.com/question/75543/fosdem-2015-community-events/?answer=75575#post-id-75575 (tbr, 15:30:15) * cybette will help with poll (iekku, 15:39:55) * General discussions - everyone (10 min) (iekku, 15:40:12) * we will allow from update 11 onwards libsndfile, libbz2 and SDL2 libs, as for the update 10 libs, please allow us a few days to have Harbour QA ready to take them in, after the update 11 release to devices. For details about which SDL2 libs see the following link: (iekku, 15:40:24) * LINK: https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/commit/d542eee0da4a0c2959fc6ed30073de984454af58 (iekku, 15:40:28) * LINK: https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/commit/0c33b0a29b316efde6a7094d825c388fa51ce949 (iekku, 15:40:31) * LINK: https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/commit/7f77fdfa679a3d1dca47d2589c61389a8d51a1e9 (iekku, 15:40:34) * SDL2 currently suffers from a bug if SDL_Renderer is used. A fix for it will come in a later update, until then avoid using SDL_Renderer. See also https://together.jolla.com/question/55000/sdl2-test-application-wont-render/?answer=76670#post-id-76670 (iekku, 15:40:37) * libbz2 has high chances also to be allowed in update 11, follow https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/pull/51 (iekku, 15:40:41) * Wrap up and next meeting (5 min) (iekku, 15:50:36) * next meeting in 2 weeks: 3-February 15:00 UTC, chair: cybette (iekku, 15:56:24) Meeting ended at 15:57:07 UTC. Action Items * enacting and enforcing policies is homework for jolla, the company Action Items, by person --- * **UNASSIGNED** * enacting and enforcing policies is homework for jolla, the company People Present (lines said) --- * iekku (70
Re: [SailfishDevel] Harbour libssl and libcrypto
On 01/20/2015 11:41 AM, Reto Zingg wrote: > Can you please try again to upload the RPM, it should now work. > > Sorry for any inconveniences, we forgot to add the new allowed libraries > with update 10 too all relevant bits and pieces. So Harbour back-end > didn't know about it. Our admins now updated it, so it should work. Yeah, it works now. Thanks. Best regards, Jakub ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Gstreamer no output sound
On 20.01.2015 10:13, Александр Крылков wrote: Hello everyone! I am stuck with one issue, I am developing an audio player and trying to play an audio via gstreamer, but there is no sound: I checked gstreamer via console: gst-launch-0.10 filesrc location=/home/nemo/Music/Myfile.mp3 ! decodebin ! autoaudiosink And it is working fine! gst-launch is statically set as "player" in resource policy configuration, so it can be run without any extra work. However when you are creating your own application, you will need to acquire audio playback resources yourself. Check https://github.com/nemomobile/libaudioresource if you are developing C-only application or https://github.com/nemomobile/libaudioresource-qt for Qt application. Attached also simple example extended from your code. -- juho #include #include #include #include #include /* * Dependencies glib2-devel, libaudioresource-devel, gstreamer-devel. * Compile with: * gcc `pkg-config --cflags --libs gstreamer-0.10` `pkg-config --cflags --libs audioresource` `pkg-config --cflags --libs glib-2.0` gst-example.c -o gst-example * * Check https://github.com/nemomobile/libaudioresource */ static GstElement *pipeline; static int got_reply = 0; static void on_acquired(audioresource_t *audio_resource, bool acquired, void *user_data) { got_reply = 1; printf("on_acquired: %s\n", acquired ? "true" : "false"); if (acquired) { // start playback here printf("start playback\n"); gst_element_set_state (pipeline, GST_STATE_PLAYING); } else { // stop playback here } } static void naive_wait() { got_reply = 0; while (!got_reply) { g_main_context_iteration(NULL, false); usleep(1000); } } int main(int argc, char *argv[]) { audioresource_t *resource; void *user_data = NULL; char tmp[1024]; GstBus *bus; GstMessage *msg; if (argc < 2) { printf("audio file argument needed.\n"); return 1; } gst_init (&argc, &argv); printf("initialize audioresource for media player\n"); resource = audioresource_init(AUDIO_RESOURCE_MEDIA, on_acquired, user_data); snprintf(tmp, 1024, "filesrc location=%s ! decodebin ! audiocovert ! autoaudiosink", argv[1]); printf("create pipeline: %s\n", tmp); pipeline = gst_parse_launch (tmp, NULL); printf("acquire audioresource..\n"); // When you want to start playback audioresource_acquire(resource); // Wait for the reply for acquire.. naive_wait(); bus = gst_element_get_bus (pipeline); msg = gst_bus_timed_pop_filtered (bus, GST_CLOCK_TIME_NONE, (GstMessageType)(GST_MESSAGE_ERROR | GST_MESSAGE_EOS)); if (msg != NULL) gst_message_unref (msg); gst_object_unref (bus); gst_element_set_state (pipeline, GST_STATE_NULL); gst_object_unref (pipeline); printf("release audioresource..\n"); audioresource_release(resource); // Wait for release.. naive_wait(); // When you close your application audioresource_free(resource); return 0; } ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Harbour libssl and libcrypto
Hi Jakub, On 19.01.2015 17:35, Reto Zingg wrote: Hi, On 19.01.2015 17:34, Jakub Skokan wrote: On 01/19/2015 04:30 PM, Reto Zingg wrote: On 19.01.2015 17:29, Andrey Kozhevnikov wrote: Also i can't find usage of QCA in your project code. And haveclip-core submodule is set to some private repository. Forgot to mention that, it's here: https://github.com/aither64/haveclip-core Only submodule points to my private repo. yeah that's why I was asking for the resulting RPM :) https://secure.havefun.cz/~aither/harbour-haveclip-0.14.0-1.armv7hl.rpm ok thx, I'll check it out. Can you please try again to upload the RPM, it should now work. Sorry for any inconveniences, we forgot to add the new allowed libraries with update 10 too all relevant bits and pieces. So Harbour back-end didn't know about it. Our admins now updated it, so it should work. thanks for your patient and best regards Reto br Reto ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] Gstreamer no output sound
Hello everyone! I am stuck with one issue, I am developing an audio player and trying to play an audio via gstreamer, but there is no sound: I checked gstreamer via console: gst-launch-0.10 filesrc location=/home/nemo/Music/Myfile.mp3 ! decodebin ! autoaudiosink And it is working fine! Then I tested converting audio file to audio file: int main (int argc, char *argv[]){ GstElement *pipeline; GstBus *bus; GstMessage *msg; gst_init (&argc, &argv); pipeline = gst_parse_launch ("filesrc location=/home/nemo/Music/Ringtones/Myfile.mp3 ! decodebin ! audioconvert ! vorbisenc ! oggmux ! filesink location=test.ogg", NULL); gst_element_set_state (pipeline, GST_STATE_PLAYING); bus = gst_element_get_bus (pipeline); msg = gst_bus_timed_pop_filtered (bus, GST_CLOCK_TIME_NONE, (GstMessageType)(GST_MESSAGE_ERROR | GST_MESSAGE_EOS)); if (msg != NULL) gst_message_unref (msg); gst_object_unref (bus); gst_element_set_state (pipeline, GST_STATE_NULL); gst_object_unref (pipeline); return 0;} And it is also working fine! But, when i am trying to play it, there is no sound: pipeline = gst_parse_launch ("filesrc location=/home/nemo/Music/Ringtones/Myfile.mp3 ! decodebin ! audioconvert ! autoaudiosink", NULL); I am using standart sailfish os gstreamer 0.10 http://stackoverflow.com/questions/28039969/gstreamer-under-sailfish-os-no-output-sound ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org