Gallery needs Linux package maintainers

We need you! (Or maybe someone you know.) Gallery 3 is not available in many major Linux distributions via their package managers. We think it should be, but we don't have the time or know-how to make it happen. If you know a thing or two about Linux package management and have been itching to contribute to Gallery, now is your chance:

If there is a way that you are not able to get Gallery where you would like to, or if you can help out with any of the above, please let us know here or hop on the gallery-devl e-mail list and let's make it happen!

If you get it in Debian it will end up in Ubuntu.

Gentoo has an overlay with gallery 3 : http://gpo.zugaina.org/www-apps/gallery3/ChangeLog#ptabs

the version on it is gallery3 3.0.4 and the maintainer is Bernard Cafarelli <voyageur@gentoo.org>

reup

Skin's picture

Don't forget CentOS please ;-)

I've always used gallery3 on Slackware and although I've had a slackbuild for quite sometime now, I've only kept it to myself. Not anymore, I've just submitted a slackbuild to http://slackbuilds.org. Once approved by the admins, the slackbuild will be available for anyone using Slackware.

You can also get the slackbuild here:
http://mnspace.net/sbo/gallery3/

bharat's picture

Thanks @tuxrules! Are there any Debian folks out there who can pitch in?
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

Hey Bharat,

I did a few Debian packages myself and employs a Debian developper that might be able to sponsor the package back into Debian.

Reading through both issues raised by FTP masters :

  • the Copyright issue was resolved by schultmc already
  • the source of all swf needs to be included or put in a separate package in contrib

From the Gallery download there are only 5 swf files :

  • 3 from Flowplayer
  • 2 from uploadify

Flowplayer source are available on github : https://github.com/flowplayer/flash so this shouldn't be an issue. There is also a new HTML5 only version that could be used.

Uploadify seems a little bit more tricky. It is supposed to be released on the MIT license but I can't find any direct link on their website to the source. The situation seems a bit unclear : https://twitter.com/RonnieSan/status/259078118361407490
The SWFUpload code is available on google code : https://code.google.com/p/swfupload/source/browse/swfupload/trunk/core/Flash/SWFUpload.as but I see no trace of uploadify there. There is also some code here : https://github.com/plus2/jquery.uploadify-flex/blob/master/uploadify.as

On another note I have developed a plupload module that replaces uploadify and will upload a first version as soon as I resolved an issue with my Redmine instance.

Does anybody knows where we could get the Uploadify swf source code ? Once we get this resolved there shouldn't be any problem to get it back to unstable. Unfortunately it won't make it to wheezy due to the freeze so we should provide a backported version.

Let me know your thoughts.
LeTic

bharat's picture

Thanks @letic! We're actively looking to get off of uploadify - hopefully in the next big release. In the meantime, all 3rd party software that we include in Gallery3 is in the gallery3-vendor github repo. I believe that the source for uploadify can be found in upstream/jquery.uploadify.zip - does that help? I'm no Flash expert so I don't know if that's the right source or not. But I can keep digging if that's not it.

https://github.com/gallery/gallery3-vendor/tree/master/jquery.uploadify
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

Quote:
We're actively looking to get off of uploadify

I published my plupload module on github. Have a look at the discussion thread here : http://galleryproject.org/node/111078

Quote:
I'm no Flash expert so I don't know if that's the right source or not

Well me neither, from what I saw in the links above it seems that the source for the swf is a .as file (actionscript) which is not present in the galler3-vendor tree.

Quote:
But I can keep digging if that's not it.

If you have a direct link with the uploadify devs maybe they will point you to the right direction, but from the twitter post above they seems to only direct people to the SWFupload source.

I will continue searching as well.

Hey bharat,

Good news ! It seems uploadify has been uploaded to Debian so if the version is compatible with gallery3 we should be able to just add a dependency on this package.

We should probably cleanly package flowplayer as well.

I will see with my guy if he can sponsor the package back into Debian. I am looking into it now.

bharat's picture

Fantastic! Let me know what you need from us.
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

Hey bharat,

Bad news. Flowplayer requires several things to compile that will probably never be integrated in Debian, namely the flex SDK.

As you know you need to be able to build the SWF binaries from the Debian source package or it will be refused.

Packaging Gallery 3.1 with MediaElementJS and Pupload/Jquery File Upload in replacement will, in contrast, be very easy to do. If you still want to push Gallery 3.0.5/3.0.6 in Debian then we have 2 options :
- Remove Flowplayer from the package so the functionality will be truncated
- or backport the MediaElementJS commits to the 3.0.X branch.

What do you think ?
LeTic

bharat's picture

Hm. Is it possible to ship it without Flowplayer but with a shell script that lets the user download flowplayer and put it in the right place? I don't know the Debian rules...
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

bharat wrote:
Hm. Is it possible to ship it without Flowplayer but with a shell script that lets the user download flowplayer and put it in the right place? I don't know the Debian rules...

Yes we could download the flowplayer SWFs in the postinst script and that should be acceptable by Debian FTP masters. BUT we have to be able to handle if the download didn't work, or if the user install from an offline medium, this means having a graceful fallback if there are no flowplayer. As flowplayer is not shipped as a gallery3 module do you know if it's possible to easily disable it ?

Also it seems schultmc is active once more. While working on the package I saw that he did a new 3.0.5 upload on the 20th March. Currently it doesn't solve the flowplayer issue, it's just an upgrade to the newer version of gallery. I asked him on IRC if he was planning on doing it, so we stop duplicating our efforts.

LeTic

bharat's picture

Without flowplayer, basically you'll be able to upload movies, etc - but they just won't play correctly. You won't need to disable it. This is fine with me in the rare cases where it fails.

I would not count on schultmc to move this forward - he's been chronically short of time. Keep up the great work, LeTic!
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

Gentoo finally got up to date gallery in main tree - http://packages.gentoo.org/package/www-apps/gallery

Vojtech's picture