From: Jonatan Schlag <jonatan.schlag@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 4/7] New package spice-protocol (required by spice)
Date: Mon, 21 Mar 2016 19:47:36 +0100 [thread overview]
Message-ID: <1458586059-740-5-git-send-email-jonatan.schlag@ipfire.org> (raw)
In-Reply-To: <1458586059-740-1-git-send-email-jonatan.schlag@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 5386 bytes --]
Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
---
config/rootfiles/packages/spice-protocol | 30 ++++++++++++
lfs/spice-protocol | 84 ++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
create mode 100644 config/rootfiles/packages/spice-protocol
create mode 100644 lfs/spice-protocol
diff --git a/config/rootfiles/packages/spice-protocol b/config/rootfiles/packages/spice-protocol
new file mode 100644
index 0000000..330403a
--- /dev/null
+++ b/config/rootfiles/packages/spice-protocol
@@ -0,0 +1,30 @@
+#usr/include/spice-1
+#usr/include/spice-1/spice
+#usr/include/spice-1/spice/barrier.h
+#usr/include/spice-1/spice/controller_prot.h
+#usr/include/spice-1/spice/end-packed.h
+#usr/include/spice-1/spice/enums.h
+#usr/include/spice-1/spice/error_codes.h
+#usr/include/spice-1/spice/foreign_menu_prot.h
+#usr/include/spice-1/spice/ipc_ring.h
+#usr/include/spice-1/spice/macros.h
+#usr/include/spice-1/spice/protocol.h
+#usr/include/spice-1/spice/qxl_dev.h
+#usr/include/spice-1/spice/qxl_windows.h
+#usr/include/spice-1/spice/start-packed.h
+#usr/include/spice-1/spice/stats.h
+#usr/include/spice-1/spice/types.h
+#usr/include/spice-1/spice/vd_agent.h
+#usr/include/spice-1/spice/vdi_dev.h
+#usr/lib/spice-protocol
+usr/lib/spice-protocol/python_modules
+usr/lib/spice-protocol/python_modules/__init__.py
+usr/lib/spice-protocol/python_modules/codegen.py
+usr/lib/spice-protocol/python_modules/demarshal.py
+usr/lib/spice-protocol/python_modules/marshal.py
+usr/lib/spice-protocol/python_modules/ptypes.py
+usr/lib/spice-protocol/python_modules/spice_parser.py
+usr/lib/spice-protocol/spice.proto
+usr/lib/spice-protocol/spice1.proto
+usr/lib/spice-protocol/spice_codegen.py
+usr/share/pkgconfig/spice-protocol.pc
diff --git a/lfs/spice-protocol b/lfs/spice-protocol
new file mode 100644
index 0000000..514dec7
--- /dev/null
+++ b/lfs/spice-protocol
@@ -0,0 +1,84 @@
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007-2016 IPFire Team <info(a)ipfire.org> #
+# #
+# This program is free software: you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# This program is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER = 0.12.10
+
+THISAPP = spice-protocol-$(VER)
+DL_FILE = $(THISAPP).tar.bz2
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+PROG = spice-protocol
+PAK_VER = 1
+
+DEPS = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 1fb9d0dcdd42dce1b476ae8aa7569bcc
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist:
+ @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+ @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+ @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+ @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && ./configure --prefix=/usr
+ cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
+ cd $(DIR_APP) && make install
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
--
2.1.4
next prev parent reply other threads:[~2016-03-21 18:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-21 18:47 Spice for Libvirt Jonatan Schlag
2016-03-21 18:47 ` [PATCH 1/7] New package opus (required by spice) Jonatan Schlag
2016-03-22 19:01 ` Michael Tremer
2016-03-21 18:47 ` [PATCH 2/7] New package python-pyparsing " Jonatan Schlag
2016-03-21 18:47 ` [PATCH 3/7] New package python-six " Jonatan Schlag
2016-03-21 18:47 ` Jonatan Schlag [this message]
2016-03-21 18:47 ` [PATCH 5/7] New package spice Jonatan Schlag
2016-03-22 19:05 ` Michael Tremer
2016-03-21 18:47 ` [PATCH 6/7] Add all new packages (opus, python-pyparsing, python-six, spice-protocol, spice) to make.sh Jonatan Schlag
2016-03-22 19:07 ` Michael Tremer
2016-03-21 18:47 ` [PATCH 7/7] Enable spice support in qemu, add spice as a dependency for qemu and bump qemu version number Jonatan Schlag
2016-03-22 19:08 ` Spice for Libvirt Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1458586059-740-5-git-send-email-jonatan.schlag@ipfire.org \
--to=jonatan.schlag@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox