Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: looking-glass-2019.B1
@ 2020-05-14  9:25 the-eater
  2020-05-14  9:57 ` [PR PATCH] [Updated] " the-eater
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: the-eater @ 2020-05-14  9:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

There is a new pull request by the-eater against master on the void-packages repository

https://github.com/the-eater/neo-void-packages pkg/looking-glass
https://github.com/void-linux/void-packages/pull/21952

New package: looking-glass-2019.B1


A patch file from https://github.com/void-linux/void-packages/pull/21952.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/looking-glass-21952.patch --]
[-- Type: text/x-diff, Size: 2913 bytes --]

From 2b7cb8e7a92e89b4901c32e953f3b1a2cbda5695 Mon Sep 17 00:00:00 2001
From: eater <=@eater.me>
Date: Thu, 14 May 2020 11:23:51 +0200
Subject: [PATCH] New package: looking-glass-2019.B1

---
 srcpkgs/looking-glass/patches/fix-void.patch | 45 ++++++++++++++++++++
 srcpkgs/looking-glass/template               | 16 +++++++
 2 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/looking-glass/patches/fix-void.patch
 create mode 100644 srcpkgs/looking-glass/template

diff --git a/srcpkgs/looking-glass/patches/fix-void.patch b/srcpkgs/looking-glass/patches/fix-void.patch
new file mode 100644
index 00000000000..6c08ffee7f4
--- /dev/null
+++ b/srcpkgs/looking-glass/patches/fix-void.patch
@@ -0,0 +1,45 @@
+diff --git client/CMakeLists.txt client/CMakeLists.txt
+index 4c1ba29..f08b4b3 100644
+--- client/CMakeLists.txt
++++ client/CMakeLists.txt
+@@ -37,7 +37,7 @@ add_compile_options(
+   "$<$<CONFIG:DEBUG>:-O0;-g3;-ggdb>"
+ )
+ 
+-set(EXE_FLAGS "-Wl,--gc-sections")
++set(EXE_FLAGS "-Wl,--gc-sections -Wl,--start-group")
+ set(CMAKE_C_STANDARD 11)
+ 
+ find_package(PkgConfig)
+@@ -99,6 +99,7 @@ target_link_libraries(looking-glass-client
+ 	renderers
+ 	clipboards
+ 	fonts
++	dl
+ )
+ 
+ install(PROGRAMS ${CMAKE_BINARY_DIR}/looking-glass-client DESTINATION bin/ COMPONENT binary)
+diff --git common/src/crash.linux.c common/src/crash.linux.c
+index 218d65f..bd23805 100644
+--- common/src/crash.linux.c
++++ common/src/crash.linux.c
+@@ -98,10 +98,10 @@ static void load_symbols()
+ 
+ static bool lookup_address(bfd_vma pc, const char ** filename, const char ** function, unsigned int * line, unsigned int * discriminator)
+ {
+-  if ((bfd_get_section_flags(crash.fd, crash.section) & SEC_ALLOC) == 0)
++  if ((crash.section->flags & SEC_ALLOC) == 0)
+     return false;
+ 
+-  bfd_size_type size = bfd_get_section_size(crash.section);
++  bfd_size_type size = crash.section->size;
+   if (pc >= size)
+     return false;
+ 
+@@ -230,4 +230,4 @@ bool installCrashHandler(const char * exe)
+   return true;
+ }
+ 
+-#endif
+\ No newline at end of file
++#endif
diff --git a/srcpkgs/looking-glass/template b/srcpkgs/looking-glass/template
new file mode 100644
index 00000000000..b5a72766c94
--- /dev/null
+++ b/srcpkgs/looking-glass/template
@@ -0,0 +1,16 @@
+# Template file for 'looking-glass'
+pkgname=looking-glass
+_tag="B1"
+version="2019.${_tag}"
+revision=1
+wrksrc="LookingGlass-${_tag}"
+build_wrksrc="client"
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="glibc-devel nettle-devel libX11-devel spice-devel SDL2-devel SDL2_ttf-devel binutils-devel fontconfig-devel"
+short_desc="Extremely low latency KVMFR implementation"
+maintainer="eater <=@eater.me>"
+license="GPL-2.0"
+homepage="https://looking-glass.hostfission.com/"
+distfiles="https://github.com/gnif/LookingGlass/archive/${_tag}.tar.gz"
+checksum=fa9b3b380f451551c8b40b56a3e873607aa066e8333b7baacd0ed21a05bbb5c5

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-05-15 16:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14  9:25 [PR PATCH] New package: looking-glass-2019.B1 the-eater
2020-05-14  9:57 ` [PR PATCH] [Updated] " the-eater
2020-05-14 10:08 ` the-eater
2020-05-14 10:14 ` the-eater
2020-05-14 19:27 ` bra1nwave
2020-05-15 16:39 ` [PR PATCH] [Closed]: " Chocimier
2020-05-15 16:39 ` Chocimier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).