Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
name: telegram-desktop
|
|
|
|
adopt-info: telegram
|
2020-01-25 05:44:58 +00:00
|
|
|
icon: Telegram/Resources/art/icon512@2x.png
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2020-05-15 18:36:35 +00:00
|
|
|
base: core20
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
grade: stable
|
|
|
|
confinement: strict
|
2021-02-22 22:20:42 +00:00
|
|
|
compression: lzo
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2020-03-12 05:52:29 +00:00
|
|
|
architectures:
|
|
|
|
- build-on: amd64
|
|
|
|
- build-on: arm64
|
|
|
|
- build-on: armhf
|
|
|
|
- build-on: ppc64el
|
|
|
|
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
apps:
|
|
|
|
telegram-desktop:
|
2020-05-15 18:36:35 +00:00
|
|
|
command: bin/desktop-launch telegram-desktop
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
common-id: org.telegram.desktop
|
2020-09-30 22:42:58 +00:00
|
|
|
desktop: usr/share/applications/telegram-desktop_telegram-desktop.desktop
|
2020-06-07 20:38:59 +00:00
|
|
|
environment:
|
2020-11-09 21:52:34 +00:00
|
|
|
# Tell glib to use portals on file associations handling.
|
2020-10-27 18:56:24 +00:00
|
|
|
GTK_USE_PORTAL: 1
|
2020-12-23 23:14:51 +00:00
|
|
|
# Use sandboxed ibus api
|
|
|
|
IBUS_USE_PORTAL: 1
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
plugs:
|
2020-03-06 22:52:12 +00:00
|
|
|
- alsa
|
|
|
|
- audio-playback
|
|
|
|
- audio-record
|
2020-08-15 20:23:00 +00:00
|
|
|
- camera
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
- desktop
|
|
|
|
- desktop-legacy
|
2021-11-06 03:19:25 +00:00
|
|
|
- hardware-observe
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
- home
|
|
|
|
- network
|
2020-04-18 17:28:11 +00:00
|
|
|
- opengl
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
- removable-media
|
|
|
|
- unity7
|
2020-04-18 17:28:11 +00:00
|
|
|
- wayland
|
2020-02-03 08:38:15 +00:00
|
|
|
- x11
|
2021-03-18 17:12:47 +00:00
|
|
|
slots:
|
|
|
|
- tdesktop-mpris
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2021-09-20 07:16:21 +00:00
|
|
|
hooks:
|
|
|
|
configure:
|
|
|
|
command-chain:
|
|
|
|
- bin/hooks-configure-desktop
|
|
|
|
plugs:
|
|
|
|
- desktop
|
|
|
|
|
2018-09-20 09:09:01 +00:00
|
|
|
plugs:
|
2021-09-20 07:16:21 +00:00
|
|
|
desktop:
|
|
|
|
mount-host-font-cache: false
|
2020-01-25 05:44:58 +00:00
|
|
|
# Support for common GTK themes
|
|
|
|
# https://forum.snapcraft.io/t/how-to-use-the-system-gtk-theme-via-the-gtk-common-themes-snap/6235
|
|
|
|
gsettings:
|
2018-09-20 09:09:01 +00:00
|
|
|
gtk-3-themes:
|
|
|
|
interface: content
|
2020-01-25 05:44:58 +00:00
|
|
|
target: $SNAP/data-dir/themes
|
2018-09-20 09:09:01 +00:00
|
|
|
default-provider: gtk-common-themes
|
|
|
|
icon-themes:
|
|
|
|
interface: content
|
2020-01-25 05:44:58 +00:00
|
|
|
target: $SNAP/data-dir/icons
|
2018-09-20 09:09:01 +00:00
|
|
|
default-provider: gtk-common-themes
|
|
|
|
sound-themes:
|
|
|
|
interface: content
|
2020-01-25 05:44:58 +00:00
|
|
|
target: $SNAP/data-dir/sounds
|
2018-09-20 09:09:01 +00:00
|
|
|
default-provider: gtk-common-themes
|
|
|
|
|
2021-03-18 17:12:47 +00:00
|
|
|
slots:
|
|
|
|
tdesktop-mpris:
|
|
|
|
interface: mpris
|
|
|
|
name: tdesktop
|
|
|
|
|
2020-03-06 22:52:12 +00:00
|
|
|
layout:
|
|
|
|
/usr/share/alsa:
|
|
|
|
bind: $SNAP/usr/share/alsa
|
2020-04-18 17:28:11 +00:00
|
|
|
/usr/share/X11:
|
|
|
|
bind: $SNAP/usr/share/X11
|
2021-04-27 12:24:45 +00:00
|
|
|
/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/webkit2gtk-4.0:
|
|
|
|
bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/webkit2gtk-4.0
|
2020-03-06 22:52:12 +00:00
|
|
|
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
parts:
|
|
|
|
telegram:
|
2020-01-25 05:44:58 +00:00
|
|
|
plugin: cmake
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
source: .
|
|
|
|
source-type: git
|
2021-12-05 19:06:36 +00:00
|
|
|
parse-info: [usr/share/metainfo/telegram-desktop_telegram-desktop.metainfo.xml]
|
2021-01-28 22:39:13 +00:00
|
|
|
build-environment:
|
2021-11-18 15:13:40 +00:00
|
|
|
- CC: gcc-10
|
|
|
|
- CXX: g++-10
|
2021-01-28 22:39:13 +00:00
|
|
|
- LD_LIBRARY_PATH: $SNAPCRAFT_STAGE/usr/lib/$SNAPCRAFT_ARCH_TRIPLET:$LD_LIBRARY_PATH
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
build-packages:
|
2021-09-11 21:04:07 +00:00
|
|
|
- clang
|
2021-11-18 15:13:40 +00:00
|
|
|
- g++-10
|
2020-08-19 04:24:26 +00:00
|
|
|
- python
|
2020-01-25 05:44:58 +00:00
|
|
|
- libasound2-dev
|
2020-05-02 02:32:40 +00:00
|
|
|
- libglib2.0-dev
|
2021-02-28 02:34:41 +00:00
|
|
|
- libglibmm-2.4-dev
|
2020-01-25 05:44:58 +00:00
|
|
|
- libopus-dev
|
|
|
|
- libpulse-dev
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
- libssl-dev
|
2021-12-11 16:58:29 +00:00
|
|
|
- libwayland-dev
|
2020-07-10 12:51:30 +00:00
|
|
|
- libxcb1-dev
|
2020-12-09 13:07:10 +00:00
|
|
|
- libxcb-keysyms1-dev
|
|
|
|
- libxcb-record0-dev
|
2020-07-10 12:51:30 +00:00
|
|
|
- libxcb-screensaver0-dev
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
- zlib1g-dev
|
|
|
|
stage-packages:
|
2020-05-15 18:36:35 +00:00
|
|
|
- libasound2
|
2020-12-24 02:12:45 +00:00
|
|
|
- libglib2.0-0
|
2021-02-28 02:34:41 +00:00
|
|
|
- libglibmm-2.4-1v5
|
2020-05-15 18:36:35 +00:00
|
|
|
- libopus0
|
|
|
|
- libpulse0
|
|
|
|
- libssl1.1
|
2021-12-11 16:58:29 +00:00
|
|
|
- libwayland-client0
|
2021-04-14 05:52:42 +00:00
|
|
|
- libwebkit2gtk-4.0-37
|
2020-07-10 12:51:30 +00:00
|
|
|
- libxcb1
|
2020-12-09 13:07:10 +00:00
|
|
|
- libxcb-keysyms1
|
|
|
|
- libxcb-record0
|
2020-07-10 12:51:30 +00:00
|
|
|
- libxcb-screensaver0
|
2020-05-15 18:36:35 +00:00
|
|
|
- zlib1g
|
2021-11-06 03:19:25 +00:00
|
|
|
- systemd
|
2020-05-15 18:36:35 +00:00
|
|
|
cmake-parameters:
|
2022-01-11 23:46:46 +00:00
|
|
|
- -GNinja
|
2020-01-25 05:44:58 +00:00
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
2020-05-15 18:36:35 +00:00
|
|
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
2020-01-25 05:44:58 +00:00
|
|
|
- -DTDESKTOP_API_ID=611335
|
|
|
|
- -DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
|
2020-05-02 02:32:40 +00:00
|
|
|
- -DDESKTOP_APP_USE_PACKAGED_LAZY=ON
|
2020-09-30 22:42:58 +00:00
|
|
|
- -DTDESKTOP_LAUNCHER_BASENAME=telegram-desktop_telegram-desktop
|
2020-01-25 05:44:58 +00:00
|
|
|
override-pull: |
|
|
|
|
snapcraftctl pull
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2020-01-25 05:44:58 +00:00
|
|
|
version_file=Telegram/build/version
|
|
|
|
version=$(sed -n "s/AppVersionStr[ ]\+\(.*\)\+/\1/p" $version_file)
|
|
|
|
beta=$(sed -n "s/BetaChannel[ ]\+\(.*\)\+/\1/p" $version_file)
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2020-01-25 05:44:58 +00:00
|
|
|
if [ "$beta" != "0" ]; then
|
|
|
|
version="$version-beta"
|
|
|
|
fi
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2020-01-25 05:44:58 +00:00
|
|
|
version="${version}$(git describe --tags | sed 's,^v[^-]\+,,')"
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2020-01-25 05:44:58 +00:00
|
|
|
snapcraftctl set-version "$version"
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2021-09-20 12:05:25 +00:00
|
|
|
sed -i 's|^Icon=telegram$|Icon=${SNAP}/meta/gui/icon.png|g' lib/xdg/telegramdesktop.desktop
|
2020-11-04 05:32:50 +00:00
|
|
|
override-build: |
|
|
|
|
snapcraftctl build
|
|
|
|
rm -rf "$SNAPCRAFT_PART_INSTALL/usr/share/icons"
|
2020-10-07 02:21:20 +00:00
|
|
|
stage:
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so.8.2.2
|
2021-11-16 14:04:37 +00:00
|
|
|
prime:
|
|
|
|
- -./lib/systemd
|
2020-01-25 05:44:58 +00:00
|
|
|
after:
|
2021-10-25 15:37:20 +00:00
|
|
|
- desktop-qt
|
2020-03-09 07:11:12 +00:00
|
|
|
- ffmpeg
|
2020-10-07 02:21:20 +00:00
|
|
|
- mozjpeg
|
2020-03-13 13:54:54 +00:00
|
|
|
- openal
|
2021-06-01 13:37:30 +00:00
|
|
|
- rnnoise
|
2020-08-15 20:23:00 +00:00
|
|
|
- webrtc
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2021-01-28 22:39:13 +00:00
|
|
|
patches:
|
|
|
|
source: https://github.com/desktop-app/patches.git
|
|
|
|
source-depth: 1
|
|
|
|
plugin: dump
|
|
|
|
organize:
|
|
|
|
"*": patches/
|
|
|
|
prime: [-./*]
|
|
|
|
|
2021-10-25 15:37:20 +00:00
|
|
|
desktop-qt:
|
2021-04-28 06:46:03 +00:00
|
|
|
source: https://github.com/desktop-app/snapcraft-desktop-helpers.git
|
2020-05-15 18:36:35 +00:00
|
|
|
source-subdir: qt
|
2020-01-25 05:44:58 +00:00
|
|
|
plugin: make
|
2020-05-15 18:36:35 +00:00
|
|
|
make-parameters: ["FLAVOR=qt5"]
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
build-packages:
|
2020-01-25 05:44:58 +00:00
|
|
|
- build-essential
|
2020-05-15 18:36:35 +00:00
|
|
|
- dpkg-dev
|
2020-01-25 05:44:58 +00:00
|
|
|
stage-packages:
|
2020-05-15 18:36:35 +00:00
|
|
|
- libxkbcommon0
|
|
|
|
- ttf-ubuntu-font-family
|
|
|
|
- dmz-cursor-theme
|
|
|
|
- light-themes
|
|
|
|
- adwaita-icon-theme
|
|
|
|
- gnome-themes-standard
|
|
|
|
- shared-mime-info
|
|
|
|
- libgdk-pixbuf2.0-0
|
|
|
|
- locales-all
|
|
|
|
- xdg-user-dirs
|
2020-10-07 02:21:20 +00:00
|
|
|
stage:
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so.8.2.2
|
|
|
|
after:
|
|
|
|
- mozjpeg
|
2021-10-25 15:37:20 +00:00
|
|
|
- qt
|
Snap packaging support (#4505)
* qtbuilder: inherit from make plugin instead of autotools
* qtbuilder: update to properly support snapcraft 2.23
We don't use the default 'source' property as it will recursively download
all the submodules and we don't want that.
Implement newer get_pull_properties.
* gyp-cmake: only strip in Release mode and if we've a binary
* telegram-snap: add first basic snapcraft.yaml to build tdesktop from src
We need to build upstream versions of libva, ffmpeg (with opus support),
openal, portaudio with custom flags and patched versions of gyp, and Qt.
This requires some custom plugins for patching sources, mix repos and
new build plugins for qt and gyp+cmake.
* plugins: properly support snapcraft 2.23
Implementing get_pull_properties class methods
* patches: add qt patch for saving tray icon in .cache
TMPDIR overriding isn't needed anymore
* snapcraft: add xdg-open support to open URIs
* snapcraft: move external libraries to desktop-integration part
* snapcraft: set QTCOMPOSE pointing to proper x11-data
* desktop-integration: add libpulse0 to enable voice/video recording / playing
* qtbuilder: add support for local patches that overrides remote ones
* qtbuilder: make qt-version optional
This allows to build upstream git version
* gyp-cmake: inherit from CMakePlugin reusing artifacts + organize
* patched-python: add support for patching using local files
* snapcraft.yaml: use distro's portaudio instead of building ours
* telegram: disable desktop file generation and custuom scheme registration
* snapcraft.yaml: update version to 0.10.20
* .travis.yaml: add support for building using travis
* qtbuilder: add g++ as build packages
* snapcraft: use distro opus version
* snapcraft: lzma for qt and ffmpeg
* snapcraft: add libdbusmenu for qt
* openal: add oss4-dev as build dependency
* travis: test some hacks to speed things up
* Move plugins to new dir
* QtBuilder: add qt-extra-plugins support
To include plugins that are out of the main qt repo
* QtBuilder: generate branch based on qtversion
* GypCMake: allow to define custom environment variables
* snapcraft: set name to 'telegram-desktop'
* snapcraft: add 'network-status' interface to Telegram app
To automatically reconnect
* snapcraft: use prime instead of snap for flitering files
* snacpraft: update dependencies and versions to build against git
* snapcraft: build with GCC-7
hackish solution
* QtBuilder: add environment support
* QtBuilder: add qt-extra-plugins to get_pull_properties
* snapcraft: set name of the app to telegram-desktop too
* snapcraft: build opus from git (v1.2.1)
So it does upstream, let's follow them
* telegram: apply patch to get proper home path from $HOME
* snapcraft: add version-script to generate proper version from upstream
* telegram: simplify the start command
* snapcraft: get rid of snapd-xdg-open
* snapcraft: use gtk3 and unity integration
* qt5: build using gcc7 too
* telegram-desktop: update desktop file
* telegram: add support unity launcher when snapped
We should actually fix this inside libunity
* gcc7: remove toolchain source.list after install
* desktop-integration: add pulse-audio as dependency again
* telegram-desktop: define XCURSOR_PATH to get system cursors
* gui: move files to snap folder
* libtgvoip: don't enable SSE2 in unsupported archs
* snapcraft: add -alpha sufix on versions and do not include git for tags
* telegram: add patch for building in ARM chips
* desktop-integration: include libunity
* telegram-desktop: no need to define XCURSOR_PATH anymore, desktop helper will do
* snapcraft: compile libunity from upstream to get proper launcher integration
Drop custom patch, it's just better to do it here. This means we
go back to upstream telegramdesktop desktop-id too.
* telegram: get desktop file and icon from telegram part source
* snapcraft: improve snap description
* gcc7: not needed to add devscripts or equivs
Unless we try to build gcc7 here, which well... A bit time consuming.
* libunity: use upstream branch (my changes just merged)
* ci: remove travis integration, it takes to long b.s.io does it already
* telegram: don't do unneeded checks in armhf
* telegram: more signed/unsigned char fixes for ARM, ignore errors for now
* telegram: add getclock definitions for ARM
* telegram: arm support, always use signed chars
* telegram: don't need to use signed chars in ARM anymmore
As we've fixed all the issues
* telegram: replace .desktop file icon with snap one, add keywords
* snapcraft: use diversity check on alpha value
* telegram: detect Ubuntu desktop adding support for badges and indicators
* telegram: unset WAYLAND_DISPLAY to get it running properly
* Add a README
* telegram: just add network-observe plug
* snapcraft: add beta detection
* snapcraft: only add network-manager plug, users might connect it
We should actually have a connection-observe plug.
* patches: add patch to use a customizable working dir in debug
* snapcraft: define again QT_IM_MODULE and QTCOMPOSE fix compose key
Setting compose to proper paths will allow to get composition key
working again in snapped QT apps.
* desktop-integration: add indicator-gtk3 and chinese fonts
* desktop-integration: don't snap fonts, use desktop interface
Fonts are now bind-mounted from host by the desktop interface
* patches: apply patches using 3way merge if they fail
* patches: update telegram-arm-support to apply cleanly
* snapcraft: disable wayland using desktop script env
* snapcraft: libunity has been SRU'ed, we can go back to archive version
* patches: update arm support patch
* breakpad: use upstream versions
* telegram, patches: remove upstreamed patches
* patches: disable Werror
It causes failures in some archs, and we don't care much at this
level (for now).
* patches: remove libtgvoip msse2 patch
* Revert "patches: remove libtgvoip msse2 patch"
Not yet in the submodule used by telegram desktop
This reverts commit 2e6f4cc619ee591fdd250cb3b2af4f0330d1c4ca.
* snapcraft: show bash debugging on version script
* desktop-gtk3: update mime database and icon-cache during install
This saves some startup time
* telegram: add gsettings plug
* telegram-launch: use user-common as home and migrate if needed
* Import snap folder from telegram-snap repo
* patches, qtbase: use indicator icon in unity or ubuntu
Patch already applied upstream, remove from snap only
* .gitignore: add snap related files
* telegram-launch: merge downloaded files folder if found
* snap: remove patches not needed for upstream
* snap, patch, libtgvoip: sync with upstream
* telegram-launch: remove default dir after moving download files
* snap: remove libtgvoip patches, we can just update the submodule
The actual module update should be managed in a different
commit though.
* snapcraft: explain why gcc7 part is needed
* snapcraft: update summary text
* qt: no need to build gstreamer, and reorder configflags
* plugins: add copyright informations
* telegram: add common-id and parse-info with AppData
Use the appstream integration that snapcraft now supports.
* openal: use v1.18 branch as upstream does now
* qtbuilder: support tags in versions better
* qtbuilder: use shutil.rmtree to remove files
* telegram: set QT_IM_MODULE only if not set
* telegram: add removable-media plug
* telegram-launch: ignore ibus as input method
And add support for getting it from $TELEGRAM_QT_IM_MODULE env var
* snapcraft: use git describe to get revision
* snapcraft: use override-* stanzas for scriptlets
* snap: exit scriptlets on first error
* snap: remove summary, inherit from AppData
* lib_export: use includes paths as defined per platform
2018-07-21 14:35:37 +00:00
|
|
|
|
2021-11-05 13:11:51 +00:00
|
|
|
epoxy:
|
|
|
|
source: https://github.com/anholt/libepoxy.git
|
|
|
|
source-depth: 1
|
|
|
|
source-tag: 1.5.9
|
|
|
|
plugin: meson
|
|
|
|
meson-parameters:
|
|
|
|
- --buildtype=release
|
|
|
|
- --prefix=/usr
|
|
|
|
- --default-library=static
|
|
|
|
- -Dtests=false
|
|
|
|
override-pull: |
|
|
|
|
snapcraftctl pull
|
|
|
|
patch -p1 < $SNAPCRAFT_STAGE/patches/libepoxy.patch
|
|
|
|
prime: [-./*]
|
|
|
|
after:
|
|
|
|
- patches
|
|
|
|
|
2020-03-09 07:11:12 +00:00
|
|
|
ffmpeg:
|
2020-08-31 07:40:37 +00:00
|
|
|
plugin: nil
|
2020-03-09 07:11:12 +00:00
|
|
|
build-packages:
|
2020-08-31 07:40:37 +00:00
|
|
|
- libavcodec-dev
|
|
|
|
- libavformat-dev
|
|
|
|
- libavutil-dev
|
|
|
|
- libswresample-dev
|
|
|
|
- libswscale-dev
|
2020-05-15 18:36:35 +00:00
|
|
|
stage-packages:
|
2020-08-31 07:40:37 +00:00
|
|
|
- libavcodec58
|
|
|
|
- libavformat58
|
|
|
|
- libavutil56
|
|
|
|
- libswresample3
|
|
|
|
- libswscale5
|
2020-10-07 02:21:20 +00:00
|
|
|
stage:
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so.8.2.2
|
|
|
|
after:
|
|
|
|
- mozjpeg
|
|
|
|
|
|
|
|
mozjpeg:
|
|
|
|
source: https://github.com/mozilla/mozjpeg.git
|
|
|
|
source-depth: 1
|
2021-10-21 12:17:22 +00:00
|
|
|
source-tag: v4.0.3
|
2020-10-07 02:21:20 +00:00
|
|
|
plugin: cmake
|
|
|
|
cmake-parameters:
|
2022-01-11 23:46:46 +00:00
|
|
|
- -GNinja
|
2020-10-07 02:21:20 +00:00
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
- -DENABLE_STATIC=OFF
|
|
|
|
- -DWITH_JPEG8=ON
|
|
|
|
- -DPNG_SUPPORTED=OFF
|
|
|
|
prime:
|
|
|
|
- -./usr/bin
|
|
|
|
- -./usr/include
|
2020-10-09 06:10:20 +00:00
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pkgconfig
|
2021-06-03 02:19:16 +00:00
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.so
|
2020-10-07 02:21:20 +00:00
|
|
|
- -./usr/share
|
2020-03-09 07:11:12 +00:00
|
|
|
|
2020-03-13 13:54:54 +00:00
|
|
|
openal:
|
2021-01-22 14:08:49 +00:00
|
|
|
source: https://github.com/telegramdesktop/openal-soft.git
|
2020-03-13 13:54:54 +00:00
|
|
|
source-depth: 1
|
2021-01-22 14:08:49 +00:00
|
|
|
source-branch: fix_pulse_default
|
2020-03-13 13:54:54 +00:00
|
|
|
plugin: cmake
|
|
|
|
build-packages:
|
|
|
|
- libasound2-dev
|
|
|
|
- libpulse-dev
|
2020-05-15 18:36:35 +00:00
|
|
|
stage-packages:
|
|
|
|
- libasound2
|
|
|
|
- libpulse0
|
|
|
|
cmake-parameters:
|
2022-01-11 23:46:46 +00:00
|
|
|
- -GNinja
|
2020-03-13 13:54:54 +00:00
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
2020-05-15 18:36:35 +00:00
|
|
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
2020-03-13 13:54:54 +00:00
|
|
|
- -DALSOFT_EXAMPLES=OFF
|
|
|
|
- -DALSOFT_TESTS=OFF
|
|
|
|
- -DALSOFT_UTILS=OFF
|
|
|
|
- -DALSOFT_CONFIG=OFF
|
2020-04-19 02:57:03 +00:00
|
|
|
prime:
|
2020-05-15 18:36:35 +00:00
|
|
|
- -./usr/include
|
2020-10-09 06:10:20 +00:00
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/cmake
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pkgconfig
|
2021-06-03 02:19:16 +00:00
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libopenal.so
|
2020-04-18 17:28:11 +00:00
|
|
|
|
2021-10-25 15:37:20 +00:00
|
|
|
qt:
|
2021-01-28 22:39:13 +00:00
|
|
|
plugin: nil
|
|
|
|
build-packages:
|
|
|
|
- libdbus-1-dev
|
|
|
|
- libegl-dev
|
|
|
|
- libfontconfig1-dev
|
|
|
|
- libfreetype-dev
|
|
|
|
- libglib2.0-dev
|
2021-10-29 21:14:57 +00:00
|
|
|
- libglx-dev
|
2021-06-26 16:52:07 +00:00
|
|
|
- libgtk-3-dev
|
2021-01-28 22:39:13 +00:00
|
|
|
- libharfbuzz-dev
|
2021-10-30 17:35:10 +00:00
|
|
|
- libice-dev
|
2021-01-28 22:39:13 +00:00
|
|
|
- libicu-dev
|
2021-10-29 21:14:57 +00:00
|
|
|
- libopengl-dev
|
2021-01-28 22:39:13 +00:00
|
|
|
- libpcre2-dev
|
|
|
|
- libpng-dev
|
2021-10-30 17:35:10 +00:00
|
|
|
- libsm-dev
|
2021-01-28 22:39:13 +00:00
|
|
|
- libssl-dev
|
|
|
|
- libwayland-dev
|
|
|
|
- libx11-dev
|
|
|
|
- libx11-xcb-dev
|
|
|
|
- libxcb1-dev
|
|
|
|
- libxcb-glx0-dev
|
|
|
|
- libxcb-icccm4-dev
|
|
|
|
- libxcb-image0-dev
|
|
|
|
- libxcb-keysyms1-dev
|
|
|
|
- libxcb-randr0-dev
|
|
|
|
- libxcb-render0-dev
|
|
|
|
- libxcb-render-util0-dev
|
|
|
|
- libxcb-shape0-dev
|
|
|
|
- libxcb-shm0-dev
|
|
|
|
- libxcb-sync-dev
|
|
|
|
- libxcb-util-dev
|
|
|
|
- libxcb-xfixes0-dev
|
|
|
|
- libxcb-xinput-dev
|
|
|
|
- libxcb-xkb-dev
|
|
|
|
- libxcursor-dev
|
|
|
|
- libxkbcommon-dev
|
|
|
|
- libxkbcommon-x11-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
stage-packages:
|
|
|
|
- libdbus-1-3
|
|
|
|
- libegl1
|
|
|
|
- libfontconfig1
|
|
|
|
- libfreetype6
|
|
|
|
- libglib2.0-0
|
2021-10-29 21:14:57 +00:00
|
|
|
- libglx0
|
2021-06-26 16:52:07 +00:00
|
|
|
- libgtk-3-0
|
2021-01-28 22:39:13 +00:00
|
|
|
- libharfbuzz0b
|
2021-10-30 17:35:10 +00:00
|
|
|
- libice6
|
2021-01-28 22:39:13 +00:00
|
|
|
- libicu66
|
2021-10-29 21:14:57 +00:00
|
|
|
- libopengl0
|
2021-01-28 22:39:13 +00:00
|
|
|
- libpcre2-16-0
|
|
|
|
- libpng16-16
|
2021-10-30 17:35:10 +00:00
|
|
|
- libsm6
|
2021-01-28 22:39:13 +00:00
|
|
|
- libssl1.1
|
|
|
|
- libwayland-client0
|
2021-01-29 09:28:20 +00:00
|
|
|
- libwayland-cursor0
|
2021-01-28 22:39:13 +00:00
|
|
|
- libwayland-egl1
|
|
|
|
- libx11-6
|
|
|
|
- libx11-xcb1
|
|
|
|
- libxcb1
|
|
|
|
- libxcb-glx0
|
|
|
|
- libxcb-icccm4
|
|
|
|
- libxcb-image0
|
|
|
|
- libxcb-keysyms1
|
|
|
|
- libxcb-randr0
|
|
|
|
- libxcb-render0
|
|
|
|
- libxcb-render-util0
|
|
|
|
- libxcb-shape0
|
|
|
|
- libxcb-shm0
|
|
|
|
- libxcb-sync1
|
|
|
|
- libxcb-util1
|
|
|
|
- libxcb-xfixes0
|
|
|
|
- libxcb-xinput0
|
|
|
|
- libxcb-xkb1
|
|
|
|
- libxcursor1
|
|
|
|
- libxkbcommon0
|
|
|
|
- libxkbcommon-x11-0
|
|
|
|
- zlib1g
|
|
|
|
override-pull: |
|
2021-12-21 15:46:27 +00:00
|
|
|
QT=6_2_2
|
2021-01-28 22:39:13 +00:00
|
|
|
|
2021-12-21 15:46:27 +00:00
|
|
|
git clone -b v6.2.2 --depth=1 git://code.qt.io/qt/qt5.git .
|
2021-10-25 15:37:20 +00:00
|
|
|
perl init-repository --module-subset=qtbase,qtwayland,qtimageformats,qtsvg,qt5compat
|
2021-01-28 22:39:13 +00:00
|
|
|
|
|
|
|
cd qtbase
|
|
|
|
find $SNAPCRAFT_STAGE/patches/qtbase_${QT} -type f -print0 | sort -z | xargs -r0 git apply
|
|
|
|
cd ../qtwayland
|
|
|
|
find $SNAPCRAFT_STAGE/patches/qtwayland_${QT} -type f -print0 | sort -z | xargs -r0 git apply
|
2021-10-25 15:37:20 +00:00
|
|
|
cd ../qt5compat
|
|
|
|
find $SNAPCRAFT_STAGE/patches/qt5compat_${QT} -type f -print0 | sort -z | xargs -r0 git apply
|
2021-01-28 22:39:13 +00:00
|
|
|
cd ..
|
2020-04-25 04:43:19 +00:00
|
|
|
override-build: |
|
2021-01-28 22:39:13 +00:00
|
|
|
./configure \
|
|
|
|
-prefix /usr \
|
|
|
|
-libdir /usr/lib/$SNAPCRAFT_ARCH_TRIPLET \
|
|
|
|
-release \
|
|
|
|
-opensource \
|
|
|
|
-confirm-license \
|
2021-11-03 21:41:35 +00:00
|
|
|
-no-feature-highdpiscaling \
|
2021-01-28 22:39:13 +00:00
|
|
|
-openssl-linked \
|
|
|
|
-nomake examples \
|
2022-01-22 09:02:15 +00:00
|
|
|
-nomake tests \
|
|
|
|
-- \
|
|
|
|
-DINPUT_egl_extension_platform_wayland=no
|
2021-01-28 22:39:13 +00:00
|
|
|
|
2021-10-25 15:37:20 +00:00
|
|
|
cmake --build . -j$SNAPCRAFT_PARALLEL_BUILD_COUNT
|
|
|
|
DESTDIR="$SNAPCRAFT_PART_INSTALL" cmake --install .
|
2021-01-28 22:39:13 +00:00
|
|
|
stage:
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so.8.2.2
|
|
|
|
prime:
|
2021-10-25 15:37:20 +00:00
|
|
|
- -./usr/bin
|
|
|
|
- -./usr/doc
|
2021-01-28 22:39:13 +00:00
|
|
|
- -./usr/include
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/cmake
|
2021-10-25 15:37:20 +00:00
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/metatypes
|
2021-06-03 02:19:16 +00:00
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.a
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.la
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.prl
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.so
|
2021-10-25 15:37:20 +00:00
|
|
|
- -./usr/libexec
|
|
|
|
- -./usr/mkspecs
|
|
|
|
- -./usr/modules
|
|
|
|
# Allow tdesktop's custom try-portal-and-fallback logic to work
|
|
|
|
- -./usr/plugins/platformthemes/libqxdgdesktopportal.so
|
2020-08-29 16:51:45 +00:00
|
|
|
after:
|
2021-11-05 13:11:51 +00:00
|
|
|
- epoxy
|
2021-01-28 22:39:13 +00:00
|
|
|
- mozjpeg
|
|
|
|
- patches
|
2020-08-15 20:23:00 +00:00
|
|
|
|
2021-06-01 13:37:30 +00:00
|
|
|
rnnoise:
|
|
|
|
source: https://gitlab.xiph.org/xiph/rnnoise.git
|
|
|
|
source-depth: 1
|
|
|
|
source-commit: 7f449bf8bd3b933891d12c30112268c4090e4d59
|
|
|
|
plugin: autotools
|
|
|
|
autotools-configure-parameters:
|
2021-06-03 01:56:31 +00:00
|
|
|
- --prefix=/usr
|
|
|
|
- --libdir=\${exec_prefix}/lib/$SNAPCRAFT_ARCH_TRIPLET
|
|
|
|
- --disable-static
|
2021-06-01 13:37:30 +00:00
|
|
|
- --disable-examples
|
|
|
|
- --disable-doc
|
|
|
|
prime:
|
|
|
|
- -./usr/include
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pkgconfig
|
2021-06-03 01:56:31 +00:00
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/librnnoise.la
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/librnnoise.so
|
|
|
|
- -./usr/share
|
2021-06-01 13:37:30 +00:00
|
|
|
|
2022-01-23 10:34:08 +00:00
|
|
|
vpx:
|
|
|
|
source: https://github.com/webmproject/libvpx.git
|
|
|
|
source-depth: 1
|
|
|
|
source-tag: v1.11.0
|
|
|
|
plugin: autotools
|
|
|
|
autotools-configure-parameters:
|
|
|
|
- --prefix=/usr
|
|
|
|
- --libdir=/usr/lib/$SNAPCRAFT_ARCH_TRIPLET
|
|
|
|
- --disable-examples
|
|
|
|
- --disable-unit-tests
|
|
|
|
- --disable-tools
|
|
|
|
- --disable-docs
|
|
|
|
- --enable-shared
|
|
|
|
- --disable-static
|
|
|
|
- --enable-vp8
|
|
|
|
- --enable-vp9
|
|
|
|
- --enable-webm-io
|
|
|
|
prime:
|
|
|
|
- -./usr/include
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pkgconfig
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libvpx.so
|
|
|
|
|
2020-08-15 20:23:00 +00:00
|
|
|
webrtc:
|
2020-08-31 07:59:07 +00:00
|
|
|
source: https://github.com/desktop-app/tg_owt.git
|
2020-08-29 16:51:45 +00:00
|
|
|
source-depth: 1
|
2022-01-23 10:34:08 +00:00
|
|
|
source-commit: 6372a0848f8dd84013e291b44f9d1427fde3a90e
|
2020-08-29 16:51:45 +00:00
|
|
|
plugin: cmake
|
2020-08-15 20:23:00 +00:00
|
|
|
build-packages:
|
2020-08-29 16:51:45 +00:00
|
|
|
- yasm
|
2021-05-15 19:38:42 +00:00
|
|
|
- libglib2.0-dev
|
2020-08-15 20:23:00 +00:00
|
|
|
- libopus-dev
|
2021-05-15 19:38:42 +00:00
|
|
|
- libpipewire-0.2-dev
|
2020-08-15 20:23:00 +00:00
|
|
|
- libssl-dev
|
2021-05-15 19:38:42 +00:00
|
|
|
- libx11-dev
|
|
|
|
- libxcomposite-dev
|
|
|
|
- libxdamage-dev
|
|
|
|
- libxext-dev
|
|
|
|
- libxfixes-dev
|
|
|
|
- libxrender-dev
|
|
|
|
- libxrandr-dev
|
|
|
|
- libxtst-dev
|
2020-08-15 20:23:00 +00:00
|
|
|
stage-packages:
|
2021-05-15 19:38:42 +00:00
|
|
|
- libglib2.0-0
|
2020-08-15 20:23:00 +00:00
|
|
|
- libopus0
|
2021-05-15 19:38:42 +00:00
|
|
|
- libpipewire-0.2-1
|
2020-08-15 20:23:00 +00:00
|
|
|
- libssl1.1
|
2021-05-15 19:38:42 +00:00
|
|
|
- libx11-6
|
|
|
|
- libxcomposite1
|
|
|
|
- libxdamage1
|
|
|
|
- libxext6
|
|
|
|
- libxfixes3
|
|
|
|
- libxrender1
|
|
|
|
- libxrandr2
|
|
|
|
- libxtst6
|
2020-10-30 09:23:28 +00:00
|
|
|
cmake-parameters:
|
2022-01-11 23:46:46 +00:00
|
|
|
- -GNinja
|
2020-10-30 09:23:28 +00:00
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
- -DJPEG_LIBRARY_RELEASE=$SNAPCRAFT_STAGE/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so
|
|
|
|
- -DJPEG_INCLUDE_DIR=$SNAPCRAFT_STAGE/usr/include
|
2021-06-03 05:40:32 +00:00
|
|
|
prime:
|
|
|
|
- -./usr/include
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/cmake
|
|
|
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.a
|
2020-08-15 20:23:00 +00:00
|
|
|
after:
|
|
|
|
- ffmpeg
|
2020-10-07 02:21:20 +00:00
|
|
|
- mozjpeg
|
2022-01-23 10:34:08 +00:00
|
|
|
- vpx
|