blob: 37758241b06af238f01f1f2ca56ead71bb4628bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
# Description: Equinox Desktop Environment, interface graphique minimale
# URL: http://equinox-project.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: xorg, hal, efltk, fox, xfe, evilvte, shared-mime-info, startup-notification
name=ede1
version=1.2
release=3
source=(http://sourceforge.net/projects/ede/files/1.2/ede-$version.tar.gz\
Terminal.desktop RootWallPaper.png Editor.desktop\
WallPaper.jpg FileManager.desktop startede ede.conf \
logoutdialog.cpp EDE1.xinitrc)
build()
{
install -D -m644 EDE1.xinitrc $PKG/etc/X11/dm/EDE1.xinitrc
mkdir -p $PKG/etc/qingy/sessions
cat >> $PKG/etc/qingy/sessions/EDE1 << "EOF"
source /etc/profile
userclientrc=/etc/X11/dm/EDE1.xinitrc /usr/bin/startx.qingy
EOF
chmod 755 $PKG/etc/qingy/sessions/EDE1
cd ede
cp ../logoutdialog.cpp eworkpanel/
sed -i "s/mkdir/mkdir\ -p/" mkinstalldirs
# sed -i "s/Fl_Combo_Box:://" efltk/Fl_Combo_Box.h
# sed -i "s/\$(EFLTK_BINDIR/LD_LIBRARY_PATH=\$(EFLTK_LIBDIR)\ \$(EFLTK_BINDIR/" test/Makefile
sed -i "s/einstaller/epkgman/" eworkpanel/menu.h
sed -i "s@Install\ New\ Software@Gestion des paquets@" eworkpanel/menu.h
sed -i "s@Menu\ Editor@Editeur\ de\ menus@" eworkpanel/menu.h
sed -i "s@Control\ Panel@Centre\ de\ configuration@" eworkpanel/menu.h
sed -i "s@Programs@Programmes@" eworkpanel/menu.h
sed -i "s@User@Utilisateur@" eworkpanel/menu.h
sed -i "s@About@A\ propos@" eworkpanel/menu.h
sed -i "s@Panel@Gestion@" eworkpanel/menu.h
sed -i "s@Lock@Verrouiller@" eworkpanel/menu.h
sed -i "s@Favourites@Favoris@" eworkpanel/menu.h
sed -i "s@Find@Recherche@" eworkpanel/menu.h
sed -i "s@Help@Aide@" eworkpanel/menu.h
sed -i "s@Run@Lancer\ une\ commande@" eworkpanel/menu.h
sed -i "s@Quick\ Browser@Navigateur\ rapide@" eworkpanel/menu.h
sed -i "s@Logout@Quitter@" eworkpanel/menu.h
sed -i "s@Utilisateur\ Programmes@Programmes\ utilisateur@" eworkpanel/menu.h
# Adjust the mime data
sed -i "s/enotepad/xfw/g" datas/mime.conf
sed -i "s/mozilla/firefox/g" datas/mime.conf
# We don't want einstaller
sed -i "/einstaller/d" Makefile
sed -i "s/einstaller/epkgman/" econtrol/econtrol.cpp
./configure --prefix=/usr
make
install -d $PKG/usr/bin
install -d $PKG/root
make prefix=$PKG/usr LOCALEDIR=$PKG/usr/share/locale install
cp ../*.desktop $PKG/usr/share/ede/.ede/desktop/
mv ../WallPaper.jpg $PKG/usr/share/ede/.ede/
mv ../RootWallPaper.png $PKG/usr/share/ede/.ede/
mv ../startede $PKG/usr/bin/startede
chmod +x $PKG/usr/bin/startede
mv ../ede.conf $PKG/usr/share/ede/.ede/ede.conf
sed -i "s/ooffice/soffice/" $PKG/usr/share/ede/programs/Applications/ooffice.desktop
sed -i "s/enotepad/xfw/" $PKG/usr/share/ede/programs/Applications/notepad.desktop
sed -i "s/lyx/links\ -g/" $PKG/usr/share/ede/programs/Applications/lyx.desktop
sed -i "s/Lyx/Links/" $PKG/usr/share/ede/programs/Applications/lyx.desktop
mv $PKG/usr/share/ede/programs/Applications/lyx.desktop \
$PKG/usr/share/ede/programs/Internet/links.desktop
sed -i "s/ecalc/calculator/" $PKG/usr/share/ede/programs/Utilities/calc.desktop
cp ../FileManager.desktop $PKG/usr/share/ede/programs/Utilities/filemanager.desktop
sed -i "s/mozilla/firefox/" $PKG/usr/share/ede/programs/Internet/Mozilla.desktop
sed -i "s/firefox.png/mozilla.png/" $PKG/usr/share/ede/programs/Internet/Mozilla.desktop
rm $PKG/usr/share/ede/programs/Internet/lynx.desktop
for i in Kterm.desktop UNIX-regular.desktop UNIX.desktop Vnterm.desktop Eterm.desktop
do
rm $PKG/usr/share/ede/programs/System/$i
done
for i in abiword.desktop Emacs.desktop Vim.desktop WordPerfect.desktop Xemacs.desktop ooffice.desktop
do
rm $PKG/usr/share/ede/programs/Applications/$i
done
for i in cooledit.desktop xwpe.desktop xxgdb.desktop
do
rm $PKG/usr/share/ede/programs/Development/$i
done
rm -rf $PKG/usr/share/ede/programs/Games
for i in acroread.desktop gv.desktop xpdf.desktop GIMP.desktop xsane.desktop xdvi.desktop
do
rm $PKG/usr/share/ede/programs/Graphics/$i
done
for i in Mozilla.desktop links.desktop Netscape.desktop postoffice.desktop dialup.desktop Opera.desktop
do
rm $PKG/usr/share/ede/programs/Internet/$i
done
for i in alsaplayer.desktop ecdplayer.desktop x11amp.desktop mplayer.desktop xmms.desktop realplayer.desktop
do
rm $PKG/usr/share/ede/programs/Multimedia/$i
done
rm $PKG/usr/share/ede/.ede/desktop/Terminal.desktop
rm $PKG/usr/share/ede/programs/System/rxvt.desktop
cp ../Terminal.desktop $PKG/usr/share/ede/programs/System/Terminal.desktop
}
|