OpenXcom Forum

Contributions => Builds & Ports => Topic started by: niculinux on June 14, 2014, 06:55:53 pm

Title: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: niculinux 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!
Title: Re: OpenXcom 0.9 packages and PPA repository for ubuntu linux
Post by: niculinux on June 18, 2014, 05:00:57 pm
In the end, we got the Ubuntu PPA updated! Current version: 1.0

click on me (https://openxcom.org/forum/index.php?topic=2286.msg23111#msg23111)
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu 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
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: niculinux 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
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu 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
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: winterheart 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.

Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: niculinux 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 ;)
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: niculinux 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/
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu 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 :]
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: 7Saturn 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.
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu 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.
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: niculinux 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
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: niculinux 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?
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu 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/ (https://knapsu.eu/openxcom/)
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: SupSuper on January 18, 2016, 03:15:09 pm
Any chance the nightly packages can be versioned with the "git hash" as produced by CMake?
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu on January 18, 2016, 03:54:01 pm
@SupSuper, sure. Adding hash is a good idea.

The commit hash will be taken directly from git repo and added to version string.

Pattern:
  ${VERSION}+${DATE}.${HASH}-${RELEASE}${EXTRA}
Examples:
  1.0+20160118.9713453-1
  1.0+20160111.b336caf-1~trusty1

Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: SupSuper on January 18, 2016, 05:57:38 pm
I meant the internal game version. It's useful to know which version saves/bugs come from.
It should be part of CMake: https://github.com/SupSuper/OpenXcom/commit/31fc274be5e81470c6f5bcbdc1f9bca5c081b652
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu on February 06, 2017, 11:51:20 pm
Hey. I've added OpenXcom 1.0 packages for Ubuntu 16.10 (Yakkety Yak) for anyone who does not want to use the latest bleeding edge version.
As usual libyaml package makes the most trouble when creating good DEB packages. I needed to patch it to work with GCC 6.

The Ubuntu PPA is here:
https://launchpad.net/~knapsu/+archive/ubuntu/openxcom/
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu on February 06, 2017, 11:58:10 pm
A small reminder...

Nightly builds are done every weekend for Ubuntu 14.04 LTS (Trusty Tahr) and Ubuntu 16.04 LTS (Xenial Xerus).

These packages works with all other Linux distributions that are based on Ubuntu LTS (Linux Mint, Neon, etc).
Packages for Xenial also works with Debian Unstable (at least the last time I've checked).

The Ubuntu Nightly Builds PPA is here:
https://launchpad.net/~knapsu/+archive/ubuntu/openxcom-beta/
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: niculinux on June 22, 2017, 12:19:47 pm
Hope to see that PPA in the mai page, actually only the stable one is present

Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: SupSuper on June 26, 2017, 01:24:55 pm
Hope to see that PPA in the mai page, actually only the stable one is present


It's in the nightly section.
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: niculinux on September 23, 2017, 07:11:28 pm
Oh thanks I did not pay attention :) Hey, I see also the openxcom executable (the nightly ones) is also avaiable packaed with AppImage! See screenshot attached :)


Great thing, I was just wondering why it may be dne also with openxcom extended. Any Channches, please? :/

Edit: and openxcom exetended plus?
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: 7Saturn on September 23, 2017, 07:23:52 pm
I second that!
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: Stoddard on September 24, 2017, 12:04:23 am
If knapsu shares the debian directory that's used to build the .deb packages, I'll set up builds for the  for Trusty, Xenial, Jessie and Stretch, for the OpenXcom, OpenXcom Extended and the Meridian branch.

I might have missed something, if it's shared already, please point me to it.


Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu on September 24, 2017, 01:33:24 pm
@Stoddard, the Debian package specification files are in OpenXcom repository. Take a look here https://github.com/SupSuper/OpenXcom/tree/master/install/debian

Honestly with AppImage that just works everywhere I don't see too much need for nightly DEB and RPM packages anymore.

@niculinux, if you need AppImage packages for OpenXcom Extended than I suggest you clone the https://github.com/knapsu/OpenXcom-AppImage repository. This repo is fully automated to make daily OpenXcom builds for 32-bit and 64-bit Linux using Travis CI and upload them to https://openxcom.org/ website. After you clone it modify line 49 for 'scripts/build.sh' to point to OpenXcom Extended repository and enable Travis for your cloned repo. Also replace '--scp' with '--transfer' on line 24 in '.travis.yml' file so that final AppImage packages will be uploaded and shared to https://transfer.sh/ as you won't be able to upload them to OpenXcom website.
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu on September 24, 2017, 01:34:18 pm
If you need more info about AppImage package please read this post https://openxcom.org/forum/index.php/topic,5432.0.html
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: niculinux on September 25, 2017, 04:01:33 pm
[...]

@niculinux, if you need AppImage packages for OpenXcom Extended than I suggest you clone the https://github.com/knapsu/OpenXcom-AppImage repository. This repo is fully automated to make daily OpenXcom builds for 32-bit and 64-bit Linux using Travis CI and upload them to https://openxcom.org/ website. After you clone it modify line 49 for 'scripts/build.sh' to point to OpenXcom Extended repository and enable Travis for your cloned repo. Also replace '--scp' with '--transfer' on line 24 in '.travis.yml' file so that final AppImage packages will be uploaded and shared to https://transfer.sh/ as you won't be able to upload them to OpenXcom website.

oh thanks! But since it more complicated with me, plus donn't have much time to make experiments, I wish some more expert user(s) would do this. Hey but since here are in a ubuntu theme topic, i'll open anotherthred ;)
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: hairybert on May 11, 2018, 02:11:26 pm
Is there any chance to get ppa for the new Ubuntu 18.04 LTS?

Package libyaml-cpp-dev is version 0.5.2-4. According to https://bugs.launchpad.net/ubuntu/+source/yaml-cpp/+bug/1513431 the bug is fixed there.

Thanks!
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu on May 11, 2018, 03:20:52 pm
Hey @hairybert. I'll update the PPA on weekend. Take care.
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: hairybert on May 12, 2018, 03:51:56 am
@knapsu: Wow, that's great!
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu on May 13, 2018, 12:39:35 am
@hairybert DEB packages for Ubuntu Bionic created.
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: hairybert on June 28, 2018, 01:15:31 pm
@knapsu:
Many thanks for your support!

I was quite busy in the last weeks and now I'm still figuring how to get openxcom + FMP working again after the Ubuntu update 16.04 -> 18.04. Unfortunately, I don't remember exactly how I did it before.
Seems like the 1.0 version delivered by ppa:knapsu/openxcom is not enough, I need the nightly version. Would you mind creating a 18.04 update of openxcom-beta? Or what is the prefered way to run openxcom nightly on Ubuntu 18.04?

Thank you!
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: knapsu on June 28, 2018, 02:11:24 pm
Hi. The PPA repository openxcom-beta is discontinued. Please use universal AppImage packages instead. These packages can be downloaded from OpenXcom website.
https://openxcom.org/git-builds/
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: 7Saturn on June 28, 2018, 02:14:40 pm
Is there some sort of manual on how to use those?
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: R1dO on June 28, 2018, 02:24:17 pm
Is there some sort of manual on how to use those?

On that same page:
Code: [Select]
Download AppImage file, make it executable, and run. No need to install.
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: hairybert on June 28, 2018, 03:42:43 pm
knapsu:
Thank you! I downloaded the AppImage. It is working. However, as soon as I click on some ufo, openxcom crashes with this message:
OpenXcom has crashed: Interface intercept not found
Any idea how to fix that? The data folder is the same as I used without problems in the past.

Still, I think a .deb-Package of openxcom-beta would be great, at least for the Ubuntu LTS versions (every 2 year).
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: ohartenstein23 on June 28, 2018, 03:56:38 pm
The "data" folder no longer exists in the nightly (AppImage) version of OXC as the file structure has changed to be more accommodating of modding - you should completely remove everything from the 1.0 version and only use what's packaged with the AppImage.
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: hairybert on June 28, 2018, 05:21:26 pm
ok, I re-installed all the data files and now everything seems to work. Thanks!
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: 7Saturn on July 01, 2018, 12:31:01 pm
OK, then I have to ask: The mod and save files are laying in folder ~/.local/share/openxcom at my place. The data folder must be placed there, as well? Because that's what the AppImage complains about, missing data files.
Title: Re: OpenXcom .deb packages and PPA repository for ubuntu linux
Post by: 7Saturn on October 01, 2018, 11:23:41 am
I still can't get the AppImage to work. It complains it's missing the X-COM data files. However, the installed version works just fine. Could it be, that the two are looking for the game contents on different locations? If so, where does the AppImage look for the game contents?