On 2015/07/08 08:46 AM, Slávek Banko wrote:
> On Wednesday 08 of July 2015 00:10:54 Emanoil Kotsev wrote:
>> Hi,as the subject says I'm wondering where I can find the debian
>> directory for tdevelop and be able to build the package(s)? And a
>> second bonus questionI have ported kplayer to tde r14 but I don't
>> know how to upload the modified code. The instructions I received
>> are not clear to me. I also created a debian directory for this,
>> but not sure if it should be uploaded and how to proceed with it.
>> thanks in advance and regards
>
> Very short answer is: take a source code of module from git,
> include 'debian' folder from tde-packaging git repository, update
> version in 'changelog' and you can build :)
I missed the original email from Emanoil..... perhaps something with
the ML managing programs (time to time mails bounce back and I do not
get them).
E: This is also bouncing my mails from the yahoo account I use
In addition to Slavek's reply, here is a simple way to try:
1) download the package code that you want to build from the GIT main
repo and copy it somewhere (for example /home/<user>/tde_src/tdevelop)
E: This I did with
After this used cmake to build and it looks it is working fine, so I wanted to have deb packages in order to relpace the R14 jessie ones
2) download the package "packaging" code from the GIT packaging repo
and copy the "debian"folder for the correct distro into the forder you
used in point 1 (for example /home/<user>/tde_src/tdevelop/debian)
E: this is I did with
3) update change log
4) cd to the folder (cd /home/<user>/tde_src/tdevelop)
5) "debian/rules binary" should work out of the box and build all the
required .deb in the parent folder (for example /home/<user>/tde_src),
provided you have all required dependency packages installed.
E: At the moment I wait for downloading the tde-packaging part. I'll take my chance on it next
This is just for a temporary local build. If you want a clean build in
a separate chroot environment you should use pbuilder or debuild.
E: For now chroot is not in my scope.
>
> To maintain the nightly-builds and preliminary-stable-builds
> repositories of course we have scripts that automate the creation
> of source packages - especially for maintaining versioning of
> packages. Unfortunately, these scripts are not yet published.
> However, you can use the script create-tarball, which can serve as
> a basis to get 'orig.tar.xz'.
This is a long outstanding point, we promised several times that we
would publish the scripts after R14.0.0 was out but we haven't done it
yet.... I will sit down and address this point once I am done with bug
420 (hopefully :-) )
E: I might have raised a bug against tdevelop as recently it started crashing more often with assert on part && parent in fileview. I was able to recover by reimporting the project, but slowly my patience gets at the end.
E: I was thinking to build the package and test it as one mentioned going back for the kdevelop etc etc, instead of trying to debug that part of the code. But this is subject of another thread.
> For KPlayer please create a new bug report in Trinity Bugzilla and
> attach the patch to this bug report.
>
Please create a new bug and attach both the original code you started
from and the final version, so we can also see the changes that were
required.
E:This is much better than originally suggested to use git. I appreciate this as I was not able to follow up the instruction.
In fact the porting of the application was not that hard as to understand how to contribute it. I'll try to follow up on that.
PS: you are more than welcome to contribute to TDE development. Any
improvement we can make will benefit the whole community ;-)
E: I would love to, but time is very limited at the moment, so doing my best. I think it would be of advantage to get a brief process description of and experience with common tasks, like the ones discussed above. I have a lot of experience with debian and very good one with OOP in some languages, but I have just few hours a week left. I hope this will change sooner or later though.