APT Repository for Minetest Mods and Subgames

User avatar
cd2
Member
 
Posts: 560
Joined: Mon Jun 01, 2015 06:30
Location: Linux :P
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2
 

mogray5
Member
 
Posts: 15
Joined: Sat Sep 20, 2014 19:08
IRC: mogray5
In-game: 1200baud

Re: APT Repository for Minetest Mods and Subgames

by mogray5 » Fri Sep 02, 2016 02:05

Ok no problem. I'll turn packaging back on when I see something posted in the releases forum.
 

User avatar
TheReaperKing
Member
 
Posts: 507
Joined: Sun Nov 22, 2015 21:36

Re: APT Repository for Minetest Mods and Subgames

by TheReaperKing » Fri Sep 02, 2016 19:16

cd2 in my opinion that seems like the perfect mod to have on there since he has it set to update weekly so people can test, post feedback and get the weekly changes/updates. Maybe a WIP at the beginning or end of the name would help make it clearer? Your choice of course but me for one would love to get the auto updates to your mod.
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com

Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com

Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

olea
New member
 
Posts: 9
Joined: Thu Dec 25, 2014 12:46
GitHub: olea

Re: APT Repository for Minetest Mods and Subgames

by olea » Sat Jan 07, 2017 00:31

mogray5 wrote:mmod is an APT repository available to users of Debian based Linux distributions.



WOW!

Do you code mods dependencies?

Do you automate the package creation/update or all the work is handmade?

I would really loves to know if I could reuse some of your repository sources for an automated equivalent RPM repository. I know the alien[1] tool exists but results are not clean enough (i.e.: it create directory ownership conflicts).

In the nightmare of minetest mods dependencies your repo seems like an oasis of peace :-)

[1] https://joeyh.name/code/alien/
 

mogray5
Member
 
Posts: 15
Joined: Sat Sep 20, 2014 19:08
IRC: mogray5
In-game: 1200baud

Re: APT Repository for Minetest Mods and Subgames

by mogray5 » Tue Jan 10, 2017 03:13

@olea Thanks!

I've open-sourced all of this here: https://github.com/mogray5/debmod so feel free to hack away at it and make it better.

The process of collecting mod changes and creating new packages once defined in the database is automated but there is the occasional manual intervention needed when the upstream mod devs take their mod source offline or move/merge projects.

Adding new mods/subgames to the database is a manual process at the moment and requires adding data to a back-end RDBMS database using SQL.

It's Debian centric (even the name) but if you end up making it work with RPM as well then feel free to create a pull request and I'll be happy to merge it in.
 

User avatar
jbb
Member
 
Posts: 76
Joined: Tue Dec 09, 2014 17:16
GitHub: JBBgameich
IRC: JBB
In-game: JBB

Re: APT Repository for Minetest Mods and Subgames

by jbb » Thu Oct 26, 2017 20:58

One year later and I actually packaged the nodeboxeditor :)
The initial work is here: https://github.com/JBBgameich/nodeboxeditor-packaging
I don't know if the traditional debian packaging is compatible with your build process, but I hope you can include it.
Please reply if you find any bugs, but as far as I tested everything works.
Minetest runs better on Linux. So I'm using Linux.
 

mogray5
Member
 
Posts: 15
Joined: Sat Sep 20, 2014 19:08
IRC: mogray5
In-game: 1200baud

Re: APT Repository for Minetest Mods and Subgames

by mogray5 » Sun Oct 29, 2017 01:06

Nice work, happy to include it if I can get it built but I'm not familiar with packaging C++ apps so any help is appreciated. Here's what I've done so far.

I tried a test a build on my Ubuntu 16.04 LTS laptop and on my version of Ubuntu package libjpeg62-turbo-dev wasn't available so I changed it to libjpeg62-dev.

Running debuild -us -uc the package was created but appears to be empty.

I can try it on Debian in pbuilder or something similar that has libjpeg62-turbo-dev if that's my problem. Below is the build log.

https://pastebin.com/uAcRjtBX
 

User avatar
jbb
Member
 
Posts: 76
Joined: Tue Dec 09, 2014 17:16
GitHub: JBBgameich
IRC: JBB
In-game: JBB

Re: APT Repository for Minetest Mods and Subgames

by jbb » Sun Oct 29, 2017 21:38

You need to download the source and rename it to a special naming sheme. The orig.tar.gz file has to be in the parent directory of the packaging.

Code: Select all
- folder
     - nodeboxeditor-packaging
          - debian
               - control
               - changelog
               - ...
     nodeboxeditor_0.9.0.orig.tar.gz


Code: Select all
wget https://github.com/rubenwardy/NodeBoxEditor/archive/master.tar.gz -O nodeboxeditor_0.9.0.orig.tar.gz

Additionally you have to extract the tarball so that the debian folder is in the root of the nodeboxeditor repository. It should work then.
dpkg-buildpackage warns you about the files from the tarball not being extracted to your build directory.
Minetest runs better on Linux. So I'm using Linux.
 

mogray5
Member
 
Posts: 15
Joined: Sat Sep 20, 2014 19:08
IRC: mogray5
In-game: 1200baud

Re: APT Repository for Minetest Mods and Subgames

by mogray5 » Sat Nov 04, 2017 23:01

Thanks that worked. I've built it for Jessie and Ubuntu LTS (with the dependency change) and added them both to the repository. Package is called nodeboxeditor. Below are the sources list links you'll need to add depending on your system. Source packages should be in the repo as well.

The Ubuntu version is working for me but I don't have a Debian instance handy to test.

Sources:

deb http://mmod.infinitypfm.org/ mmrepo-ubuntu main
or
deb http://mmod.infinitypfm.org/ mmrepo-jessie main
 

Previous

Return to Minetest-related projects



Who is online

Users browsing this forum: sofar and 2 guests