By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2083

Summary: Packaging request for decgen (KDE3 window decoration generator)
Product: TDE Reporter: ktbz.aoneshot.eliddell
Component: non-core programsAssignee: Timothy Pearson <kb9vqf>
Status: PATCHAVAIL ---    
Severity: needs packaging CC: albator78, be4youcome, bugwatch, michele.calgaro
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: All   
OS: Linux   
URL: http://kde-look.org/content/show.php?content=28848
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2967    
Attachments: png2qrgb: fix FTBFS

Description ktbz.aoneshot.eliddell 2014-08-03 19:25:56 CDT
decgen is a program that auto-writes the necessary code boilerplate for KDE3 window decorations, enabling non-programmers to create them.  It may need more than the normal amount of massaging to work with Trinity (the output, as well as the program itself, will likely need some Q -> TQ naming conversions), but in the end I think it will be worth it.  This is a program that provides a level of customizability not otherwise available for Trinity.

decgen is downloadable from http://kde-look.org/content/show.php?content=28848

Secondary source for png2qrgb (on which it depends), since the link on kde-look is busted: http://slackware.org.uk/slacky/slackware-12.0/desktop/png2qrgb/0.3/src/
Comment 1 Michele Calgaro 2014-08-05 05:36:56 CDT
Looks interesting!
Comment 2 Francois Andriot 2014-08-07 00:34:13 CDT
It will probably need some work for R14.

I remember that I could rebuild existing window decoration themes from KDE 3.5.10 on 3.5.13.2, but not on R14 because there were modification in the tdelibs/tdebase source code.
Comment 3 Francois Andriot 2014-08-09 08:28:58 CDT
Created attachment 2116 [details]
png2qrgb: fix FTBFS

png2qrgb can be converted and built for R14 using attached patch.

Build instructions:
untar png2qrgb-0.3.tar.bz2

go to extracted directory and urun conversion script:
  cd png2qrgb-0.3
  rm -rf admin
  convert_existing_qt3_app_to_tqt3 
  convert_existing_kde3_app_to_tde

Copy "admin" folder from R14 GIT to current folder.

Apply patch:
  patch -p1 < png2qrgb-0.3-ftbfs.patch

Then build as usual with autotools ...
Comment 4 Francois Andriot 2014-08-09 09:05:27 CDT
OK I've managed to make this thing work on TDE R14.
The main concern is that it is not a "proper" utility that installs on the system, it's a set of shell script that are intended to run in the user home directory ... Proper packaging will be tricky !


Script to convert to R14:
Note: there is an archive (template-0.2.tar.bz2) inside the main archive, that need to be converted too.

###

tar xjf 28848-decgen-0.5.tar.bz2
cd decgen-0.5

tar xjf template-0.2.tar.bz2
rm -rf template-0.2/admin/

mv template-0.2/kwin/chunk-bottom template-0.2/kwin/chunk-bottom.cpp
convert_existing_qt3_app_to_tqt3 
convert_existing_kde3_app_to_tde
mv template-0.2/kwin/chunk-bottom.cpp template-0.2/kwin/chunk-bottom

pushd template-0.2
mv kwin twin
cp -rf ~/tde/tde_r14/main/common/admin/ .
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
make -f "admin/Makefile.common"
popd

tar cjf template-0.2.tar.bz2 template-0.2
rm -rf template-0.2

###

Then follow insctructions from the README file.