The time now is Thu 23 May 2013, 11:29
All times are UTC - 4 |
|
Page 2 of 2 [21 Posts] |
Goto page: Previous 1, 2 |
| Author |
Message |
Iguleder

Joined: 11 Aug 2009 Posts: 1614 Location: Israel, somewhere in the beautiful desert
|
Posted: Fri 02 Sep 2011, 13:29 Post subject:
|
|
Here's my build script, produces a ~95 KB package.
| Code: | #!/bin/sh
PKG_NAME="rxvt-unicode"
PKG_VER="9.12"
PKG_REV="1"
PKG_DESC="Terminal emulator"
PKG_CAT="Utility"
PKG_DEPS=""
download() {
# download the sources
wget http://dist.schmorp.de/rxvt-unicode/$PKG_NAME-$PKG_VER.tar.bz2
[ $? -ne 0 ] && return 1
return 0
}
build() {
# extract the sources
tar -xjvf $PKG_NAME-$PKG_VER.tar.bz2
[ $? -ne 0 ] && return 1
cd $PKG_NAME-$PKG_VER
# configure the package
CXXFLAGS="$CXXFLAGS" ./configure \
$BASE_CONFIGURE_ARGS \
--prefix=/usr \
--with-terminfo=/usr/share/terminfo \
--disable-256-color \
--disable-unicode3 \
--disable-xft \
--disable-font-styles \
--disable-afterimage \
--disable-pixbuf \
--disable-transparency \
--disable-fading \
--disable-rxvt-scroll \
--enable-next-scroll \
--disable-xterm-scroll \
--disable-perl \
--disable-xim \
--enable-backspace-key \
--enable-delete-key \
--disable-resources \
--disable-swapscreen \
--disable-iso14755 \
--disable-frills \
--enable-keepscrolling \
--enable-selectionscrolling \
--enable-mousewheel \
--disable-slipwheeling \
--disable-smart-resize \
--disable-text-blink \
--disable-pointer-blank \
--disable-utmp \
--disable-wtmp \
--disable-lastlog \
--with-codesets="" \
--disable-combining \
--disable-assert \
[ $? -ne 0 ] && return 1
# build the package
make -j $BUILD_THREADS
[ $? -ne 0 ] && return 1
return 0
}
package() {
# install the package
make DESTDIR=$INSTALL_DIR install
[ $? -ne 0 ] && return 1
# create a symlink for compatibility with existing stuff that rely on rxvt
ln -s urxvt $INSTALL_DIR/usr/bin/rxvt
# remove urxvtc and urxvtd
rm -f $INSTALL_DIR/usr/bin/urxvtc $INSTALL_DIR/usr/bin/urxvtd
# create a menu entry
mkdir -p $INSTALL_DIR/usr/share/applications
echo '[Desktop Entry]
Encoding=UTF-8
Name=Rxvt-unicode terminal emulator
Icon=mini-term.xpm
Comment=Rxvt-unicode terminal emulator
Exec=urxvt
Terminal=false
Type=Application
Categories=Utility;TerminalEmulator;
GenericName=Rxvt-unicode terminal emulator' > $INSTALL_DIR/usr/share/applications/rxvt-unicode.desktop
chmod 644 $INSTALL_DIR/usr/share/applications/rxvt-unicode.desktop
return 0
} |
_________________ Shahor, my Puppy concept
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2174 Location: UK
|
Posted: Mon 05 Sep 2011, 08:13 Post subject:
|
|
Thanks Igu, I alrady checked that one out, remembered it was in your build script thingy...
Does anyone have the following problem with urxvt?
When I use 'urxvt -e command' the terminal window pens for a second then exits...
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2174 Location: UK
|
Posted: Mon 05 Sep 2011, 08:15 Post subject:
|
|
| sc0ttman wrote: | Thanks Igu, I alrady checked that one out, remembered it was in your build script thingy...
Does anyone have the following problem with urxvt?
When I use 'urxvt -e command' the terminal window opens for a second then exits... |
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
Ibidem
Joined: 25 May 2010 Posts: 248
|
Posted: Sat 12 May 2012, 12:38 Post subject:
Necromancy ftw! |
|
I know the thread is old, but an answer late can still help someone...
urxvt -e command
will exit as soon as the command does unless you use -hold as well.
CFLAGS won't work, it uses CXXFLAGS (as do most C++ programs).
For configure, you must specify them before running configure.
so CXXFLAGS=... ./configure
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2213 Location: Gatineau (Qc), Canada
|
Posted: Sun 13 May 2012, 05:20 Post subject:
|
|
Hi, people.
mrxvt's tab-capacity is indeed interesting, but since it doesn't support utf-8 localizations, and on purpose, too -- so any accented character used in it will be deformed to gibberish.
Unless somebody knows a good workaround, after all the trouble the new localization packages gave us, it would be counter-productive to use mrxvt AND a utf-8 localization in Puppy.
Conversely, urxvt can be made tab-abled, through the perl patch, but problem is: how to set the urxvt perl patch in Puppy.
Or we can dump those two and the headaches they create, and use ROX terminal instead (which supports tabs AND utf- .
That said, I still like the flexibility in shading that urxvt offers, especially if you add the title/border control in icewm's winoptions. You can sort of color-code urxvt for various tasks.
Just my 2 cents.
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2213 Location: Gatineau (Qc), Canada
|
Posted: Sun 13 May 2012, 05:26 Post subject:
|
|
to iguleder:
What's the point of maiming a good program ???!!!
| Code: |
--prefix=/usr \
--with-terminfo=/usr/share/terminfo \
--disable-256-color \
--disable-unicode3 \
--disable-xft \
--disable-font-styles \
--disable-afterimage \
--disable-pixbuf \
--disable-transparency \
--disable-fading \
--disable-rxvt-scroll \
--enable-next-scroll \
--disable-xterm-scroll \
--disable-perl \
--disable-xim \
--enable-backspace-key \
--enable-delete-key \
--disable-resources \
--disable-swapscreen \
--disable-iso14755 \
--disable-frills \
--enable-keepscrolling \
--enable-selectionscrolling \
--enable-mousewheel \
--disable-slipwheeling \
--disable-smart-resize \
--disable-text-blink \
--disable-pointer-blank \
--disable-utmp \
--disable-wtmp \
--disable-lastlog \
--with-codesets="" \
--disable-combining \
--disable-assert \
|
Might as well stick with the old rxvt! (hehe)
Sorry for the comment. Couldn't help it!
BFN.
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
|
|
Page 2 of 2 [21 Posts] |
Goto page: Previous 1, 2 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|