1. Download a tarball of the new release, or simply tar the git into a directory
2. Rename the tarball to "cde-desktop_2.3.0-1.orig.tar.gz" make sure this is an 
underscore, the packager needs this or it will fail.
3. Untar the tarball, rename the "cde" directory to "cde-desktop-2.3.0-1" (mind 
the dashes!)
4. run make World (make clean can't function without the xmakefile, which isn't 
generated unless make World is ran, we need to do this because the first 
command that debuild runs is make clean, or more precisely the overriden 
function make clean && make clean.doc)
5. run debuild -us -uc from the cde directory

its been a while since I built it, but this should work, let me know if it 
doesn't. If my packaging looks strange in any way as mentioned, feel free to 
ask me about it and propose a patch, those changes you mentioned can be patched 
in.


​Thank you for your time,

-Chase​

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On July 7, 2018 1:38 PM, Jon Trulson <j...@radscan.com> wrote:

> ​​
> 
> Applied to master, thanks!
> 
> We might want to make some changes - the src tarball is now just
> 
> "cde-<version>.tar.gz rather than cde-src-<version.tar.gz.
> 
> Also, the /var/dt and /etc/dt are created empty, so we could just do the
> 
> same in the postinstall script (debian/cde-desktop.postinst.debhelper ?).
> 
> One other thing I noticed, you call:
> 
> sudo ./admin/IntegTools/dbTools/installCDE -s . -destdir
> 
> ./debian/cde-desktop
> 
> That should probably be "-destDir" - it's case sensitive, and to avoid
> 
> the config* scripts from running, you might also want to add
> 
> "-DontRunScripts" option. Then, the post install scripts should do what
> 
> the normal config* scripts do for setup.
> 
> Also, how would I try this? I've not build a debian package before.
> 
> -jon
> 
> On 07/07/2018 11:37 AM, Chase via cdesktopenv-devel wrote:
> 
> > I used to develop these in my own repo, however many project simply
> > 
> > include the debian packaging files, so I am moving them to the main
> > 
> > repo. These will probably have to undergo major change when we switch to
> > 
> > autotools. The package doesn't work fully due to the postinstall files
> > 
> > not understanding the destdir attribute and failing to install /etc/dt
> > 
> > and /var/dt in destdir.
> > 
> > Thank you for your time,
> > 
> > -Chase
> > 
> > Check out the vibrant tech community on one of the world's most
> > 
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > 
> > cdesktopenv-devel mailing list
> > 
> > cdesktopenv-devel@lists.sourceforge.net
> > 
> > https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
> 
> --
> 
> Jon Trulson
> 
> "Fire all weapons and open a hailing frequency for my victory yodle."
> 
> - Zapp Brannigan
> 
> 
> --------------------------------------------------------------------------------------------------------
> 
> Check out the vibrant tech community on one of the world's most
> 
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> cdesktopenv-devel mailing list
> 
> cdesktopenv-devel@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to