diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-09-18 17:29:31 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-09-18 17:29:31 +0000 |
commit | d662ed66e004c75417b746618ad156b1cf6e7488 (patch) | |
tree | 33b97022844e65101ae7862807311bd86c4c35ca | |
parent | dependencies:) (diff) | |
download | gentoo-2-d662ed66e004c75417b746618ad156b1cf6e7488.tar.gz gentoo-2-d662ed66e004c75417b746618ad156b1cf6e7488.tar.bz2 gentoo-2-d662ed66e004c75417b746618ad156b1cf6e7488.zip |
*** empty log message ***
46 files changed, 821 insertions, 200 deletions
diff --git a/ChangeLog b/ChangeLog index 109fe2f524f9..8538ca6ad250 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +18.09.2000 + + - New kde-apps/kruasder 0.65.1 (achim) + [ A Filemanager for kde ] + - Update KDE Beta3 -> Beta5 (achim) + qt copy-1.92 -> qt-x11-2.2.0 + kdepackages 1.92 -> 1.94 + 17.09.2000 - "dodeps" appears to be working (drobbins) [ Portage dependencies -- will diff --git a/app-misc/krusader/files/bookmaneditbase.h b/app-misc/krusader/files/bookmaneditbase.h new file mode 100644 index 000000000000..3223f98be42f --- /dev/null +++ b/app-misc/krusader/files/bookmaneditbase.h @@ -0,0 +1,78 @@ +/*************************************************************************** + bookmaneditbase.h + ------------------- + begin : Thu May 4 2000 + copyright : (C) 2000 by Shie Erlich & Rafi Yanai + --------------------------------------------------------------------------- + Description + *************************************************************************** + + A + + db dD d8888b. db db .d8888. .d8b. d8888b. d88888b d8888b. + 88 ,8P' 88 `8D 88 88 88' YP d8' `8b 88 `8D 88' 88 `8D + 88,8P 88oobY' 88 88 `8bo. 88ooo88 88 88 88ooooo 88oobY' + 88`8b 88`8b 88 88 `Y8b. 88~~~88 88 88 88~~~~~ 88`8b + 88 `88. 88 `88. 88b d88 db 8D 88 88 88 .8D 88. 88 `88. + YP YD 88 YD ~Y8888P' `8888Y' YP YP Y8888D' Y88888P 88 YD + + H e a d e r F i l e + + *************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +/**************************************************************************** +** Form interface generated from reading ui file 'bookmaneditbase.ui' +** +** Created: Fri Aug 11 18:22:56 2000 +** by: The User Interface Compiler (uic) +** +** WARNING! All changes made in this file will be lost! +****************************************************************************/ +#ifndef BOOKMANEDITBASE_H +#define BOOKMANEDITBASE_H + +#include <qdialog.h> +#include <qfiledialog.h> +class QVBoxLayout; +class QHBoxLayout; +class QGridLayout; +class QLabel; +class QLineEdit; +class QPushButton; +class QToolButton; + +class BookManEditBase : public QDialog +{ + Q_OBJECT + +public: + BookManEditBase( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + ~BookManEditBase(); + + QPushButton* okButton; + QPushButton* cancelButton; + QLabel* TextLabel1; + QLineEdit* nameData; + QToolButton* clearButton; + QLabel* TextLabel2; + QLineEdit* urlData; + QToolButton* browseButton; + +public slots: + virtual void browse(); + +protected: + QHBoxLayout* hbox; + QHBoxLayout* hbox_2; + QHBoxLayout* hbox_3; + QGridLayout* grid; +}; + +#endif // BOOKMANEDITBASE_H diff --git a/app-misc/krusader/files/digest-krusader-0.65.1 b/app-misc/krusader/files/digest-krusader-0.65.1 new file mode 100644 index 000000000000..eb8cddc7ec36 --- /dev/null +++ b/app-misc/krusader/files/digest-krusader-0.65.1 @@ -0,0 +1 @@ +MD5 13a3ef45436c2495dc9d3c623e95d761 krusader-0.65-1.tar.gz diff --git a/app-misc/krusader/files/kfilelist.h b/app-misc/krusader/files/kfilelist.h new file mode 100644 index 000000000000..ee408443213b --- /dev/null +++ b/app-misc/krusader/files/kfilelist.h @@ -0,0 +1,86 @@ +/*************************************************************************** + kfilelist.h + ------------------- + Version : Milestone 1 + begin : Thu May 4 2000 + copyright : (C) 2000 by Shie Erlich & Rafi Yanai + --------------------------------------------------------------------------- + Description + *************************************************************************** + + A + + db dD d8888b. db db .d8888. .d8b. d8888b. d88888b d8888b. + 88 ,8P' 88 `8D 88 88 88' YP d8' `8b 88 `8D 88' 88 `8D + 88,8P 88oobY' 88 88 `8bo. 88ooo88 88 88 88ooooo 88oobY' + 88`8b 88`8b 88 88 `Y8b. 88~~~88 88 88 88~~~~~ 88`8b + 88 `88. 88 `88. 88b d88 db 8D 88 88 88 .8D 88. 88 `88. + YP YD 88 YD ~Y8888P' `8888Y' YP YP Y8888D' Y88888P 88 YD + + H e a d e r F i l e + + *************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + + +#ifndef KFILELIST_H +#define KFILELIST_H + +#include <qwidget.h> +#include <qlistview.h> +#include <qstring.h> +#include <qdatetime.h> +#include <qtooltip.h> + +// this class overloads the QListView class in order to allow sorting +// with directories shown first +///////////////////////////////////////////////////////////////////// +class KFileList : public QListView { + Q_OBJECT + +enum dState { + pending = 0, + dragging = 1, + nothing = 3 +}; + +public: + KFileList ( QWidget *parent = 0, const char *name = 0 ); + void up2date(){updateContents ();} + QListViewItem* root; + +public slots: + void select(QString filter); + void unselect(QString filter); + void invertSelection(); + void markCurrent(); + void finishedDragging() { dragState=nothing; } + void checkForRightClickMenu(); + +protected: + void keyPressEvent(QKeyEvent *e); + void contentsMouseMoveEvent(QMouseEvent *e); + void viewportMouseMoveEvent(QMouseEvent *e); + void viewportMousePressEvent(QMouseEvent *e); + void viewportMouseReleaseEvent(QMouseEvent *e); + +signals: + void letsDrag(int); + void rightClickMenu(QListViewItem *,QPoint); + +private: + int dragSX,dragSY; // location of mouse in the beginning of a drag + int dragState; // pending | dragging | nothing + int pressX,pressY; // location of mouse in the beginning of right-click hold + bool stillPressed; // true if right button is still pressed + bool toolTip; + QListViewItem *toolTipItem; +}; + +#endif diff --git a/app-misc/krusader/files/vfs.cpp b/app-misc/krusader/files/vfs.cpp new file mode 100644 index 000000000000..6f47479270c7 --- /dev/null +++ b/app-misc/krusader/files/vfs.cpp @@ -0,0 +1,122 @@ +/*************************************************************************** + vfs.cpp + ------------------- + Version : Milestone 1 + begin : Thu May 4 2000 + copyright : (C) 2000 by Shie Erlich & Rafi Yanai + *-------------------------------------------------------------------------* + * the vfs class is an extendable class which by itself does (almost) * + * nothing. other VFSs like the normal_vfs inherits from this class and * + * make it possible to use a consistent API for all types of VFSs. * + * * + *************************************************************************** + + A + + db dD d8888b. db db .d8888. .d8b. d8888b. d88888b d8888b. + 88 ,8P' 88 `8D 88 88 88' YP d8' `8b 88 `8D 88' 88 `8D + 88,8P 88oobY' 88 88 `8bo. 88ooo88 88 88 88ooooo 88oobY' + 88`8b 88`8b 88 88 `Y8b. 88~~~88 88 88 88~~~~~ 88`8b + 88 `88. 88 `88. 88b d88 db 8D 88 88 88 .8D 88. 88 `88. + YP YD 88 YD ~Y8888P' `8888Y' YP YP Y8888D' Y88888P 88 YD + + S o u r c e F i l e + + *************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#include "vfs.h" +#include <time.h> + +void vfs::vfs_addToList(vfile *data){ + vfs_filesP->append(data); +} + +// this function assumes no 2 identical elements exist in the list +void vfs::vfs_removeFromList(vfile *data) { + vfs_filesP->remove(data); +} + +long vfs::vfs_totalSize(){ + long temp=0; + class vfile* vf=vfs_getFirstFile(); + + while (vf!=0){ + if ( (vf->vfile_getName() != ".") && ( vf->vfile_getName() != "..") + && !(vf->vfile_isDir()) ) + temp+=vf->vfile_getSize(); + vf=vfs_getNextFile(); + } + return temp; +} + +vfile* vfs::vfs_search(QString name){ + vfile* temp = vfs_getFirstFile(); + + while (temp!=0){ + if (temp->vfile_getName()==name) return temp; + temp=vfs_getNextFile(); + } + return 0; +} + +static QString round(int i){ + QString t; + t.sprintf("%d",i); + if(i<10) t=("0"+t); + return t; +} + +// create a easy to read date-time format +QString vfs::dateTime2QString(const QDateTime& datetime){ + QString dateTime; + QDate date = datetime.date(); + QTime time = datetime.time(); + + // construct the string + dateTime=round(date.day())+"/"+round(date.month())+ + "/"+round(date.year()%100)+ + +" "+round(time.hour())+":"+round(time.minute()); + return dateTime; +} + +// create a easy to read date-time format +QString vfs::time2QString(long time){ + QString dateTime; + // convert the time_t to struct tm + struct tm* t=localtime(&time); + + // construct the string + dateTime=round(t->tm_mday)+"/"+round(t->tm_mon+1)+"/"+round(t->tm_year%100)+ + +" "+round(t->tm_hour)+":"+round(t->tm_min); + return dateTime; +} + + +QString vfs::mode2QString(mode_t m){ + QString perm ="----------"; + + if( S_ISLNK(m) ) perm[0]='l'; // check for symLink + if( S_ISDIR(m) ) perm[0]='d'; // check for directory + + //ReadUser = 0400, WriteUser = 0200, ExeUser = 0100 + if(m&0400) perm[1]='r'; + if(m&0200) perm[2]='w'; + if(m&0100) perm[3]='x'; + //ReadGroup = 0040, WriteGroup = 0020, ExeGroup = 0010 + if(m&0040) perm[4]='r'; + if(m&0020) perm[5]='w'; + if(m&0010) perm[6]='x'; + //ReadOther = 0004, WriteOther = 0002, ExeOther = 0001 + if(m&0004) perm[7]='r'; + if(m&0002) perm[8]='w'; + if(m&0001) perm[9]='x'; + + return perm; +} diff --git a/app-misc/krusader/krusader-0.65.1.ebuild b/app-misc/krusader/krusader-0.65.1.ebuild new file mode 100644 index 000000000000..b8d15d548f90 --- /dev/null +++ b/app-misc/krusader/krusader-0.65.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-misc/krusader/krusader-0.65.1.ebuild,v 1.1 2000/09/18 17:25:27 achim Exp $ + +P=krusader-0.65-1 +A=${P}.tar.gz +S=${WORKDIR}/krusader-0.65 +DESCRIPTION="A Filemanager for KDE" +SRC_URI="http://krusader.sourceforge.net/distributions/${A}" +HOMEPAGE="http:/krusader.sourceforge.net/" + +src_unpack () { + unpack ${A} + cp ${FILESDIR}/bookmaneditbase.h ${S}/${PN}/ + cp ${FILESDIR}/kfilelist.h ${S}/${PN}/ + cp ${FILESDIR}/vfs.cpp ${S}/${PN}/ + +} +src_compile() { + + cd ${S} + ./configure --prefix=/opt/kde --host=${CHOST} + make + +} + +src_install () { + + cd ${S} + make DESTDIR=${D} install + +} + diff --git a/app-office/koffice/files/digest-koffice-1.92-r1 b/app-office/koffice/files/digest-koffice-1.92-r1 deleted file mode 100644 index 5bcc14a7f53e..000000000000 --- a/app-office/koffice/files/digest-koffice-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 492b6ad96475fda34dd0f53074974be1 koffice-1.92.tar.bz2 diff --git a/app-office/koffice/koffice-1.92-r1.ebuild b/app-office/koffice/koffice-1.94.ebuild index e746bf2a0c95..56cdd96db83f 100644 --- a/app-office/koffice/koffice-1.92-r1.ebuild +++ b/app-office/koffice/koffice-1.94.ebuild @@ -1,21 +1,20 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-1.92-r1.ebuild,v 1.4 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-1.94.ebuild,v 1.1 2000/09/18 17:25:27 achim Exp $ -P=koffice-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - KOffice" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 Final Beta - KOffice" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org/" src_compile() { try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib try make } diff --git a/current-packages b/current-packages index 8fcaae668b34..f12e63e4076c 100644 --- a/current-packages +++ b/current-packages @@ -310,19 +310,20 @@ ./gnome-office/gnome-db/gnome-db-0.0.95.ebuild ./gnome-office/gnome-pim/gnome-pim-1.2.0.ebuild ./gnome-office/gnumeric/gnumeric-0.56.ebuild -./kde-base/kde-i18n/kde-i18n-1.92-r1.ebuild -./kde-base/kde-qt-addon/kde-qt-addon-1.92-r1.ebuild -./kde-base/kdebase/kdebase-1.92-r1.ebuild -./kde-base/kdelibs/kdelibs-1.92-r1.ebuild -./kde-base/kdesupport/kdesupport-1.92-r1.ebuild -./kde-base/qt/qt-copy-1.92-r1.ebuild -./kde-apps/kdeadmin/kdeadmin-1.92-r1.ebuild -./kde-apps/kdegraphics/kdegraphics-1.92-r1.ebuild -./kde-apps/kdemultimedia/kdemultimedia-1.92-r1.ebuild -./kde-apps/kdenetwork/kdenetwork-1.92-r1.ebuild -./kde-apps/kdepim/kdepim-1.92-r1.ebuild -./kde-apps/kdeutils/kdeutils-1.92-r1.ebuild -./kde-apps/kdoc/kdoc-1.92-r1.ebuild -./kde-apps/koffice/koffice-1.92-r1.ebuild +./kde-base/kde-i18n/kde-i18n-1.94.ebuild +./kde-base/kdebase/kdebase-1.94.ebuild +./kde-base/kdelibs/kdelibs-1.94.ebuild +./kde-base/kdesupport/kdesupport-1.94.ebuild +./kde-base/qt/qt-x11-2.2.0.ebuild +./kde-apps/kdeadmin/kdeadmin-1.94.ebuild +./kde-apps/kdegraphics/kdegraphics-1.94.ebuild +./kde-apps/kdemultimedia/kdemultimedia-1.94.ebuild +./kde-apps/kdenetwork/kdenetwork-1.94.ebuild +./kde-apps/kdepim/kdepim-1.94.ebuild +./kde-apps/kdeutils/kdeutils-1.94.ebuild +./kde-apps/kdoc/kdoc-1.94.ebuild +./kde-apps/koffice/koffice-1.94.ebuild +./kde-apps/krusader/kruasader-0.65.1.ebuild + diff --git a/kde-apps/kdeadmin/files/digest-kdeadmin-1.92-r1 b/kde-apps/kdeadmin/files/digest-kdeadmin-1.92-r1 deleted file mode 100644 index ded39dc2ae71..000000000000 --- a/kde-apps/kdeadmin/files/digest-kdeadmin-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 8309f866fc3119f113082a55cea615b5 kdeadmin-1.92.tar.bz2 diff --git a/kde-apps/kdeadmin/kdeadmin-1.92-r1.ebuild b/kde-apps/kdeadmin/kdeadmin-1.94.ebuild index 6566fb226cbd..550688f2ab4e 100644 --- a/kde-apps/kdeadmin/kdeadmin-1.92-r1.ebuild +++ b/kde-apps/kdeadmin/kdeadmin-1.94.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdeadmin/kdeadmin-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:58 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdeadmin/kdeadmin-1.94.ebuild,v 1.1 2000/09/18 17:25:25 achim Exp $ -P=kdeadmin-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - Administration" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 FinalBeta - Administration" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org/" src_compile() { LDFLAGS="-L/usr/lib/rpm -lbz2" try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib \ + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib \ --with-rpm --with-pam try make } diff --git a/kde-apps/kdegraphics/files/digest-kdegraphics-1.92-r1 b/kde-apps/kdegraphics/files/digest-kdegraphics-1.92-r1 deleted file mode 100644 index 3145a80fd636..000000000000 --- a/kde-apps/kdegraphics/files/digest-kdegraphics-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 1d38da791117fc32f05ef8267683c1f3 kdegraphics-1.92.tar.bz2 diff --git a/kde-apps/kdegraphics/kdegraphics-1.92-r1.ebuild b/kde-apps/kdegraphics/kdegraphics-1.94.ebuild index 83d84eb54b3d..1cdefeb76df1 100644 --- a/kde-apps/kdegraphics/kdegraphics-1.92-r1.ebuild +++ b/kde-apps/kdegraphics/kdegraphics-1.94.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdegraphics/kdegraphics-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:58 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdegraphics/kdegraphics-1.94.ebuild,v 1.1 2000/09/18 17:25:25 achim Exp $ -P=kdegraphics-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - Administration" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 FinalBeta - Administration" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org" src_compile() { LDFLAGS="-L/usr/lib/rpm -lbz2" try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib \ + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib \ --with-rpm --with-pam try make } diff --git a/kde-apps/kdemultimedia/files/digest-kdemultimedia-1.92-r1 b/kde-apps/kdemultimedia/files/digest-kdemultimedia-1.92-r1 deleted file mode 100644 index 4bd66c41b1c9..000000000000 --- a/kde-apps/kdemultimedia/files/digest-kdemultimedia-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 c7cbe4d77c4240701d9e004b0c4a11b0 kdemultimedia-1.92.tar.bz2 diff --git a/kde-apps/kdemultimedia/kdemultimedia-1.92-r1.ebuild b/kde-apps/kdemultimedia/kdemultimedia-1.92-r1.ebuild deleted file mode 100644 index f7aa4f568902..000000000000 --- a/kde-apps/kdemultimedia/kdemultimedia-1.92-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdemultimedia/kdemultimedia-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:59 drobbins Exp $ - -P=kdemultimedia-1.92 -A=${P}.tar.bz2 -S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - Multimedia" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} -HOMEPAGE="http://www.kde.org" - -src_compile() { - CPPFLAGS="$CPPFLAGS -I/usr/lib/glib/include/ -I/usr/X11R6/include/" \ - LDFLAGS="-L/usr/lib/rpm -lbz2" try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib \ - --with-alsa --enable-audio=alsa,oss - cp Makefile Makefile.orig - sed -e "s: kmidi : :" \ - -e "s: mpeglib_artsplug : :" Makefile.orig > Makefile - try make -} - -src_install() { - try make install prefix=${D}/opt/kde - dodoc AUTHORS ChangeLog COPYING README* -} - - - - - - - diff --git a/kde-apps/kdemultimedia/kdemultimedia-1.94.ebuild b/kde-apps/kdemultimedia/kdemultimedia-1.94.ebuild new file mode 100644 index 000000000000..62e000317db7 --- /dev/null +++ b/kde-apps/kdemultimedia/kdemultimedia-1.94.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdemultimedia/kdemultimedia-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ + +A=${P}.tar.bz2 +S=${WORKDIR}/${P} +DESCRIPTION="KDE 2 FinalBeta - Multimedia" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} +HOMEPAGE="http://www.kde.org" + +src_compile() { + try ./configure --prefix=/opt/kde --host=${CHOST} \ + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib \ + --with-alsa --enable-audio=alsa,oss + cp Makefile Makefile.orig + sed -e "s: kmidi : :" \ + -e "s: kmidi : :" Makefile.orig > Makefile + try make +} + +src_install() { + try make install prefix=${D}/opt/kde + dodoc AUTHORS ChangeLog COPYING README* +} + + + + + + + diff --git a/kde-apps/kdenetwork/files/digest-kdenetwork-1.92-r1 b/kde-apps/kdenetwork/files/digest-kdenetwork-1.92-r1 deleted file mode 100644 index 1f796a4b999d..000000000000 --- a/kde-apps/kdenetwork/files/digest-kdenetwork-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 1d9fe0d9e3c367b5c7df7aa78a3309c5 kdenetwork-1.92.tar.bz2 diff --git a/kde-apps/kdenetwork/kdenetwork-1.92-r1.ebuild b/kde-apps/kdenetwork/kdenetwork-1.94.ebuild index c6a169b043f7..f30ccfe61873 100644 --- a/kde-apps/kdenetwork/kdenetwork-1.92-r1.ebuild +++ b/kde-apps/kdenetwork/kdenetwork-1.94.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdenetwork/kdenetwork-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdenetwork/kdenetwork-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ -P=kdenetwork-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - base" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 FinalBeta - base" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org" src_compile() { try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib try make } diff --git a/kde-apps/kdepim/files/digest-kdepim-1.92-r1 b/kde-apps/kdepim/files/digest-kdepim-1.92-r1 deleted file mode 100644 index 53ba6e5bd022..000000000000 --- a/kde-apps/kdepim/files/digest-kdepim-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 f045c52a8ff319a1110d2b97f44606a1 kdepim-1.92.tar.bz2 diff --git a/kde-apps/kdepim/kdepim-1.92-r1.ebuild b/kde-apps/kdepim/kdepim-1.94.ebuild index 640a27f8b7da..cca12d8bf1ed 100644 --- a/kde-apps/kdepim/kdepim-1.92-r1.ebuild +++ b/kde-apps/kdepim/kdepim-1.94.ebuild @@ -1,20 +1,20 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdepim/kdepim-1.92-r1.ebuild,v 1.2 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdepim/kdepim-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ -P=kdepim-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - PIM" +DESCRIPTION="KDE 2 Final Beta - PIM" CATEGORY=kde-apps -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/${A}" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/${A}" +HOMEPAGE="http:/www.kde.org/" src_compile() { try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib try make } diff --git a/kde-apps/kdeutils/files/digest-kdeutils-1.92-r1 b/kde-apps/kdeutils/files/digest-kdeutils-1.92-r1 deleted file mode 100644 index 961d859c8220..000000000000 --- a/kde-apps/kdeutils/files/digest-kdeutils-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 8f0d2dcb2512f9a58b066d7dd4aa547a kdeutils-1.92.tar.bz2 diff --git a/kde-apps/kdeutils/kdeutils-1.92-r1.ebuild b/kde-apps/kdeutils/kdeutils-1.94.ebuild index a3923abb0fcb..35a9078ef425 100644 --- a/kde-apps/kdeutils/kdeutils-1.92-r1.ebuild +++ b/kde-apps/kdeutils/kdeutils-1.94.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdeutils/kdeutils-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdeutils/kdeutils-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ -P=kdeutils-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - base" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 Final Beta - base" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/${A}" HOMEPAGE="http://www.kde.org/" src_compile() { try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib try make } diff --git a/kde-apps/kdoc/files/digest-kdoc-1.92-r1 b/kde-apps/kdoc/files/digest-kdoc-1.92-r1 deleted file mode 100644 index e8f69d67b804..000000000000 --- a/kde-apps/kdoc/files/digest-kdoc-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 0697920471cc1bcca00fdde0d833b20e kdoc-1.92.tar.bz2 diff --git a/kde-apps/kdoc/kdoc-1.92-r1.ebuild b/kde-apps/kdoc/kdoc-1.94.ebuild index bdb2a0a9cd2d..c791127a5e00 100644 --- a/kde-apps/kdoc/kdoc-1.92-r1.ebuild +++ b/kde-apps/kdoc/kdoc-1.94.ebuild @@ -1,20 +1,20 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdoc/kdoc-1.92-r1.ebuild,v 1.4 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-apps/kdoc/kdoc-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ -P=kdoc-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - Multimedia" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 Final Beta - Multimedia" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org" src_compile() { + try autoconf LDFLAGS="-L/usr/lib/rpm -lbz2" try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib \ + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib \ --with-rpm --with-pam try make } diff --git a/kde-apps/koffice/files/digest-koffice-1.92-r1 b/kde-apps/koffice/files/digest-koffice-1.92-r1 deleted file mode 100644 index 5bcc14a7f53e..000000000000 --- a/kde-apps/koffice/files/digest-koffice-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 492b6ad96475fda34dd0f53074974be1 koffice-1.92.tar.bz2 diff --git a/kde-apps/koffice/koffice-1.92-r1.ebuild b/kde-apps/koffice/koffice-1.94.ebuild index d4bd1434cf82..a879974d1b34 100644 --- a/kde-apps/koffice/koffice-1.92-r1.ebuild +++ b/kde-apps/koffice/koffice-1.94.ebuild @@ -1,21 +1,20 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-apps/koffice/koffice-1.92-r1.ebuild,v 1.4 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-apps/koffice/koffice-1.94.ebuild,v 1.1 2000/09/18 17:25:27 achim Exp $ -P=koffice-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - KOffice" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 Final Beta - KOffice" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org/" src_compile() { try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib try make } diff --git a/kde-apps/krusader/files/bookmaneditbase.h b/kde-apps/krusader/files/bookmaneditbase.h new file mode 100644 index 000000000000..3223f98be42f --- /dev/null +++ b/kde-apps/krusader/files/bookmaneditbase.h @@ -0,0 +1,78 @@ +/*************************************************************************** + bookmaneditbase.h + ------------------- + begin : Thu May 4 2000 + copyright : (C) 2000 by Shie Erlich & Rafi Yanai + --------------------------------------------------------------------------- + Description + *************************************************************************** + + A + + db dD d8888b. db db .d8888. .d8b. d8888b. d88888b d8888b. + 88 ,8P' 88 `8D 88 88 88' YP d8' `8b 88 `8D 88' 88 `8D + 88,8P 88oobY' 88 88 `8bo. 88ooo88 88 88 88ooooo 88oobY' + 88`8b 88`8b 88 88 `Y8b. 88~~~88 88 88 88~~~~~ 88`8b + 88 `88. 88 `88. 88b d88 db 8D 88 88 88 .8D 88. 88 `88. + YP YD 88 YD ~Y8888P' `8888Y' YP YP Y8888D' Y88888P 88 YD + + H e a d e r F i l e + + *************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +/**************************************************************************** +** Form interface generated from reading ui file 'bookmaneditbase.ui' +** +** Created: Fri Aug 11 18:22:56 2000 +** by: The User Interface Compiler (uic) +** +** WARNING! All changes made in this file will be lost! +****************************************************************************/ +#ifndef BOOKMANEDITBASE_H +#define BOOKMANEDITBASE_H + +#include <qdialog.h> +#include <qfiledialog.h> +class QVBoxLayout; +class QHBoxLayout; +class QGridLayout; +class QLabel; +class QLineEdit; +class QPushButton; +class QToolButton; + +class BookManEditBase : public QDialog +{ + Q_OBJECT + +public: + BookManEditBase( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + ~BookManEditBase(); + + QPushButton* okButton; + QPushButton* cancelButton; + QLabel* TextLabel1; + QLineEdit* nameData; + QToolButton* clearButton; + QLabel* TextLabel2; + QLineEdit* urlData; + QToolButton* browseButton; + +public slots: + virtual void browse(); + +protected: + QHBoxLayout* hbox; + QHBoxLayout* hbox_2; + QHBoxLayout* hbox_3; + QGridLayout* grid; +}; + +#endif // BOOKMANEDITBASE_H diff --git a/kde-apps/krusader/files/digest-krusader-0.65.1 b/kde-apps/krusader/files/digest-krusader-0.65.1 new file mode 100644 index 000000000000..eb8cddc7ec36 --- /dev/null +++ b/kde-apps/krusader/files/digest-krusader-0.65.1 @@ -0,0 +1 @@ +MD5 13a3ef45436c2495dc9d3c623e95d761 krusader-0.65-1.tar.gz diff --git a/kde-apps/krusader/files/kfilelist.h b/kde-apps/krusader/files/kfilelist.h new file mode 100644 index 000000000000..ee408443213b --- /dev/null +++ b/kde-apps/krusader/files/kfilelist.h @@ -0,0 +1,86 @@ +/*************************************************************************** + kfilelist.h + ------------------- + Version : Milestone 1 + begin : Thu May 4 2000 + copyright : (C) 2000 by Shie Erlich & Rafi Yanai + --------------------------------------------------------------------------- + Description + *************************************************************************** + + A + + db dD d8888b. db db .d8888. .d8b. d8888b. d88888b d8888b. + 88 ,8P' 88 `8D 88 88 88' YP d8' `8b 88 `8D 88' 88 `8D + 88,8P 88oobY' 88 88 `8bo. 88ooo88 88 88 88ooooo 88oobY' + 88`8b 88`8b 88 88 `Y8b. 88~~~88 88 88 88~~~~~ 88`8b + 88 `88. 88 `88. 88b d88 db 8D 88 88 88 .8D 88. 88 `88. + YP YD 88 YD ~Y8888P' `8888Y' YP YP Y8888D' Y88888P 88 YD + + H e a d e r F i l e + + *************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + + +#ifndef KFILELIST_H +#define KFILELIST_H + +#include <qwidget.h> +#include <qlistview.h> +#include <qstring.h> +#include <qdatetime.h> +#include <qtooltip.h> + +// this class overloads the QListView class in order to allow sorting +// with directories shown first +///////////////////////////////////////////////////////////////////// +class KFileList : public QListView { + Q_OBJECT + +enum dState { + pending = 0, + dragging = 1, + nothing = 3 +}; + +public: + KFileList ( QWidget *parent = 0, const char *name = 0 ); + void up2date(){updateContents ();} + QListViewItem* root; + +public slots: + void select(QString filter); + void unselect(QString filter); + void invertSelection(); + void markCurrent(); + void finishedDragging() { dragState=nothing; } + void checkForRightClickMenu(); + +protected: + void keyPressEvent(QKeyEvent *e); + void contentsMouseMoveEvent(QMouseEvent *e); + void viewportMouseMoveEvent(QMouseEvent *e); + void viewportMousePressEvent(QMouseEvent *e); + void viewportMouseReleaseEvent(QMouseEvent *e); + +signals: + void letsDrag(int); + void rightClickMenu(QListViewItem *,QPoint); + +private: + int dragSX,dragSY; // location of mouse in the beginning of a drag + int dragState; // pending | dragging | nothing + int pressX,pressY; // location of mouse in the beginning of right-click hold + bool stillPressed; // true if right button is still pressed + bool toolTip; + QListViewItem *toolTipItem; +}; + +#endif diff --git a/kde-apps/krusader/files/vfs.cpp b/kde-apps/krusader/files/vfs.cpp new file mode 100644 index 000000000000..6f47479270c7 --- /dev/null +++ b/kde-apps/krusader/files/vfs.cpp @@ -0,0 +1,122 @@ +/*************************************************************************** + vfs.cpp + ------------------- + Version : Milestone 1 + begin : Thu May 4 2000 + copyright : (C) 2000 by Shie Erlich & Rafi Yanai + *-------------------------------------------------------------------------* + * the vfs class is an extendable class which by itself does (almost) * + * nothing. other VFSs like the normal_vfs inherits from this class and * + * make it possible to use a consistent API for all types of VFSs. * + * * + *************************************************************************** + + A + + db dD d8888b. db db .d8888. .d8b. d8888b. d88888b d8888b. + 88 ,8P' 88 `8D 88 88 88' YP d8' `8b 88 `8D 88' 88 `8D + 88,8P 88oobY' 88 88 `8bo. 88ooo88 88 88 88ooooo 88oobY' + 88`8b 88`8b 88 88 `Y8b. 88~~~88 88 88 88~~~~~ 88`8b + 88 `88. 88 `88. 88b d88 db 8D 88 88 88 .8D 88. 88 `88. + YP YD 88 YD ~Y8888P' `8888Y' YP YP Y8888D' Y88888P 88 YD + + S o u r c e F i l e + + *************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#include "vfs.h" +#include <time.h> + +void vfs::vfs_addToList(vfile *data){ + vfs_filesP->append(data); +} + +// this function assumes no 2 identical elements exist in the list +void vfs::vfs_removeFromList(vfile *data) { + vfs_filesP->remove(data); +} + +long vfs::vfs_totalSize(){ + long temp=0; + class vfile* vf=vfs_getFirstFile(); + + while (vf!=0){ + if ( (vf->vfile_getName() != ".") && ( vf->vfile_getName() != "..") + && !(vf->vfile_isDir()) ) + temp+=vf->vfile_getSize(); + vf=vfs_getNextFile(); + } + return temp; +} + +vfile* vfs::vfs_search(QString name){ + vfile* temp = vfs_getFirstFile(); + + while (temp!=0){ + if (temp->vfile_getName()==name) return temp; + temp=vfs_getNextFile(); + } + return 0; +} + +static QString round(int i){ + QString t; + t.sprintf("%d",i); + if(i<10) t=("0"+t); + return t; +} + +// create a easy to read date-time format +QString vfs::dateTime2QString(const QDateTime& datetime){ + QString dateTime; + QDate date = datetime.date(); + QTime time = datetime.time(); + + // construct the string + dateTime=round(date.day())+"/"+round(date.month())+ + "/"+round(date.year()%100)+ + +" "+round(time.hour())+":"+round(time.minute()); + return dateTime; +} + +// create a easy to read date-time format +QString vfs::time2QString(long time){ + QString dateTime; + // convert the time_t to struct tm + struct tm* t=localtime(&time); + + // construct the string + dateTime=round(t->tm_mday)+"/"+round(t->tm_mon+1)+"/"+round(t->tm_year%100)+ + +" "+round(t->tm_hour)+":"+round(t->tm_min); + return dateTime; +} + + +QString vfs::mode2QString(mode_t m){ + QString perm ="----------"; + + if( S_ISLNK(m) ) perm[0]='l'; // check for symLink + if( S_ISDIR(m) ) perm[0]='d'; // check for directory + + //ReadUser = 0400, WriteUser = 0200, ExeUser = 0100 + if(m&0400) perm[1]='r'; + if(m&0200) perm[2]='w'; + if(m&0100) perm[3]='x'; + //ReadGroup = 0040, WriteGroup = 0020, ExeGroup = 0010 + if(m&0040) perm[4]='r'; + if(m&0020) perm[5]='w'; + if(m&0010) perm[6]='x'; + //ReadOther = 0004, WriteOther = 0002, ExeOther = 0001 + if(m&0004) perm[7]='r'; + if(m&0002) perm[8]='w'; + if(m&0001) perm[9]='x'; + + return perm; +} diff --git a/kde-apps/krusader/krusader-0.65.1.ebuild b/kde-apps/krusader/krusader-0.65.1.ebuild new file mode 100644 index 000000000000..11a9077fe44e --- /dev/null +++ b/kde-apps/krusader/krusader-0.65.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/kde-apps/krusader/krusader-0.65.1.ebuild,v 1.1 2000/09/18 17:25:27 achim Exp $ + +P=krusader-0.65-1 +A=${P}.tar.gz +S=${WORKDIR}/krusader-0.65 +DESCRIPTION="A Filemanager for KDE" +SRC_URI="http://krusader.sourceforge.net/distributions/${A}" +HOMEPAGE="http:/krusader.sourceforge.net/" + +src_unpack () { + unpack ${A} + cp ${FILESDIR}/bookmaneditbase.h ${S}/${PN}/ + cp ${FILESDIR}/kfilelist.h ${S}/${PN}/ + cp ${FILESDIR}/vfs.cpp ${S}/${PN}/ + +} +src_compile() { + + cd ${S} + ./configure --prefix=/opt/kde --host=${CHOST} + make + +} + +src_install () { + + cd ${S} + make DESTDIR=${D} install + +} + diff --git a/kde-base/kdeadmin/files/digest-kdeadmin-1.92-r1 b/kde-base/kdeadmin/files/digest-kdeadmin-1.92-r1 deleted file mode 100644 index ded39dc2ae71..000000000000 --- a/kde-base/kdeadmin/files/digest-kdeadmin-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 8309f866fc3119f113082a55cea615b5 kdeadmin-1.92.tar.bz2 diff --git a/kde-base/kdeadmin/kdeadmin-1.92-r1.ebuild b/kde-base/kdeadmin/kdeadmin-1.94.ebuild index bd97103f0cc3..c9cca1defcd0 100644 --- a/kde-base/kdeadmin/kdeadmin-1.92-r1.ebuild +++ b/kde-base/kdeadmin/kdeadmin-1.94.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeadmin/kdeadmin-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:58 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeadmin/kdeadmin-1.94.ebuild,v 1.1 2000/09/18 17:25:25 achim Exp $ -P=kdeadmin-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - Administration" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 FinalBeta - Administration" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org/" src_compile() { LDFLAGS="-L/usr/lib/rpm -lbz2" try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib \ + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib \ --with-rpm --with-pam try make } diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-1.92-r1 b/kde-base/kdegraphics/files/digest-kdegraphics-1.92-r1 deleted file mode 100644 index 3145a80fd636..000000000000 --- a/kde-base/kdegraphics/files/digest-kdegraphics-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 1d38da791117fc32f05ef8267683c1f3 kdegraphics-1.92.tar.bz2 diff --git a/kde-base/kdegraphics/kdegraphics-1.92-r1.ebuild b/kde-base/kdegraphics/kdegraphics-1.94.ebuild index 52884f554ee3..d2f4097c004f 100644 --- a/kde-base/kdegraphics/kdegraphics-1.92-r1.ebuild +++ b/kde-base/kdegraphics/kdegraphics-1.94.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:58 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-1.94.ebuild,v 1.1 2000/09/18 17:25:25 achim Exp $ -P=kdegraphics-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - Administration" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 FinalBeta - Administration" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org" src_compile() { LDFLAGS="-L/usr/lib/rpm -lbz2" try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib \ + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib \ --with-rpm --with-pam try make } diff --git a/kde-base/kdemultimedia/files/digest-kdemultimedia-1.92-r1 b/kde-base/kdemultimedia/files/digest-kdemultimedia-1.92-r1 deleted file mode 100644 index 4bd66c41b1c9..000000000000 --- a/kde-base/kdemultimedia/files/digest-kdemultimedia-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 c7cbe4d77c4240701d9e004b0c4a11b0 kdemultimedia-1.92.tar.bz2 diff --git a/kde-base/kdemultimedia/kdemultimedia-1.92-r1.ebuild b/kde-base/kdemultimedia/kdemultimedia-1.92-r1.ebuild deleted file mode 100644 index a34529fecacf..000000000000 --- a/kde-base/kdemultimedia/kdemultimedia-1.92-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:59 drobbins Exp $ - -P=kdemultimedia-1.92 -A=${P}.tar.bz2 -S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - Multimedia" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} -HOMEPAGE="http://www.kde.org" - -src_compile() { - CPPFLAGS="$CPPFLAGS -I/usr/lib/glib/include/ -I/usr/X11R6/include/" \ - LDFLAGS="-L/usr/lib/rpm -lbz2" try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib \ - --with-alsa --enable-audio=alsa,oss - cp Makefile Makefile.orig - sed -e "s: kmidi : :" \ - -e "s: mpeglib_artsplug : :" Makefile.orig > Makefile - try make -} - -src_install() { - try make install prefix=${D}/opt/kde - dodoc AUTHORS ChangeLog COPYING README* -} - - - - - - - diff --git a/kde-base/kdemultimedia/kdemultimedia-1.94.ebuild b/kde-base/kdemultimedia/kdemultimedia-1.94.ebuild new file mode 100644 index 000000000000..f94ef5c7aa90 --- /dev/null +++ b/kde-base/kdemultimedia/kdemultimedia-1.94.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ + +A=${P}.tar.bz2 +S=${WORKDIR}/${P} +DESCRIPTION="KDE 2 FinalBeta - Multimedia" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} +HOMEPAGE="http://www.kde.org" + +src_compile() { + try ./configure --prefix=/opt/kde --host=${CHOST} \ + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib \ + --with-alsa --enable-audio=alsa,oss + cp Makefile Makefile.orig + sed -e "s: kmidi : :" \ + -e "s: kmidi : :" Makefile.orig > Makefile + try make +} + +src_install() { + try make install prefix=${D}/opt/kde + dodoc AUTHORS ChangeLog COPYING README* +} + + + + + + + diff --git a/kde-base/kdenetwork/files/digest-kdenetwork-1.92-r1 b/kde-base/kdenetwork/files/digest-kdenetwork-1.92-r1 deleted file mode 100644 index 1f796a4b999d..000000000000 --- a/kde-base/kdenetwork/files/digest-kdenetwork-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 1d9fe0d9e3c367b5c7df7aa78a3309c5 kdenetwork-1.92.tar.bz2 diff --git a/kde-base/kdenetwork/kdenetwork-1.92-r1.ebuild b/kde-base/kdenetwork/kdenetwork-1.94.ebuild index f3e26a6adb90..0e592b2e2889 100644 --- a/kde-base/kdenetwork/kdenetwork-1.92-r1.ebuild +++ b/kde-base/kdenetwork/kdenetwork-1.94.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/kdenetwork-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/kdenetwork-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ -P=kdenetwork-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - base" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 FinalBeta - base" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org" src_compile() { try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib try make } diff --git a/kde-base/kdepim/files/digest-kdepim-1.92-r1 b/kde-base/kdepim/files/digest-kdepim-1.92-r1 deleted file mode 100644 index 53ba6e5bd022..000000000000 --- a/kde-base/kdepim/files/digest-kdepim-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 f045c52a8ff319a1110d2b97f44606a1 kdepim-1.92.tar.bz2 diff --git a/kde-base/kdepim/kdepim-1.92-r1.ebuild b/kde-base/kdepim/kdepim-1.94.ebuild index 64f2b1ade4e3..c4891b72306d 100644 --- a/kde-base/kdepim/kdepim-1.92-r1.ebuild +++ b/kde-base/kdepim/kdepim-1.94.ebuild @@ -1,20 +1,20 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim/kdepim-1.92-r1.ebuild,v 1.2 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim/kdepim-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ -P=kdepim-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - PIM" +DESCRIPTION="KDE 2 Final Beta - PIM" CATEGORY=kde-apps -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/${A}" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/${A}" +HOMEPAGE="http:/www.kde.org/" src_compile() { try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib try make } diff --git a/kde-base/kdeutils/files/digest-kdeutils-1.92-r1 b/kde-base/kdeutils/files/digest-kdeutils-1.92-r1 deleted file mode 100644 index 961d859c8220..000000000000 --- a/kde-base/kdeutils/files/digest-kdeutils-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 8f0d2dcb2512f9a58b066d7dd4aa547a kdeutils-1.92.tar.bz2 diff --git a/kde-base/kdeutils/kdeutils-1.92-r1.ebuild b/kde-base/kdeutils/kdeutils-1.94.ebuild index 66864ee5b80a..3add04e76fb0 100644 --- a/kde-base/kdeutils/kdeutils-1.92-r1.ebuild +++ b/kde-base/kdeutils/kdeutils-1.94.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-1.92-r1.ebuild,v 1.3 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ -P=kdeutils-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - base" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 Final Beta - base" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/${A}" HOMEPAGE="http://www.kde.org/" src_compile() { try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib try make } diff --git a/kde-base/kdoc/files/digest-kdoc-1.92-r1 b/kde-base/kdoc/files/digest-kdoc-1.92-r1 deleted file mode 100644 index e8f69d67b804..000000000000 --- a/kde-base/kdoc/files/digest-kdoc-1.92-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 0697920471cc1bcca00fdde0d833b20e kdoc-1.92.tar.bz2 diff --git a/kde-base/kdoc/kdoc-1.92-r1.ebuild b/kde-base/kdoc/kdoc-1.94.ebuild index 28d4b0f5d8d1..41873df398d8 100644 --- a/kde-base/kdoc/kdoc-1.92-r1.ebuild +++ b/kde-base/kdoc/kdoc-1.94.ebuild @@ -1,20 +1,20 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdoc/kdoc-1.92-r1.ebuild,v 1.4 2000/09/15 20:08:59 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdoc/kdoc-1.94.ebuild,v 1.1 2000/09/18 17:25:26 achim Exp $ -P=kdoc-1.92 A=${P}.tar.bz2 S=${WORKDIR}/${P} -DESCRIPTION="KDE 2Beta - Multimedia" -SRC_URI="ftp://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta3/tar/src/"${A} +DESCRIPTION="KDE 2 Final Beta - Multimedia" +SRC_URI="http://download.sourceforge.net/mirrors/kde/unstable/distribution/2.0Beta5/tar/src/"${A} HOMEPAGE="http://www.kde.org" src_compile() { + try autoconf LDFLAGS="-L/usr/lib/rpm -lbz2" try ./configure --prefix=/opt/kde --host=${CHOST} \ - --with-qt-dir=/usr/lib/qt-copy-1.92 \ - --with-qt-includes=/usr/lib/qt-copy-1.92/include \ - --with-qt-libs=/usr/lib/qt-copy-1.92/lib \ + --with-qt-dir=/usr/lib/qt-x11-2.2.0 \ + --with-qt-includes=/usr/lib/qt-x11-2.2.0/include \ + --with-qt-libs=/usr/lib/qt-x11-2.2.0/lib \ --with-rpm --with-pam try make } |