Bug 1828 - I request rpm package of sankore
Summary: I request rpm package of sankore
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: https://github.com/Sankore/Sankore-3.1
Whiteboard:
Keywords:
Depends on: 2263
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-16 20:26 CEST by Jean Christophe Monnard
Modified: 2011-11-27 20:06 CET (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
git in sankore tree (2.88 KB, application/octet-stream)
2011-07-22 15:22 CEST, jb butet
Details
git siff frome third party modules (1.03 KB, application/octet-stream)
2011-07-22 15:23 CEST, jb butet
Details

Description Jean Christophe Monnard 2011-06-16 20:26:32 CEST
It needs a rpm package of Sankore

It is a software to use a numeric board in the middle and high schools
Comment 1 Jean Christophe Monnard 2011-06-16 20:33:05 CEST
Sources with free code
https://redmine.ryxeo.com/projects/leterrier-sankore/repository
Angelo Naselli 2011-06-16 21:44:50 CEST

CC: (none) => anaselli

Comment 3 Angelo Naselli 2011-06-19 16:21:35 CEST
I tried building it and i found this issues:
- missed qtsingleapplication.h (it seems qt released that somewhere, but where 
  and how to get it? qt-addon?)
- missed qazip.h (i believe needs http://quazip.sourceforge.net/index.html)

I can't work on it at the moment if any other packages can...
Comment 4 jb butet 2011-07-22 15:22:47 CEST
Created attachment 667 [details]
git in sankore tree
Comment 5 jb butet 2011-07-22 15:23:26 CEST
Created attachment 668 [details]
git siff frome third party modules
Comment 6 jb butet 2011-07-22 15:27:14 CEST
with theses modificiation, sankore compiled under mageia.
developpement page
http://dev.open-sankore.org/xwiki/bin/view/Main/WebHome

Help in compiling : (little change to make... path to Qt for examples.)
http://serge.coude.net/code-source/compilations.php5


Packages requested for compilation : 
libt1lib-devel libxp-devel libpaper-devel phonon-devel libopenssl-devel x11-proto-devel libxpdf-devel libgomp-devel


tar generated : http://ashashiwa.free.fr/images_diverses/Sankore 3.1.tar.gz

md5sum : 7a0e157ce0040a2b8380e82aac408794  Sankore 3.1.tar.gz

CC: (none) => ashashiwa

Comment 8 Angelo Naselli 2011-07-22 15:45:47 CEST
Thanks, i will take a look asap.
One question though how did you build it in mageia without qazip? and more
explicitally since qazip require a zlib modification?
TIA,
  Angelo
Comment 9 jb butet 2011-07-22 15:55:24 CEST
may be git version has not this issue ?
NB : please don't try to DL my tar before... 5pm (3h pm UTC)  my upload rate is awful

NB : git clone git://github.com/Sankore/Sankore-3.1.git Sankore-3.1
git clone https://github.com/Sankore/Sankore-ThirdParty.git Sankore-ThirdParty
Comment 10 Angelo Naselli 2011-07-22 21:40:29 CEST
No i believe you built Sankore third party sw, in that you can find zlib and qazip :)
Comment 11 jb butet 2011-07-22 23:06:46 CEST
Yep I have build them
Angelo Naselli 2011-07-24 18:18:22 CEST

Depends on: (none) => 2263

Comment 12 Alexander Khryukin 2011-10-04 14:02:17 CEST
(In reply to comment #11)
> Yep I have build them

Have a spec?

CC: (none) => alexander

Comment 13 Angelo Naselli 2011-10-04 16:07:49 CEST
as far as I remember he had not.
I built all but i have to work on it a little bit more. I have some spare time 
problem at the moment. I do hope to work on it soon. Alexander tell me if you want to work on it please so that we can cooperate...
Comment 14 Alexander Khryukin 2011-10-04 16:12:06 CEST
Yeah.
I compiled it already.
And now will work at spec file.



P.S.

Which classboard you use?
Comment 15 Alexander Khryukin 2011-10-05 16:37:56 CEST
http://pastie.org/2644038

Simple spec.

But now i don't understand how pack files.

Sankore have non-standtart Makefile with and after make have
tons of shit
Comment 16 Alexander Khryukin 2011-10-10 15:05:18 CEST
Updated spec

http://pastie.org/2670792

Now it succesfully compiled and working on mandriva cooker.
Enjoy.
Comment 17 Angelo Naselli 2011-10-10 22:46:02 CEST
Alexander your spec is not enough, since you added some patches not included here.
I worked on a spec and removed third-party deps, why you left it instead?
Comment 18 Alexander Khryukin 2011-10-11 13:45:38 CEST
(In reply to comment #17)
> Alexander your spec is not enough, since you added some patches not included
> here.
> I worked on a spec and removed third-party deps, why you left it instead?



>I worked on a spec and removed third-party deps



Where patchset?

Two attaches that present upper in thread don't allow remove 3rd-party packages.

Share you spec and patches, please.

I can upload src.rpm with all needed stuff.
Comment 19 Angelo Naselli 2011-10-11 13:58:45 CEST
hmm didn't you receive my private mail?
i don't hide anything :p i released it in mageia svn[1] since this bug has been opened in mageia ;), without uploading though, because it's not finished yet (files are not installed as i wish %files is wrong).

Concerning your info, you shared only a spec file and not any patches, used in your spec:
Patch0:    sankore_build.patch
Patch1:    pro_patch_file.patch
Patch2:    3rd_party.patch
Moreover you focused your release for i586 arc: qmake -spec linux-g++
then (even if i don't understand what is installed since i can't see the patches)
you added 
%__install -d "%{buildroot}%{_datadir}/%{name}/languages/ru"
and other i18n?

Thanks for your help,
 Angelo

P.S. last night i updated last git source so it could happen it does not build all any more, i will work on it tonight.

[1] http://svnweb.mageia.org/packages/cauldron/sankore
Comment 20 Alexander Khryukin 2011-10-12 11:21:49 CEST
http://www.mediafire.com/?jk34t2zy5yyp77g

src.rpm
Comment 21 Angelo Naselli 2011-10-12 22:17:35 CEST
thanks Alexander,
I've tried to rebuild it but i didn't produced any rpm out :/

I worked a little but more to my spec file and now i have a package, sankore
starts and can be used for some functionalities, but i missed some icons (and maybe more), i can't see why at the moment. If i build it in the same way and
run it locally it works, but the same structure moved into the rpm fails...
Manuel Hiebel 2011-10-19 18:55:24 CEST

Version: Cauldron => 1

Comment 22 jb butet 2011-10-28 11:36:50 CEST
Angelo, thanks for your job.

When you achieve this package, do you think it will be possible to backport it ?

Sankore is a great soft for education.
Comment 23 Angelo Naselli 2011-10-31 14:10:05 CET
Alexander i've definitely built and installed your rpm, but i got the same problem seen in mine. I mean if i run sankore i can't see all the icon on the
desktop and that is wrong, while if i run it from BUILD directory i can see all.
What do i miss?
@jb butet comment #22, yes it's planned if it works of course :D
Comment 24 Alexander Khryukin 2011-10-31 14:37:06 CET
Package policy of sankore is very very strange.

Looks like it  wtritten for Windows platform that platform does not have
any  STANDARTS for headers file, binary files and other
and we have now mix from files with open-sankore.


For chief of edumandriva russia said me that i drew attention to the ardesia
it is same soft but with normal packaging.


>i can't see all the icon on the
>desktop and that is wrong

it seems that they are(icond) not installed to the /usr/share dir

Hmm try to build it and place resources to /usr/share by hands.
And try to test again
Comment 25 Angelo Naselli 2011-10-31 15:00:13 CET
Alexander, i moved my build dir to be sure not to find any file from building directory...
Thanks for your help
Comment 26 Angelo Naselli 2011-11-27 19:15:57 CET
Package has been submitted in cauldron now, let's wait for bs response, but i solved the resource issue.

Alexander i think you should remove -for mandriva- qt.conf file that points
to the wrong qt plugin location (look at my spec file), it's needed only if 
plugins are in a different path.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 27 Alexander Khryukin 2011-11-27 19:43:33 CET
Sankore was pushed up into bs last friday =)
Comment 28 Angelo Naselli 2011-11-27 20:06:45 CET
Alexander, that's why i'm suggesting to check the spec file :p

Note You need to log in before you can comment on or make changes to this bug.