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

Author Topic: SFML 2.0 from apt-get  (Read 6769 times)

0 Members and 1 Guest are viewing this topic.

Qix

  • Full Member
  • ***
  • Posts: 139
  • I am Qix!
    • View Profile
    • Natoga Technologies
SFML 2.0 from apt-get
« on: October 17, 2012, 07:30:00 am »
Why isn't libsfml-dev 2.0 available from the debian repositories?

I have searched and can't really find a reason, though it's probably because it's still a RC.
~ Qix
Creator of Rippl Studio
Code: [Select]
<danharibo> iostream: I don't do enough drugs to think that's a good idea.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 from apt-get
« Reply #1 on: October 17, 2012, 07:36:34 am »
The reason is quite obvious: SFML 2.0 doesn't exist yet ;) and as far as I know there's no official package in the Debian repositories for beta/RC versions of a library.

You can only find such packages in the ArchLinux repositories (SFML-1.99-git).
Laurent Gomila - SFML developer

Qix

  • Full Member
  • ***
  • Posts: 139
  • I am Qix!
    • View Profile
    • Natoga Technologies
Re: SFML 2.0 from apt-get
« Reply #2 on: October 17, 2012, 07:38:50 am »
Figured as much.

Any projected release date? ;) You're getting pretty close.
~ Qix
Creator of Rippl Studio
Code: [Select]
<danharibo> iostream: I don't do enough drugs to think that's a good idea.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 from apt-get
« Reply #3 on: October 17, 2012, 07:48:28 am »
Quote
Any projected release date?
As soon as it's ready.
Laurent Gomila - SFML developer

Sonkun

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: SFML 2.0 from apt-get
« Reply #4 on: October 18, 2012, 01:53:04 pm »
I packaged the RC in a private repository. If you want, you can add it:

Quote
sudo add-apt-repository ppa:sonkun/sfml
sudo apt-get update
sudo apt-get install libsfml2-dev

It also provides examples via the package "sfml2-examples". Once the package installed, you can launch the examples via command lines:

Quote
sudo apt-get install sfml2-examples
sfml2-pong
sfml2-shaders

The shader example is useful to see whether SFML runs well or not on your OS :)

For more details: http://openhelbreath.net/python-sfml2/installation.html#ubuntu
Interested in using SFML with Python ? Try out its Python binding!

Sonkun

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: SFML 2.0 from apt-get
« Reply #5 on: October 18, 2012, 06:17:28 pm »
I just realized a new Ubuntu version is out thus if you're looking for packages for the latest version, mine may not work, (haven't tried yet) but if you're on 12.04l, that's okay.
Interested in using SFML with Python ? Try out its Python binding!

quarks

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: SFML 2.0 from apt-get
« Reply #6 on: October 18, 2012, 08:15:47 pm »
I packaged the RC in a private repository. If you want, you can add it:

If you want other people to find it easily, a forum post is probably not the best place.
I would suggest you to create a wiki web page.

I'll do the same for Mageia, but I need somewhere to upload the .rpm first.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10837
    • View Profile
    • development blog
    • Email
Re: SFML 2.0 from apt-get
« Reply #7 on: October 18, 2012, 11:06:51 pm »
If you want other people to find it easily, a forum post is probably not the best place.
I would suggest you to create a wiki web page.
A forum post isn't that bad but it should probably be one with a proper title, i.e. directly related to the topic at hand.
Many users don't look into the wiki or don't even know that there's a wiki... ;)

I'll do the same for Mageia, but I need somewhere to upload the .rpm first.
Maybe SFMLUploads.org? ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Qix

  • Full Member
  • ***
  • Posts: 139
  • I am Qix!
    • View Profile
    • Natoga Technologies
Re: SFML 2.0 from apt-get
« Reply #8 on: October 20, 2012, 03:33:46 am »
I packaged the RC in a private repository. If you want, you can add it:

Quote
sudo add-apt-repository ppa:sonkun/sfml
sudo apt-get update
sudo apt-get install libsfml2-dev

It also provides examples via the package "sfml2-examples". Once the package installed, you can launch the examples via command lines:

Quote
sudo apt-get install sfml2-examples
sfml2-pong
sfml2-shaders

The shader example is useful to see whether SFML runs well or not on your OS :)

For more details: http://openhelbreath.net/python-sfml2/installation.html#ubuntu

Oh sweet :D I will try this out next time I fire up my VM. I am on the latest so I will let you know if it works (it very well might).
~ Qix
Creator of Rippl Studio
Code: [Select]
<danharibo> iostream: I don't do enough drugs to think that's a good idea.

Sonkun

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: SFML 2.0 from apt-get
« Reply #9 on: October 23, 2012, 03:34:46 pm »
Voilà.

I upgraded the packages to Quantal and sent them to launchpad, they should be available as soon as launchpad build them. :)

(i386 already available, the amd64 one will be in 4 hours)
Interested in using SFML with Python ? Try out its Python binding!

Sonkun

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: SFML 2.0 from apt-get
« Reply #10 on: October 24, 2012, 09:07:53 pm »
I just packaged sfeMovie. :-)

libsfemovie
libsfemovie-dev

apt-get install libsfemovie libsfemovie-dev

I first packaged with the single example under the name sfemovie-example but it seems the example fails to compile. Here is the buildlog. I couldn't figure it out why so I removed it from the package, I'll add it later back later.

Interested in using SFML with Python ? Try out its Python binding!

wmbuRn

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • Email
Re: SFML 2.0 from apt-get
« Reply #11 on: July 08, 2013, 07:58:32 pm »
Can you upload other SFML libs ? like sfml-graphic 2.0 and others ?

my dpkg -l log

dpkg -l libsfml*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name              Version           Description
+++-=================-=================-==================================================
ii  libsfml           2.0.0-1ppa3~preci Simple and Fast Multimedia Library
un  libsfml-audio1.6  <none>            (no description available)
ii  libsfml-dbg       2.0.0-1ppa3~preci Simple and Fast Multimedia Library (debug package)
un  libsfml-dbg1.6    <none>            (no description available)
ii  libsfml-dev       2.0.0-1ppa3~preci Simple and Fast Multimedia Library (development he
un  libsfml-graphics1 <none>            (no description available)
in  libsfml-graphics2 <none>            (no description available)
un  libsfml-network1. <none>            (no description available)
un  libsfml-system1.6 <none>            (no description available)
un  libsfml-system2   <none>            (no description available)
un  libsfml-window1.6 <none>            (no description available)
un  libsfml-window2   <none>            (no description available)

althought i can compile sfml 2.0 code. :)

G.

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Re: SFML 2.0 from apt-get
« Reply #12 on: July 08, 2013, 09:45:00 pm »
Everything (graphics network etc.) is already in. ^^
Also, take a look at his more recent threads: http://en.sfml-dev.org/forums/index.php?topic=11338 http://en.sfml-dev.org/forums/index.php?topic=11853

wmbuRn

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • Email
Re: SFML 2.0 from apt-get
« Reply #13 on: July 08, 2013, 10:17:51 pm »
yup G. thats where i get sfml 2.0 but from stable repository. :)

 

anything