Author Topic: OpenXcom .deb packages and PPA repository for ubuntu linux  (Read 37852 times)

niculinux

  • Guest
OpenXcom .deb packages and PPA repository for ubuntu linux
« on: June 14, 2014, 06:55:53 pm »
Some useful info I thought I could  share with the community:

At: https://knapsu.eu/openxcom/ you may some packages of the game, 0.9 version but for i386 and x86_64 architectures. The following packages are there:

openxcom_0.9~20130606-1_i386.deb
openxcom_0.9~20130606-1_amd64.deb
openxcom_0.9-1_i386.deb
openxcom_0.9-1_amd64.deb

Also there's a PPA avaiable at launchpad, maintained by Krzysztof Knapik, the URL is:

https://launchpad.net/~knapsu/+archive/openxcom

Add to /ect/apt/sources.list the following repositories:

Code: [Select]
deb https://ppa.launchpad.net/knapsu/openxcom/ubuntu YOUR_UBUNTU_VERSION_HERE main
deb-src https://ppa.launchpad.net/knapsu/openxcom/ubuntu YOUR_UBUNTU_VERSION_HERE main

For Oneiric ocelot (11.10)  up to Thrusty (14.04) but still 0.9,  so it won' provide the more recent game features, such as mod support, unless that ppa will be updated with version 1.0, cheers!
« Last Edit: June 18, 2014, 05:01:39 pm by niculinux »

niculinux

  • Guest
Re: OpenXcom 0.9 packages and PPA repository for ubuntu linux
« Reply #1 on: June 18, 2014, 05:00:57 pm »
In the end, we got the Ubuntu PPA updated! Current version: 1.0

click on me

Offline knapsu

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #2 on: November 16, 2015, 10:37:42 pm »
Hi there!

I've updated  PPA repository to include binaries for Ubuntu 15.10 (Wily Werewolf).

Because libyaml-cpp package in latest Debian distributions contains only the broken version 0.5.2 of the library I had to also make a libyaml-cpp package that includes the latest patches from their git repo. It's also in the OpenXcom PPA.

There was also a small fix for bug in my build scripts that could result in not adding translations or menu entry.

Enjoy

niculinux

  • Guest
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #3 on: November 22, 2015, 10:27:20 pm »
Thank you! Really can't wait for the 2.0 to come out! :P Maybe in the meantime, would be nice to have in that repo also some nightlies packed, at least some used by most famois mods, such as UFO redux and Final Mod Pack, but it' not that important in the end.  ;D

Offline knapsu

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #4 on: November 22, 2015, 11:32:59 pm »
Hey @niculinux,

I was thinking of making a secondary repository named "openxcom-nightlies" with daily packages but in the end I've just dropped the idea because it would be a little problematic to setup and maintain this on automatic build server and Launchpad.
Now when I think of it I'll create an 'openxcom-beta' package so anyone interested can test TFTD more easily :]

I like the idea of adding some more things to the repo like music or mods. I'll send you my email address in private message so you can suggest me which mods are worth adding.

 
Also I've found out that OpenXcom uses cmake now and there is a task to create a DEB file. This could be used on build server to create DEB and RPM packages for nightlies. It requires a little work though an what is more I'm not sure if the DEB packages will work everywhere as they don't have some runtime library dependencies that are different between Debian releases and other Debian based distributions...

To check it out you can do
Code: [Select]
cmake -DCPACK_GENERATOR="DEB;RPM"now when you run
Code: [Select]
make packageDEB and RPM package will be created

Offline winterheart

  • Colonel
  • ****
  • Posts: 180
  • Fellow Squaddie
    • View Profile
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #5 on: November 23, 2015, 06:12:25 pm »
Hello.

I created some time ago Openxcom Nightly for Ubuntu: https://code.launchpad.net/~winterheart/+archive/ubuntu/openxcom
You can check it out. There two major issues left:

1. openxcom package relies on system yaml-cpp, so if you have decent Ubuntu release, openxcom will fail because faulty yaml-cpp 0.5.2 (here bug in launchpad - https://bugs.launchpad.net/ubuntu/+source/yaml-cpp/+bug/1513431). Only acceptable solution as I can see - to use yaml-cpp from knapsu repository.
2. Translatons are bit outdated, there some issues for importing from Transifex, this will be fixed soon.


niculinux

  • Guest
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #6 on: November 23, 2015, 10:59:24 pm »
Thank you guys!!!! Hey, as for nightlies, i think the ones needed for hardmode expansion, UFO redux and the final mod pack would be enough ;)

niculinux

  • Guest
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #7 on: November 25, 2015, 02:43:53 pm »
Breaking news!!! Actually exists a software to create .deb packages starting from source come!

The name is "Debreate", and as far as I know it's for Debina and Ubuntu!

Chack the page @ Sourceforge: contains a link for the official homepage:

https://sourceforge.net/projects/debreate/

Offline knapsu

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #8 on: December 10, 2015, 11:57:39 am »
Hey guys,

After few sleepless nights I have finally finished automated daily build scripts for Ubuntu.
In order not to collide with stable release the nightly builds are in a separate PPA repository named simply openxcom-beta

https://launchpad.net/~knapsu/+archive/ubuntu/openxcom-beta

Both PPA, (openxcom and openxcom-beta, can be active at the same time. Nightlies will take priority when installing which is of course expected. Translations are also updated daily.

Big thanks to you @winterheart because by looking at your PPA i was able to improve my own pakage specification files and use cmake for building. You learn something every day :]

Offline 7Saturn

  • Colonel
  • ****
  • Posts: 457
    • View Profile
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #9 on: December 10, 2015, 12:22:16 pm »
Just one question to compatibility: Will these new PPAs work on a 14.04 (trusty)? I see the 15.10-Releases there and wonder, if there could be a problem.

Offline knapsu

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #10 on: December 10, 2015, 12:32:41 pm »
Yes it will work.

Builds are made for:
- latest long time support release (LTS) which is Trusty Tahr (14.04)
- currently supported Ubuntu release which is Wily Werewolf (15.10) and Vivid Vervet (15.04)

On PPA page at the bottom you will find a filter button to show only packages for specific Ubutnu release. Trusty is on the list.

Trusty LTS release is also used by Linux Mint.
« Last Edit: December 10, 2015, 12:37:18 pm by knapsu »

niculinux

  • Guest
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #11 on: December 20, 2015, 12:44:20 am »
Thanks again knapsu! Now, only thingh missin is a ppa dedicated to openxcom extended, now at version 2.5b, but whatever! <3

niculinux

  • Guest
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #12 on: December 21, 2015, 07:42:53 pm »
Update: actually now it is avaiable in the PPA, the package name is openxcom-extended, i hope it is updated to the very latet, which is 2.5b. Someone may confirm?

Offline knapsu

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #13 on: January 17, 2016, 08:52:46 am »
Hey. I've received a request to create OpenXcom packages for Debian Testing (Stretch). It's done.

To download them just go to the page https://knapsu.eu/openxcom/

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: OpenXcom .deb packages and PPA repository for ubuntu linux
« Reply #14 on: January 18, 2016, 03:15:09 pm »
Any chance the nightly packages can be versioned with the "git hash" as produced by CMake?