Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages for Debian Jessie #70

Closed
SebastianS90 opened this issue Nov 19, 2015 · 10 comments
Closed

Packages for Debian Jessie #70

SebastianS90 opened this issue Nov 19, 2015 · 10 comments

Comments

@SebastianS90
Copy link

Is it possible to provide packages for the current debian stable release (Jessie)?

The wheezy packages depend on some libboost-* library packages that are no longer available in jessie (probably because of a version upgrade and new package name). It is possible to add a wheezy apt sources entry to install the required old dependencies, but then you have a mixture of different debian releases which is generally not recommended.

@vitalyster
Copy link
Collaborator

Now you can find build_spectrum2.sh in packaging/debian directory, and it will build packages for you.
You may also need to build libcommuni packages, now they are available in https://github.com/vitalyster/libcommuni-gbp.git (just run gbp buildpackage in repository root)

@SebastianS90
Copy link
Author

Thanks. Are there any plans to push binary packages to http://repo.spectrum.im/? (this repo is linked in the download instructions on spectrum.im)

@vitalyster
Copy link
Collaborator

Repo will be updated when spectrum2 will be released, at now we have no maintainers for "nightly package builds"

@moyamo
Copy link
Contributor

moyamo commented Dec 28, 2015

The script is currently broken. Here's a patch to fix it:

diff --git a/packaging/debian/build_spectrum2.sh b/packaging/debian/build_spectrum2.sh
index b90c31d..7e95467 100755
--- a/packaging/debian/build_spectrum2.sh
+++ b/packaging/debian/build_spectrum2.sh
@@ -17,11 +17,17 @@ rm -rf spectrum2_*

 git clone ../../.git spectrum2-$version

+cd spectrum2-$version
+sed -i '3ienable_testing()' CMakeLists.txt
+cd ..
+
 tar -czf spectrum2_$version.orig.tar.gz spectrum2-$version

 cp -r debian spectrum2-$version/debian

 cd spectrum2-$version
+
+
 debuild -i -us -uc

 cd ..
diff --git a/packaging/debian/debian/changelog b/packaging/debian/debian/changelog
index 987597c..e6e439f 100644
--- a/packaging/debian/debian/changelog
+++ b/packaging/debian/debian/changelog
@@ -1,4 +1,4 @@
-spectrum2 (1:1760-89e377b-1) unstable; urgency=low
+spectrum2 (1:1882-61f2419-1) unstable; urgency=low

   * Move package to git-buildpackage format
   * remove the -git suffix from package names
diff --git a/packaging/debian/debian/control b/packaging/debian/debian/control
index e8860c7..452e184 100644
--- a/packaging/debian/debian/control
+++ b/packaging/debian/debian/control
@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 7.0.50~), libpurple-dev, libswiften-dev,
  libprotobuf-dev, libmysqlclient-dev, liblog4cxx10-dev, protobuf-compiler,
  libpopt-dev, libdbus-glib-1-dev, libpqxx3-dev, cmake, libevent-dev, libboost-all-dev,
  libqt4-dev, libidn11-dev, libxml2-dev, libavahi-client-dev, libavahi-common-dev,
- libcurl4-openssl-dev, libcommuni-dev
+ libcurl4-openssl-dev, libcommuni-dev, libsqlite3-dev
 Standards-Version: 3.9.2
 VCS-Browser: http://git.fsinf.at/apt/spectrum2
 VCS-Git: https://git.fsinf.at/apt/spectrum2.git

@jkufner
Copy link

jkufner commented Jan 12, 2016

Please note this problem also includes libswiften, which also depends on outdated libboost.

@vitalyster
Copy link
Collaborator

@jkufner
Copy link

jkufner commented Jan 13, 2016

Are there also packages for i386 or is it amd64 only?

@jkufner
Copy link

jkufner commented Jan 13, 2016

@vitalyster Thank you for setting up the repo!

@vitalyster
Copy link
Collaborator

No time to build all possible distributions/architectures, maintainers welcome :)

@thundergreen
Copy link
Contributor

ARMHF Packages :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants