aboutsummaryrefslogtreecommitdiff
path: root/system/pcmanfm
diff options
context:
space:
mode:
Diffstat (limited to 'system/pcmanfm')
-rw-r--r--system/pcmanfm/README2
-rw-r--r--system/pcmanfm/pcmanfm.SlackBuild11
-rw-r--r--system/pcmanfm/pcmanfm.info6
-rw-r--r--system/pcmanfm/window-resize.patch25
4 files changed, 9 insertions, 35 deletions
diff --git a/system/pcmanfm/README b/system/pcmanfm/README
index b49fcbd14f99d..6ebb9299c5068 100644
--- a/system/pcmanfm/README
+++ b/system/pcmanfm/README
@@ -4,5 +4,3 @@ which features tabbed browsing and a user-friendly interface.
If you have problems viewing icons on pcmanfm, include this line to
your $HOME/.gtkrc-2.0:
gtk-icon-theme-name="Tango"
-
-This requires libfm.
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild
index 967ab5a5e1a4e..9f42b1f7f8587 100644
--- a/system/pcmanfm/pcmanfm.SlackBuild
+++ b/system/pcmanfm/pcmanfm.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcmanfm
-VERSION=${VERSION:-0.9.10}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,11 +73,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# a small fix from git
-patch -p1 < $CWD/window-resize.patch
-
sh autogen.sh || true
+LDFLAGS="-lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -85,8 +83,8 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--disable-debug \
- --disable-static \
--build=$ARCH-slackware-linux
make
@@ -98,6 +96,9 @@ sed -i 's/Name=File\ Manager/Name=PCMan\ File\ Manager/' $PKG/usr/share/applicat
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/pcmanfm/pcmanfm.info b/system/pcmanfm/pcmanfm.info
index 10067e84aa351..3e3b374f99feb 100644
--- a/system/pcmanfm/pcmanfm.info
+++ b/system/pcmanfm/pcmanfm.info
@@ -1,8 +1,8 @@
PRGNAM="pcmanfm"
-VERSION="0.9.10"
+VERSION="1.0"
HOMEPAGE="http://pcmanfm.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/pcmanfm-0.9.10.tar.gz"
-MD5SUM="d34a3530a6c5dcd674d23021d71c3e95"
+DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/pcmanfm-1.0.tar.gz"
+MD5SUM="df082fde42c4036b220cd3167ceab98e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libfm"
diff --git a/system/pcmanfm/window-resize.patch b/system/pcmanfm/window-resize.patch
deleted file mode 100644
index 968ed4f9a9a18..0000000000000
--- a/system/pcmanfm/window-resize.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 942fd81a00e93fa576f05c6f9a9f52864586f0a0 Mon Sep 17 00:00:00 2001
-From: Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
-Date: Mon, 5 Dec 2011 23:39:24 +0800
-Subject: [PATCH] Apply patch #3438582 to fix bug #3325415 - window resize problem.
-
----
- src/main-win.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/main-win.c b/src/main-win.c
-index c5af013..3d80372 100644
---- a/src/main-win.c
-+++ b/src/main-win.c
-@@ -1326,7 +1326,7 @@ gboolean on_button_press_event(GtkWidget* w, GdkEventButton* evt)
- act = gtk_ui_manager_get_action(win->ui, "/Next2");
- gtk_action_activate(act);
- }
-- return TRUE;
-+ return GTK_WIDGET_CLASS(fm_main_win_parent_class)->button_press_event(w, evt);
- }
-
- static void on_reload(GtkAction* act, FmMainWin* win)
---
-1.7.4.1
-