You are not logged in.

#1 2011-09-06 01:32:57

MetaMan
Member
Registered: 2011-08-08
Posts: 43

[Fix Request] supertux-editor

I recently started playing SuperTux and found it quite fun. I was hoping I could get the level editor working. 'supertux-editor' is currently in AUR but will not build for me. Here is what happens:

==> supertux-editor dependencies:
 - supertux>=0.3.0 (already installed)
 - mesa (already installed)
 - mono>=1.1.13 (already installed)
 - gtk-sharp-2>=2.8 (already installed)
 - ftjam (already installed)


==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> Edit supertux-editor.install ? [Y/n] ("A" to abort)
==> ---------------------------------------------------
==> n

==> Continue building supertux-editor ? [Y/n]
==> -----------------------------------------
==> 
==> Building and installing package
==> Making package: supertux-editor 0.3.0-1 (Mon Sep  5 20:24:02 CDT 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading supertux-editor-0.3.0.tar.bz2...
--2011-09-05 20:24:02--  http://download.berlios.de/supertux/supertux-editor-0.3.0.tar.bz2
Resolving download.berlios.de... 195.37.77.141
Connecting to download.berlios.de|195.37.77.141|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://download2.berlios.de/supertux/supertux-editor-0.3.0.tar.bz2 [following]
--2011-09-05 20:24:11--  http://download2.berlios.de/supertux/supertux-editor-0.3.0.tar.bz2
Resolving download2.berlios.de... 195.37.77.143
Connecting to download2.berlios.de|195.37.77.143|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 233761 (228K) [application/x-download]
Saving to: `supertux-editor-0.3.0.tar.bz2.part'

100%[======================================>] 233,761     19.3K/s   in 34s     

2011-09-05 20:24:58 (6.77 KB/s) - `supertux-editor-0.3.0.tar.bz2.part' saved [233761/233761]

  -> Found supertux-editor.desktop
==> Validating source files with md5sums...
    supertux-editor-0.3.0.tar.bz2 ... Passed
    supertux-editor.desktop ... Passed
==> Extracting Sources...
  -> Extracting supertux-editor-0.3.0.tar.bz2 with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
==> Making all
...found 140 target(s)...
...updating 6 target(s)...
MonoCSharp gtkgl-sharp.dll 
MonoCSharp Lisp.dll 
MonoCSharp LispReader.dll 
MonoCSharp Resources.dll 
MonoCSharp libeditor.dll 
libeditor/Drawing/TextureManager.cs(32,66): warning CS0618: `Resources.ResourceManager.GetFileName(string)' is obsolete: `Do not use GetFileName: resource could be inside an archive file'
Compilation succeeded - 1 warning(s)
MonoCSharp supertux-editor.exe 
supertux-editor/PropertiesView.cs(34,18): warning CS0612: `Gtk.Tooltips' is obsolete
supertux-editor/PropertiesView.cs(63,32): warning CS0612: `Gtk.Tooltips' is obsolete
supertux-editor/Tileset.cs(179,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(181,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(183,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(185,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(187,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(189,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(191,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(193,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(195,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(198,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(200,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(202,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(204,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(206,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Tileset.cs(211,49): error CS0572: `Attribute': cannot reference a type through an expression; try `Tile.Attribute' instead
supertux-editor/Application.cs(513,24): warning CS0618: `Gtk.AboutDialog.Name' is obsolete: `Use ProgramName instead'
Compilation failed: 15 error(s), 3 warnings

    gmcs -debug -unsafe -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 -out:supertux-editor.exe -target:exe -r:Lisp.dll -r:Resources.dll -r:LispReader.dll -r:libeditor.dll -r:gtkgl-sharp.dll -resource:supertux-editor/resources/stock-tool-replace-24.png -resource:supertux-editor/resources/stock-eye-half-12.png -resource:supertux-editor/resources/stock-tool-fill-24.png -resource:supertux-editor/resources/stock-background-24.png -resource:supertux-editor/resources/stock-eye-12.png -resource:supertux-editor/resources/stock-tool-brush-24.png -resource:supertux-editor/resources/modifier-move.png -resource:supertux-editor/resources/stock-tool-tiles-24.png -resource:supertux-editor/resources/modifier-plus.png -resource:supertux-editor/resources/stock-tool-select-24.png -resource:supertux-editor/resources/stock-tool-objects-24.png -resource:supertux-editor/resources/editor.glade supertux-editor/IGameObject.cs supertux-editor/ObjectListWidget.cs supertux-editor/ICustomSettingsWidget.cs supertux-editor/LevelUtil.cs supertux-editor/ChooseSectorWidget.cs supertux-editor/Settings.cs supertux-editor/Tile.cs supertux-editor/AssemblyInfo.cs supertux-editor/PropertiesView.cs supertux-editor/GameObjectListWidget.cs supertux-editor/IEditorApplication.cs supertux-editor/ChooseColorWidget.cs supertux-editor/Selection.cs supertux-editor/Constants.cs supertux-editor/LayerListWidget.cs supertux-editor/Tilegroup.cs supertux-editor/Tileset.cs supertux-editor/ColorSerializer.cs supertux-editor/Application.cs supertux-editor/CustomSettingsWidget.cs supertux-editor/TileBlock.cs supertux-editor/TileListWidget.cs supertux-editor/ChooseResourceWidget.cs supertux-editor/EditorStock.cs supertux-editor/SectorRenderer.cs supertux-editor/CustomSettingsWidgetAttribute.cs supertux-editor/QACheck.cs supertux-editor/TilemapNode.cs supertux-editor/ResizeDialog.cs supertux-editor/Timer.cs supertux-editor/SettingsDialog.cs supertux-editor/EditScriptWidget.cs supertux-editor/SectorSwitchNotebook.cs supertux-editor/Util.cs supertux-editor/IObject.cs supertux-editor/ScriptEditor.cs supertux-editor/TileGroupSelector.cs supertux-editor/Sprites/Sprite.cs supertux-editor/Sprites/SpriteManager.cs supertux-editor/Sprites/SpriteData.cs supertux-editor/Editors/BrushEditor.cs supertux-editor/Editors/CameraDrag.cs supertux-editor/Editors/PathEditor.cs supertux-editor/Editors/Brush.cs supertux-editor/Editors/TilemapEditor.cs supertux-editor/Editors/ObjectCreationEditor.cs supertux-editor/Editors/ReplaceEditor.cs supertux-editor/Editors/EditorBase.cs supertux-editor/Editors/ObjectsEditor.cs supertux-editor/Editors/FillEditor.cs supertux-editor/LevelObjects/Objects.cs supertux-editor/LevelObjects/Camera.cs supertux-editor/LevelObjects/Level.cs supertux-editor/LevelObjects/WorldmapObjects.cs supertux-editor/LevelObjects/Sector.cs supertux-editor/LevelObjects/SimpleObject.cs supertux-editor/LevelObjects/Path.cs supertux-editor/LevelObjects/Tilemap.cs supertux-editor/LevelObjects/Background.cs

...failed MonoCSharp supertux-editor.exe ...
...failed updating 1 target(s)...
...updated 5 target(s)...
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build supertux-editor.

Does this happen to anyone else? And if so, could someone please fix it?

Thanks! big_smile


http://localhost/signature.txt
Error 403: Forbidden

Offline

#2 2011-09-12 13:52:50

Glorf
Member
Registered: 2011-09-11
Posts: 12

Re: [Fix Request] supertux-editor

I'll fix it soon

EDIT: done, check that it works.
Enjoy.
Glorf

Last edited by Glorf (2011-09-13 15:58:30)

Offline

#3 2011-09-14 00:09:10

MetaMan
Member
Registered: 2011-08-08
Posts: 43

Re: [Fix Request] supertux-editor

Works like a charm. big_smile Thanks!


http://localhost/signature.txt
Error 403: Forbidden

Offline

#4 2013-10-28 22:59:10

tatwi
Member
Registered: 2013-10-28
Posts: 1

Re: [Fix Request] supertux-editor

Glorf wrote:

I'll fix it soon

EDIT: done, check that it works.
Enjoy.
Glorf

Sorry for the necro, but what was the fix for this? I am working with this in Debian and encountering the same issue. Do you have a link to the fixed source code by chance?

Woohoo! I found it after all!

https://aur.archlinux.org/packages/su/s … tor.tar.gz

Ty muchly.

Last edited by tatwi (2013-10-28 23:05:47)

Offline

#5 2013-10-28 23:08:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Fix Request] supertux-editor

I think they're referring to the new PKGBUILD: https://aur.archlinux.org/packages/supertux-editor/
Glorf is the maintainer and he uploaded it on 2011-09-13, the date of the edit of his post.

Offline

Board footer

Powered by FluxBB