Author: ccheney Date: 2003-10-31 09:11:39 +0100 (Fri, 31 Oct 2003) New Revision: 38
Added: trunk/packages/kdevelop/ trunk/packages/kdevelop/debian/ trunk/packages/kdevelop/debian/README-automake1.5.Debian trunk/packages/kdevelop/debian/README-htdig.Debian trunk/packages/kdevelop/debian/changelog trunk/packages/kdevelop/debian/conffiles trunk/packages/kdevelop/debian/control trunk/packages/kdevelop/debian/copyright trunk/packages/kdevelop/debian/debianrules trunk/packages/kdevelop/debian/htdig.conf trunk/packages/kdevelop/debian/kdevelop-data.files trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.kdelibref trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.programming trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.tutorial trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.user trunk/packages/kdevelop/debian/kdevelop-doc.files trunk/packages/kdevelop/debian/kdevelop.files trunk/packages/kdevelop/debian/kdevelop.postinst trunk/packages/kdevelop/debian/mailcap trunk/packages/kdevelop/debian/menu trunk/packages/kdevelop/debian/postinst trunk/packages/kdevelop/debian/prerm trunk/packages/kdevelop/debian/rules Log: kdevelop (3:2.1-1) unstable; urgency=low * New upstream release * Updated the example htdig.conf to use the correct path to htdig's images -- Norman Jordan <[EMAIL PROTECTED]> Thu, 4 Apr 2002 12:46:16 -0800 Added: trunk/packages/kdevelop/debian/README-automake1.5.Debian =================================================================== --- trunk/packages/kdevelop/debian/README-automake1.5.Debian 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/README-automake1.5.Debian 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,22 @@ +If you have Automake 1.5 installed, then take note of the following. + +For Existing Projects +--------------------- +You will need to copy the following files into the admin directory of your project if you have one + +/usr/share/doc/kdevelop/updates/conf.change.pl.gz +/usr/share/doc/kdevelop/updates/config.pl.gz + +Make sure to uncompress the files after you have copied them. + +If you get errors when you run automake, then you will need to make sure that no variables are redefined in you Makefile.am files. +For example you may need to change the following line in the toplevel Makefile.am + +EXTRA_DIST = admin + +to + +EXTRA_DIST += admin + +In other places you may need to comment out one of the definitions. + Added: trunk/packages/kdevelop/debian/README-htdig.Debian =================================================================== --- trunk/packages/kdevelop/debian/README-htdig.Debian 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/README-htdig.Debian 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,20 @@ +The following steps describe howto get kdevelop to work with htdig. + +1. You will need a modified htdig. You can get Debian packages at +http://people.debian.org/~njordan/kdevelop/htdig/ + +2. Login as the user that will use KDevelop and do the following steps. + +3. Create the following directories if they don't already exist. +~/.kde/share/apps/kdevelop/tools +~/.kde/share/apps/kdevelop/htdig +~/.kde/share/apps/kdevelop/htdig/db + +4. Copy the file /usr/share/doc/kdevelop/examples/htdig.conf ~/.kde/share/apps/kdevelop/tools + +5. Edit the file ~/.kde/share/apps/kdevelop/tools/htdig.conf and change "HOMEDIR" to your home directory. + +6. Go through the KDevelop Setup again. It will take a while to index all of the documentation, so be patient. + +7. If you have problems, try editing the file ~/.kde/share/config/kdeveloprc and delete the line beginning with "doc_kde=" and then rerun the KDevelop Setup again. + Added: trunk/packages/kdevelop/debian/changelog =================================================================== --- trunk/packages/kdevelop/debian/changelog 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/changelog 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,427 @@ +kdevelop (3:2.1-1) unstable; urgency=low + + * New upstream release + * Updated the example htdig.conf to use the correct path to htdig's images + + -- Norman Jordan <[EMAIL PROTECTED]> Thu, 4 Apr 2002 12:46:16 -0800 + +kdevelop (3:2.1-0rc3-1) unstable; urgency=low + + * New upstream release + + -- Norman Jordan <[EMAIL PROTECTED]> Wed, 3 Apr 2002 04:37:32 -0800 + +kdevelop (3:2.0.2-5) unstable; urgency=low + + * Added linuxdoc-tools to the suggests field of kdevelop + * Added c-cpp-reference to the suggests field of kdevelop (Closes: #139394) + * Updated the files README-automake1.5.Debian and README-htdig.Debian + * Updated KDevelop setup, so that it will always find the KDE documentation + if you have kdelibs3-doc installed + + -- Norman Jordan <[EMAIL PROTECTED]> Mon, 25 Mar 2002 15:46:15 -0800 + +kdevelop (3:2.0.2-4) unstable; urgency=low + + * Recompiled with libpng2-dev (Closes: #128728, #127330) + * Added libpng2-dev to the build depends + * Can once again index the KDE documentation with htdig + * Updated the README-htdig.Debian file + + -- Norman Jordan <[EMAIL PROTECTED]> Tue, 8 Jan 2002 18:14:57 -0800 + +kdevelop (3:2.0.2-3) unstable; urgency=low + + * Now compiles with GCC 3 (Closes: #127865) + + -- Norman Jordan <[EMAIL PROTECTED]> Sun, 6 Jan 2002 04:51:52 -0800 + +kdevelop (3:2.0.2-2) unstable; urgency=low + + * Recompiled against new QT library (Closes: #127330) + + -- Norman Jordan <[EMAIL PROTECTED]> Tue, 1 Jan 2002 01:57:49 -0800 + +kdevelop (3:2.0.2-1) unstable; urgency=low + + * New upstream release + + -- Norman Jordan <[EMAIL PROTECTED]> Thu, 22 Nov 2001 13:23:36 -0800 + +kdevelop (3:2.0.1-7) unstable; urgency=low + + * Fixed some ASSERT statements in the source, where a string was passed + rather than a boolean value (Closes: #119320) + + -- Norman Jordan <[EMAIL PROTECTED]> Tue, 13 Nov 2001 21:37:29 -0800 + +kdevelop (3:2.0.1-6) unstable; urgency=low + + * Updated debian/rules to automatically delete the file debian/files + * Deleted the file debian/file (Closes: #118484) + * The package kdevelop-doc was moved to the doc section + + -- Norman Jordan <[EMAIL PROTECTED]> Wed, 7 Nov 2001 16:17:18 -0800 + +kdevelop (3:2.0.1-5) unstable; urgency=low + + * Fixed some Makefile.am's so that automake 1.5 will work on the source + * Updated the admin.tar.gz file to work with automake 1.5 + * The doc package now contains the files conf.change.pl and config.pl so + that users can manually update the admin directory of thier projects + * Added the file README-automake1.5.Debian to explain how get a project to + work with automake 1.5 + + -- Norman Jordan <[EMAIL PROTECTED]> Mon, 8 Oct 2001 17:27:45 -0700 + +kdevelop (3:2.0.1-4) unstable; urgency=low + + * Removed the build dependency on automake and autoconf (Closes: #114595) + + -- Norman Jordan <[EMAIL PROTECTED]> Sat, 6 Oct 2001 10:20:26 -0700 + +kdevelop (3:2.0.1-3) unstable; urgency=low + + * Made the sample htdig.conf and the README-htdig.Debian files a little + clearer + * Now on Alpha it will compile with the flags -O0 and -mieee + (Closes: #114393) + + -- Norman Jordan <[EMAIL PROTECTED]> Thu, 4 Oct 2001 11:58:13 -0700 + +kdevelop (3:2.0.1-2) unstable; urgency=low + + * The doc package now contains an example htdig.conf and the file + README-htdig.Debian that explains how to use htdig in KDevelop + * The menu item Help -> Search for Help on... will now find htsearch + if it is installed in /usr/lib/cgi-bin + * Changed the brief descriptions of the doc and data packages + * Fixed the setup wizard, it can now index the KDE Documentation if you + have kdelibs3-doc installed (Closes: #111837) + + -- Norman Jordan <[EMAIL PROTECTED]> Sat, 22 Sep 2001 23:34:11 -0700 + +kdevelop (3:2.0.1-1) unstable; urgency=low + + * New upstream release + * No longer suggests glimpse (Closes: #112468) + * Can now find htsearch in /usr/lib/cgi-bin + * Alpha no longer requires gcc-3.0 and g++-3.0 + + -- Norman Jordan <[EMAIL PROTECTED]> Tue, 18 Sep 2001 01:58:21 -0700 + +kdevelop (3:2.0-final-1.3) unstable; urgency=low + + * The kdevelop package now suggests sgmltools-lite, not sgmltools + (Closes: #109067) + * Removed suggests fields for both data and doc packages + * The doc package now recommends the kdevelop package + + -- Norman Jordan <[EMAIL PROTECTED]> Fri, 17 Aug 2001 21:47:43 -0700 + +kdevelop (3:2.0-final-1.2) unstable; urgency=low + + * Corrected debian/rules file to fix binary-arch target (Closes: #108912) + + -- Norman Jordan <[EMAIL PROTECTED]> Thu, 16 Aug 2001 11:09:52 -0700 + +kdevelop (3:2.0-final-1.1) unstable; urgency=low + + * kdevelop-doc package no longer depends on kdevelop + + -- Norman Jordan <[EMAIL PROTECTED]> Wed, 15 Aug 2001 06:51:58 -0700 + +kdevelop (3:2.0-final-1.0) unstable; urgency=low + + * New upstream version (2.0) + * Changed debian/prerm file so that install-docs -r is only run once + + -- Norman Jordan <[EMAIL PROTECTED]> Wed, 15 Aug 2001 05:38:30 -0700 + +kdevelop (2:2.0-0.1pre1-0.1.20010808) unstable; urgency=low + + * Updated CVS sources (2001-08-08) + * Changed upstream version to 2.0-0.1pre1 + * Added kderemove=y to menu file (Closes: #108012) + * Added a menu entry for KDevelop setup + + -- Norman Jordan <[EMAIL PROTECTED]> Sun, 8 Aug 2001 04:20:27 -0700 + +kdevelop (2:2.0-0.1.20010801) unstable; urgency=low + + * Updated CVS sources (2001-08-01) + * The data and doc packages now replace the 1.4 kdevelop package + (Closes: #107343) + + -- Norman Jordan <[EMAIL PROTECTED]> Wed, 1 Aug 2001 04:14:15 -0700 + +kdevelop (2:2.0-0.1.20010731.1) unstable; urgency=low + + * Updated CVS sources (still 2001-07-31) + * Updated debian/control and debian/rules to force the use of gcc-3/g++-3 + on Alpha (Christopher C. Chimelis) + + -- Norman Jordan <[EMAIL PROTECTED]> Tue, 31 Jul 2001 21:26:09 -0700 + +kdevelop (2:2.0-0.1.20010731) unstable; urgency=low + + * Updated CVS sources (2001-07-31) + * Added new targets to debian/rules file, to allow building only binary-indep + or binary-arch + * Corrected dependencies of kdevelop-data + + -- Norman Jordan <[EMAIL PROTECTED]> Tue, 31 Jul 2001 02:59:52 -0700 + +kdevelop (2:2.0-0.1.20010730) unstable; urgency=low + + * Updated CVS sources (2001-07-30) + + -- Norman Jordan <[EMAIL PROTECTED]> Mon, 30 Jul 2001 08:44:50 -0700 + +kdevelop (2:2.0-0.1.20010729.1) unstable; urgency=low + + * Updated CVS sources, still (2001-7-29) + * Made scripts in usr/share/apps/kdevelop/tools executable + + -- Norman Jordan <[EMAIL PROTECTED]> Sun, 29 Jul 2001 16:32:46 -0700 + +kdevelop (2:2.0-0.1.20010729) unstable; urgency=low + + * Changed the version of the package + * Updated CVS sources (2001-07-29) + * Cleaned up debian/rules file + + -- Norman Jordan <[EMAIL PROTECTED]> Sun, 29 Jul 2001 02:36:34 -0700 + +kdevelop (1:1.9.20010727-1) unstable; urgency=low + + * Updated CVS sources + * Removed the file /usr/bin/extractrc + + -- Norman Jordan <[EMAIL PROTECTED]> Fri, 27 Jul 2001 15:22:42 -0700 + +kdevelop (1:1.9.20010726-3) unstable; urgency=low + + * No longer using debian/postinst as debian/kdevelop-doc.postinst + * No longer using debian/prerm as debian/kdevelop-doc.prerm + + -- Norman Jordan <[EMAIL PROTECTED]> Fri, 27 Jul 2001 01:43:30 -0700 + +kdevelop (1:1.9.20010726-2) unstable; urgency=low + + * Removed dh_shlibdeps and dh_builddeb from binary-arch target of + debian/rules + + -- Norman Jordan <[EMAIL PROTECTED]> Thu, 26 Jul 2001 19:36:58 -0700 + +kdevelop (1:1.9.20010726-1) unstable; urgency=low + + * Packaging the 20010726 CVS archive + + -- Norman Jordan <[EMAIL PROTECTED]> Thu, 26 Jul 2001 16:44:44 -0700 + +kdevelop (1:2.0beta1-2) unstable; urgency=low + + * Added dh_makeshlibs to debian/rules file + + -- Norman Jordan <[EMAIL PROTECTED]> Thu, 26 Jul 2001 04:06:48 -0700 + +kdevelop (1:2.0beta1-1) unstable; urgency=low + + * New upstream release + * Split architecture indep. files into kdevelop-data (Eray Ozkural) + * Split documentation into kdevelop-doc (Eray Ozkural) + + -- Norman Jordan <[EMAIL PROTECTED]> Tue, 24 Jul 2001 00:35:16 -0700 + +kdevelop (1:1.4.0-3.7) unstable; urgency=low + + * Put the file README.htdig into /usr/share/doc/kdevelop + * Cleaned up the debian/debianrules file + * No longer deletes the menu file after building + + -- Norman Jordan <[EMAIL PROTECTED]> Wed, 18 Jul 2001 12:20:52 -0700 + +kdevelop (1:1.4.0-3.6) unstable; urgency=low + + * Built against KDE 2.2.0-beta1 (Closes: #105321) + * Changed use of cp command in debian/debianrules to no longer use -P + * Moved the file in /usr/share/doc/docbase to /usr/share/doc/kdevelop + * Changed build-depends, removed kdelibs-doc and qt2.2-doc + + -- Norman Jordan <[EMAIL PROTECTED]> Mon, 16 Jul 2001 03:56:02 -0700 + +kdevelop (1:1.4.0-3.5) unstable; urgency=low + + * Removed the x-designer.desktop file (Closes: #103296) + * Statically linked libfl.a in with kdevelop (Closes: #103226) + * Removed the x-linguist.desktop file, conflicted with kdelibs3 + + -- Norman Jordan <[EMAIL PROTECTED]> Tue, 3 Jul 2001 13:49:18 -0700 + +kdevelop (1:1.4.0-3.4) unstable; urgency=low + + * Updated the build-depends field + + -- Norman Jordan <[EMAIL PROTECTED]> Sun, 13 May 2001 22:17:08 -0700 + +kdevelop (1:1.4.0-3.3) unstable; urgency=low + + * Suggests sgmltools-lite instead of sgmltools (Closes: #96274) + + -- Norman Jordan <[EMAIL PROTECTED]> Sun, 13 May 2001 13:09:12 -0700 + +kdevelop (1:1.4.0-3.2) unstable; urgency=low + + * Change Maintainer (Closes: #90814) + * No longer installs extractrc (Closes: #93012) + * Suggests kdesdk-scripts + + -- Norman Jordan <[EMAIL PROTECTED]> Thu, 5 Apr 2001 11:03:57 -0700 + +kdevelop (1:1.4.0-3.1) unstable; urgency=low + + * NMU + * Fixing build-depends (Closes: #92190) + + -- Ivan E. Moore II <[EMAIL PROTECTED]> Fri, 30 Mar 2001 21:22:00 -0700 + +kdevelop (1:1.4.0-3) unstable; urgency=low + + * Change Maintainer + * More upstream fixes while I'm at it + + -- Ivan E. Moore II <[EMAIL PROTECTED]> Fri, 23 Mar 2001 03:00:00 -0700 + +kdevelop (1:1.4.0-2) unstable; urgency=low + + * Removed non en docs as they are provided in kde-i18n now + + -- Ivan E. Moore II <[EMAIL PROTECTED]> Sun, 04 Mar 2001 20:00:00 -0700 + +kdevelop (1:1.4.0-1) unstable; urgency=low + + * Cleaned up source based off of current CVS branch + * Fix desktop file (Closes: #87802) + * Update Build-Depends + * If you install qt-doc and not qt2.2-doc this works (Closes: #88185) + + -- Ivan E. Moore II <[EMAIL PROTECTED]> Fri, 02 Mar 2001 07:00:00 -0700 + +kdevelop (1:1.4-final-1) unstable; urgency=low + + * New upstream release + * Fix kde-i18n conflicts (Closes: #87381) + + -- Ivan E. Moore II <[EMAIL PROTECTED]> Mon, 19 Feb 2001 02:06:00 -0700 + +kdevelop (1:1.4-20010218-1) unstable; urgency=low + + * New upstream cvs pull + * New upload to Debian with permission of Raphael Bossek who did the ITP + * Updating for potato/woody/sid + + -- Ivan E. Moore II <[EMAIL PROTECTED]> Sun, 18 Feb 2001 02:06:00 -0700 + +kdevelop (1:1.4-20010127-1) unstable; urgency=low + + * New upstream release + * Updating for potato/woody/sid + + -- Ivan E. Moore II <[EMAIL PROTECTED]> Sat, 27 Jan 2001 05:06:00 -0700 + +kdevelop (1:1.1final-20000228-1) stable; urgency=low + + * New upstream release + * Recommend kdelibs-doc + * Don't include Makefiles + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Sun, 27 Feb 2000 12:00:00 +0100 + +kdevelop (1:1.1beta2-20000206-1) stable; urgency=low + + * Back to old configure arguments + * Mentioned debugger in control file, + made kdebase a dependency + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Mon, 7 Feb 2000 00:10:59 +0100 + +kdevelop (1:1.1beta2-20000131-1) stable; urgency=low + + * New upstream version: 1.1beta2 + * Use --prefix in configure, set kde_confdir, kde_htmldir explicitly + because of new autoconf framework + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Mon, 31 Jan 2000 21:15:04 +0100 + +kdevelop (1:1.0-19991206-1) stable; urgency=low + + * New upstream version: 1.0 + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Mon, 6 Dec 1999 20:21:54 +0100 + +kdevelop (1:1.0beta4.1-19991030-1) unstable; urgency=low + + * New upstream changes + * Disabled debug - is stripped anyway + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Sat, 30 Oct 1999 09:02:41 +0200 + +kdevelop (1:0.4-19990728-1) unstable; urgency=low + + * Added further manuals to doc-base + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Wed, 28 Jul 1999 23:29:03 +0200 + +kdevelop (1:0.4-19990716-1) unstable; urgency=low + + * Call ldconfig in postinst + * configure with flag --enable-kdoc2 + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Fri, 16 Jul 1999 20:47:55 +0200 + +kdevelop (1:0.4-19990705-1) unstable; urgency=low + + * configure with flag --enable-docbase + * install kdlgloader into the correct directories + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Mon, 5 Jul 1999 12:21:59 +0200 + +kdevelop (1:0.4-19990619-1) unstable; urgency=low + + * Fixed a competing problem between kderules and dh_installdocs + * New upstream changes + + -- Ivan E. Moore II <[EMAIL PROTECTED]> Sat, 19 Jun 1999 02:03:38 -0400 + +kdevelop (1:0.4-19990614-1) unstable; urgency=low + + * Aiiiiiiiiiie!! Fixed the broken kderules file + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Mon, 14 Jun 1999 20:45:38 +0200 + +kdevelop (1:0.4-19990613-1) unstable; urgency=low + + * New upstream CVS version + * New kderules script + * Migrated from man-pages format to undocumented format + * Changed changelog versioning to fit the rest of the KDE package versioning + + -- Ivan E. Moore II <[EMAIL PROTECTED]> Sun, 13 Jun 1999 09:49:48 -0400 + +kdevelop (990531-1) experimental; urgency=low + + * Use DESTDIR mechanism instead of --with-install-root + * Do not install subdirectories of doc-base + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Mon, 31 May 1999 21:49:48 +0200 + +kdevelop (990422-1) experimental; urgency=low + + * Initial Release + + -- Bernd Gehrmann <[EMAIL PROTECTED]> Thu, 22 Apr 1999 20:33:18 +0200 + +Local variables: +mode: debian-changelog +End: Added: trunk/packages/kdevelop/debian/conffiles =================================================================== --- trunk/packages/kdevelop/debian/conffiles 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/conffiles 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1 @@ +/etc/kde2/kdeveloprc Added: trunk/packages/kdevelop/debian/control =================================================================== --- trunk/packages/kdevelop/debian/control 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/control 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,52 @@ +Source: kdevelop +Section: devel +Priority: optional +Maintainer: Norman Jordan <[EMAIL PROTECTED]> +Build-Depends: debhelper (>> 3.0.0), kdelibs-dev (>= 4:2.1.0-0), gettext, libtool, kdoc, kdelibs3-doc, qt-doc, flex, libpng2-dev +Standards-Version: 3.5.2 + +Package: kdevelop +Architecture: any +Depends: ${shlibs:Depends}, autoconf, automake, kdebase-libs, kdevelop-data +Recommends: make, kdevelop-doc +Suggests: libqt-dev, qt-doc, kdbg, kdelibs-dev, kdebase, kdelibs3-doc, htdig, sgmltools-lite, linuxdoc-tools, gettext, a2ps, enscript, gv, qt-designer | kde-designer, ark, kpaint, kbabel, kiconedit, gdb, kdesdk-scripts, graphviz, c-cpp-reference +Description: An IDE for Unix/X11 + KDevelop is an easy to use Integrated Development Environment + for developing C/C++ applications under X11. It features + project management, an advanced editor, a class browser + and an integrated debugger. + . + The application wizard can generate fully functional projects + for terminal programs and GUI programs using Qt, KDE or GNOME. + +Package: kdevelop-doc +Architecture: all +Section: doc +Depends: +Replaces: kdevelop (<< 2:2.0-0) +Recommends: kdevelop (>> 3:2.0-final-0) +Description: Documentation for the kdevelop package + KDevelop is an easy to use Integrated Development Environment + for developing C/C++ applications under X11. It features + project management, an advanced editor, a class browser + and an integrated debugger. + . + The application wizard can generate fully functional projects + for terminal programs and GUI programs using Qt, KDE or GNOME. + . + This package contains documentation for KDevelop. + +Package: kdevelop-data +Architecture: all +Depends: kdevelop (= ${Source-Version}), ${perl:Depends} +Replaces: kdevelop (<< 2:2.0-0) +Description: Platform independent data files for the kdevelop package + KDevelop is an easy to use Integrated Development Environment + for developing C/C++ applications under X11. It features + project management, an advanced editor, a class browser + and an integrated debugger. + . + The application wizard can generate fully functional projects + for terminal programs and GUI programs using Qt, KDE or GNOME. + . + This package contains arch independent data for KDevelop. Added: trunk/packages/kdevelop/debian/copyright =================================================================== --- trunk/packages/kdevelop/debian/copyright 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/copyright 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,8 @@ +This package was debianized by Bernd Gehrmann <[EMAIL PROTECTED]> +Package configuration is based on those for the KDE packages. + +Copyright: + +KDevelop is released under the terms of the GNU GPL. + +See /usr/share/common-licenses/GPL for the full license. Added: trunk/packages/kdevelop/debian/debianrules =================================================================== --- trunk/packages/kdevelop/debian/debianrules 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/debianrules 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,316 @@ +#!/usr/bin/perl -w + +use Shell qw(mv cp mkdir rm) ; +use File::Find; +use Cwd; + +$origPwd = `pwd`; +chomp $origPwd; + + +if (@ARGV && $ARGV[0] eq 'update') { + @packages = `ls -1d debian/*/DEBIAN`; + foreach $dir (@packages) { + chomp $dir; + next if (! -d $dir); + foreach $file (qw{postinst postrm preinst prerm}) { + next if (! -f "$dir/$file"); + $found = 0; + open(IN, "$dir/$file"); + open(OUT, ">/tmp/kde.dpkg"); + while (<IN>) { + if (/^#KDEHELPER#/) { + $found = 1; + if (-d $dir . "/../usr/lib/mime/packages") { + if ($file eq 'postinst') { + print OUT "# added by kderules\n"; + print OUT 'case "$1" in' . "\n"; + print OUT " configure)\n"; + print OUT " if [ -x /usr/sbin/update-mime ]; then\n"; + print OUT " update-mime\n"; + print OUT " fi\n"; + print OUT " ;;\n"; + print OUT "esac\n"; + } elsif ($file eq 'postrm') { + print OUT "# added by kderules\n"; + print OUT 'case "$1" in' . "\n"; + print OUT " remove|purge)\n"; + print OUT " if [ -x /usr/sbin/update-mime ]; then\n"; + print OUT " update-mime\n"; + print OUT " fi\n"; + print OUT " ;;\n"; + print OUT "esac\n"; + } + } + + next; + } + print OUT $_ . "\n"; + } + + close IN; + close OUT; + + if ($found == 0) { + rm("/tmp/kde.dpkg"); + } else { + mv("/tmp/kde.dpkg", "$dir/$file"); + chown("root.root","dir/$file"); + chmod(0755,"$dir/$file"); + } + } + } + exit; +} + +if (@ARGV && $ARGV[0] eq 'cleanup') { + +if (-d "debian/tmp/usr/share/config") { + if (! -d "debian/tmp/$kde_confdir") { + system("mv debian/tmp/usr/share/config debian/tmp/$kde_confdir"); + } +} +system("rm -f `find debian/ -name \".anchors\"`"); +system("chmod 755 debian/*preinst debian/*postinst"); + +exit; +} + +if (@ARGV && $ARGV[0] eq 'kdevelop_postinst') { +open FILE, ">debian/kdevelop.postinst"; +print FILE "#!/bin/sh\n\nset -e\n\nldconfig\n\n#DEBHELPER#"; +close FILE; + +exit; +} + +$QTDIR="/usr/share/qt"; +$kde_prefix="/usr"; +$kde_htmldir="$kde_prefix/share/doc/kde/HTML"; +$kde_icondir="$kde_prefix/share/icons"; +$kde_sounddir="$kde_prefix/share/sounds"; +$kde_datadir="$kde_prefix/share/apps"; +$kde_locale="$kde_prefix/share/locale"; +$kde_confdir="/etc/kde2"; +$kde_cgidir="$kde_prefix/lib/cgi-bin"; +$kde_appsdir="$kde_prefix/share/applnk"; +$kde_mimedir="$kde_prefix/share/mimelnk"; +$kde_wallpaperdir="$kde_prefix/share/wallpapers"; +$kde_bindir="$kde_prefix/bin"; +$kde_servicesdir="$kde_prefix/share/services"; +$kde_servicetypesdir="$kde_prefix/share/servicetypes"; +$kde_includedir="$kde_prefix/include/kde"; +$kde_libdir="$kde_prefix/lib"; +$mandir="$kde_prefix/share/man"; +$infodir="$kde_prefix/share/info"; +$IDL="$kde_bindir/cuteidl"; +$DCOPIDL="$kde_bindir/dcopidl"; +$DCOPIDL2CPP="$kde_bindir/dcopidl2cpp"; +$KDB2HTML="$kde_bindir/kdb2html"; +$MCOPIDL="$kde_bindir/mcopidl"; +$ARTSCCONFIG="$kde_bindir/artsc-config"; + +if (@ARGV && $ARGV[0] eq 'echodirs') { + print STDOUT "export kde_htmldir=$kde_htmldir\n"; + print STDOUT "export kde_appsdir=$kde_appsdir\n"; + print STDOUT "export kde_icondir=$kde_icondir\n"; + print STDOUT "export kde_sounddir=$kde_sounddir\n"; + print STDOUT "export kde_datadir=$kde_datadir\n"; + print STDOUT "export kde_cgidir=$kde_cgidir\n"; + print STDOUT "export kde_locale=$kde_locale\n"; + print STDOUT "export kde_confdir=$kde_confdir\n"; + print STDOUT "export kde_mimedir=$kde_mimedir\n"; + print STDOUT "export kde_wallpaperdir=$kde_wallpaperdir\n"; + print STDOUT "export kde_bindir=$kde_bindir\n"; + print STDOUT "export kde_servicesdir=$kde_servicesdir\n"; + print STDOUT "export kde_servicetypesdir=$kde_servicetypesdir\n"; + print STDOUT "export kde_includedir=$kde_includedir\n"; + print STDOUT "export kde_libdir=$kde_libdir\n"; + print STDOUT "export mandir=$mandir\n"; + print STDOUT "export infodir=$infodir\n"; + print STDOUT "export QTDIR=$QTDIR\n"; + print STDOUT "export kde_prefix=$kde_prefix\n"; + print STDOUT "export INSTALL_DATA=install -p -c -m 644\n"; + print STDOUT "export IDL=$IDL\n"; + print STDOUT "export DCOPIDL=$DCOPIDL\n"; + print STDOUT "export DCOPIDL2CPP=$DCOPIDL2CPP\n"; + print STDOUT "export KDB2HTML=$KDB2HTML\n"; + print STDOUT "export MCOPIDL=$MCOPIDL\n"; + print STDOUT "export ARTSCCONFIG=$ARTSCCONFIG\n"; + print STDOUT "configkde=--disable-debug --disable-rpath --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n"; + print STDOUT "configkdevelop=--disable-debug --enable-docbase --enable-kdoc2 --disable-rpath --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --with-kdelibsdoc-dir=/usr/share/doc/kdelibs3-doc/html\n"; + exit +} + +open(CHANGELOG,"debian/changelog") or die "can't read debian/changelog : $!\n"; +$_ = <CHANGELOG>; +close(CHANGELOG); +/^(.*) \((.*)\) /; +$package = $1; + +# Find documentation and install it +sub docwanted { + local $dir = $File::Find::dir; + $dir =~ s/^$origPwd//; + if ($dir =~ /debian/) { return 0 ; } + if ($dir =~ /build/) { return 0 ; } + if ( ( /debian/ ) or ( /^INSTALL$/ ) or ( /^LICENSE$/ ) + or ( /^ARTISTIC$/ ) or ( /^COPYING$/ ) ) { return 0 ; } + if ( (! /CVS/ ) + and ( /^[A-Z]*$/ or /^README$/ or /^ChangeLog$/ or /lsm$/ or /SWALLOW/ + or /^TODO$/ or /^kdedoc$/ or /Header/ or /Documentation/ or + /Tutorial/ or /README\.htdig/ ) ) + { + if ($dir) { + $_ = "$dir/$_"; + $_ =~ s/^\///; + } + push @docs, "$_" ; + } +} + +$pwd = './'; + +find(\&docwanted, $pwd); +if ($pwd =~ ?^(.*/)build_([^/]*)$?) { + $pwd = $1 . $2; + if (-d $pwd) { + find(\&docwanted, $pwd); + } +} + +if (! -d "debian/tmp/usr/share/doc/$package") { + mkdir("-p", "debian/tmp/usr/share/doc/$package") ; +} + +if (@docs) { + chdir($origPwd); + cp( "-a", @docs, "debian/tmp/usr/share/doc/$package") ; + if (-f "debian/tmp/usr/share/doc/$package/ChangeLog") { + mv("debian/tmp/usr/share/doc/$package/ChangeLog", + "debian/tmp/usr/share/doc/$package/changelog"); + } + if (-f "debian/tmp/usr/share/doc/$package/CHANGES") { + mv("debian/tmp/usr/share/doc/$package/CHANGES", + "debian/tmp/usr/share/doc/$package/changelog"); + } +} + +if (@ARGV && $ARGV[0] eq 'docbase') { +# Create doc-base file + +if (-d "debian/doc-base") { + if (! -d "debian/tmp/usr/share/doc-base") { + mkdir("-p", "debian/tmp/usr/share/doc-base"); + } + while (<debian/doc-base/*>) { + cp( "-a", $_, "debian/tmp/usr/share/doc-base") + unless (-d $_); + } +# cp( "-a", <debian/doc-base/*>, "debian/tmp/usr/share/doc-base") ; +} + +} + +# Create debian/menu files + +sub findkdelnk { + /\.desktop$/ && push @lnkfiles, "$File::Find::dir/$_" ; +} + +if (-d "debian/tmp/$kde_appsdir") { + find(\&findkdelnk,"debian/tmp/$kde_appsdir"); +} + +open MIME, ">debian/mailcap" or die "can't open debian/mailcap : $!\n"; + +foreach $file (@lnkfiles) { + open KDELNK, $file; + undef %kdelnk; + while (<KDELNK>) { + /^#/ && next ; + /^\[KDE Desktop Entry\]/ && next ; + /^\s*$/ && next ; + chop ; + ($what,$value) = split /=/ ; + $kdelnk{ucfirst lc $what}=$value; + } + close KDELNK; + if (defined $kdelnk{"Type"}) { + if ($kdelnk{"Type"} ne "Application" ) { + print STDERR "Type is not Application : $file !\n" ; + next ; + } + } else { + print STDERR "has no Type= defaults to Application : $file !\n" ; + } + if (! defined $kdelnk{"Exec"}) { + print STDERR "has no Exec= : $file !\n" ; + next ; + } + + if (defined $kdelnk{"Mimetype"} && ! $kdelnk{"Mimetype"} eq '') { + + $execline = $kdelnk{"Exec"}; + $execline =~ s/%f/%s/; + $execline =~ s/%c/$kdelnk{"Name"}/; + $execline =~ s/%i//; + $execline =~ s/%m//; + $execline =~ s/%u/%s/; + $mimeline = $kdelnk{"Mimetype"}; + @mimetypes = split(';', $mimeline); + foreach $mimetype (@mimetypes) { + print MIME "$mimetype; $execline;" . 'test=test "$DISPLAY" != ""; priority=7' . "\n"; + } + + } + + $icon=""; + if (not defined $kdelnk{"Name"}) { + print STDERR "No Name : $package $kdelnk\n"; + next ; + } + if (defined $kdelnk{"Icon"}) { + $icon=$kdelnk{"Icon"} ; + if (! -f "debian/tmp/$kde_icondir/mini/$package.png" ) { + $icon=""; + } else { + $icon="/$kde_icondir/mini/$package.png"; + } + } + ($kdelnk=$file) =~ s/^.*tmp// ; +} + +if ((! -e "debian/menu") || (-z "debian/menu")) { + open MENU, ">debian/menu" or die "can't open debian/menu : $!\n"; + print MENU "?package($package):\\\n" ; + print MENU " needs=x11\\\n" ; + print MENU " section=Apps/Programming\\\n" ; + print MENU " hints=\"KDE\"\\\n" ; + print MENU " title=\"KDevelop\"\\\n" ; + print MENU " command=kdevelop" ; + if (-f $icon ) { + print MENU "\\\n icon=$icon"; + } + + if (-e "debian/menu.add") { + open MENUADD, "debian/menu.add" ; + while (<MENUADD>) { + print MENU $_ ; + } + close MENUADD; + } + close MENU; +} + +close MENU; + +close MIME; + +if (-z "debian/mailcap") { + rm("debian/mailcap"); +} else { + mkdir("-p", "debian/tmp/usr/lib/mime/packages"); + cp("debian/mailcap", "debian/tmp/usr/lib/mime/packages/$package"); +} + Property changes on: trunk/packages/kdevelop/debian/debianrules ___________________________________________________________________ Name: svn:executable + * Added: trunk/packages/kdevelop/debian/htdig.conf =================================================================== --- trunk/packages/kdevelop/debian/htdig.conf 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/htdig.conf 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,66 @@ +#======================================================================= +# +# Example config file for ht://Dig. +# +database_dir: /HOMEDIR/.kde/share/apps/kdevelop/htdig/db +limit_urls_to: file:// +exclude_urls: /cgi-bin/ .cgi +maintainer: [EMAIL PROTECTED] +max_head_length: 10000 +max_doc_size: 200000 +search_algorithm: exact:1 synonyms:0.5 endings:0.1 + +common_dir: /HOMEDIR/.kde/share/apps/kdevelop/htdig/common +maximum_pages: 1 +ignore_noindex: true + +# +# The following are the templates used in the builtin search results +# The default is to use compiled versions of these files, which produces +# slightly faster results. However, uncommenting these lines makes it +# very easy to change the format of search results. +# See <http://www.htdig.org/hts_templates.html for more details. +# +# template_map: Long long ${common_dir}/long.html \ +# Short short ${common_dir}/short.html +# template_name: long + +# +# The following are used to change the text for the page index. +# The defaults are just boring text numbers. These images spice +# up the result pages quite a bit. (Feel free to do whatever, though) +# +next_page_text: <img src=/var/www/htdig/buttonr.png border=0 align=middle width=30 height=30 alt=next> +no_next_page_text: +prev_page_text: <img src=/var/www/htdig/buttonl.png border=0 align=middle width=30 height=30 alt=prev> +no_prev_page_text: +page_number_text: "<img src=/var/www/htdig/button1.gif border=0 align=middle width=30 height=30 alt=1>" \ + "<img src=/var/www/htdig/button2.png border=0 align=middle width=30 height=30 alt=2>" \ + "<img src=/var/www/htdig/button3.gif border=0 align=middle width=30 height=30 alt=3>" \ + "<img src=/var/www/htdig/button4.gif border=0 align=middle width=30 height=30 alt=4>" \ + "<img src=/var/www/htdig/button5.gif border=0 align=middle width=30 height=30 alt=5>" \ + "<img src=/var/www/htdig/button6.gif border=0 align=middle width=30 height=30 alt=6>" \ + "<img src=/var/www/htdig/button7.gif border=0 align=middle width=30 height=30 alt=7>" \ + "<img src=/var/www/htdig/button8.gif border=0 align=middle width=30 height=30 alt=8>" \ + "<img src=/var/www/htdig/button9.gif border=0 align=middle width=30 height=30 alt=9>" \ + "<img src=/var/www/htdig/button10.gif border=0 align=middle width=30 height=30 alt=10>" +# +# To make the current page stand out, we will put a border arround the +# image for that page. +# +no_page_number_text: "<img src=/var/www/htdig/button1.png border=2 align=middle width=30 height=30 alt=1>" \ + "<img src=/var/www/htdig/button2.gif border=2 align=middle width=30 height=30 alt=2>" \ + "<img src=/var/www/htdig/button3.gif border=2 align=middle width=30 height=30 alt=3>" \ + "<img src=/var/www/htdig/button4.gif border=2 align=middle width=30 height=30 alt=4>" \ + "<img src=/var/www/htdig/button5.gif border=2 align=middle width=30 height=30 alt=5>" \ + "<img src=/var/www/htdig/button6.gif border=2 align=middle width=30 height=30 alt=6>" \ + "<img src=/var/www/htdig/button7.gif border=2 align=middle width=30 height=30 alt=7>" \ + "<img src=/var/www/htdig/button8.gif border=2 align=middle width=30 height=30 alt=8>" \ + "<img src=/var/www/htdig/button9.gif border=2 align=middle width=30 height=30 alt=9>" \ + "<img src=/var/www/htdig/button10.gif border=2 align=middle width=30 height=30 alt=10>" + +star_image: file://localhost/var/www/htdig/star.png +star_blank: file://localhost/var/www/htdig/star_blank.png + +# local variables: +local_urls: file://localhost= Added: trunk/packages/kdevelop/debian/kdevelop-data.files =================================================================== --- trunk/packages/kdevelop/debian/kdevelop-data.files 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/kdevelop-data.files 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,4 @@ +/usr/share/applnk +/usr/share/apps +/usr/share/icons +/usr/share/mimelnk Added: trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.kdelibref =================================================================== --- trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.kdelibref 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.kdelibref 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,9 @@ +Document: kdevelop-kdelibref +Title: KDE Library Reference Guide +Author: Ralf Nolden +Abstract: The Reference Guide to C++ Application Design for the K Desktop Environment. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/kde/HTML/en/kdevelop/kde_libref/index.html +Files: /usr/share/doc/kde/HTML/en/kdevelop/kde_libref/*.html Added: trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.programming =================================================================== --- trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.programming 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.programming 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,9 @@ +Document: kdevelop-programming +Title: The KDevelop Programming Handbook +Author: Ralf Nolden +Abstract: This is the programming handbook for the KDevelop IDE. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/kde/HTML/en/kdevelop/programming/index.html +Files: /usr/share/doc/kde/HTML/en/kdevelop/programming/*.html Added: trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.tutorial =================================================================== --- trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.tutorial 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.tutorial 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,9 @@ +Document: kdevelop-tutorial +Title: KDE Applications Tutorial +Author: Ralf Nolden +Abstract: This is the KDE Application Tutorials Handbook for the KDevelop IDE. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/kde/HTML/en/kdevelop/tutorial/index.html +Files: /usr/share/doc/kde/HTML/en/kdevelop/tutorial/*.html Added: trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.user =================================================================== --- trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.user 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/kdevelop-doc.doc-base.user 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,9 @@ +Document: kdevelop-user +Title: The User Manual for KDevelop +Author: Ralf Nolden +Abstract: This is the user manual for the KDevelop IDE. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/kde/HTML/en/kdevelop/index.html +Files: /usr/share/doc/kde/HTML/en/kdevelop/index*.html Added: trunk/packages/kdevelop/debian/kdevelop-doc.files =================================================================== --- trunk/packages/kdevelop/debian/kdevelop-doc.files 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/kdevelop-doc.files 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1 @@ +/usr/share/doc Added: trunk/packages/kdevelop/debian/kdevelop.files =================================================================== --- trunk/packages/kdevelop/debian/kdevelop.files 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/kdevelop.files 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,3 @@ +/etc +/usr/bin +/usr/lib Added: trunk/packages/kdevelop/debian/kdevelop.postinst =================================================================== --- trunk/packages/kdevelop/debian/kdevelop.postinst 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/kdevelop.postinst 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +ldconfig + +#DEBHELPER# \ No newline at end of file Added: trunk/packages/kdevelop/debian/mailcap =================================================================== --- trunk/packages/kdevelop/debian/mailcap 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/mailcap 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1 @@ +application/x-kdevelop-project; kdevelop -caption "KDevelop 2.1" %s;test=test "$DISPLAY" != ""; priority=7 Added: trunk/packages/kdevelop/debian/menu =================================================================== --- trunk/packages/kdevelop/debian/menu 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/menu 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,15 @@ +?package(kdevelop):\ + needs=x11\ + section=Apps/Programming\ + hints="KDE"\ + title="KDevelop"\ + kderemove="y"\ + command="/usr/bin/kdevelop" + +?package(kdevelop):\ + needs=x11\ + section=Apps/Programming\ + hints="KDE"\ + title="KDevelop Setup"\ + kderemove="y"\ + command="/usr/bin/kdevelop --setup" Added: trunk/packages/kdevelop/debian/postinst =================================================================== --- trunk/packages/kdevelop/debian/postinst 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/postinst 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,28 @@ +#!/bin/sh + +set -e +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +if [ "$1" = configure ] && command -v install-docs >/dev/null 2>&1; then + install-docs -i /usr/share/doc-base/kdevelop-kdelibref + install-docs -i /usr/share/doc-base/kdevelop-tutorial + install-docs -i /usr/share/doc-base/kdevelop-programming + install-docs -i /usr/share/doc-base/kdevelop-user +fi + +#DEBHELPER# + +exit 0 + Added: trunk/packages/kdevelop/debian/prerm =================================================================== --- trunk/packages/kdevelop/debian/prerm 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/prerm 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,20 @@ +#! /bin/sh + +set -e + +case "$1" in + remove|failed-upgrade|upgrade|deconfigure) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + Added: trunk/packages/kdevelop/debian/rules =================================================================== --- trunk/packages/kdevelop/debian/rules 2003-10-31 08:09:05 UTC (rev 37) +++ trunk/packages/kdevelop/debian/rules 2003-10-31 08:11:39 UTC (rev 38) @@ -0,0 +1,137 @@ +#!/usr/bin/make -f +# Made with the aid of debmake, by Christoph Lameter, +# games on the sample debian/rules file for GNU hello by Ian Jackson. + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +-include debian/debiandirs + +ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH) +ifeq ($(ARCH),alpha) + COMPILER_FLAGS=CFLAGS="-O0 -mieee" CXXFLAGS="-O0 -mieee -ftemplate-depth-99" +else + COMPILER_FLAGS=CXXFLAGS="-ftemplate-depth-99" +endif + +build: build-stamp + +-include debian/debiandirs + +debian/debiandirs: debian/debianrules + perl -w debian/debianrules echodirs > debian/debiandirs + +configure: configure-stamp +configure-stamp: + dh_testdir + if test ! -f configure; then \ + $(MAKE) -f admin/Makefile.common ;\ + fi + $(COMPILER_FLAGS) \ + ./configure $(configkdevelop) + + touch configure-stamp + +build: build-stamp +build-stamp: configure + $(MAKE) + + touch build-stamp + +debian-clean: + dh_testdir + -rm -f build-stamp configure-stamp + -rm -f debian/debiandirs + -rm -f debian/files + dh_clean -k + +clean: debian-clean + -make distclean + +install: build + dh_testroot + dh_testdir + dh_clean -a + install -d debian/tmp/etc/kde2 + $(MAKE) prefix=/usr DESTDIR=`pwd`/debian/tmp/ install + -rm -rf debian/tmp/home debian/tmp/blah \ + debian/tmp/usr/share/applnk/Development/designer.desktop \ + debian/tmp/usr/share/applnk/Development/linguist.desktop \ + debian/tmp/usr/share/mimelnk/application/x-designer.desktop \ + debian/tmp/usr/share/mimelnk/application/x-linguist.desktop \ + debian/tmp/usr/bin/extractrc + cp kdevelop/kdeveloprc debian/tmp/etc/kde2/ + perl -w debian/debianrules cleanup + perl -w debian/debianrules docbase + perl -w debian/debianrules kdevelop_postinst + install -d debian/tmp/usr/share/doc/kdevelop/examples + install -g root -m 644 debian/htdig.conf \ + debian/tmp/usr/share/doc/kdevelop/examples + install -g root -m 644 debian/README-htdig.Debian \ + debian/tmp/usr/share/doc/kdevelop + install -d debian/tmp/usr/share/doc/kdevelop/updates + install -g root -m 644 admin/conf.change.pl \ + debian/tmp/usr/share/doc/kdevelop/updates + install -g root -m 644 admin/config.pl \ + debian/tmp/usr/share/doc/kdevelop/updates + install -g root -m 644 debian/README-automake1.5.Debian \ + debian/tmp/usr/share/doc/kdevelop + +build-indep: install + chmod 755 debian/tmp/usr/share/apps/kdevelop/tools/* + dh_movefiles -i + dh_undocumented -i + dh_installmenu -i + dh_installdocs -i + dh_installchangelogs -i + dh_compress -X.database -i + dh_perl -i + dh_fixperms -i + +binary-indep: build-indep + -rm -f debian/files +# dpkg-distaddfile kdevelop-doc doc optional +# dpkg-distaddfile kdevelop-data devel optional + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +build-arch: install + dh_movefiles -a + dh_undocumented -a + dh_installmenu -a + dh_installdocs -a + dh_installchangelogs -a + dh_strip -a + dh_compress -X.database -a + dh_fixperms -a + dh_makeshlibs -a + dh_fixperms -a + +binary-arch: build-arch + -rm -f debian/files +# dpkg-distaddfile kdevelop devel optional + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +# Below here is fairly generic really + +binary: install build-indep build-arch + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Install local without making a package + +install-local: + $(MAKE) prefix=/usr + sudo $(MAKE) prefix=/usr install + +.PHONY: binary binary-arch binary-indep clean install install-local Property changes on: trunk/packages/kdevelop/debian/rules ___________________________________________________________________ Name: svn:executable + *