summaryrefslogtreecommitdiff
path: root/community-testing/fxprocessview
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-10-21 10:47:37 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-10-21 10:47:37 +0200
commitaec9ffe68488d34c02bceb4942b87779f5c460d5 (patch)
tree5aaa0d61510bf94c4dd5bd751b53f61d39817e96 /community-testing/fxprocessview
parent59d570b2f4d752b3cd4dfcdf2ce8c75993d9c2eb (diff)
parent9598f5141ea75ffa72a3c7c85639c6f296020ef1 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/projectm/PKGBUILD community-testing/evas_generic_loaders-svn/PKGBUILD community-testing/gambas2/PKGBUILD community-testing/gambas3/PKGBUILD community-testing/libextractor/PKGBUILD community-testing/pdf2djvu/PKGBUILD community-testing/qtcreator/PKGBUILD community-testing/qtcreator/qtcreator.desktop community/galculator/PKGBUILD community/ristretto/PKGBUILD core/systemd/PKGBUILD extra/llvm/PKGBUILD extra/pyqt/PKGBUILD extra/python-lxml/PKGBUILD multilib/lib32-util-linux/PKGBUILD staging/glew/PKGBUILD staging/xine-lib/PKGBUILD testing/calligra/PKGBUILD testing/gdk-pixbuf2/PKGBUILD testing/gdm/PKGBUILD testing/gdm/fix_external_program_directories.patch testing/glib2/PKGBUILD testing/gnome-color-manager/PKGBUILD testing/gthumb/PKGBUILD testing/gtk3/PKGBUILD testing/gvfs/PKGBUILD testing/inkscape/PKGBUILD testing/kdebase-workspace/PKGBUILD testing/libreoffice/PKGBUILD testing/networkmanager/PKGBUILD testing/polkit/PKGBUILD testing/poppler/PKGBUILD testing/rhythmbox/PKGBUILD testing/xorg-server/PKGBUILD testing/xorg-xdm/PKGBUILD
Diffstat (limited to 'community-testing/fxprocessview')
-rw-r--r--community-testing/fxprocessview/PKGBUILD33
-rw-r--r--community-testing/fxprocessview/build-fix.patch41
2 files changed, 0 insertions, 74 deletions
diff --git a/community-testing/fxprocessview/PKGBUILD b/community-testing/fxprocessview/PKGBUILD
deleted file mode 100644
index 0b0bba20a..000000000
--- a/community-testing/fxprocessview/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 77289 2012-10-08 15:03:29Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Sander Jansen <sander@knology.net>
-
-pkgname=fxprocessview
-pkgver=0.5.0
-pkgrel=5
-pkgdesc="Process Viewer"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('fox>=1.4.0')
-makedepends=('glu')
-url="http://code.google.com/p/fxdesktop/"
-source=(http://archlinux-stuff.googlecode.com/files/$pkgname-$pkgver.tar.gz \
- build-fix.patch)
-md5sums=('5d3cc8d7aec770997c281a743ddfda5a'
- '2d2c3d54dcd2404149955f12cccb21a5')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- # Override default flags
- export CFLAGS="-Wall -O2 -pipe"
- export CXXFLAGS="-Wall -O2 -pipe"
- # Compile
- patch -Np1 <../build-fix.patch
- ./gb
- # gb does not return valid error code
- [ -f src/fxprocessview ]
- # make sure destination exists
- mkdir -p $pkgdir/usr/bin
- # Install
- ./gb install --package-root=$pkgdir/usr
-}
diff --git a/community-testing/fxprocessview/build-fix.patch b/community-testing/fxprocessview/build-fix.patch
deleted file mode 100644
index 7c883454c..000000000
--- a/community-testing/fxprocessview/build-fix.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -wbBur fxprocessview-0.5.0/src/processlist.cpp fxprocessview-0.5.0.my/src/processlist.cpp
---- fxprocessview-0.5.0/src/processlist.cpp 2005-07-15 06:39:17.000000000 +0400
-+++ fxprocessview-0.5.0.my/src/processlist.cpp 2007-03-07 19:21:34.000000000 +0300
-@@ -696,7 +696,7 @@
-
- long FXProcessList::onCmdUserMode(FXObject* sender,FXSelector,void* ){
- if (userfilter.empty()){
-- userfilter=FXFile::getCurrentUserName();
-+ userfilter=FXSystem::currentUserName();
- }
- else {
- userfilter="";
-@@ -942,12 +942,17 @@
-
-
-
-- FXint num_processes = FXFile::listFiles(dirlist,"/proc","[0123456789]*",LIST_MATCH_ALL|LIST_NO_FILES|LIST_NO_PARENT);
-+ FXint num_processes = FXDir::listFiles(dirlist,"/proc","[0123456789]*",FXDir::MatchAll | FXDir::NoFiles | FXDir::NoParent);
- task_total=num_processes;
- for (FXint i=0;i<num_processes;i++){
-
- /// Check the Owner
-- owner = FXFile::owner("/proc/" + dirlist[i]);
-+ FXStat stat;
-+ FXStat::statFile("/proc/" + dirlist[i], stat);
-+ owner = FXSystem::userName(stat.user());
-+
-+// owner = FXSystem::userName(FXStat::user("/proc/" + dirlist[i]));
-+
- if (!userfilter.empty() && (owner!=userfilter)) continue;
-
- /// Read in Process Stat
-@@ -1027,7 +1032,7 @@
- }
-
- filename = "/proc/" + dirlist[i] + "/cmdline";
-- if (FXFile::exists(filename)) {
-+ if (FXStat::exists(filename)) {
- fp = fopen(filename.text(),"r");
- if (fp) {
- if (fgets(buffer,80,fp)!=NULL){