|
COME FROM HERE:
http://sourceforge.net/docman/di ... &group_id=67909
Cygwin Gnome 1.4 Binary Packages
Installation Notes
See also: 'Release' notes How to install Running GNOME
--------------------------------------------------------------------------------
Since these packages are based upon the patches and instructs provided by Steven O'Brien at http://homepage.ntlworld.com/steven.obrien2/ , you can get some detailed infomation about this port from there. I recommend you read it carefully before you start downloading and installation.
Preinstall Requirement
OS This work was done on Windows 2000, but the patched sources should also build OK on NT and XP. The build has not yet been tested on Windows 9x/Me.
File System
NTFS is recommended. Problems with file locking mean that the system does not run properly on FAT/FAT32 file systems (for example, I found theme-switcher applet couldn't work). But the directory owner/permission checking for /tmp/orbit- username in ORBit has been simply removed. It's a security problem. You should set text file type to unix format (\n line-endings) and keep all mounts in binary mode. If not, launch Cygwin setup.exe, choose default text file type option to UNIX. Maybe a reinstallation is needed. The build do not attempt to deal with the text file/binary file issue (what reason to use a DOS style?).
Cygwin
I built these packages with a 2002-04-12 snapshot of Cygwin net-release, with some libraries upgraded on Dec 22, 2002. The 'kernel', cygwin1.dll, is of version 1.3.12-2. So on older system, they may or may not work. And XFree86 for Cygwin is required (how do you run GNOME programs if you haven't?). You can use other X server, such as X-WinPro, Exceed, or Extra!X, but you also need the DLLs of Cygwin/XFree86.
Other packages
Libdb3.1, libintl1, libiconv2 and libungif run-time packages(DLLs) are required to run GNOME. And libdb3.1-devel , libiconv is needed to build GNOME applications by yourself. They are mentioned here just because now the Cygwin net-release contains them, while at the time I built GNOME packages, they are not. Download them from any mirror of Cygwin net-release. Other non-GNOME packages needed to run GNOME is assumed to be found here, if it is not in the net-release.
Packages
Package startgnome
This package contains a DOS batch file and a shell script helping you start GNOME desktop. It is also distributed by Steven O'Brien in his Cygwin GNOME patches site.
[ Sep 29: Now it also contains the directory skeleton of /opt/gnome. You should install this package before _any_ GNOME package. You can install it via unpacking it by hand, with installpkg.sh, or just selecting a single 'startgnome' in setup.exe to make sure it's installed before GNOME. ]
[ Nov 19: /etc/profile.d/gnomepath.d added into this packages, so that /opt/gnome/bin would be automatically added into you path. The same to MANPATH. But INFOPATH are not handled.]
Package cygnome-libs
This is a all-in-one package conaining the almost all the core libraries of GNOME 1.4. They are packed into one tarball for your convenience to download. It includs:
audiofile-0.2.3
esound-0.2.24
GConf-1.0.9
gdk-pixbuf-0.14.0
glib-1.2.10
gnome-libs-1.4.1.2.90
gtk+-1.2.10
imlib-1.9.13
libglade-0.17
libxml-1.8.17
oaf-0.6.8
ORBit-0.5.15
gnome-vfs-1.0.5 ( added in 1.4b-2 )
gnome-print-0.35 ( added in 1.4b-2 )
libgtop-1.0.12 ( added in 1.4b-2 )
libghttp-1.0.9 ( added in 1.4b-2 )
gnome-mime-data-1.0.4 ( added in 1.4b-3 )
And cygnome-libs-devel contains the include files and staticl libraries for the libraries listed above. You need it if you want to build GTK+/GNOME based application by your own.
Package cygnome-apps
This is also a all-in-one convinence package, including some GTK+/GNOME based applications:
amcl-0.7.5 A MUD client for X.
dillo-0.6.4 A light-weight GTK-based web browser
ee-0.3.12 The Electric Eyes image viewer application.
gedit-0.9.7 gEdit is a small but powerful text editor for GNOME.
gnome-find-1.0.2 Graphical Version of the GNU find utility
gnomeicu-0.96.1 An ICQ client.
gnome-pim-1.2.0 GNOME personal productivity applications.
gnotepad+-1.3.3 A small and simple but versatile text editor for X.
gqview-0.8.1 An image viewer.
gtkdiff-1.8.0 A graphical text comparison tool
gtksee-0.5.0 An image viewer based on GTK+ resembling ACDSee
gtktalog-1.0rc2 The Gnome disk catalog.
gtop-1.0.13-4 A system monitor for GNOME.
gxtar-0.1.0 GNOME/GTK+ front-end for common archive utilities.
hypersrc-2.1.6 hypersrc is a GUI program for browsing source code
pan-0.11.2 A GNOME/GTK+ news reader for X.
sylpheed-0.8.6 A GTK+ based, lightweight, and fast email client.
xchat-1.8.8 A GTK+ IRC (chat) client.
Installation
Install via Cygwin setup.exe
It seems that Cygwin setup.exe doesn't have a simply way to install specified packages by simply add a setup.hint along with the tarball. But I found that the following steps could work (setup.exe seems to read any file whose name is started with 'setup.ini' in any subdirectory under the source directory):
Make a directory called 'gnome' in the directory where setup.exe puts the downloaded packages (assumed to be X:\Cygwin-setup\ );
Copy all the gnome package into the newly created 'gnome' directory. Every package must in a subdir named by it's own package name, eg, gnome-libs-1.2.13-17.tar.bz2 in X:\Cygwin-setup\gnome\gnome-libs, gnome-print-devel-0.29-7.tar.bz2 in X:\Cygwin-setup\gnome\gnome-print-devel;
Download the setup.ini.gnome made by myself and copy it into X:\Cygwin-setup\gnome;
Launch setup.exe. The GNOME packages lies in the GNOME-libs, GNOME-desktop, GNOME-apps sections.
[ This way doesn't work any more for latest setup.exe. And setup.ini is no longer available for 1.4beta release. ]
Manual install
I've prepared a shell script installpkg.sh . Copy it to /usr/local/bin, and call it like this
$ installpkg.sh pkg1.tar.gz pkg2.tar.bz2
You can install serveral packages at one time. And it support tarball compressed by gzip or bzip2. In addition, it record the file list into /etc/setup/ pkgname.gz, and then add an entry in the Cygwin package database /etc/setup/installed.db. That's to say, it is compliant with Cygwin Setup.exe and you can use setup.exe to perform uninstallation.
Note: it couldn't handle package dependency and post-install stuff as setup.exe . But I think it's more handy in some cases.
Post-install
Some packages provided post-install script (in /etc/postinstall, for compatibility with Cygwin setup.exe), but installpkg.sh could not handl this. So you should do it by your self: execute /etc/postinstall/xxx.{sh|csh} and when you finished, rename them to xxx.sh.done.
Uninstallation
Uninstall via Cygwin setup.exe
If these package are installed with setup.exe or installpkg.sh, you could uninstall them via setup.exe.
Manual uninstall
As mentioned above, the file list of a package is recorded in /etc/setup/ pkgname.gz. So you can inspect the list and delete the files by hand. A script removepkg.sh would let you uninstall package within Cygwin shell). |
|