From 15e649691351424adf5390d4e913e3105a25f918170da4d67d458824ab594e23 Mon Sep 17 00:00:00 2001 From: Xu Zhao Date: Thu, 23 Feb 2017 17:29:30 +0000 Subject: [PATCH] Upgrade to 1.0.14 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=13 --- patch-1.0.0.diff | 186 ------------------------------------------ tdesktop-1.0.0.tar.gz | 3 - 2 files changed, 189 deletions(-) delete mode 100644 patch-1.0.0.diff delete mode 100644 tdesktop-1.0.0.tar.gz diff --git a/patch-1.0.0.diff b/patch-1.0.0.diff deleted file mode 100644 index d3358eb..0000000 --- a/patch-1.0.0.diff +++ /dev/null @@ -1,186 +0,0 @@ -diff --git a/Telegram/gyp/Telegram.gyp b/Telegram/gyp/Telegram.gyp -index 2503f1e..da2fe9d 100644 ---- a/Telegram/gyp/Telegram.gyp -+++ b/Telegram/gyp/Telegram.gyp -@@ -79,8 +79,11 @@ - ], - - 'defines': [ -- 'AL_LIBTYPE_STATIC', - ' /dev/null --libs xkbcommon xkbcommon-x11)', -+ ' /dev/null --libs libpcre16)', -+ ' /dev/null --libs zlib)', -+ ' /dev/null --libs libpng16)', -+ ' /dev/null --libs libwebp)', -+ ' /dev/null --libs harfbuzz)', -+ ' /dev/null --libs xcb-shm xcb-xfixes xcb-render xcb-renderutil xcb-sync xcb-randr xcb-xinerama xcb-xkb xcb-icccm xcb-image xcb-shape xcb-keysyms xcb-util)', - ], - 'include_dirs': [ - '<(qt_loc)/mkspecs/linux-g++', - ], - 'ldflags': [ -- '-static-libstdc++', - '-pthread', - '-g', - '-rdynamic', -diff --git a/Telegram/gyp/telegram_linux.gypi b/Telegram/gyp/telegram_linux.gypi -index b42e744..d791379 100644 ---- a/Telegram/gyp/telegram_linux.gypi -+++ b/Telegram/gyp/telegram_linux.gypi -@@ -21,11 +21,20 @@ - 'conditions': [[ 'build_linux', { - 'variables': { - 'pkgconfig_libs': [ --# In order to work libxkbcommon must be linked statically, --# PKGCONFIG links it like "-L/usr/local/lib -lxkbcommon" --# which makes a dynamic link which leads to segfault in --# QApplication() -> createPlatformIntegration -> QXcbIntegrationPlugin::create -- #'xkbcommon', -+ 'liblzma', -+ 'openal', -+ 'libavformat', -+ 'libavcodec', -+ 'libswresample', -+ 'libswscale', -+ 'libavutil', -+ 'opus', -+ 'libva-x11', -+ 'libva-drm', -+ 'libva', -+ 'libdrm', -+ 'zlib', -+ - ], - 'linux_path_ffmpeg%': '/usr/local', - 'linux_path_openal%': '/usr/local', -@@ -35,46 +44,26 @@ - 'linux_path_breakpad%': '<(libs_loc)/breakpad', - }, - 'include_dirs': [ -- '/usr/local/include', -- '<(linux_path_ffmpeg)/include', -- '<(linux_path_openal)/include', -+ '/usr/include', - '<(linux_path_breakpad)/include/breakpad', - ], - 'library_dirs': [ -- '/usr/local/lib', -- '<(linux_path_ffmpeg)/lib', -- '<(linux_path_openal)/lib', -- '<(linux_path_libexif_lib)', -- '<(linux_path_va)/lib', -- '<(linux_path_vdpau)/lib', -- '<(linux_path_breakpad)/lib', -+ '/usr/lib', -+ '<(linux_path_breakpad)/src/client/linux', - ], - 'libraries': [ -- 'breakpad_client', - 'composeplatforminputcontextplugin', - 'ibusplatforminputcontextplugin', - 'fcitxplatforminputcontextplugin', -- 'liblzma.a', -- 'libopenal.a', -- 'libavformat.a', -- 'libavcodec.a', -- 'libswresample.a', -- 'libswscale.a', -- 'libavutil.a', -- 'libopus.a', -- 'libva-x11.a', -- 'libva-drm.a', -- 'libva.a', -- 'libvdpau.a', -- 'libdrm.a', -- 'libz.a', --# ' /dev/null --libs <@(pkgconfig_libs))', -+ ' /dev/null --libs <@(pkgconfig_libs))', -+ 'libbreakpad_client.a', - ], - 'cflags_cc': [ - ' /dev/null --cflags appindicator-0.1)', - ' /dev/null --cflags gtk+-2.0)', - ' /dev/null --cflags glib-2.0)', - ' /dev/null --cflags dee-1.0)', -+ ' /dev/null --cflags <@(pkgconfig_libs))', - ], - 'configurations': { - 'Release': { diff --git a/tdesktop-1.0.0.tar.gz b/tdesktop-1.0.0.tar.gz deleted file mode 100644 index 616881c..0000000 --- a/tdesktop-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:160a441fd96ffc4e0287801adce1a6224e7345e02ad071b1d2e6f1af19a8c62d -size 11633197