Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Debian/Ubuntu packages for SFML  (Read 66906 times)

0 Members and 1 Guest are viewing this topic.

Sonkun

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #30 on: August 05, 2013, 07:43:12 pm »
Haha, thank you! :) (that's how I thank SFML for being what it is ;p). More seriously, packaging SFML came from a personal need so.. it's a pleasure for me to share this work. :)
Interested in using SFML with Python ? Try out its Python binding!

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #31 on: October 06, 2013, 02:42:03 pm »
Are there any updates on this? And has SFML 2.1 been merged into the stable repo?

Oldie

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #32 on: October 10, 2013, 12:09:50 am »
I second this. The official Debian packages are still SFML v1.6, even in Unstable. A growing library like SFML should be regularly updated to the latest version in the main Linux distributions.
Is there any plan to meet this demand? Is there anything we could help with?
Working on a Tic-tac-toe game

jcowgill

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #33 on: October 10, 2013, 09:38:12 pm »
This is what I thought as well, so I created a package based on 2.1 and submitted it to Debian. It's currently in the "NEW" queue, so eventually it should be accepted (it's taking some time though).
You can see the package status here: http://packages.qa.debian.org/libs/libsfml.html

Oldie

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #34 on: October 26, 2013, 01:16:20 am »
Thank you! :)
From your link, I can see that the package was accepted in Experimental on October 17. I can also see that migrating from Unstable to Testing is usually a matter of weeks at most, according to the history of SFML 1.x in Debian.
But would anyone know the average time for a package with low urgency (the current case) to migrate from Experimental to Unstable? Just wondering when we could expect SFML 2.1 in both Unstable and Testing...
Working on a Tic-tac-toe game

jcowgill

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #35 on: October 26, 2013, 06:29:19 pm »
Hi Oldie,
Packages don't migrate from experimental to unstable on their own - that migration is always done manually. The reason the package is still in experimental is that moving it to unstable would break the libcsfml and python-sfml packages that depend on it. I'm working on packaging those so (hopefully) they should all enter unstable within a few weeks. After that the migration from unstable to testing will be 10 days unless anyone files a serious bug.

Wabuo

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: Debian/Ubuntu packages for SFML
« Reply #36 on: October 31, 2013, 03:18:01 am »
Hey

First thank you for the work.

Pls update Ubuntu ppa to 2.1!

Let heat us this one, to be sure that they will update it in the official  packages.  ;D
https://bugs.launchpad.net/ubuntu/+source/libsfml/+bug/1222563/+affectsmetoo

sky

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: Debian/Ubuntu packages for SFML
« Reply #37 on: November 10, 2013, 11:37:05 pm »
Hey

First thank you for the work.

Pls update Ubuntu ppa to 2.1!

Let heat us this one, to be sure that they will update it in the official  packages.  ;D
https://bugs.launchpad.net/ubuntu/+source/libsfml/+bug/1222563/+affectsmetoo
I've recently updated a description to meet Ubuntu new package request guides.

PZ-01

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #38 on: November 22, 2013, 03:27:16 am »
Looks like it's taking a considerable amount of time for the guys to accept 2.1 into the repository. I have resorted to compiling SFML with the source code. To my surprise after 5 minutes I had working samples on my new Crunchbang machine so at least that's good news since I accidentally installed 1.6 with aptitude.

Oldie

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #39 on: November 22, 2013, 07:10:23 pm »
Looks like it's taking a considerable amount of time for the guys to accept 2.1 into the repository.

If you are talking about Debian, then from what I understand, SFML 2.1 depends on GLEW being updated to a newer version, currently GLEW 1.10. You can follow the updating of GLEW here: http://packages.qa.debian.org/g/glew.html.
Working on a Tic-tac-toe game

SeriousITGuy

  • Full Member
  • ***
  • Posts: 123
  • Still learning...
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #40 on: November 25, 2013, 03:47:14 pm »
Hello fellow developers here  ;)
I'm relatively new to developing on Linux and have troubles getting SFML to work.
I'm using Ubuntu 13.10, installed latest version of Code::Blocks via Software Center, downloaded SFML2.1 Linux Libs and installed them correctly, installed libgl libjpeg etc etc
But I cannot link any program because of the missing dependency libglew 1.5.
Installing it via apt-get install libglew-dev installs version 1.8 on my machine but code::blocks cannot link to it. Seems like libglew.so.1.5 is needed.

Can anyone tell me how to fix this problem? Very much appreciated  ;)

Cheers

bob

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #41 on: December 26, 2013, 09:17:14 pm »
I have the same problem here - glew is now 1.9 on Fedora 19/20 and 1.10 on rawhide. Also, when is 2.1 going to land to Fedora repository? Currently it is 2.0 even on rawhide.

Oldie

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #42 on: December 27, 2013, 12:19:30 am »
SFML 2.1 is now part of Debian Testing: http://packages.qa.debian.org/libs/libsfml/news/20131222T163915Z.html. The current status of the package can still be seen here: http://packages.qa.debian.org/libs/libsfml.html.
Of course Debian Stable will be updated to SFML 2.x only when the new version, Debian 8 aka Jessie, is released. This should happen around late 2014 or early 2015.
Working on a Tic-tac-toe game

SeriousITGuy

  • Full Member
  • ***
  • Posts: 123
  • Still learning...
    • View Profile
Re: Debian/Ubuntu packages for SFML
« Reply #43 on: January 17, 2014, 09:01:42 am »
Hey guys,

I've managed to get libGLEW to work in Code:Blocks on Ubuntu 13.10.
You need to download the source version 1.5.0 from the glew website and build it from scratch.
After that copy the headers to /usr/include and the libraries to /usr/lib (a sudo nautilus will help greatly ;) )
and set security correct (chmod 777 on all files) and create corresponding symlinks (if not present). Marking the lib as executable is also important.

After that you can set a linker option in your project properties to link against GLEW. After that all builds will succeed.

But now there arises another problem when running the executable
/home/xxx/projects/SFML_01_Intro/bin/Debug/SFML_01_Intro: error while loading shared libraries: libGLEW.so.1.5: wrong ELF class: ELFCLASS32
WTF is now happening? Can anyone help with this? (I'm still a developer noob on Linux ;) )

Cheers and regards in advance!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Debian/Ubuntu packages for SFML
« Reply #44 on: January 17, 2014, 09:22:58 am »
You need to download the source version 1.5.0 from the glew website and build it from scratch.
After that copy the headers to /usr/include and the libraries to /usr/lib (a sudo nautilus will help greatly ;) )
and set security correct (chmod 777 on all files) and create corresponding symlinks (if not present). Marking the lib as executable is also important.
So instead of simply building SFML from source on your system, which would then automatically use your current GLEW version, you built GLEW from source? ??? ;D

Just get SFML's source code, run cmake to configure things, sudo make install -j4, profit! :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything