{"action":"created","issue":{"url":"https://api.github.com/repos/mxe/mxe/issues/1277","repository_url":"https://api.github.com/repos/mxe/mxe","labels_url":"https://api.github.com/repos/mxe/mxe/issues/1277/labels{/name}","comments_url":"https://api.github.com/repos/mxe/mxe/issues/1277/comments","events_url":"https://api.github.com/repos/mxe/mxe/issues/1277/events","html_url":"https://github.com/mxe/mxe/pull/1277","id":143709941,"number":1277,"title":"add package clementine to mxe/plugins/apps","user":{"login":"pavelvat","id":440906,"avatar_url":"https://avatars.githubusercontent.com/u/440906?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelvat","html_url":"https://github.com/pavelvat","followers_url":"https://api.github.com/users/pavelvat/followers","following_url":"https://api.github.com/users/pavelvat/following{/other_user}","gists_url":"https://api.github.com/users/pavelvat/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelvat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelvat/subscriptions","organizations_url":"https://api.github.com/users/pavelvat/orgs","repos_url":"https://api.github.com/users/pavelvat/repos","events_url":"https://api.github.com/users/pavelvat/events{/privacy}","received_events_url":"https://api.github.com/users/pavelvat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-26T14:25:51Z","updated_at":"2016-04-02T10:21:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mxe/mxe/pulls/1277","html_url":"https://github.com/mxe/mxe/pull/1277","diff_url":"https://github.com/mxe/mxe/pull/1277.diff","patch_url":"https://github.com/mxe/mxe/pull/1277.patch"},"body":"Problems:\r\n1) #1269 #1273\r\n2) (non critical) clementine-1-fixes.patch contain workaround that allow 64-bit build, but if left mouse click on menu \"Tools->Vizualizations\" it lead to crash:\r\n```\r\n-#  ifdef _WIN64\r\n+#  if defined(_WIN64) && !defined(__MINGW32__)\r\ntypedef __int64 ptrdiff_t;\r\n```\r\n3) (non critical) It is not clear how to calculate the only required gstreamer plugins, currently music playback leads to crash. It can be fixed by manually copy all gstreamer plugins to subdirectory \"gstreamer-plugins\" and also copy all gstreamer plugins to directory with clementine.exe and re-run ./copydlldeps.sh.\r\n4) (non critical) clementine-1-fixes.patch contain fix for detecting pthread:\r\n```\r\n find_library(PTHREAD\r\n-  pthreadGC2\r\n+  pthread\r\n )\r\n```\r\n because ```clementine``` uses pthreads  POSIX 1003.1-2001 from https://www.sourceware.org/pthreads-win32/. Maybe need to add package for Pthreads-w32 in MXE?\r\n5) (non critical) \"$(PKG)_BUILD_STATIC =\" because some of ```clementine``` dependencies are not available for targets: ```i686-w64-mingw32.static``` and ```x86_64-w64-mingw32.static```"},"comment":{"url":"https://api.github.com/repos/mxe/mxe/issues/comments/204689143","html_url":"https://github.com/mxe/mxe/pull/1277#issuecomment-204689143","issue_url":"https://api.github.com/repos/mxe/mxe/issues/1277","id":204689143,"user":{"login":"pavelvat","id":440906,"avatar_url":"https://avatars.githubusercontent.com/u/440906?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelvat","html_url":"https://github.com/pavelvat","followers_url":"https://api.github.com/users/pavelvat/followers","following_url":"https://api.github.com/users/pavelvat/following{/other_user}","gists_url":"https://api.github.com/users/pavelvat/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelvat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelvat/subscriptions","organizations_url":"https://api.github.com/users/pavelvat/orgs","repos_url":"https://api.github.com/users/pavelvat/repos","events_url":"https://api.github.com/users/pavelvat/events{/privacy}","received_events_url":"https://api.github.com/users/pavelvat/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T10:21:24Z","updated_at":"2016-04-02T10:21:24Z","body":"3)Fixed, required multiCall (from https://github.com/mxe/mxe/pull/1278) for ```copydlldeps.sh```:\r\n```\r\n'$(TOP_DIR)/tools/copydlldeps.sh' -c \\\r\n                                  -d '$(PREFIX)/$(TARGET)/apps/$(PKG)/bin' \\\r\n                                  -F '$(PREFIX)/$(TARGET)/apps/$(PKG)/bin' \\\r\n                                  -F '$(PREFIX)/$(TARGET)/apps/$(PKG)/bin/gstreamer-plugins' \\\r\n                                  -F '$(PREFIX)/$(TARGET)/apps/$(PKG)/bin/imageformats' \\\r\n                                  -R '$(PREFIX)/$(TARGET)';\r\n```\r\n List of required plugins: https://github.com/clementine-player/Dependencies/blob/master/windows/Makefile#L91-L132"}}