Package Details: dwarffortress-lnp-git 44.03-2

Git Clone URL: https://aur.archlinux.org/dwarffortress-lnp-git.git (read-only)
Package Base: dwarffortress-lnp-git
Description: Installer for the Lazy Newb Pack to run Dwarf Fortress. Includes vanilla dwarf fortress, dfhack and graphics
Upstream URL: None
Licenses: custom
Submitter: metamer
Maintainer: metamer
Last Packager: metamer
Votes: 24
Popularity: 1.480062
First Submitted: 2016-03-06 03:30
Last Updated: 2018-01-12 03:15

Dependencies (29)

Required by (0)

Sources (25)

Latest Comments

1 2 3 4 5 6 Next › Last »

kurolox commented on 2018-01-31 09:14

I'm not being able to install this package.

finished applying clone bundle
searching for changes
abort: error: bad HTTP status line: ''
==> ERROR: Failure while downloading python-lnp hg repo
    Aborting...
:: failed to verify dwarffortress-lnp-git integrity

metamer commented on 2018-01-12 03:23

@mrhanman: Thanks for pointing out the break - this was caused by my attempts to circumvent stonesense breakage. It should be fixed now.

mrhanman commented on 2018-01-11 14:40

I'm running into this problem during the install step:

mv: cannot stat '/home/user/build/dwarffortress-lnp-git/pkg/dwarffortress-lnp-git/opt/dwarffortress-lnp-git/df_linux/hack/libs': No such file or directory

There are 5 libs one directory higher. Could that be the issue?

metamer commented on 2018-01-10 11:52

I've updated to 44.03 and addressed the breakage mentioned by GinjaNinja32.

GinjaNinja32 commented on 2017-12-17 11:34

distro-fixes-64-bit.patch appears to have been merged into the LNP repo, which causes the patch to fail to apply - https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/commit/64020490ea4acf3c7ac751de3ec0e0d6492b6844

Commenting out the patch in the PKGBUILD makes it work again for me.

metamer commented on 2017-09-28 05:32

Thanks for the issue reports - this looks like an issue with the upstream (https://bitbucket.org/Pidgeot/python-lnp), I'll take a look sometime over the next few days.

sirus20x6 commented on 2017-09-25 02:26

[ 3%] Building CXX object depends/protobuf/CMakeFiles/protobuf.dir/google/protobuf/descriptor.cc.o
Can't locate XML/LibXSLT.pm in @INC (you may need to install the XML::LibXSLT module) (@INC contains: xml /usr/lib/perl5/5.26/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.26/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.26/core_perl /usr/share/perl5/core_perl) at xml/codegen.pl line 15.
BEGIN failed--compilation aborted at xml/codegen.pl line 15.
make[2]: *** [library/CMakeFiles/generate_headers.dir/build.make:121: ../library/include/df/codegen.out.xml] Error 2
make[1]: *** [CMakeFiles/Makefile2:692: library/CMakeFiles/generate_headers.dir/all] Error 2

sloppy_joes commented on 2017-09-21 14:36

This package is partially broken for me. The function read_graphics:

def read_graphics():
"""Returns a list of tuples of (graphics dir, FONT, GRAPHICS_FONT)."""
packs = [os.path.basename(o) for o in
glob.glob(paths.get('graphics', '*')) if os.path.isdir(o)
and manifest.is_compatible('graphics', os.path.basename(o))]
result = []
for p in packs:
if not validate_pack(p):
continue
init_path = paths.get('graphics', p, 'data', 'init', 'init.txt')
#pylint: disable=unbalanced-tuple-unpacking
font, graphics = DFRaw(init_path).get_values('FONT', 'GRAPHICS_FONT')
result.append((p, font, graphics))
return tuple(sorted(result, cmp=helpers.sort_underscore_first))

Puts graphics packs into a tuple of tuples, but it tries to sort them using the function sort_underscore_first, which expects strings.
This then errors like this:

Traceback (most recent call last):
File "./PyLNP", line 11, in <module>
File "/home/sloppy_joes/.dwarffortress-lnp-git/python-lnp/core/lnp.py", line 119, in __init__
self.initialize_ui()
File "/home/sloppy_joes/.dwarffortress-lnp-git/python-lnp/core/lnp.py", line 212, in initialize_ui
self.ui = TkGui()
File "./tkgui/tkgui.py", line 182, in __init__
self.create_tab(GraphicsTab, 'Graphics')
File "./tkgui/tkgui.py", line 304, in create_tab
tab = class_(self.n, pad=(4, 2))
File "./tkgui/tab.py", line 30, in __init__
self.read_data()
File "./tkgui/graphics.py", line 36, in read_data
self.read_graphics()
File "./tkgui/graphics.py", line 200, in read_graphics
packs = self.packs = [p[0] for p in graphics.read_graphics()]
File "/home/sloppy_joes/.dwarffortress-lnp-git/python-lnp/core/graphics.py", line 79, in read_graphics
return tuple(sorted(result, cmp=helpers.sort_underscore_first))
File "/home/sloppy_joes/.dwarffortress-lnp-git/python-lnp/core/helpers.py", line 91, in sort_underscore_first
if a.startswith('_') == b.startswith('_'):
AttributeError: 'tuple' object has no attribute 'startswith'

But, if you add:

a = a[0]
b = b[0]

at the start of the sort_underscore_first function then it works for me.

carbolymer commented on 2017-09-21 04:57

Does not work. I think it needs python 2 instead of 3.

% lnp
LNP/utilities/dwarf_therapist/DwarfTherapist (No such file or directory)
WARNING: Can't load or change keybinds with missing baseline!
Traceback (most recent call last):
File "./PyLNP", line 11, in <module>
File "/home/mgalazyn/.dwarffortress-lnp-git/python-lnp/core/lnp.py", line 119, in __init__
self.initialize_ui()
File "/home/mgalazyn/.dwarffortress-lnp-git/python-lnp/core/lnp.py", line 212, in initialize_ui
self.ui = TkGui()
File "./tkgui/tkgui.py", line 182, in __init__
self.create_tab(GraphicsTab, 'Graphics')
File "./tkgui/tkgui.py", line 304, in create_tab
tab = class_(self.n, pad=(4, 2))
File "./tkgui/tab.py", line 30, in __init__
self.read_data()
File "./tkgui/graphics.py", line 36, in read_data
self.read_graphics()
File "./tkgui/graphics.py", line 200, in read_graphics
packs = self.packs = [p[0] for p in graphics.read_graphics()]
File "/home/mgalazyn/.dwarffortress-lnp-git/python-lnp/core/graphics.py", line 79, in read_graphics
return tuple(sorted(result, cmp=helpers.sort_underscore_first))
TypeError: 'cmp' is an invalid keyword argument for this function
[WARNING] startlnp: Failed to start PyLNP

eskimod commented on 2017-09-05 01:25

@metamer dfhack 0.43.05-r2 is out with numerous features and fixes. I was able to build it with your PKGBUILD however I had to disable the stonesense plugin which to my knowledge is not currently working for 43.05 anyway. See linked:
https://gist.github.com/anonymous/6dce60922389eb2dfc2fa4881cb825c3