You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(23) |
Nov
(20) |
Dec
(32) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(43) |
Feb
(31) |
Mar
(99) |
Apr
(57) |
May
(82) |
Jun
(73) |
Jul
(123) |
Aug
(634) |
Sep
(588) |
Oct
(264) |
Nov
(217) |
Dec
(179) |
2005 |
Jan
(262) |
Feb
(273) |
Mar
(164) |
Apr
(88) |
May
(23) |
Jun
(10) |
Jul
(8) |
Aug
(19) |
Sep
(112) |
Oct
(57) |
Nov
(71) |
Dec
(6) |
2006 |
Jan
(14) |
Feb
(48) |
Mar
(56) |
Apr
(21) |
May
(77) |
Jun
(46) |
Jul
(47) |
Aug
(27) |
Sep
(18) |
Oct
(16) |
Nov
(4) |
Dec
(18) |
2007 |
Jan
(2) |
Feb
(6) |
Mar
(2) |
Apr
(27) |
May
(13) |
Jun
(27) |
Jul
(20) |
Aug
(3) |
Sep
(3) |
Oct
(23) |
Nov
(21) |
Dec
(6) |
2008 |
Jan
(7) |
Feb
(3) |
Mar
(4) |
Apr
(8) |
May
(3) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(11) |
Feb
(1) |
Mar
(8) |
Apr
|
May
|
Jun
(4) |
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: <ale...@us...> - 2004-01-03 15:17:40
|
Update of /cvsroot/morphix/langconf/debian In directory sc8-pr-cvs1:/tmp/cvs-serv22029/debian Log Message: Directory /cvsroot/morphix/langconf/debian added to the repository |
Update of /cvsroot/morphix/networkconf/debian In directory sc8-pr-cvs1:/tmp/cvs-serv21225 Added Files: README.Debian changelog compat control copyright dirs docs files manpage.1.ex manpage.sgml.ex menu.ex networkconf.doc-base.EX networkconf.postinst.debhelper networkconf.prerm.debhelper networkconf.substvars postinst.ex postrm.ex preinst.ex prerm.ex rules Log Message: adding debian/ files --- NEW FILE: README.Debian --- networkconf for Debian ---------------------- <possible notes regarding this package - if none, delete this file> -- Morphix User <lala@myBox>, Sat, 3 Jan 2004 15:48:48 +0000 --- NEW FILE: changelog --- networkconf (0.1-1) unstable; urgency=low * Initial Release. -- Alex de Landgraaf <ale...@xs...> Sat, 3 Jan 2004 15:48:48 +0000 --- NEW FILE: compat --- 4 --- NEW FILE: control --- Source: networkconf Section: admin Priority: optional Maintainer: Alex de Landgraaf <ale...@xs...> Build-Depends: debhelper (>= 4.0.0) Standards-Version: 3.6.0 Package: networkconf Architecture: i386 Depends: ${shlibs:Depends}, libc6 (>= 2.3.2-1), libglib2.0-0, libgtk2.0-0, libpango1.0-0, pump | dhclient Description: Network/Wifi configuration tool Simple tool for quickly configuring eth and wlan devices for Debian-based distributions using /etc/network/interfaces. . Initially for the Morphix project, this tool also provides WEP options for wireless network cards. --- NEW FILE: copyright --- This package was debianized by Morphix User <lala@myBox> on Sat, 3 Jan 2004 15:48:48 +0000. It was downloaded from <fill in ftp site> Upstream Author(s): <put author(s) name and email here> Copyright: <Must follow here> --- NEW FILE: dirs --- usr/bin usr/sbin --- NEW FILE: docs --- NEWS README --- NEW FILE: files --- networkconf_0.1-1_i386.deb admin optional --- NEW FILE: manpage.1.ex --- .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH NETWORKCONF SECTION "January 3, 2004" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp <n> insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME networkconf \- program to do something .SH SYNOPSIS .B networkconf .RI [ options ] " files" ... .br .B bar .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the .B networkconf and .B bar commands. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. .PP .\" TeX users may be more comfortable with the \fB<whatever>\fP and .\" \fI<whatever>\fP escape sequences to invode bold face and italics, .\" respectively. \fBnetworkconf\fP is a program that... .SH OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B \-h, \-\-help Show summary of options. .TP .B \-v, \-\-version Show version of program. .SH SEE ALSO .BR bar (1), .BR baz (1). .br The programs are documented fully by .IR "The Rise and Fall of a Fooish Bar" , available via the Info system. .SH AUTHOR This manual page was written by Morphix User <lala@myBox>, for the Debian project (but may be used by others). --- NEW FILE: manpage.sgml.ex --- <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!-- Process this file with docbook-to-man to generate an nroff manual page: `docbook-to-man manpage.sgml > manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> <!-- Fill in your name for FIRSTNAME and SURNAME. --> <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>"> <!ENTITY dhsurname "<surname>SURNAME</surname>"> <!-- Please adjust the date whenever revising the manpage. --> <!ENTITY dhdate "<date>January 3, 2004</date>"> <!-- SECTION should be 1-8, maybe w/ subsection other parameters are allowed: see man(7), man(1). --> <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>"> <!ENTITY dhemail "<email>lala@myBox</email>"> <!ENTITY dhusername "Morphix User"> <!ENTITY dhucpackage "<refentrytitle>NETWORKCONF</refentrytitle>"> <!ENTITY dhpackage "networkconf"> <!ENTITY debian "<productname>Debian</productname>"> <!ENTITY gnu "<acronym>GNU</acronym>"> <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> ]> <refentry> <refentryinfo> <address> &dhemail; </address> <author> &dhfirstname; &dhsurname; </author> <copyright> <year>2003</year> <holder>&dhusername;</holder> </copyright> &dhdate; </refentryinfo> <refmeta> &dhucpackage; &dhsection; </refmeta> <refnamediv> <refname>&dhpackage;</refname> <refpurpose>program to do something</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>&dhpackage;</command> <arg><option>-e <replaceable>this</replaceable></option></arg> <arg><option>--example <replaceable>that</replaceable></option></arg> </cmdsynopsis> </refsynopsisdiv> <refsect1> <title>DESCRIPTION</title> <para>This manual page documents briefly the <command>&dhpackage;</command> and <command>bar</command> commands.</para> <para>This manual page was written for the &debian; distribution because the original program does not have a manual page. Instead, it has documentation in the &gnu; <application>Info</application> format; see below.</para> <para><command>&dhpackage;</command> is a program that...</para> </refsect1> <refsect1> <title>OPTIONS</title> <para>These programs follow the usual &gnu; command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the <application>Info</application> files.</para> <variablelist> <varlistentry> <term><option>-h</option> <option>--help</option> </term> <listitem> <para>Show summary of options.</para> </listitem> </varlistentry> <varlistentry> <term><option>-v</option> <option>--version</option> </term> <listitem> <para>Show version of program.</para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1> <title>SEE ALSO</title> <para>bar (1), baz (1).</para> <para>The programs are documented fully by <citetitle>The Rise and Fall of a Fooish Bar</citetitle> available via the <application>Info</application> system.</para> </refsect1> <refsect1> <title>AUTHOR</title> <para>This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. </para> <para> On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:2 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:nil sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --> --- NEW FILE: menu.ex --- ?package(networkconf):needs=X11|text|vc|wm section=Apps/see-menu-manual\ title="networkconf" command="/usr/bin/networkconf" --- NEW FILE: networkconf.doc-base.EX --- Document: networkconf Title: Debian networkconf Manual Author: <insert document author here> Abstract: This manual describes what networkconf is and how it can be used to manage online manuals on Debian systems. Section: unknown Format: debiandoc-sgml Files: /usr/share/doc/networkconf/networkconf.sgml.gz Format: postscript Files: /usr/share/doc/networkconf/networkconf.ps.gz Format: text Files: /usr/share/doc/networkconf/networkconf.text.gz Format: HTML Index: /usr/share/doc/networkconf/html/index.html Files: /usr/share/doc/networkconf/html/*.html --- NEW FILE: networkconf.postinst.debhelper --- # Automatically added by dh_installdocs if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then install-docs -i /usr/share/doc-base/networkconf fi # End automatically added section --- NEW FILE: networkconf.prerm.debhelper --- # Automatically added by dh_installdocs if [ "$1" = remove ] || [ "$1" = upgrade ] && \ which install-docs >/dev/null 2>&1; then install-docs -r networkconf fi # End automatically added section --- NEW FILE: networkconf.substvars --- shlibs:Depends=libatk1.0-0 (>= 1.4.1), libc6 (>= 2.3.2.ds1-4), libglib2.0-0 (>= 2.2.3), libgtk2.0-0 (>= 2.2.1), libpango1.0-0 (>= 1.2.1) --- NEW FILE: postinst.ex --- #! /bin/sh # postinst script for networkconf # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # <new-version> # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' # <failed-install-package> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: postrm.ex --- #! /bin/sh # postrm script for networkconf # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' # * <new-postrm> `abort-install' <old-version> # * <new-postrm> `abort-upgrade' <old-version> # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: preinst.ex --- #! /bin/sh # preinst script for networkconf # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) # if [ "$1" = "upgrade" ] # then # start-stop-daemon --stop --quiet --oknodo \ # --pidfile /var/run/networkconf.pid \ # --exec /usr/sbin/networkconf 2>/dev/null || true # fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: prerm.ex --- #! /bin/sh # prerm script for networkconf # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> # * <deconfigured's-prerm> `deconfigure' `in-favour' # <package-being-installed> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|deconfigure) # install-info --quiet --remove /usr/info/networkconf.info.gz ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: rules --- #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif config.status: configure dh_testdir # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) #/usr/bin/docbook-to-man debian/networkconf.sgml > networkconf.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. -$(MAKE) distclean ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/networkconf. $(MAKE) install DESTDIR=$(CURDIR)/debian/networkconf # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples # dh_install # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms # dh_perl # dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install |
Update of /cvsroot/morphix/mcp2/debian In directory sc8-pr-cvs1:/tmp/cvs-serv20052 Added Files: README.Debian changelog compat control copyright dirs docs files manpage.1.ex manpage.sgml.ex mcp2-default.ex mcp2.doc-base.EX mcp2.postinst.debhelper mcp2.prerm.debhelper mcp2.substvars menu.ex postinst.ex postrm.ex preinst.ex prerm.ex rules Log Message: adding debian/ files (yes, again) --- NEW FILE: README.Debian --- mcp2 for Debian --------------- <possible notes regarding this package - if none, delete this file> -- Morphix User <lala@myBox>, Sat, 3 Jan 2004 15:41:49 +0000 --- NEW FILE: changelog --- mcp2 (0.1-1) unstable; urgency=low * Initial Release. -- Alex de Landgraaf <ale...@xs...> Sat, 3 Jan 2004 15:41:49 +0000 --- NEW FILE: compat --- 4 --- NEW FILE: control --- Source: mcp2 Section: admin Priority: optional Maintainer: Alex de Landgraaf <ale...@xs...> Build-Depends: debhelper (>= 4.0.0) Standards-Version: 3.6.0 Package: mcp2 Architecture: i386 Depends: ${shlibs:Depends}, libc6 (>= 2.3.2-1), libglib2.0-0, libgtk2.0-0, libpango1.0-0, libxml2 Description: Morphix Control Panel A simple panel, taking an xml file as input to display a number of options. Flexible to be used for a number of uses, however mcp2 was designed to be used for easily starting various system administration tools. --- NEW FILE: copyright --- This package was debianized by Morphix User <lala@myBox> on Sat, 3 Jan 2004 15:41:49 +0000. It was downloaded from <fill in ftp site> Upstream Author(s): <put author(s) name and email here> Copyright: <Must follow here> --- NEW FILE: dirs --- usr/bin usr/sbin --- NEW FILE: docs --- NEWS README --- NEW FILE: files --- mcp2_0.1-1_i386.deb admin optional --- NEW FILE: manpage.1.ex --- .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH MCP2 SECTION "January 3, 2004" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp <n> insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME mcp2 \- program to do something .SH SYNOPSIS .B mcp2 .RI [ options ] " files" ... .br .B bar .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the .B mcp2 and .B bar commands. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. .PP .\" TeX users may be more comfortable with the \fB<whatever>\fP and .\" \fI<whatever>\fP escape sequences to invode bold face and italics, .\" respectively. \fBmcp2\fP is a program that... .SH OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B \-h, \-\-help Show summary of options. .TP .B \-v, \-\-version Show version of program. .SH SEE ALSO .BR bar (1), .BR baz (1). .br The programs are documented fully by .IR "The Rise and Fall of a Fooish Bar" , available via the Info system. .SH AUTHOR This manual page was written by Morphix User <lala@myBox>, for the Debian project (but may be used by others). --- NEW FILE: manpage.sgml.ex --- <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!-- Process this file with docbook-to-man to generate an nroff manual page: `docbook-to-man manpage.sgml > manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> <!-- Fill in your name for FIRSTNAME and SURNAME. --> <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>"> <!ENTITY dhsurname "<surname>SURNAME</surname>"> <!-- Please adjust the date whenever revising the manpage. --> <!ENTITY dhdate "<date>January 3, 2004</date>"> <!-- SECTION should be 1-8, maybe w/ subsection other parameters are allowed: see man(7), man(1). --> <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>"> <!ENTITY dhemail "<email>lala@myBox</email>"> <!ENTITY dhusername "Morphix User"> <!ENTITY dhucpackage "<refentrytitle>MCP2</refentrytitle>"> <!ENTITY dhpackage "mcp2"> <!ENTITY debian "<productname>Debian</productname>"> <!ENTITY gnu "<acronym>GNU</acronym>"> <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> ]> <refentry> <refentryinfo> <address> &dhemail; </address> <author> &dhfirstname; &dhsurname; </author> <copyright> <year>2003</year> <holder>&dhusername;</holder> </copyright> &dhdate; </refentryinfo> <refmeta> &dhucpackage; &dhsection; </refmeta> <refnamediv> <refname>&dhpackage;</refname> <refpurpose>program to do something</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>&dhpackage;</command> <arg><option>-e <replaceable>this</replaceable></option></arg> <arg><option>--example <replaceable>that</replaceable></option></arg> </cmdsynopsis> </refsynopsisdiv> <refsect1> <title>DESCRIPTION</title> <para>This manual page documents briefly the <command>&dhpackage;</command> and <command>bar</command> commands.</para> <para>This manual page was written for the &debian; distribution because the original program does not have a manual page. Instead, it has documentation in the &gnu; <application>Info</application> format; see below.</para> <para><command>&dhpackage;</command> is a program that...</para> </refsect1> <refsect1> <title>OPTIONS</title> <para>These programs follow the usual &gnu; command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the <application>Info</application> files.</para> <variablelist> <varlistentry> <term><option>-h</option> <option>--help</option> </term> <listitem> <para>Show summary of options.</para> </listitem> </varlistentry> <varlistentry> <term><option>-v</option> <option>--version</option> </term> <listitem> <para>Show version of program.</para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1> <title>SEE ALSO</title> <para>bar (1), baz (1).</para> <para>The programs are documented fully by <citetitle>The Rise and Fall of a Fooish Bar</citetitle> available via the <application>Info</application> system.</para> </refsect1> <refsect1> <title>AUTHOR</title> <para>This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. </para> <para> On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:2 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:nil sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --> --- NEW FILE: mcp2-default.ex --- # Defaults for mcp2 initscript # sourced by /etc/init.d/mcp2 # installed at /etc/default/mcp2 by the maintainer scripts # # This is a POSIX shell fragment # # Additional options that are passed to the Daemon. DAEMON_OPTS="" --- NEW FILE: mcp2.doc-base.EX --- Document: mcp2 Title: Debian mcp2 Manual Author: <insert document author here> Abstract: This manual describes what mcp2 is and how it can be used to manage online manuals on Debian systems. Section: unknown Format: debiandoc-sgml Files: /usr/share/doc/mcp2/mcp2.sgml.gz Format: postscript Files: /usr/share/doc/mcp2/mcp2.ps.gz Format: text Files: /usr/share/doc/mcp2/mcp2.text.gz Format: HTML Index: /usr/share/doc/mcp2/html/index.html Files: /usr/share/doc/mcp2/html/*.html --- NEW FILE: mcp2.postinst.debhelper --- # Automatically added by dh_installdocs if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then install-docs -i /usr/share/doc-base/mcp2 fi # End automatically added section --- NEW FILE: mcp2.prerm.debhelper --- # Automatically added by dh_installdocs if [ "$1" = remove ] || [ "$1" = upgrade ] && \ which install-docs >/dev/null 2>&1; then install-docs -r mcp2 fi # End automatically added section --- NEW FILE: mcp2.substvars --- shlibs:Depends=libatk1.0-0 (>= 1.4.1), libc6 (>= 2.3.2.ds1-4), libglib2.0-0 (>= 2.2.3), libgtk2.0-0 (>= 2.2.1), libpango1.0-0 (>= 1.2.1), libxml2 (>= 2.6.2), zlib1g (>= 1:1.2.1) --- NEW FILE: menu.ex --- ?package(mcp2):needs=X11|text|vc|wm section=Apps/see-menu-manual\ title="mcp2" command="/usr/bin/mcp2" --- NEW FILE: postinst.ex --- #! /bin/sh # postinst script for mcp2 # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # <new-version> # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' # <failed-install-package> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: postrm.ex --- #! /bin/sh # postrm script for mcp2 # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' # * <new-postrm> `abort-install' <old-version> # * <new-postrm> `abort-upgrade' <old-version> # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: preinst.ex --- #! /bin/sh # preinst script for mcp2 # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) # if [ "$1" = "upgrade" ] # then # start-stop-daemon --stop --quiet --oknodo \ # --pidfile /var/run/mcp2.pid \ # --exec /usr/sbin/mcp2 2>/dev/null || true # fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: prerm.ex --- #! /bin/sh # prerm script for mcp2 # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> # * <deconfigured's-prerm> `deconfigure' `in-favour' # <package-being-installed> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|deconfigure) # install-info --quiet --remove /usr/info/mcp2.info.gz ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: rules --- #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif config.status: configure dh_testdir # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) #/usr/bin/docbook-to-man debian/mcp2.sgml > mcp2.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. -$(MAKE) distclean ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/mcp2. $(MAKE) install DESTDIR=$(CURDIR)/debian/mcp2 # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples # dh_install # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms # dh_perl # dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install |
From: <ale...@us...> - 2004-01-03 15:01:46
|
Update of /cvsroot/morphix/mcp2/debian In directory sc8-pr-cvs1:/tmp/cvs-serv19953/debian Log Message: Directory /cvsroot/morphix/mcp2/debian added to the repository |
Update of /cvsroot/morphix/morphixinstaller/debian In directory sc8-pr-cvs1:/tmp/cvs-serv18773 Added Files: README.Debian changelog compat conffiles.ex control copyright dirs docs files manpage.1.ex manpage.sgml.ex menu.ex morphixinstaller.doc-base.EX morphixinstaller.postinst.debhelper morphixinstaller.prerm.debhelper morphixinstaller.substvars postinst.ex postrm.ex preinst.ex prerm.ex rules Log Message: adding debian/ files --- NEW FILE: README.Debian --- morphixinstaller for Debian --------------------------- <possible notes regarding this package - if none, delete this file> -- Morphix User <lala@myBox>, Sat, 3 Jan 2004 15:35:06 +0000 --- NEW FILE: changelog --- morphixinstaller (0.1-1) unstable; urgency=low * Initial Release. -- Alex de Landgraaf <ale...@xs...> Sat, 3 Jan 2004 15:25:36 +0000 --- NEW FILE: compat --- 4 --- NEW FILE: conffiles.ex --- # # If you want to use this conffile, remove all comments and put files that # you want dpkg to process here using their absolute pathnames. # See the policy manual # # for example: # /etc/morphixinstaller/morphixinstaller.conf --- NEW FILE: control --- Source: morphixinstaller Section: admin Priority: optional Maintainer: Alex de Landgraaf <ale...@xs...> Build-Depends: debhelper (>= 4.0.0) Standards-Version: 3.6.0 Package: morphixinstaller Architecture: i386 Depends: ${shlibs:Depends}, libc6 (>= 2.3.2-1), libglib2.0-0, libgtk2.0-0, libpango1.0-0 Description: Install-to-harddisk tool for Morphix-based livecds Initially only for Morphix-based livecds, this tool lets users easily install Morphix onto a harddisk using a GTK-based dialog interface . Most bugs should now have been solved, however this package is largly still in development and should be considered experimental. --- NEW FILE: copyright --- This package was debianized by Morphix User <lala@myBox> on Sat, 3 Jan 2004 15:35:06 +0000. It was downloaded from <fill in ftp site> Upstream Author(s): <put author(s) name and email here> Copyright: <Must follow here> --- NEW FILE: dirs --- usr/bin usr/sbin --- NEW FILE: docs --- NEWS README --- NEW FILE: files --- morphixinstaller_0.1-1_i386.deb admin optional --- NEW FILE: manpage.1.ex --- .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH MORPHIXINSTALLER SECTION "January 3, 2004" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp <n> insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME morphixinstaller \- program to do something .SH SYNOPSIS .B morphixinstaller .RI [ options ] " files" ... .br .B bar .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the .B morphixinstaller and .B bar commands. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. .PP .\" TeX users may be more comfortable with the \fB<whatever>\fP and .\" \fI<whatever>\fP escape sequences to invode bold face and italics, .\" respectively. \fBmorphixinstaller\fP is a program that... .SH OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B \-h, \-\-help Show summary of options. .TP .B \-v, \-\-version Show version of program. .SH SEE ALSO .BR bar (1), .BR baz (1). .br The programs are documented fully by .IR "The Rise and Fall of a Fooish Bar" , available via the Info system. .SH AUTHOR This manual page was written by Morphix User <lala@myBox>, for the Debian project (but may be used by others). --- NEW FILE: manpage.sgml.ex --- <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!-- Process this file with docbook-to-man to generate an nroff manual page: `docbook-to-man manpage.sgml > manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> <!-- Fill in your name for FIRSTNAME and SURNAME. --> <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>"> <!ENTITY dhsurname "<surname>SURNAME</surname>"> <!-- Please adjust the date whenever revising the manpage. --> <!ENTITY dhdate "<date>January 3, 2004</date>"> <!-- SECTION should be 1-8, maybe w/ subsection other parameters are allowed: see man(7), man(1). --> <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>"> <!ENTITY dhemail "<email>lala@myBox</email>"> <!ENTITY dhusername "Morphix User"> <!ENTITY dhucpackage "<refentrytitle>MORPHIXINSTALLER</refentrytitle>"> <!ENTITY dhpackage "morphixinstaller"> <!ENTITY debian "<productname>Debian</productname>"> <!ENTITY gnu "<acronym>GNU</acronym>"> <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> ]> <refentry> <refentryinfo> <address> &dhemail; </address> <author> &dhfirstname; &dhsurname; </author> <copyright> <year>2003</year> <holder>&dhusername;</holder> </copyright> &dhdate; </refentryinfo> <refmeta> &dhucpackage; &dhsection; </refmeta> <refnamediv> <refname>&dhpackage;</refname> <refpurpose>program to do something</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>&dhpackage;</command> <arg><option>-e <replaceable>this</replaceable></option></arg> <arg><option>--example <replaceable>that</replaceable></option></arg> </cmdsynopsis> </refsynopsisdiv> <refsect1> <title>DESCRIPTION</title> <para>This manual page documents briefly the <command>&dhpackage;</command> and <command>bar</command> commands.</para> <para>This manual page was written for the &debian; distribution because the original program does not have a manual page. Instead, it has documentation in the &gnu; <application>Info</application> format; see below.</para> <para><command>&dhpackage;</command> is a program that...</para> </refsect1> <refsect1> <title>OPTIONS</title> <para>These programs follow the usual &gnu; command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the <application>Info</application> files.</para> <variablelist> <varlistentry> <term><option>-h</option> <option>--help</option> </term> <listitem> <para>Show summary of options.</para> </listitem> </varlistentry> <varlistentry> <term><option>-v</option> <option>--version</option> </term> <listitem> <para>Show version of program.</para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1> <title>SEE ALSO</title> <para>bar (1), baz (1).</para> <para>The programs are documented fully by <citetitle>The Rise and Fall of a Fooish Bar</citetitle> available via the <application>Info</application> system.</para> </refsect1> <refsect1> <title>AUTHOR</title> <para>This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. </para> <para> On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:2 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:nil sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --> --- NEW FILE: menu.ex --- ?package(morphixinstaller):needs=X11|text|vc|wm section=Apps/see-menu-manual\ title="morphixinstaller" command="/usr/bin/morphixinstaller" --- NEW FILE: morphixinstaller.doc-base.EX --- Document: morphixinstaller Title: Debian morphixinstaller Manual Author: <insert document author here> Abstract: This manual describes what morphixinstaller is and how it can be used to manage online manuals on Debian systems. Section: unknown Format: debiandoc-sgml Files: /usr/share/doc/morphixinstaller/morphixinstaller.sgml.gz Format: postscript Files: /usr/share/doc/morphixinstaller/morphixinstaller.ps.gz Format: text Files: /usr/share/doc/morphixinstaller/morphixinstaller.text.gz Format: HTML Index: /usr/share/doc/morphixinstaller/html/index.html Files: /usr/share/doc/morphixinstaller/html/*.html --- NEW FILE: morphixinstaller.postinst.debhelper --- # Automatically added by dh_installdocs if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then install-docs -i /usr/share/doc-base/morphixinstaller fi # End automatically added section --- NEW FILE: morphixinstaller.prerm.debhelper --- # Automatically added by dh_installdocs if [ "$1" = remove ] || [ "$1" = upgrade ] && \ which install-docs >/dev/null 2>&1; then install-docs -r morphixinstaller fi # End automatically added section --- NEW FILE: morphixinstaller.substvars --- shlibs:Depends=libatk1.0-0 (>= 1.4.1), libc6 (>= 2.3.2.ds1-4), libglib2.0-0 (>= 2.2.3), libgtk2.0-0 (>= 2.2.1), libpango1.0-0 (>= 1.2.1) --- NEW FILE: postinst.ex --- #! /bin/sh # postinst script for morphixinstaller # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # <new-version> # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' # <failed-install-package> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: postrm.ex --- #! /bin/sh # postrm script for morphixinstaller # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' # * <new-postrm> `abort-install' <old-version> # * <new-postrm> `abort-upgrade' <old-version> # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: preinst.ex --- #! /bin/sh # preinst script for morphixinstaller # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) # if [ "$1" = "upgrade" ] # then # start-stop-daemon --stop --quiet --oknodo \ # --pidfile /var/run/morphixinstaller.pid \ # --exec /usr/sbin/morphixinstaller 2>/dev/null || true # fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: prerm.ex --- #! /bin/sh # prerm script for morphixinstaller # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> # * <deconfigured's-prerm> `deconfigure' `in-favour' # <package-being-installed> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|deconfigure) # install-info --quiet --remove /usr/info/morphixinstaller.info.gz ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: rules --- #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif config.status: configure dh_testdir # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) #/usr/bin/docbook-to-man debian/morphixinstaller.sgml > morphixinstaller.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. -$(MAKE) distclean ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/morphixinstaller. $(MAKE) install DESTDIR=$(CURDIR)/debian/morphixinstaller # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples # dh_install # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms # dh_perl # dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install |
From: <ale...@us...> - 2004-01-03 14:55:08
|
Update of /cvsroot/morphix/morphixinstaller/debian/morphixinstaller In directory sc8-pr-cvs1:/tmp/cvs-serv18715/debian/morphixinstaller Log Message: Directory /cvsroot/morphix/morphixinstaller/debian/morphixinstaller added to the repository |
From: <ale...@us...> - 2004-01-03 14:54:51
|
Update of /cvsroot/morphix/morphixinstaller/debian In directory sc8-pr-cvs1:/tmp/cvs-serv18643/debian Log Message: Directory /cvsroot/morphix/morphixinstaller/debian added to the repository |
Update of /cvsroot/morphix/partitionmorpher/debian In directory sc8-pr-cvs1:/tmp/cvs-serv16178 Added Files: README.Debian changelog compat control copyright dirs docs files manpage.1.ex manpage.sgml.ex menu.ex partitionmorpher.doc-base.EX partitionmorpher.postinst.debhelper partitionmorpher.prerm.debhelper partitionmorpher.substvars postinst.ex postrm.ex preinst.ex prerm.ex rules Log Message: adding debian/ files for package --- NEW FILE: README.Debian --- partitionmorpher for Debian --------------------------- A graphical partitioner for the Morphix project, built using GTK+ libraries and libparted. This subproject has been inspired by both parted and qtparted, and is designed to offer a complete alternative for GNOME-based distributions. It does share code from both parted and qtparted. As qtparted, it includes a few wrapper functions for the use of binaries not available in libraries (ie. libparted, libreiserfs). partitionmorpher is licensed under the GNU GPL v2, even if not explicitly stated. See www.gnu.org for details. If not explicitly stated, all changes and code are done by Alex de Landgraaf for the Morphix project. See the changelog for details. -- Alex de Landgraaf <ale...@xs...>, Sat, 3 Jan 2004 14:58:44 +0000 --- NEW FILE: changelog --- partitionmorpher (0.1-1) unstable; urgency=low * Initial Release. -- Alex de Landgraaf <ale...@xs...> Sat, 3 Jan 2004 14:58:44 +0000 --- NEW FILE: compat --- 4 --- NEW FILE: control --- Source: partitionmorpher Section: admin Priority: optional Maintainer: Alex de Landgraaf <ale...@xs...> Build-Depends: debhelper (>= 4.0.0) Standards-Version: 3.6.0 Package: partitionmorpher Architecture: i386 Depends: ${shlibs:Depends}, libc6 (>= 2.3.2-1), libparted1.6-0 (>= 1.6.0), libglib2.0-0, libgtk2.0-0, libpango1.0-0 Recommends: ntfstools, libreiserfs0 Description: Graphical Partitioner Partition Magic clone, built for the Morphix project in conjunction with the morphixinstaller. . This Morphix subproject is still under development and should be considered experimental in nature. --- NEW FILE: copyright --- This package was debianized by Morphix User <lala@myBox> on Sat, 3 Jan 2004 14:58:44 +0000. It was downloaded from <fill in ftp site> Upstream Author(s): <put author(s) name and email here> Copyright: <Must follow here> --- NEW FILE: dirs --- usr/bin usr/sbin --- NEW FILE: docs --- NEWS README TODO --- NEW FILE: files --- partitionmorpher_0.1-1_i386.deb admin optional --- NEW FILE: manpage.1.ex --- .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH PARTITIONMORPHER SECTION "January 3, 2004" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp <n> insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME partitionmorpher \- program to do something .SH SYNOPSIS .B partitionmorpher .RI [ options ] " files" ... .br .B bar .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the .B partitionmorpher and .B bar commands. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. .PP .\" TeX users may be more comfortable with the \fB<whatever>\fP and .\" \fI<whatever>\fP escape sequences to invode bold face and italics, .\" respectively. \fBpartitionmorpher\fP is a program that... .SH OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B \-h, \-\-help Show summary of options. .TP .B \-v, \-\-version Show version of program. .SH SEE ALSO .BR bar (1), .BR baz (1). .br The programs are documented fully by .IR "The Rise and Fall of a Fooish Bar" , available via the Info system. .SH AUTHOR This manual page was written by Morphix User <lala@myBox>, for the Debian project (but may be used by others). --- NEW FILE: manpage.sgml.ex --- <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!-- Process this file with docbook-to-man to generate an nroff manual page: `docbook-to-man manpage.sgml > manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> <!-- Fill in your name for FIRSTNAME and SURNAME. --> <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>"> <!ENTITY dhsurname "<surname>SURNAME</surname>"> <!-- Please adjust the date whenever revising the manpage. --> <!ENTITY dhdate "<date>January 3, 2004</date>"> <!-- SECTION should be 1-8, maybe w/ subsection other parameters are allowed: see man(7), man(1). --> <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>"> <!ENTITY dhemail "<email>lala@myBox</email>"> <!ENTITY dhusername "Morphix User"> <!ENTITY dhucpackage "<refentrytitle>PARTITIONMORPHER</refentrytitle>"> <!ENTITY dhpackage "partitionmorpher"> <!ENTITY debian "<productname>Debian</productname>"> <!ENTITY gnu "<acronym>GNU</acronym>"> <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> ]> <refentry> <refentryinfo> <address> &dhemail; </address> <author> &dhfirstname; &dhsurname; </author> <copyright> <year>2003</year> <holder>&dhusername;</holder> </copyright> &dhdate; </refentryinfo> <refmeta> &dhucpackage; &dhsection; </refmeta> <refnamediv> <refname>&dhpackage;</refname> <refpurpose>program to do something</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>&dhpackage;</command> <arg><option>-e <replaceable>this</replaceable></option></arg> <arg><option>--example <replaceable>that</replaceable></option></arg> </cmdsynopsis> </refsynopsisdiv> <refsect1> <title>DESCRIPTION</title> <para>This manual page documents briefly the <command>&dhpackage;</command> and <command>bar</command> commands.</para> <para>This manual page was written for the &debian; distribution because the original program does not have a manual page. Instead, it has documentation in the &gnu; <application>Info</application> format; see below.</para> <para><command>&dhpackage;</command> is a program that...</para> </refsect1> <refsect1> <title>OPTIONS</title> <para>These programs follow the usual &gnu; command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the <application>Info</application> files.</para> <variablelist> <varlistentry> <term><option>-h</option> <option>--help</option> </term> <listitem> <para>Show summary of options.</para> </listitem> </varlistentry> <varlistentry> <term><option>-v</option> <option>--version</option> </term> <listitem> <para>Show version of program.</para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1> <title>SEE ALSO</title> <para>bar (1), baz (1).</para> <para>The programs are documented fully by <citetitle>The Rise and Fall of a Fooish Bar</citetitle> available via the <application>Info</application> system.</para> </refsect1> <refsect1> <title>AUTHOR</title> <para>This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. </para> <para> On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:2 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:nil sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --> --- NEW FILE: menu.ex --- ?package(partitionmorpher):needs=X11|text|vc|wm section=Apps/see-menu-manual\ title="partitionmorpher" command="/usr/bin/partitionmorpher" --- NEW FILE: partitionmorpher.doc-base.EX --- Document: partitionmorpher Title: Debian partitionmorpher Manual Author: <insert document author here> Abstract: This manual describes what partitionmorpher is and how it can be used to manage online manuals on Debian systems. Section: unknown Format: debiandoc-sgml Files: /usr/share/doc/partitionmorpher/partitionmorpher.sgml.gz Format: postscript Files: /usr/share/doc/partitionmorpher/partitionmorpher.ps.gz Format: text Files: /usr/share/doc/partitionmorpher/partitionmorpher.text.gz Format: HTML Index: /usr/share/doc/partitionmorpher/html/index.html Files: /usr/share/doc/partitionmorpher/html/*.html --- NEW FILE: partitionmorpher.postinst.debhelper --- # Automatically added by dh_installdocs if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then install-docs -i /usr/share/doc-base/partitionmorpher fi # End automatically added section --- NEW FILE: partitionmorpher.prerm.debhelper --- # Automatically added by dh_installdocs if [ "$1" = remove ] || [ "$1" = upgrade ] && \ which install-docs >/dev/null 2>&1; then install-docs -r partitionmorpher fi # End automatically added section --- NEW FILE: partitionmorpher.substvars --- shlibs:Depends=libatk1.0-0 (>= 1.4.1), libc6 (>= 2.3.2.ds1-4), libglib2.0-0 (>= 2.2.3), libgtk2.0-0 (>= 2.2.1), libpango1.0-0 (>= 1.2.1), libparted1.6-0 (>= 1.6.0) --- NEW FILE: postinst.ex --- #! /bin/sh # postinst script for partitionmorpher # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # <new-version> # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' # <failed-install-package> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: postrm.ex --- #! /bin/sh # postrm script for partitionmorpher # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' # * <new-postrm> `abort-install' <old-version> # * <new-postrm> `abort-upgrade' <old-version> # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: preinst.ex --- #! /bin/sh # preinst script for partitionmorpher # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) # if [ "$1" = "upgrade" ] # then # start-stop-daemon --stop --quiet --oknodo \ # --pidfile /var/run/partitionmorpher.pid \ # --exec /usr/sbin/partitionmorpher 2>/dev/null || true # fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: prerm.ex --- #! /bin/sh # prerm script for partitionmorpher # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> # * <deconfigured's-prerm> `deconfigure' `in-favour' # <package-being-installed> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|deconfigure) # install-info --quiet --remove /usr/info/partitionmorpher.info.gz ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 --- NEW FILE: rules --- #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif config.status: configure dh_testdir # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) #/usr/bin/docbook-to-man debian/partitionmorpher.sgml > partitionmorpher.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. -$(MAKE) distclean ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/partitionmorpher. $(MAKE) install DESTDIR=$(CURDIR)/debian/partitionmorpher # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples # dh_install # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms # dh_perl # dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install |
From: <ale...@us...> - 2004-01-03 14:39:11
|
Update of /cvsroot/morphix/partitionmorpher/debian/partitionmorpher In directory sc8-pr-cvs1:/tmp/cvs-serv16105/debian/partitionmorpher Log Message: Directory /cvsroot/morphix/partitionmorpher/debian/partitionmorpher added to the repository |
From: <ale...@us...> - 2004-01-03 14:38:57
|
Update of /cvsroot/morphix/partitionmorpher/debian In directory sc8-pr-cvs1:/tmp/cvs-serv16044/debian Log Message: Directory /cvsroot/morphix/partitionmorpher/debian added to the repository |
Update of /cvsroot/morphix/partitionmorpher/src In directory sc8-pr-cvs1:/tmp/cvs-serv21416/src Modified Files: Makefile.am callbacks.c interface.c main.c main.h pm_libparted.c pm_libparted.h Added Files: pm_fswrap.c pm_fswrap.h ui.c ui.h Log Message: added resizing, added wrapper for ntfsresize (untested), heaps of fixes --- NEW FILE: pm_fswrap.c --- /* insert more GPL license BS inspired by qp_fswrap in qtparted */ #include <stdio.h> #include <stdlib.h> #include <gtk/gtk.h> #include <parted/parted.h> #include "pm_libparted.h" #define MKNTFS_PATH "/usr/bin/mkntfs" #define NTFSRESIZE_PATH "/usr/bin/ntfsresize" gboolean ExecuteCommand(gchar *command) { gchar *outbuffer; gchar cmdline[256]; gint exitstatus; debug("Exec: %s\n",command); if (g_spawn_command_line_sync(command,&outbuffer,NULL,&exitstatus,NULL) == FALSE) { debug("Error occured executing command\n"); return FALSE; } free(outbuffer); return TRUE; } gboolean pm_wrap_mkntfs_available() { FILE *fp; fp = fopen(MKNTFS_PATH,"r"); if (fp != NULL) { fclose(fp); return TRUE; } return FALSE; } gboolean pm_wrap_ntfsresize_available() { FILE *fp; fp = fopen(NTFSRESIZE_PATH,"r"); if (fp != NULL) { fclose(fp); return TRUE; } return FALSE; } gboolean do_ntfsresize(PedDevice **dev, int part_nr, PedSector old_end, gchar *path, PedSector old_start, PedSector end) { PedDisk *disk; PedPartition *part; if(!pm_wrap_ntfsresize_available()) { debug("ntfsresize not available, aborting"); return FALSE; } disk = ped_disk_new(*dev); if (!disk) return FALSE; part = ped_disk_get_partition(disk,part_nr); if (!part) { ped_disk_destroy (disk); return FALSE; } if (!partition_warn_busy(part,path)) { ped_disk_destroy (disk); return FALSE; } if (!old_start || !end) { ped_disk_destroy (disk); return FALSE; } if (end < old_end) { // shrinking if (!pm_wrap_ntfsresize(dev,part_nr,path,old_start,end)) { debug("ntfsresizing failed, aborting!\n"); ped_disk_destroy(disk); return FALSE; } do_resize(dev,part_nr,path,old_start,end); } if (end > old_end) { // expanding do_resize(dev,part_nr,path,old_start,end); if (!pm_wrap_ntfsresize(dev,part_nr,path,old_start,end)) { debug("ntfsresizing failed, aborting!\n"); ped_disk_destroy(disk); return FALSE; } } return TRUE; } gboolean pm_wrap_ntfsresize(PedDevice **dev, int part_nr, gchar *path, PedSector start, PedSector end) { PedDisk *disk; PedFileSystem *fs; PedPartition *part; gchar *cmdline; disk = ped_disk_new(*dev); if (!disk) return FALSE; part = ped_disk_get_partition(disk,part_nr); if (!part) { ped_disk_destroy (disk); return FALSE; } if (!partition_warn_busy(part,path)) { ped_disk_destroy (disk); return FALSE; } if (!start || !end) { ped_disk_destroy (disk); return FALSE; } sprintf(cmdline,"%s -ff -s %lld",NTFSRESIZE_PATH,start); // -ff? hope i won't have to use this... gboolean ret = ExecuteCommand(cmdline); free(cmdline); return ret; } --- NEW FILE: pm_fswrap.h --- #ifndef PM_FSWRAP_H #define PM_FSWRAP_H #include <stdio.h> #include <stdlib.h> #include <gtk/gtk.h> #include <parted/parted.h> gboolean do_ntfsresize(PedDevice **dev, int part_nr, PedSector old_end, gchar *path, PedSector start, PedSector end); #endif // PM_FSWRAP_H --- NEW FILE: ui.c --- #include <gtk/gtk.h> #include <parted/parted.h> #include <errno.h> #include <fcntl.h> #include "ui.h" #include "main.h" #include "callbacks.h" #include "interface.h" #include "support.h" #include "pm_libparted.h" /* Note: read the parted-doc API first! this can be found in /usr/share/doc/parted-doc You'll need it to understand certain sections, and pm_lib Some guidelines for the source: when everything is set up using scan_partitions and scan_devices in pm_lib, the partitions- and devices arrays are filled with the current partitiontable information The current selected device can be retrieved with devices[selected_device], The current selected partition can be retrieved with partitions[selected_partition] An Extended partition contains Logical partitions or free space. Do use initialise_partinfo to clean out the partinfo array */ extern GtkWidget *MainWindow; extern GtkWidget *CreateWindow; extern GtkWidget *ResizeWindow; extern GtkWidget *ApplyWindow; extern GtkWidget *RevertWindow; extern GtkWidget *DialogWindow; extern GtkWidget *HelpWindow; extern GtkWidget *DeleteWindow; extern GtkWidget *ConvertWindow; extern GtkWidget *MoveWindow; extern GtkWidget *TableWindow; extern GtkWidget *ErrorWindow; extern GtkWidget *ProgressWindow; #define MEGABYTE_SIZE (1024*1024) #define MEGABYTE_SECTORS 512 enum { PART_NUMBER, PART_PATH, PART_TYPE, PART_FS, PART_SIZE, PART_START, PART_END, PART_FLAGS, N_COLUMNS }; void redirect_stderr_to_pipe(int * saved_fd, int * readable_pipe) { int stderr_fd; int pipe_fd[2]; /* Make a copy of the stderr file-descriptor so we can restore it later */ stderr_fd = fileno(stderr); *saved_fd = dup(stderr_fd); /* Open up a pipe */ if (pipe(pipe_fd) == -1) { fprintf(stderr, "Could not create pipe; errno=%d!\n", errno); exit(-1); } /* Redirect stderr to the writable end of the pipe */ if ( dup2(pipe_fd[1], stderr_fd) == -1 ) { fprintf(stderr, "Could not redirect stderr to the pipe!\n"); exit(-1); } /* Since stderr & pipe_fd[1] point to the same thing, close pipe_fd[1] */ /* NOTE: Do I really need this? */ close(pipe_fd[1]); /* Make sure stderr output is non-blocking (don't hang waiting for EOF) */ int oldflags; oldflags = fcntl(pipe_fd[0], F_GETFL, 0); fcntl(pipe_fd[0], F_SETFL, oldflags|O_NONBLOCK); *readable_pipe = pipe_fd[0]; } void unredirect_stderr(int saved_fd, int readable_pipe) { /* Close the input (readable) end of the pipe*/ close(readable_pipe); /* Now undo the effects of redirecting output */ dup2(saved_fd, fileno(stderr)); /* Now that we no longer need the saved_fd, we can close it */ close(saved_fd); } void show_error_message(gchar * message) { int length = strlen(message)-1; while (message[length] == '\n') length--; message[++length] = '\0'; GtkWidget *error_label = lookup_widget(ErrorWindow,"ErrorLabel"); gtk_label_set_text(GTK_LABEL(error_label), message); gtk_widget_show(ErrorWindow); } void untoggle_create_types() { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreatePrimaryRadiobutton")),FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateExtendedRadiobutton")),FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateLogicalRadiobutton")),FALSE); }; void untoggle_create_flags() { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateBootFlagCheckbutton")),FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateRootFlagCheckbutton")),FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateHiddenFlagCheckbutton")),FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateRaidFlagCheckbutton")),FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateLVMFlagCheckbutton")),FALSE); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateLBAFlagCheckbutton")),FALSE); } void show_create_fstype() { gtk_widget_show(lookup_widget(CreateWindow,"optionmenu4")); gtk_widget_show(lookup_widget(CreateWindow,"label27")); } void hide_create_fstype() { gtk_widget_hide(lookup_widget(CreateWindow,"optionmenu4")); gtk_widget_hide(lookup_widget(CreateWindow,"label27")); } void show_create_flags() { gtk_widget_show(lookup_widget(CreateWindow,"CreateBootFlagCheckbutton")); gtk_widget_show(lookup_widget(CreateWindow,"CreateHiddenFlagCheckbutton")); gtk_widget_show(lookup_widget(CreateWindow,"CreateRaidFlagCheckbutton")); gtk_widget_show(lookup_widget(CreateWindow,"CreateLVMFlagCheckbutton")); gtk_widget_show(lookup_widget(CreateWindow,"CreateLBAFlagCheckbutton")); gtk_widget_show(lookup_widget(CreateWindow,"label65")); } void hide_create_flags() { gtk_widget_hide(lookup_widget(CreateWindow,"CreateBootFlagCheckbutton")); gtk_widget_hide(lookup_widget(CreateWindow,"CreateHiddenFlagCheckbutton")); gtk_widget_hide(lookup_widget(CreateWindow,"CreateRaidFlagCheckbutton")); gtk_widget_hide(lookup_widget(CreateWindow,"CreateLVMFlagCheckbutton")); gtk_widget_hide(lookup_widget(CreateWindow,"CreateLBAFlagCheckbutton")); gtk_widget_hide(lookup_widget(CreateWindow,"label65")); } void show_busy_cursor( GdkWindow * window ) { static GdkCursor * busy_cursor = NULL; if (!busy_cursor) busy_cursor = gdk_cursor_new(GDK_WATCH); /* Make the specified window show the busy cursor */ gdk_window_set_cursor( window, busy_cursor ); /* Also make the MainWindow show the busy cursor */ gdk_window_set_cursor( MainWindow->window, busy_cursor ); while (gtk_events_pending()) gtk_main_iteration(); } void show_normal_cursor( GdkWindow * window ) { gdk_window_set_cursor( window, NULL ); gdk_window_set_cursor( MainWindow->window, NULL ); } /* initialise list of filesystem types stores this in fsinfo-array, contains name, color and bool's for cr/re/cp */ void get_filesystem_list() { PedFileSystemType *walk = ped_file_system_type_get_next(NULL); gint i = 0; while (walk) { fsinfo[i].name = malloc(strlen(walk->name) + 1); strcpy(fsinfo[i].name,walk->name); fsinfo[i].creatable = (gboolean) walk->ops->create; fsinfo[i].resizeable = (gboolean) walk->ops->resize; fsinfo[i].copyable = (gboolean) walk->ops->copy; fsinfo[i].color = i; walk = ped_file_system_type_get_next(walk); } fs_count = i; } gint get_arraynumber_from_partinfo_num(gint num) { gint i; for (i = 1; i < part_count; i++) { if (partinfo[i].num == num) { return i; } } return -1; } struct partinfo_struct *get_partition_from_partinfo_num(gint num) { gint i; for (i = 1; i < part_count; i++) { if (partinfo[i].num == num) { return &partinfo[i]; } } return NULL; } /* List item selection callback */ void tree_selection_changed (GtkTreeSelection *selection, gpointer data) { GtkWidget *create_widget = lookup_widget(MainWindow,"CreateButton"); GtkWidget *resize_widget = lookup_widget(MainWindow,"ResizeButton"); GtkWidget *delete_widget = lookup_widget(MainWindow,"DeleteButton"); GtkWidget *move_widget = lookup_widget(MainWindow,"MoveButton"); GtkWidget *convert_widget = lookup_widget(MainWindow,"ConvertButton"); GtkWidget *refresh_widget = lookup_widget(MainWindow,"RefreshButton"); GtkTreeIter iter; GtkTreeModel *model; gint num; struct partinfo_struct *partition; if (gtk_tree_selection_get_selected(selection, &model, &iter)) { gtk_tree_model_get(model, &iter,PART_NUMBER, &num,-1); partition = get_partition_from_partinfo_num(num); selected_partition = get_arraynumber_from_partinfo_num(num); if (selected_partition < 0) { debug("Error: selected partition has invalid arraynumber: %d\n",selected_partition); } else if (partition != NULL && partition->num > -2) { if (partition->part_widget != NULL) { gtk_button_clicked(GTK_BUTTON(partition->part_widget)); } if (partition->type == FREE_SPACE) { if (has_max_primary_partitions(&devices[selected_device]) && (selected_partition < part_extended_nr || part_extended_nr == 0)) { gtk_widget_set_sensitive(create_widget,FALSE); } else { gtk_widget_set_sensitive(create_widget,TRUE); } gtk_widget_set_sensitive(resize_widget,FALSE); gtk_widget_set_sensitive(delete_widget,FALSE); gtk_widget_set_sensitive(move_widget,FALSE); gtk_widget_set_sensitive(convert_widget,FALSE); } else { gtk_widget_set_sensitive(create_widget,FALSE); if (partition->type == EXTENDED) { /* if the partition is extended, extra restraints are necessary. You can't delete the extended partition if logical partitions exist in it. Thankfully for me, you can only have one extended partition... */ if (part_logical_count > 0) { gtk_widget_set_sensitive(resize_widget,FALSE); gtk_widget_set_sensitive(delete_widget,FALSE); gtk_widget_set_sensitive(move_widget,FALSE); gtk_widget_set_sensitive(convert_widget,FALSE); } else { gtk_widget_set_sensitive(resize_widget,FALSE); gtk_widget_set_sensitive(delete_widget,TRUE); gtk_widget_set_sensitive(move_widget,FALSE); gtk_widget_set_sensitive(convert_widget,FALSE); } } else { if (partition->max_size == 0 && partition->min_size == 0) { gtk_widget_set_sensitive(resize_widget,FALSE); gtk_widget_set_sensitive(move_widget,FALSE); } else { gtk_widget_set_sensitive(resize_widget,TRUE); gtk_widget_set_sensitive(move_widget,TRUE); } gtk_widget_set_sensitive(convert_widget,TRUE); gtk_widget_set_sensitive(delete_widget,TRUE); } } } } } /* Partition button callback */ gboolean click_part_item(GtkWidget *widget, gpointer data) { struct partinfo_struct *partition = (struct partinfo_struct *)data; GtkWidget *treeview = lookup_widget(MainWindow,"treeview1"); GtkTreeSelection *selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)); gchar path_string[4]; sprintf(path_string,"%d",partition->row_number); GtkTreePath *path = gtk_tree_path_new_from_string(path_string); if (path != NULL) { gtk_tree_selection_select_path(GTK_TREE_SELECTION(selection), (path)); } } /* updates partinfo-array with all partitions for the current selected_device skips the METADATA partition that seems to be before the first partition modifies the GtkList of partitions */ void update_partition_widget() { GtkWidget *partition_widget = lookup_widget(MainWindow,"hbox4"); GtkWidget *part_box = gtk_hbox_new(FALSE,5); gint i; gint win_x; gint win_y; gint height = 30; gint rows = 0; if (G_IS_OBJECT(part_widget)) gtk_container_remove(GTK_CONTAINER(partition_widget),part_widget); gtk_window_get_size(GTK_WINDOW(MainWindow),&win_x,&win_y); win_x -= 10; // border for (i = 1; i < part_count; i++) { if (partinfo[i].num < 0 && partinfo[i].type != FREE_SPACE) { debug("Debug: Skipping partition, partition num invalid\n"); continue; } GtkWidget *part_item = gtk_button_new(); gfloat perc = (float)partinfo[i].size / device_total_size; gint width = (win_x / 100) * 100 * perc; GdkColor color; /* Default color */ color.red = 32768; color.blue = 32768; color.green = 32768; if (width <= 20) width = 20; if (partinfo[i].type == EXTENDED) width = 1; if (partinfo[i].type == FREE_SPACE) COLOR_FREE(color) if (strncmp(partinfo[i].temp_fs_name,"ext2",4) == 0) COLOR_EXT2(color) if (strncmp(partinfo[i].temp_fs_name,"ext3",4) == 0) COLOR_EXT3(color) if (strncmp(partinfo[i].temp_fs_name,"reiserfs",8) == 0) COLOR_REIS(color) if (strncmp(partinfo[i].temp_fs_name,"xfs",3) == 0) COLOR_XFS(color) if (strncmp(partinfo[i].temp_fs_name,"jfs",3) == 0) COLOR_JFS(color) if (strncmp(partinfo[i].temp_fs_name,"vfat",4) == 0) COLOR_32FAT(color) if (strncmp(partinfo[i].temp_fs_name,"ntfs",4) == 0) COLOR_NTFS(color) if (strncmp(partinfo[i].temp_fs_name,"linux-swap",4) == 0) COLOR_SWAP(color) if (partinfo[i].flags[4] == PED_PARTITION_RAID) COLOR_RAID(color) if (partinfo[i].flags[5] == PED_PARTITION_LVM) COLOR_LVM(color) debug("Debug: Color: %d, %d, %d\n",color.red,color.green,color.blue); if (width >= 100) { if (strcmp(partinfo[i].partname,"") != 0) gtk_button_set_label(GTK_BUTTON(part_item),partinfo[i].partname); else gtk_button_set_label(GTK_BUTTON(part_item),"Free Space"); } debug("Debug: Color: %d, %d, %d\n",color.red,color.green,color.blue); gtk_widget_modify_bg(part_item,GTK_STATE_NORMAL,&color); gtk_widget_modify_bg(part_item,GTK_STATE_ACTIVE,&color); gtk_widget_modify_bg(part_item,GTK_STATE_PRELIGHT,&color); gtk_widget_set_size_request(GTK_WIDGET(part_item),width,height); partinfo[i].part_widget = part_item; partinfo[i].row_number = rows++; g_signal_connect(GTK_OBJECT(part_item),"clicked", GTK_SIGNAL_FUNC(click_part_item),(gpointer) &partinfo[i]); debug("Debug: Adding partition, number %d:%d width %d type %d name %s size %ld\n",partinfo[i].num, i, width, partinfo[i].type, partinfo[i].partname, partinfo[i].size); gtk_box_pack_start(GTK_BOX(part_box),part_item,TRUE,TRUE,2); } gtk_container_add(GTK_CONTAINER(partition_widget),part_box); part_widget = part_box; gtk_widget_show_all(part_box); gtk_widget_set_size_request(GTK_WIDGET(MainWindow),win_x,win_y); } /* an attempt to clean out the array before adding other crap to it */ void initialise_partinfo(gint i) { gint j; partinfo[i].type = 0; //partinfo[i].part = NULL; for (j = 0; j < MAX_FLAGS; j++) { partinfo[i].flags[j] = 0; } partinfo[i].flag_count = 0; partinfo[i].t_start = 0; partinfo[i].t_end = 0; partinfo[i].start = 0; partinfo[i].end = 0; partinfo[i].max_size = 0; partinfo[i].min_size = 0; partinfo[i].part_widget = NULL; partinfo[i].row_number = 0; partinfo[i].fs = NULL; strcpy(partinfo[i].temp_fs_name,""); strcpy(partinfo[i].temp_flags_list,""); partinfo[i].num = -1; partinfo[i].size = 0; partinfo[i].mb_t_start = 0; partinfo[i].mb_t_end = 0; partinfo[i].mb_start = 0; partinfo[i].mb_end = 0; partinfo[i].mb_min_size = 0; partinfo[i].mb_max_size = 0; strcpy(partinfo[i].partname,""); partinfo[i].label = NULL; partinfo[i].free = FALSE; partinfo[i].unknown = FALSE; partinfo[i].width = 0; } /* This function updates the partinfo array, and fills each struct in it with current info. Also checks for freespace, and changes the used, free labels of the harddisk, updates the progressbar used for showing the percentage of free space. Creates a new store for info selected from the array and displays it in the GtkTreeView in MainWindow. */ gboolean update_partition_list() { GtkWidget *tree = lookup_widget(MainWindow,"treeview1"); GtkWidget *used_widget = lookup_widget(MainWindow,"UsedLabel"); GtkWidget *free_widget = lookup_widget(MainWindow,"FreeLabel"); GtkWidget *size_bar = lookup_widget (MainWindow,"TotalSizeProgressBar"); gint i; GtkTreeIter iter; PedDisk *disk = NULL; PedPartition *part = NULL; PedPartitionFlag flag; gint flags; gint first_flag; glong free_space = 0; gchar buffer[64]; gchar used_label[64]; gchar free_label[64]; gchar percentage[5]; const char *label = NULL; GtkListStore *store = gtk_list_store_new(N_COLUMNS, G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING); disk = ped_disk_new (devices[selected_device]); if (!disk) { debug("Debug: No partitions!\n"); return FALSE; } device_freespace = 0; set_timer(); part_extended_nr = part_primary_count = part_extended_count = part_logical_count = part_freespace_count = 0; for (i = 0; i < part_count; i++) { initialise_partinfo(i); part = ped_disk_next_partition(disk,part); if (part == NULL) { /* Non-partition */ continue; } if (G_IS_OBJECT(partinfo[i].part_widget)) gtk_container_remove(GTK_CONTAINER(part_widget),partinfo[i].part_widget); if (part->type & PED_PARTITION_METADATA) { /* metadata, probably partition table */ continue; } if (part->type != 0 && part->type != PED_PARTITION_EXTENDED && part->type != PED_PARTITION_LOGICAL) { /* Error in parted? */ i--; debug("Error: reading partition! Type: %d\n",part->type); } PedConstraint *constraint = NULL; if (!part && !disk) { debug("Error: reading partition!\n"); return TRUE; } //sdebug(minor,"%d",partition_get_minor(part)); partinfo[i].start = (int)part->geom.start; partinfo[i].mb_start = (int)(part->geom.start * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); partinfo[i].end = (int)part->geom.end; partinfo[i].mb_end = (int)(part->geom.end * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); partinfo[i].num = part->num; partinfo[i].size = (int)((partinfo[i].end - partinfo[i].start) * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); partinfo[i].label = ""; if (!(part->type & PED_PARTITION_FREESPACE)) { debug("Debug: Adding partition\n"); strcpy(partinfo[i].partname,ped_partition_get_path(part)); if (part->type & PED_PARTITION_LOGICAL) { partinfo[i].type = LOGICAL; part_logical_count++; } else if (part->type & PED_PARTITION_EXTENDED) { partinfo[i].type = EXTENDED; part_extended_count++; part_extended_nr = i; } else { partinfo[i].type = PRIMARY; part_primary_count++; } flag = ped_partition_flag_next((PedPartitionFlag)0); flags = 0; strcpy(partinfo[i].temp_flags_list,""); while (flag) { if (ped_partition_get_flag(part,flag)) { partinfo[i].flags[flags] = flag; strncpy(buffer,ped_partition_flag_get_name(flag),63); strcpy(buffer,strcat(buffer," ")); strcpy(partinfo[i].temp_flags_list,strcat(partinfo[i].temp_flags_list,buffer)); } flag = ped_partition_flag_next(flag); flags++; } partinfo[i].free = FALSE; constraint = ped_constraint_any(devices[selected_device]); PedGeometry *geometry = NULL; if (constraint != NULL) geometry = ped_disk_get_max_partition_geometry(disk,part,constraint); if (geometry != NULL) { partinfo[i].t_start = (int)geometry->start; partinfo[i].mb_t_start = (int)(geometry->start * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); partinfo[i].t_end = (int)geometry->end; partinfo[i].mb_t_end = (int)(geometry->end * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); } else { partinfo[i].t_start = -1; partinfo[i].mb_t_start = -1; partinfo[i].t_end = -1; partinfo[i].mb_t_end = -1; } PedFileSystem *fs = ped_file_system_open(&part->geom); if (fs) { debug("Debug: Checking if partition %s is resizable...\n", partinfo[i].partname); PedConstraint *resize_con = ped_file_system_get_resize_constraint(fs); if (resize_con) { debug("Debug: constraint accepted: mb_min: %ld mb_max: %ld\n",(int)(resize_con->min_size * 1.0/ MEGABYTE_SIZE * MEGABYTE_SECTORS),(int)(resize_con->max_size * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS)); partinfo[i].min_size = (int)resize_con->min_size; partinfo[i].mb_min_size = (int)(resize_con->min_size * 1.0/ MEGABYTE_SIZE * MEGABYTE_SECTORS); partinfo[i].max_size = (int)resize_con->max_size; partinfo[i].mb_max_size = (int)(resize_con->max_size * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); ped_constraint_destroy(resize_con); } else { debug("Debug: constraint failed! Can'tresize %dth partition\n",i); } ped_file_system_close(fs); // The following two lines shouldn't be necessary since we initialize partinfo[i].label to "" //if (partinfo[i].label != NULL) //g_free(partinfo[i].label); label = ped_partition_get_name(part); if (label != NULL) partinfo[i].label = label; } else { debug("Debug: filesystem couldn't be opened\n"); } } else { /* FREESPACE */ debug("Debug: Adding freespace\n"); device_freespace += partinfo[i].size; partinfo[i].t_start = -1; partinfo[i].mb_t_start = -1; partinfo[i].t_end = -1; partinfo[i].mb_t_end = -1; partinfo[i].free = TRUE; partinfo[i].type = FREE_SPACE; /* Unfortunately, ped_disk_next_partition sets part->num to -1 for all partitions corresponding to free space. This causes a small bug: whenever the user highlights some free space and clicks on "Create", they are forced to create a partition corresponding to the first set of free space on the drive regardless of which set of free space they clicked on. This is a simple workaround for this problem. */ partinfo[i].num -= part_freespace_count++; } strcpy(partinfo[i].temp_fs_name,part->fs_type ? part->fs_type->name : ""); strncpy(buffer,ped_partition_type_get_name(part->type),63); gtk_list_store_append(store,&iter); gtk_list_store_set(store,&iter, PART_NUMBER,partinfo[i].num, PART_PATH,partinfo[i].partname, PART_TYPE,buffer, PART_FS,partinfo[i].temp_fs_name, PART_SIZE,(int)(partinfo[i].size), PART_START,(int)partinfo[i].start, PART_END,(int)partinfo[i].end, PART_FLAGS,partinfo[i].temp_flags_list, -1); } /* Time to set up the TreeView widget*/ GtkTreeSelection *select; select = gtk_tree_view_get_selection (GTK_TREE_VIEW(tree)); gtk_tree_selection_set_mode(select,GTK_SELECTION_SINGLE); g_signal_connect(G_OBJECT(select),"changed", G_CALLBACK(tree_selection_changed),NULL); gtk_tree_view_set_model(GTK_TREE_VIEW(tree),GTK_TREE_MODEL(store)); sprintf(free_label,"Free: %ld MB",device_freespace); gtk_label_set_text(GTK_LABEL(free_widget),free_label); sprintf(used_label,"Used: %ld MB",device_total_size - device_freespace); gtk_label_set_text(GTK_LABEL(used_widget),used_label); /* Progress bar, pretty useless, but it's in there for some reason */ gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(size_bar),(device_total_size - device_freespace) / (gfloat) device_total_size); sprintf(percentage,"Used: %d%%",(gint) (100*((device_total_size - device_freespace) / (gfloat) device_total_size))); gtk_progress_bar_set_text(GTK_PROGRESS_BAR(size_bar),percentage); ped_disk_destroy(disk); return TRUE; } /* executes all changes for when a new device has been selected calls update_partition_list to modifiy the partinfo array */ void update_interface(gint device) { GtkWidget *sizelabel = lookup_widget(MainWindow,"SizeLabel"); gchar string[256]; gint size_drive = (int) devices[device]->length * 1.0 / MEGABYTE_SIZE * devices[device]->sector_size; debug("Debug: device %d is: length %d sector %d MB\n", device,(int)devices[device]->length,size_drive); sprintf(string,"Total size: %d MB",size_drive); device_total_size = size_drive; gtk_label_set_text(GTK_LABEL(sizelabel),string); } /* Function to completly refresh the partition list, meta-function */ void refresh_devices_and_partitions() { GtkWidget *optionmenu = lookup_widget(MainWindow,"MainHarddiskOptionMenu"); //ped_device_close(devices[selected_device]); selected_device = gtk_option_menu_get_history(GTK_OPTION_MENU(optionmenu)); //ped_device_open(devices[selected_device]); scan_partitions(&devices[selected_device]); update_interface(selected_device); if (update_partition_list() == FALSE) { gtk_widget_show(TableWindow); } else { update_partition_widget(); click_part_item(NULL,&partinfo[selected_partition]); } } --- NEW FILE: ui.h --- #ifndef PM_UI_H #define PM_UI_H void redirect_stderr_to_pipe(int * saved_fd, int * readable_pipe); void unredirect_stderr(int saved_fd, int readable_pipe); void show_error_message(gchar * message); void untoggle_create_types(); void untoggle_create_flags(); void show_create_fstype(); void hide_create_fstype(); void show_create_flags(); void hide_create_flags(); void show_busy_cursor( GdkWindow * window); void show_normal_cursor( GdkWindow * window ); void get_filesystem_list(); gint get_arraynumber_from_partinfo_num(gint num); struct partinfo_struct *get_partition_from_partinfo_num(gint num); void tree_selection_changed (GtkTreeSelection *selection, gpointer data); gboolean click_part_item(GtkWidget *widget, gpointer data); void update_partition_widget(); void initialise_partinfo(gint i); gboolean update_partition_list(); void update_interface(gint device); void refresh_devices_and_partitions(); #endif // PM_UI_H Index: Makefile.am =================================================================== RCS file: /cvsroot/morphix/partitionmorpher/src/Makefile.am,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Makefile.am 7 Apr 2003 23:43:54 -0000 1.1.1.1 --- Makefile.am 2 Jan 2004 15:17:31 -0000 1.2 *************** *** 13,17 **** interface.c interface.h \ callbacks.c callbacks.h \ ! pm_libparted.c pm_libparted.h partitionmorpher_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lparted --- 13,18 ---- interface.c interface.h \ callbacks.c callbacks.h \ ! pm_libparted.c pm_libparted.h \ ! ui.c ui.h pm_fswrap.c pm_fswrap.h partitionmorpher_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lparted Index: callbacks.c =================================================================== RCS file: /cvsroot/morphix/partitionmorpher/src/callbacks.c,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** callbacks.c 11 Dec 2003 13:30:24 -0000 1.11 --- callbacks.c 2 Jan 2004 15:17:31 -0000 1.12 *************** *** 14,17 **** --- 14,19 ---- #include "support.h" #include "pm_libparted.h" + #include "pm_fswrap.h" + #include "ui.h" /* *************** *** 64,125 **** void - redirect_stderr_to_pipe(int * saved_fd, int * readable_pipe) - { - int stderr_fd; - int pipe_fd[2]; - - /* Make a copy of the stderr file-descriptor so we can restore it later */ - stderr_fd = fileno(stderr); - *saved_fd = dup(stderr_fd); - - /* Open up a pipe */ - if (pipe(pipe_fd) == -1) { - fprintf(stderr, "Could not create pipe; errno=%d!\n", errno); - exit(-1); - } - - /* Redirect stderr to the writable end of the pipe */ - if ( dup2(pipe_fd[1], stderr_fd) == -1 ) { - fprintf(stderr, "Could not redirect stderr to the pipe!\n"); - exit(-1); - } - - /* Since stderr & pipe_fd[1] point to the same thing, close pipe_fd[1] */ - /* NOTE: Do I really need this? */ - close(pipe_fd[1]); - - /* Make sure stderr output is non-blocking (don't hang waiting for EOF) */ - int oldflags; - oldflags = fcntl(pipe_fd[0], F_GETFL, 0); - fcntl(pipe_fd[0], F_SETFL, oldflags|O_NONBLOCK); - *readable_pipe = pipe_fd[0]; - } - - void - unredirect_stderr(int saved_fd, int readable_pipe) - { - /* Close the input (readable) end of the pipe*/ - close(readable_pipe); - - /* Now undo the effects of redirecting output */ - dup2(saved_fd, fileno(stderr)); - - /* Now that we no longer need the saved_fd, we can close it */ - close(saved_fd); - } - - void - show_error_message(gchar * message) - { - int length = strlen(message)-1; - while (message[length] == '\n') - length--; - message[++length] = '\0'; - GtkWidget *error_label = lookup_widget(ErrorWindow,"ErrorLabel"); - gtk_label_set_text(GTK_LABEL(error_label), message); - gtk_widget_show(ErrorWindow); - } - - void on_ErrorOkButton_clicked (GtkButton *button, gpointer user_data) --- 66,69 ---- *************** *** 129,676 **** void - show_busy_cursor( GdkWindow * window ) - { - static GdkCursor * busy_cursor = NULL; - - if (!busy_cursor) - busy_cursor = gdk_cursor_new(GDK_WATCH); - - /* Make the specified window show the busy cursor */ - gdk_window_set_cursor( window, busy_cursor ); - - /* Also make the MainWindow show the busy cursor */ - gdk_window_set_cursor( MainWindow->window, busy_cursor ); - - while (gtk_events_pending()) - gtk_main_iteration(); - } - - void - show_normal_cursor( GdkWindow * window ) - { - gdk_window_set_cursor( window, NULL ); - gdk_window_set_cursor( MainWindow->window, NULL ); - } - - /* - initialise list of filesystem types - stores this in fsinfo-array, contains name, color and bool's for cr/re/cp - */ - - void get_filesystem_list() { - PedFileSystemType *walk = ped_file_system_type_get_next(NULL); - gint i = 0; - while (walk) { - fsinfo[i].name = malloc(strlen(walk->name) + 1); - strcpy(fsinfo[i].name,walk->name); - fsinfo[i].creatable = (gboolean) walk->ops->create; - fsinfo[i].resizeable = (gboolean) walk->ops->resize; - fsinfo[i].copyable = (gboolean) walk->ops->copy; - fsinfo[i].color = i; - walk = ped_file_system_type_get_next(walk); - } - fs_count = i; - } - - gint get_arraynumber_from_partinfo_num(gint num) { - gint i; - for (i = 1; i < part_count; i++) { - if (partinfo[i].num == num) { - return i; - } - } - return -1; - } - - struct partinfo_struct *get_partition_from_partinfo_num(gint num) { - gint i; - for (i = 1; i < part_count; i++) { - if (partinfo[i].num == num) { - return &partinfo[i]; - } - } - return NULL; - } - - /* List item selection callback */ - - void tree_selection_changed (GtkTreeSelection *selection, gpointer data) { - GtkWidget *create_widget = lookup_widget(MainWindow,"CreateButton"); - GtkWidget *resize_widget = lookup_widget(MainWindow,"ResizeButton"); - GtkWidget *delete_widget = lookup_widget(MainWindow,"DeleteButton"); - GtkWidget *move_widget = lookup_widget(MainWindow,"MoveButton"); - GtkWidget *convert_widget = lookup_widget(MainWindow,"ConvertButton"); - GtkWidget *refresh_widget = lookup_widget(MainWindow,"RefreshButton"); - - GtkTreeIter iter; - GtkTreeModel *model; - gint num; - struct partinfo_struct *partition; - - if (gtk_tree_selection_get_selected(selection, &model, &iter)) { - gtk_tree_model_get(model, &iter,PART_NUMBER, &num,-1); - partition = get_partition_from_partinfo_num(num); - selected_partition = get_arraynumber_from_partinfo_num(num); - if (selected_partition < 0) { - debug("Error: selected partition has invalid arraynumber: %d\n",selected_partition); - } - else if (partition != NULL) { - - if (partition->type == FREE_SPACE) { - if (has_max_primary_partitions(&devices[selected_device]) && (selected_partition < part_extended_nr || part_extended_nr == 0)) { gtk_widget_set_sensitive(create_widget,FALSE); - } - else { - gtk_widget_set_sensitive(create_widget,TRUE); - } - gtk_widget_set_sensitive(resize_widget,FALSE); - - gtk_widget_set_sensitive(delete_widget,FALSE); - gtk_widget_set_sensitive(move_widget,FALSE); - gtk_widget_set_sensitive(convert_widget,FALSE); - } - else { - gtk_widget_set_sensitive(create_widget,FALSE); - if (partition->type == EXTENDED) { - /* - if the partition is extended, - extra restraints are necessary. - You can't delete the extended partition - if logical partitions exist in it. - Thankfully for me, you can only have - one extended partition... - */ - if (part_logical_count > 0) { - gtk_widget_set_sensitive(resize_widget,FALSE); - gtk_widget_set_sensitive(delete_widget,FALSE); - gtk_widget_set_sensitive(move_widget,FALSE); - gtk_widget_set_sensitive(convert_widget,FALSE); - } - else { - gtk_widget_set_sensitive(resize_widget,FALSE); - gtk_widget_set_sensitive(delete_widget,TRUE); - gtk_widget_set_sensitive(move_widget,FALSE); - gtk_widget_set_sensitive(convert_widget,FALSE); - } - } - else { - gtk_widget_set_sensitive(resize_widget,TRUE); - gtk_widget_set_sensitive(delete_widget,TRUE); - gtk_widget_set_sensitive(move_widget,TRUE); - gtk_widget_set_sensitive(convert_widget,TRUE); - } - } - } - } - } - - /* Partition button callback */ - - gboolean click_part_item(GtkWidget *widget, gpointer data) { - struct partinfo_struct *partition = (struct partinfo_struct *)data; - GtkWidget *treeview = lookup_widget(MainWindow,"treeview1"); - GtkTreeSelection *selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)); - gchar path_string[4]; - sprintf(path_string,"%d",partition->row_number); - GtkTreePath *path = gtk_tree_path_new_from_string(path_string); - if (path != NULL) { - gtk_tree_selection_select_path(GTK_TREE_SELECTION(selection), - (path)); - } - } - /* - updates partinfo-array with all partitions for the current selected_device - skips the METADATA partition that seems to be before the first partition - modifies the GtkList of partitions - */ - - void update_partition_widget() { - GtkWidget *partition_widget = lookup_widget(MainWindow,"hbox4"); - GtkWidget *part_box = gtk_hbox_new(FALSE,5); - gint i; - gint win_x; - gint win_y; - gint height = 30; - gint rows = 0; - - if (G_IS_OBJECT(part_widget)) - gtk_container_remove(GTK_CONTAINER(partition_widget),part_widget); - gtk_window_get_size(GTK_WINDOW(MainWindow),&win_x,&win_y); - - win_x -= 10; // border - - for (i = 1; i < part_count; i++) { - if (partinfo[i].part == NULL && partinfo[i].free != TRUE) { - debug("Debug: Skipping partition. Free: %d\n",partinfo[i].free); - continue; - } - - GtkWidget *part_item = gtk_button_new(); - gfloat perc = (float)partinfo[i].size / device_total_size; - gint width = (win_x / 100) * 100 * perc; - GdkColor color; - /* Default color */ - color.red = 32768; color.blue = 32768; color.green = 32768; - - if (width <= 20) - width = 20; - if (partinfo[i].type == EXTENDED) - width = 1; - if (partinfo[i].type == FREE_SPACE) - COLOR_FREE(color) - if (strncmp(partinfo[i].temp_fs_name,"ext2",4) == 0) - COLOR_EXT2(color) - if (strncmp(partinfo[i].temp_fs_name,"ext3",4) == 0) - COLOR_EXT3(color) - if (strncmp(partinfo[i].temp_fs_name,"reiserfs",8) == 0) - COLOR_REIS(color) - if (strncmp(partinfo[i].temp_fs_name,"xfs",3) == 0) - COLOR_XFS(color) - if (strncmp(partinfo[i].temp_fs_name,"jfs",3) == 0) - COLOR_JFS(color) - if (strncmp(partinfo[i].temp_fs_name,"vfat",4) == 0) - COLOR_32FAT(color) - if (strncmp(partinfo[i].temp_fs_name,"ntfs",4) == 0) - COLOR_NTFS(color) - if (strncmp(partinfo[i].temp_fs_name,"linux-swap",4) == 0) - COLOR_SWAP(color) - if (partinfo[i].flags[4] == PED_PARTITION_RAID) - COLOR_RAID(color) - if (partinfo[i].flags[5] == PED_PARTITION_LVM) - COLOR_LVM(color) - debug("Debug: Color: %d, %d, %d\n",color.red,color.green,color.blue); - if (width >= 100) { - if (strcmp(partinfo[i].partname,"") != 0) - gtk_button_set_label(GTK_BUTTON(part_item),partinfo[i].partname); - else - gtk_button_set_label(GTK_BUTTON(part_item),"Free Space"); - } - - debug("Debug: Color: %d, %d, %d\n",color.red,color.green,color.blue); - - gtk_widget_modify_bg(part_item,GTK_STATE_NORMAL,&color); - gtk_widget_modify_bg(part_item,GTK_STATE_ACTIVE,&color); - gtk_widget_modify_bg(part_item,GTK_STATE_PRELIGHT,&color); - - gtk_widget_set_size_request(GTK_WIDGET(part_item),width,height); - partinfo[i].part_widget = part_item; - partinfo[i].row_number = rows++; - g_signal_connect(GTK_OBJECT(part_item),"clicked", - GTK_SIGNAL_FUNC(click_part_item),(gpointer) &partinfo[i]); - debug("Debug: Adding partition, number %d:%d width %d type %d name %s size %ld\n",partinfo[i].num, i, width, partinfo[i].type, partinfo[i].partname, partinfo[i].size); - - gtk_box_pack_start(GTK_BOX(part_box),part_item,TRUE,TRUE,2); - } - gtk_container_add(GTK_CONTAINER(partition_widget),part_box); - part_widget = part_box; - gtk_widget_show_all(part_box); - gtk_widget_set_size_request(GTK_WIDGET(MainWindow),win_x,win_y); - } - - /* - an attempt to clean out the array before adding other crap to it - */ - - void initialise_partinfo(gint i) { - gint j; - - partinfo[i].type = 0; - partinfo[i].part = NULL; - for (j = 0; j < MAX_FLAGS; j++) { - partinfo[i].flags[j] = 0; - } - partinfo[i].flag_count = 0; - partinfo[i].t_start = 0; - partinfo[i].t_end = 0; - partinfo[i].start = 0; - partinfo[i].end = 0; - partinfo[i].max_size = 0; - partinfo[i].min_size = 0; - - partinfo[i].part_widget = NULL; - partinfo[i].row_number = 0; - - partinfo[i].fs = NULL; - strcpy(partinfo[i].temp_fs_name,""); - strcpy(partinfo[i].temp_flags_list,""); - partinfo[i].num = 0; - - partinfo[i].size = 0; - partinfo[i].mb_t_start = 0; - partinfo[i].mb_t_end = 0; - partinfo[i].mb_start = 0; - partinfo[i].mb_end = 0; - partinfo[i].mb_min_size = 0; - partinfo[i].mb_max_size = 0; - strcpy(partinfo[i].partname,""); - partinfo[i].label = NULL; - partinfo[i].free = FALSE; - partinfo[i].unknown = FALSE; - partinfo[i].width = 0; - } - - - /* - This function updates the partinfo array, and fills each struct in it with - current info. Also checks for freespace, and changes the used, free labels - of the harddisk, updates the progressbar used for showing the percentage - of free space. Creates a new store for info selected from the array and - displays it in the GtkTreeView in MainWindow. - */ - - gboolean update_partition_list() { - GtkWidget *tree = lookup_widget(MainWindow,"treeview1"); - GtkWidget *used_widget = lookup_widget(MainWindow,"UsedLabel"); - GtkWidget *free_widget = lookup_widget(MainWindow,"FreeLabel"); - GtkWidget *size_bar = lookup_widget (MainWindow,"TotalSizeProgressBar"); - gint i; - GtkTreeIter iter; - PedDisk *disk = NULL; - PedPartition *part = NULL; - PedPartitionFlag flag; - gint flags; - gint first_flag; - glong free_space = 0; - gchar buffer[64]; - gchar used_label[64]; - gchar free_label[64]; - gchar percentage[5]; - const char *label = NULL; - GtkListStore *store = gtk_list_store_new(N_COLUMNS, - G_TYPE_INT, - G_TYPE_STRING, - G_TYPE_STRING, - G_TYPE_STRING, - G_TYPE_INT, - G_TYPE_INT, - G_TYPE_INT, - G_TYPE_STRING); - disk = ped_disk_new (devices[selected_device]); - if (!disk) { - debug("Debug: No partitions!\n"); - - return FALSE; - } - device_freespace = 0; - - set_timer(); - - part_extended_nr = part_primary_count = part_extended_count = part_logical_count = part_freespace_count = 0; - - - for (i = 0; i < part_count; i++) { - initialise_partinfo(i); - part = ped_disk_next_partition(disk,part); - if (part == NULL) { - /* Non-partition */ - continue; - } - if (G_IS_OBJECT(partinfo[i].part_widget)) - gtk_container_remove(GTK_CONTAINER(part_widget),partinfo[i].part_widget); - if (part->type & PED_PARTITION_METADATA) { - /* metadata, probably partition table */ - continue; - } - if (part->type != 0 && - part->type != PED_PARTITION_EXTENDED && - part->type != PED_PARTITION_LOGICAL) { - /* Error in parted? */ - debug("Error: reading partition! Type: %d\n",part->type); - } - PedConstraint *constraint = NULL; - if (!part && !disk) { - debug("Error: reading partition!\n"); - return TRUE; - } - - //sdebug(minor,"%d",partition_get_minor(part)); - - partinfo[i].part = part; - partinfo[i].start = (int)part->geom.start; - partinfo[i].mb_start = (int)(part->geom.start * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); - partinfo[i].end = (int)part->geom.end; - partinfo[i].mb_end = (int)(part->geom.end * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); - partinfo[i].num = part->num; - partinfo[i].size = (int)((partinfo[i].end - partinfo[i].start) * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); - partinfo[i].label = ""; - if (!(part->type & PED_PARTITION_FREESPACE)) { - debug("Debug: Adding partition\n"); - strcpy(partinfo[i].partname,ped_partition_get_path(part)); - if (part->type & PED_PARTITION_LOGICAL) { - partinfo[i].type = LOGICAL; - part_logical_count++; - } - else if (part->type & PED_PARTITION_EXTENDED) { - partinfo[i].type = EXTENDED; - part_extended_count++; - part_extended_nr = i; - } - else { - partinfo[i].type = PRIMARY; - part_primary_count++; - } - - flag = ped_partition_flag_next((PedPartitionFlag)0); - flags = 0; - strcpy(partinfo[i].temp_flags_list,""); - while (flag) { - if (ped_partition_get_flag(part,flag)) { - partinfo[i].flags[flags] = flag; - strncpy(buffer,ped_partition_flag_get_name(flag),63); - strcpy(buffer,strcat(buffer," ")); - strcpy(partinfo[i].temp_flags_list,strcat(partinfo[i].temp_flags_list,buffer)); - - } - flag = ped_partition_flag_next(flag); - - flags++; - } - partinfo[i].free = FALSE; - constraint = ped_constraint_any(devices[selected_device]); - PedGeometry *geometry = NULL; - if (constraint != NULL) - geometry = ped_disk_get_max_partition_geometry(disk,part,constraint); - if (geometry != NULL) { - partinfo[i].t_start = (int)geometry->start; - partinfo[i].mb_t_start = (int)(geometry->start * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); - partinfo[i].t_end = (int)geometry->end; - partinfo[i].mb_t_end = (int)(geometry->end * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); - } else { - partinfo[i].t_start = -1; - partinfo[i].mb_t_start = -1; - partinfo[i].t_end = -1; - partinfo[i].mb_t_end = -1; - } - PedFileSystem *fs = ped_file_system_open(&part->geom); - if (fs) { - debug("Debug: Checking if partition %s is resizable...\n", partinfo[i].partname); - - PedConstraint *resize_con = - ped_file_system_get_resize_constraint(fs); - if (resize_con) { - debug("Debug: constraint accepted: mb_min: %ld mb_max: %ld\n",(int)(resize_con->min_size * 1.0/ MEGABYTE_SIZE * MEGABYTE_SECTORS),(int)(resize_con->max_size * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS)); - partinfo[i].min_size = (int)resize_con->min_size; - partinfo[i].mb_min_size = (int)(resize_con->min_size * 1.0/ MEGABYTE_SIZE * MEGABYTE_SECTORS); - partinfo[i].max_size = (int)resize_con->max_size; - partinfo[i].mb_max_size = (int)(resize_con->max_size * 1.0 / MEGABYTE_SIZE * MEGABYTE_SECTORS); - ped_constraint_destroy(resize_con); - } - else { - debug("Debug: constraint failed! Can'tresize %dth partition\n",i); - } - ped_file_system_close(fs); - // The following two lines shouldn't be necessary since we initialize partinfo[i].label to "" - //if (partinfo[i].label != NULL) - //g_free(partinfo[i].label); - label = ped_partition_get_name(part); - if (label != NULL) - partinfo[i].label = label; - } - else { - debug("Debug: filesystem couldn't be opened\n"); - } - } - else { - /* FREESPACE */ - debug("Debug: Adding freespace\n"); - device_freespace += partinfo[i].size; - partinfo[i].t_start = -1; - partinfo[i].mb_t_start = -1; - partinfo[i].t_end = -1; - partinfo[i].mb_t_end = -1; - partinfo[i].free = TRUE; - partinfo[i].type = FREE_SPACE; - - /* Unfortunately, ped_disk_next_partition sets part->num to -1 - for all partitions corresponding to free space. This - causes a small bug: whenever the user highlights some free - space and clicks on "Create", they are forced to create a - partition corresponding to the first set of free space on - the drive regardless of which set of free space they - clicked on. This is a simple workaround for this problem. */ - partinfo[i].num -= part_freespace_count++; - } - - strcpy(partinfo[i].temp_fs_name,part->fs_type ? part->fs_type->name : ""); - strncpy(buffer,ped_partition_type_get_name(part->type),63); - - gtk_list_store_append(store,&iter); - gtk_list_store_set(store,&iter, - PART_NUMBER,partinfo[i].num, - PART_PATH,partinfo[i].partname, - PART_TYPE,buffer, - PART_FS,partinfo[i].temp_fs_name, - PART_SIZE,(int)(partinfo[i].size), - PART_START,(int)partinfo[i].start, - PART_END,(int)partinfo[i].end, - PART_FLAGS,partinfo[i].temp_flags_list, - -1); - } - /* Time to set up the TreeView widget*/ - - GtkTreeSelection *select; - - select = gtk_tree_view_get_selection (GTK_TREE_VIEW(tree)); - gtk_tree_selection_set_mode(select,GTK_SELECTION_SINGLE); - g_signal_connect(G_OBJECT(select),"changed", - G_CALLBACK(tree_selection_changed),NULL); - - gtk_tree_view_set_model(GTK_TREE_VIEW(tree),GTK_TREE_MODEL(store)); - - sprintf(free_label,"Free: %ld MB",device_freespace); - gtk_label_set_text(GTK_LABEL(free_widget),free_label); - - sprintf(used_label,"Used: %ld MB",device_total_size - device_freespace); - gtk_label_set_text(GTK_LABEL(used_widget),used_label); - - /* Progress bar, pretty useless, but it's in there for some reason */ - gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(size_bar),(device_total_size - device_freespace) / (gfloat) device_total_size); - sprintf(percentage,"Used: %d%%",(gint) (100*((device_total_size - device_freespace) / (gfloat) device_total_size))); - gtk_progress_bar_set_text(GTK_PROGRESS_BAR(size_bar),percentage); - - ped_disk_destroy(disk); - return TRUE; - } - - - - - /* - executes all changes for when a new device has been selected - calls update_partition_list to modifiy the partinfo array - */ - - void update_interface(gint device) { - GtkWidget *sizelabel = lookup_widget(MainWindow,"SizeLabel"); - gchar string[256]; - gint size_drive = (int) devices[device]->length * 1.0 / MEGABYTE_SIZE * devices[device]->sector_size; - debug("Debug: device %d is: length %d sector %d MB\n", - device,(int)devices[device]->length,size_drive); - sprintf(string,"Total size: %d MB",size_drive); - device_total_size = size_drive; - gtk_label_set_text(GTK_LABEL(sizelabel),string); - } - - /* - Function to completly refresh the partition list, meta-function - */ - - void refresh_devices_and_partitions() { - GtkWidget *optionmenu = lookup_widget(MainWindow,"MainHarddiskOptionMenu"); - //ped_device_close(devices[selected_device]); - - selected_device = gtk_option_menu_get_history(GTK_OPTION_MENU(optionmenu)); - //ped_device_open(devices[selected_device]); - scan_partitions(&devices[selected_device]); - update_interface(selected_device); - if (update_partition_list() == FALSE) { - gtk_widget_show(TableWindow); - } - else { - update_partition_widget(); - click_part_item(NULL,&partinfo[selected_partition]); - } - } - - void on_CreateButton_clicked (GtkButton *button, gpointer user_data) --- 73,76 ---- *************** *** 693,696 **** --- 93,97 ---- gtk_range_set_adjustment(GTK_RANGE(range),GTK_ADJUSTMENT(adjustment));*/ gtk_widget_show (CreateWindow); + untoggle_create_types(); } *************** *** 702,706 **** gchar buffer[64]; GtkObject *adjustment; - GtkWidget *range = lookup_widget(ResizeWindow,"hscale2"); GtkWidget *device_label = lookup_widget(ResizeWindow,"ResizeDeviceLabel"); GtkWidget *fs_label = lookup_widget(ResizeWindow,"ResizeFsLabel"); --- 103,106 ---- *************** *** 716,727 **** sprintf(buffer,"%ld MB",partinfo[selected_partition].size); gtk_label_set_text(GTK_LABEL(size_label),buffer); - - adjustment = gtk_adjustment_new((gdouble)partinfo[selected_partition].size, - (gdouble)partinfo[selected_partition].mb_min_size, - (gdouble)partinfo[selected_partition].mb_max_size, - 1.0, - 100.0, - (gdouble)0); - gtk_range_set_adjustment(GTK_RANGE(range),GTK_ADJUSTMENT(adjustment)); gtk_widget_show (ResizeWindow); } --- 116,119 ---- *************** *** 737,741 **** GtkWidget *size_label = lookup_widget(DeleteWindow,"DeleteSizeLabel"); gtk_label_set_text(GTK_LABEL(path_label),partinfo[selected_partition].partname); ! gtk_label_set_text(GTK_LABEL(fs_label),partinfo[selected_partition].temp_fs_name); sprintf(buffer,"%ld MB",partinfo[selected_partition].size); gtk_label_set_text(GTK_LABEL(size_label),buffer); --- 129,139 ---- GtkWidget *size_label = lookup_widget(DeleteWindow,"DeleteSizeLabel"); gtk_label_set_text(GTK_LABEL(path_label),partinfo[selected_partition].partname); ! if (strcmp(partinfo[selected_partition].temp_fs_name,"") != 0) { ! gtk_widget_show(fs_label); ! gtk_label_set_text(GTK_LABEL(fs_label),partinfo[selected_partition].temp_fs_name); ! } ! else { ! gtk_widget_hide(fs_label); ! } sprintf(buffer,"%ld MB",partinfo[selected_partition].size); gtk_label_set_text(GTK_LABEL(size_label),buffer); *************** *** 1117,1121 **** debug("Debug: Move not yet implemented!\n"); /* ! do_move(&devices[selected_device],partinfo[selected_partition].part,partinfo[selected_partition].partname,(PedSector) start, (PedSector) end); */ gtk_widget_hide(MoveWindow); --- 515,519 ---- debug("Debug: Move not yet implemented!\n"); /* ! do_move(&devices[selected_device],partinfo[selected_partition].nr,partinfo[selected_partition].partname,(PedSector) start, (PedSector) end); */ gtk_widget_hide(MoveWindow); *************** *** 1242,1256 **** unredirect_stderr(saved_fd, stderr_pipe); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_boot_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].part,PED_PARTITION_BOOT,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_root_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].part,PED_PARTITION_ROOT,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_hidden_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].part,PED_PARTITION_HIDDEN,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_raid_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].part,PED_PARTITION_RAID,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_lvm_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].part,PED_PARTITION_LVM,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_lba_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].part,PED_PARTITION_LBA,1); } else { index = read(stderr_pipe, error_message_buffer, 1000); --- 640,654 ---- unredirect_stderr(saved_fd, stderr_pipe); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_boot_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].num,PED_PARTITION_BOOT,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_root_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].num,PED_PARTITION_ROOT,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_hidden_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].num,PED_PARTITION_HIDDEN,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_raid_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].num,PED_PARTITION_RAID,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_lvm_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].num,PED_PARTITION_LVM,1); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_lba_flag))) ! set_part_flag_state(&devices[selected_device],partinfo[selected_partition].num,PED_PARTITION_LBA,1); } else { index = read(stderr_pipe, error_message_buffer, 1000); *************** *** 1272,1277 **** { PedSector end_sector; ! GtkWidget *range = lookup_widget(ResizeWindow,"hscale2"); ! long long mb_size = (long long)gtk_range_get_value(GTK_RANGE(range)); long long sector_num = ((mb_size * 1024*1024) / 512); --- 670,676 ---- { PedSector end_sector; ! GtkWidget *entry = lookup_widget(ResizeWindow,"entry2"); ! ! long long mb_size = (long long)atol(gtk_entry_get_text(GTK_ENTRY(entry))); long long sector_num = ((mb_size * 1024*1024) / 512); *************** *** 1280,1286 **** debug("Debug: mbsize: %lld, end: %lld\n",mb_size,end_sector); ! do_resize(&devices[selected_device],partinfo[selected_partition].part, ! partinfo[selected_partition].partname, ! (PedSector) partinfo[selected_partition].start,(PedSector) end_sector); gtk_widget_hide(ResizeWindow); refresh_devices_and_partitions(); --- 679,693 ---- debug("Debug: mbsize: %lld, end: %lld\n",mb_size,end_sector); ! if (strcmp(partinfo[selected_partition].temp_fs_name,"ntfs") == 0) { ! do_ntfsresize(&devices[selected_device],partinfo[selected_partition].num,(PedSector)partinfo[selected_partition].end, ! partinfo[selected_partition].partname, ! (PedSector) partinfo[selected_partition].start,(PedSector) end_sector); ! } ! else { ! ! do_resize(&devices[selected_device],partinfo[selected_partition].num, ! partinfo[selected_partition].partname, ! (PedSector) partinfo[selected_partition].start,(PedSector) end_sector); ! } gtk_widget_hide(ResizeWindow); refresh_devices_and_partitions(); *************** *** 1524,1535 **** } - void untoggle_create_flags() { - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateBootFlagCheckbutton")),FALSE); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateRootFlagCheckbutton")),FALSE); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateHiddenFlagCheckbutton")),FALSE); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateRaidFlagCheckbutton")),FALSE); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateLVMFlagCheckbutton")),FALSE); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(lookup_widget(CreateWindow,"CreateLBAFlagCheckbutton")),FALSE); - } --- 931,934 ---- *************** *** 1583,1615 **** } - void show_create_fstype() { - gtk_widget_show(lookup_widget(CreateWindow,"optionmenu4")); - gtk_widget_show(lookup_widget(CreateWindow,"label27")); - } - - void hide_create_fstype() { - gtk_widget_hide(lookup_widget(CreateWindow,"optionmenu4")); - gtk_widget_hide(lookup_widget(CreateWindow,"label27")); - } - - void show_create_flags() { - gtk_widget_show(lookup_widget(CreateWindow,"CreateBootFlagCheckbutton")); - gtk_widget_show(lookup_widget(CreateWindow,"CreateRootFlagCheckbutton")); - gtk_widget_show(lookup_widget(CreateWindow,"CreateHiddenFlagCheckbutton")); - gtk_widget_show(lookup_widget(CreateWindow,"CreateRaidFlagCheckbutton")); - gtk_widget_show(lookup_widget(CreateWindow,"CreateLVMFlagCheckbutton")); - gtk_widget_show(lookup_widget(CreateWindow,"CreateLBAFlagCheckbutton")); - gtk_widget_show(lookup_widget(CreateWindow,"label65")); - } - - void hide_create_flags() { - gtk_widget_hide(lookup_widget(CreateWindow,"CreateBootFlagCheckbutton")); - gtk_widget_hide(lookup_widget(CreateWindow,"CreateRootFlagCheckbutton")); - gtk_widget_hide(lookup_widget(CreateWindow,"CreateHiddenFlagCheckbutton")); - gtk_widget_hide(lookup_widget(CreateWindow,"CreateRaidFlagCheckbutton")); - gtk_widget_hide(lookup_widget(CreateWindow,"CreateLVMFlagCheckbutton")); - gtk_widget_hide(lookup_widget(CreateWindow,"CreateLBAFlagCheckbutton")); - gtk_widget_hide(lookup_widget(CreateWindow,"label65")); - } void --- 982,985 ---- *************** *** 1641,1645 **** { if (gtk_toggle_button_get_active(togglebutton)) { ! hide_create_flags(); /* afaik logical partitions can't have flags set... */ show_create_fstype(); gtk_window_resize(GTK_WINDOW(CreateWindow),1,1); --- 1011,1015 ---- { if (gtk_toggle_button_get_active(togglebutton)) { ! show_create_flags(); show_create_fstype(); gtk_window_resize(GTK_WINDOW(CreateWindow),1,1); *************** *** 1651,1656 **** gpointer user_data) { - fprintf(stderr, "on_CreateTypeRadiobutton_clicked called.\n"); - GtkWidget *radio_primary_type = lookup_widget(CreateWindow,"CreatePrimaryRadiobutton"); GtkWidget *radio_extended_type = lookup_widget(CreateWindow,"CreateExtendedRadiobutton"); --- 1021,1024 ---- Index: interface.c =================================================================== RCS file: /cvsroot/morphix/partitionmorpher/src/interface.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** interface.c 11 Dec 2003 13:30:24 -0000 1.8 --- interface.c 2 Jan 2004 15:17:31 -0000 1.9 *************** *** 39,44 **** GtkWidget *MoveButton; GtkWidget *ConvertButton; GtkWidget *RefreshButton; - GtkWidget *RevertButton; GtkWidget *HelpButton; GtkWidget *QuitButton; --- 39,44 ---- GtkWidget *MoveButton; GtkWidget *ConvertButton; + GtkWidget *button1; GtkWidget *RefreshButton; GtkWidget *HelpButton; GtkWidget *QuitButton; *************** *** 125,128 **** --- 125,129 ---- gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar1)->children)->data))->label), TRUE); gtk_widget_show (MoveButton); + gtk_widget_set_sensitive (MoveButton, FALSE); tmp_toolbar_icon = gtk_image_new_from_stock ("gtk-convert", gtk_toolbar_get_icon... [truncated message content] |
From: <ale...@us...> - 2004-01-02 15:17:35
|
Update of /cvsroot/morphix/partitionmorpher In directory sc8-pr-cvs1:/tmp/cvs-serv21416 Modified Files: partitionmorpher.glade translation Log Message: added resizing, added wrapper for ntfsresize (untested), heaps of fixes Index: partitionmorpher.glade =================================================================== RCS file: /cvsroot/morphix/partitionmorpher/partitionmorpher.glade,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** partitionmorpher.glade 11 Dec 2003 13:30:23 -0000 1.8 --- partitionmorpher.glade 2 Jan 2004 15:17:31 -0000 1.9 *************** *** 72,75 **** --- 72,76 ---- <widget class="button" id="MoveButton"> <property name="visible">True</property> + <property name="sensitive">False</property> <property name="tooltip" translatable="yes">Move the selected partition around, possibly making more room for other partitions</property> <property name="label" translatable="yes">_Move</property> *************** *** 83,86 **** --- 84,88 ---- <widget class="button" id="ConvertButton"> <property name="visible">True</property> + <property name="sensitive">False</property> <property name="tooltip" translatable="yes">Convert certain settings for the selected partition</property> <property name="label" translatable="yes">_Convert</property> *************** *** 92,102 **** <child> ! <widget class="button" id="RefreshButton"> <property name="visible">True</property> ! <property name="label" translatable="yes">_Refresh</property> <property name="use_underline">True</property> ! <property name="stock_pixmap">gtk-refresh</property> <property name="new_group">True</property> - <signal name="clicked" handler="on_RefreshButton_clicked" last_modification_time="Thu, 06 Mar 2003 23:52:19 GMT"/> </widget> <packing> --- 94,104 ---- <child> ! <widget class="button" id="button1"> <property name="visible">True</property> ! <property name="sensitive">False</property> ! <property name="label" translatable="yes">_Rescue</property> <property name="use_underline">True</property> ! <property name="stock_pixmap">gtk-revert-to-saved</property> <property name="new_group">True</property> </widget> <packing> *************** *** 106,116 **** <child> ! <widget class="button" id="RevertButton"> ! <property name="sensitive">False</property> ! <property name="label" translatable="yes">Revert</property> <property name="use_underline">True</property> ! <property name="stock_pixmap">gtk-undo</property> ! <signal name="clicked" handler="on_RevertButton_clicked" last_modification_time="Thu, 06 Mar 2003 23:52:26 GMT"/> </widget> </child> --- 108,122 ---- <child> ! <widget class="button" id="RefreshButton"> ! <property name="visible">True</property> ! <property name="label" translatable="yes">_Refresh</property> <property name="use_underline">True</property> ! <property name="stock_pixmap">gtk-refresh</property> ! <property name="new_group">True</property> ! <signal name="clicked" handler="on_RefreshButton_clicked" last_modification_time="Thu, 06 Mar 2003 23:52:19 GMT"/> </widget> + <packing> + <property name="new_group">True</property> + </packing> </child> *************** *** 550,554 **** <property name="tooltip" translatable="yes">Select the filesystem type. None is default. For an ordinary filesystem, you should choose one of the next 4 options. If you want a swap partition, select the 6th option</property> <property name="can_focus">True</property> ! <property name="history">2</property> <child> --- 556,560 ---- <property name="tooltip" translatable="yes">Select the filesystem type. None is default. For an ordinary filesystem, you should choose one of the next 4 options. If you want a swap partition, select the 6th option</property> <property name="can_focus">True</property> ! <property name="history">0</property> <child> *************** *** 598,610 **** <child> - <widget class="GtkMenuItem" id="xfs1"> - <property name="visible">True</property> - <property name="label" translatable="yes">xfs</property> - <property name="use_underline">True</property> - <signal name="activate" handler="on_xfs1_activate" last_modification_time="Sun, 06 Apr 2003 00:42:36 GMT"/> - </widget> - </child> - - <child> <widget class="GtkMenuItem" id="separator5"> <property name="visible">True</property> --- 604,607 ---- *************** *** 628,682 **** <child> - <widget class="GtkMenuItem" id="hfs1"> - <property name="visible">True</property> - <property name="label" translatable="yes">hfs</property> - <property name="use_underline">True</property> - <signal name="activate" handler="on_hfs1_activate" last_modification_time="Fri, 18 Apr 2003 01:22:05 GMT"/> - </widget> - </child> - - <child> - <widget class="GtkMenuItem" id="jfs1"> - <property name="visible">True</property> - <property name="label" translatable="yes">jfs</property> - <property name="use_underline">True</property> - <signal name="activate" handler="on_jfs1_activate" last_modification_time="Fri, 18 Apr 2003 01:22:05 GMT"/> - </widget> - </child> - - <child> - <widget class="GtkMenuItem" id="hp-ufs2"> - <property name="visible">True</property> - <property name="label" translatable="yes">hp-ufs</property> - <property name="use_underline">True</property> - <signal name="activate" handler="on_hp-ufs2_activate" last_modification_time="Fri, 18 Apr 2003 01:22:05 GMT"/> - </widget> - </child> - - <child> - <widget class="GtkMenuItem" id="sun-ufs2"> - <property name="visible">True</property> - <property name="label" translatable="yes">sun-ufs</property> - <property name="use_underline">True</property> - <signal name="activate" handler="on_sun-ufs2_activate" last_modification_time="Fri, 18 Apr 2003 01:22:05 GMT"/> - </widget> - </child> - - <child> - <widget class="GtkMenuItem" id="separator9"> - <property name="visible">True</property> - </widget> - </child> - - <child> - <widget class="GtkMenuItem" id="ntfs1"> - <property name="visible">True</property> - <property name="label" translatable="yes">ntfs</property> - <property name="use_underline">True</property> - <signal name="activate" handler="on_ntfs1_activate" last_modification_time="Fri, 18 Apr 2003 01:22:05 GMT"/> - </widget> - </child> - - <child> <widget class="GtkMenuItem" id="fat1"> <property name="visible">True</property> --- 625,628 ---- *************** *** 1013,1017 **** <widget class="GtkCheckButton" id="CreateBootFlagCheckbutton"> <property name="visible">True</property> ! <property name="tooltip" translatable="yes">This flag makes the partition bootable (shouldn't be needed for most systems)</property> <property name="can_focus">True</property> <property name="label" translatable="yes">Boot Partition</property> --- 959,963 ---- <widget class="GtkCheckButton" id="CreateBootFlagCheckbutton"> <property name="visible">True</property> ! <property name="tooltip" translatable="yes">Makes the partition bootable on MS-DOS systems</property> <property name="can_focus">True</property> <property name="label" translatable="yes">Boot Partition</property> *************** *** 1034,1039 **** <child> <widget class="GtkCheckButton" id="CreateRootFlagCheckbutton"> - <property name="visible">True</property> - <property name="tooltip" translatable="yes">This flag makes the partition accessable as the root partition (maybe this should be thrown out?)</property> <property name="can_focus">True</property> <property name="label" translatable="yes">Root Partition</property> --- 980,983 ---- *************** *** 1057,1061 **** <widget class="GtkCheckButton" id="CreateHiddenFlagCheckbutton"> <property name="visible">True</property> ! <property name="tooltip" translatable="yes">Makes the partition hidden on some Win32-based systems</property> <property name="can_focus">True</property> <property name="label" translatable="yes">Hidden Partition</property> --- 1001,1005 ---- <widget class="GtkCheckButton" id="CreateHiddenFlagCheckbutton"> <property name="visible">True</property> ! <property name="tooltip" translatable="yes">Makes the partition hidden on Win32-based systems</property> <property name="can_focus">True</property> <property name="label" translatable="yes">Hidden Partition</property> *************** *** 1079,1083 **** <widget class="GtkCheckButton" id="CreateRaidFlagCheckbutton"> <property name="visible">True</property> ! <property name="tooltip" translatable="yes">Flags the partition as usable for hard- or software RAID arrays</property> <property name="can_focus">True</property> <property name="label" translatable="yes">Raid Partition</property> --- 1023,1027 ---- <widget class="GtkCheckButton" id="CreateRaidFlagCheckbutton"> <property name="visible">True</property> ! <property name="tooltip" translatable="yes">Flags the partition as a software RAID partition</property> <property name="can_focus">True</property> <property name="label" translatable="yes">Raid Partition</property> *************** *** 1101,1105 **** <widget class="GtkCheckButton" id="CreateLVMFlagCheckbutton"> <property name="visible">True</property> ! <property name="tooltip" translatable="yes">Attempts to flag the partition for use with the Linux Volume Manager</property> <property name="can_focus">True</property> <property name="label" translatable="yes">LVM Partition</property> --- 1045,1049 ---- <widget class="GtkCheckButton" id="CreateLVMFlagCheckbutton"> <property name="visible">True</property> ! <property name="tooltip" translatable="yes">Tell linux the partition is a physical volume</property> <property name="can_focus">True</property> <property name="label" translatable="yes">LVM Partition</property> *************** *** 1123,1126 **** --- 1067,1071 ---- <widget class="GtkCheckButton" id="CreateLBAFlagCheckbutton"> <property name="visible">True</property> + <property name="tooltip" translatable="yes">Tell win32-based systems to use Linear (LBA) mode</property> <property name="can_focus">True</property> <property name="label" translatable="yes">LBA Partition</property> *************** *** 1971,1974 **** --- 1916,1921 ---- <widget class="GtkDialog" id="HelpWindow"> + <property name="width_request">400</property> + <property name="height_request">300</property> <property name="visible">True</property> <property name="title" translatable="yes">Partition Help</property> *************** *** 2028,2032 **** <property name="editable">True</property> <property name="justification">GTK_JUSTIFY_LEFT</property> ! <property name="wrap_mode">GTK_WRAP_NONE</property> <property name="cursor_visible">True</property> <property name="pixels_above_lines">0</property> --- 1975,1979 ---- <property name="editable">True</property> <property name="justification">GTK_JUSTIFY_LEFT</property> ! <property name="wrap_mode">GTK_WRAP_WORD</property> <property name="cursor_visible">True</property> <property name="pixels_above_lines">0</property> *************** *** 2036,2040 **** <property name="right_margin">0</property> <property name="indent">0</property> ! <property name="text" translatable="yes"></property> </widget> </child> --- 1983,1995 ---- <property name="right_margin">0</property> <property name="indent">0</property> ! <property name="text" translatable="yes">Morphix's Partition Morpher - Help & About info ! ! For bugreports, contact information please see http://www.morphix.org ! ! Every harddisk is divided into one or more partitions, each containing a file system where your files are placed in. On the PC platform, a harddisk can be subdivided into up to 4 Primary partitions and one Extended partition, the latter containing an arbitrary number of Logical partitions. ! ! Primary and Logical partitions can contain file systems. There are many types, each with their advantages and disadvantages. For installing Linux, you need a native Linux partition: ext2, ext3, reiserfs or xfs. For partitions which need to be readable under Windows, the fat32 and fat16 partitions are available. For a normal Linux install, you would normally also make a swap partition. Old lore states that this should be about 2x the amount of RAM, however you shouldn't need more than a few hundred MB. ! ! A partition can further have a number of flags set. </property> </widget> </child> Index: translation =================================================================== RCS file: /cvsroot/morphix/partitionmorpher/translation,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** translation 11 Dec 2003 13:30:24 -0000 1.7 --- translation 2 Jan 2004 15:17:31 -0000 1.8 *************** *** 16,21 **** gchar *s = N_("Convert certain settings for the selected partition"); gchar *s = N_("_Convert"); gchar *s = N_("_Refresh"); - gchar *s = N_("Revert"); gchar *s = N_("_Help"); gchar *s = N_("Exit Partition Morpher"); --- 16,21 ---- gchar *s = N_("Convert certain settings for the selected partition"); gchar *s = N_("_Convert"); + gchar *s = N_("_Rescue"); gchar *s = N_("_Refresh"); gchar *s = N_("_Help"); gchar *s = N_("Exit Partition Morpher"); *************** *** 39,49 **** gchar *s = N_("ext2"); gchar *s = N_("reiserfs"); - gchar *s = N_("xfs"); gchar *s = N_("Swap"); - gchar *s = N_("hfs"); - gchar *s = N_("jfs"); - gchar *s = N_("hp-ufs"); - gchar *s = N_("sun-ufs"); - gchar *s = N_("ntfs"); gchar *s = N_("fat32"); gchar *s = N_("fat16"); --- 39,43 ---- *************** *** 56,69 **** gchar *s = N_("Max Size:"); gchar *s = N_("Flags:"); ! gchar *s = N_("This flag makes the partition bootable (shouldn't be needed for most systems)"); gchar *s = N_("Boot Partition"); - gchar *s = N_("This flag makes the partition accessable as the root partition (maybe this should be thrown out?)"); gchar *s = N_("Root Partition"); ! gchar *s = N_("Makes the partition hidden on some Win32-based systems"); gchar *s = N_("Hidden Partition"); ! gchar *s = N_("Flags the partition as usable for hard- or software RAID arrays"); gchar *s = N_("Raid Partition"); ! gchar *s = N_("Attempts to flag the partition for use with the Linux Volume Manager"); gchar *s = N_("LVM Partition"); gchar *s = N_("LBA Partition"); gchar *s = N_("Primary"); --- 50,63 ---- gchar *s = N_("Max Size:"); gchar *s = N_("Flags:"); ! gchar *s = N_("Makes the partition bootable on MS-DOS systems"); gchar *s = N_("Boot Partition"); gchar *s = N_("Root Partition"); ! gchar *s = N_("Makes the partition hidden on Win32-based systems"); gchar *s = N_("Hidden Partition"); ! gchar *s = N_("Flags the partition as a software RAID partition"); gchar *s = N_("Raid Partition"); ! gchar *s = N_("Tell linux the partition is a physical volume"); gchar *s = N_("LVM Partition"); + gchar *s = N_("Tell win32-based systems to use Linear (LBA) mode"); gchar *s = N_("LBA Partition"); gchar *s = N_("Primary"); *************** *** 103,106 **** --- 97,109 ---- "All changes will be lost!"); gchar *s = N_("Partition Help"); + gchar *s = N_("Morphix's Partition Morpher - Help & About info\n" + "\n" + "For bugreports, contact information please see http://www.morphix.org\n" + "\n" + "Every harddisk is divided into one or more partitions, each containing a file system where your files are placed in. On the PC platform, a harddisk can be subdivided into up to 4 Primary partitions and one Extended partition, the latter containing an arbitrary number of Logical partitions.\n" + "\n" + "Primary and Logical partitions can contain file systems. There are many types, each with their advantages and disadvantages. For installing Linux, you need a native Linux partition: ext2, ext3, reiserfs or xfs. For partitions which need to be readable under Windows, the fat32 and fat16 partitions are available. For a normal Linux install, you would normally also make a swap partition. Old lore states that this should be about 2x the amount of RAM, however you shouldn't need more than a few hundred MB. \n" + "\n" + "A partition can further have a number of flags set. "); gchar *s = N_("Delete Partition?"); gchar *s = N_("Cancel the delete operation"); |
From: <ale...@us...> - 2003-12-28 23:16:26
|
Update of /cvsroot/morphix/morphixinstaller/po In directory sc8-pr-cvs1:/tmp/cvs-serv22397 Added Files: es.po Log Message: adding spanish translation --- NEW FILE: es.po --- # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "PO-Revision-Date: 2003-12-28 23:37+0100\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" # Spanish translation. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Sebastian Bassi <sb...@ge...>, 2003. # #, fuzzy msgid "" msgstr "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-12-27 16:39+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/interface.c:46 ../src/interface.c:212 ../src/interface.c:350 #: ../src/interface.c:476 ../src/interface.c:602 ../src/interface.c:838 #: ../src/interface.c:932 ../src/interface.c:1049 ../src/interface.c:1316 #: ../src/interface.c:1431 ../src/interface.c:1581 ../src/interface.c:1747 #: ../src/interface.c:1934 msgid "Morphix Install" msgstr "" #: ../src/interface.c:69 msgid "Welcome to the Morphix Installation\n" "\n" "Please note that this installer is still under construction, Alex de " "Landgraaf and \n" "Morphix.org take no responsibility for any damage done!\n" "\n" "This installation will copy Morphix onto your harddisk and " "optionally set up a bootloader. If done incorrectly, you could lose " "data. If you have any doubt about an option, take a look in the help " "or on the website first!\n" "\n" "\n" "\n" msgstr "Bienvenido a la instalación del Morphix\n" "\n" "Por favor tenga en cuenta que este instalador está en construcción, Alex de " "Landgraaf y \n" "Morphix.org no tiene ninguna resposabilidad por cualquier daño!\n" "\n" "Esta instalación va a copiar Morphix en su disco rígido y " "opcionalmente configurar un bootloader. Si algo sale mal, puede perder " "información. Si tiene alguna duda sobre alguna opción, consulte primero " "la ayuda o el sitio web!\n" "\n" "\n" "\n" #: ../src/interface.c:133 ../src/interface.c:2061 msgid "Installation Error" msgstr "Error de instalación" #: ../src/interface.c:145 msgid "An error has occured. \n" "Below you can see the console output of the command that\n" "caused the error.\n" "\n" "Please go to www.morphix.org, and place a bugreport,\n" "the installer will now exit." msgstr "Ha ocurrido un error. \n" "Puede ver abajo la salida en la consola del comando que\n" "causó el error.\n" "\n" "Por favor vaya a www.morphix.org, y envie un reporte de bug,\n" "el instalador va a terminar." #: ../src/interface.c:231 msgid "Harddisk selection\n" "\n" "Step:\n" "1 of 7" msgstr "Selección de disco rígido\n" "\n" "Paso:\n" "1 de 7" #: ../src/interface.c:249 msgid "Please select your harddisk,\n" "this will launch a Linux partitioning tool.\n" "\n" "Make sure you have at least one Linux and one swap partition\n" msgstr "Por favor seleccione su disco rígido,\n" "esto lanzará una herramienta de partición de Linux.\n" "\n" "Asegurese de tener al menos una partición Linux y una de intercambio (swap)\n" #: ../src/interface.c:263 msgid "A list of harddisks, choose the one you want to install Morphix on" msgstr "Una lista de discos rígido, selecciones en que quiere instalar Morphix" #: ../src/interface.c:266 msgid "Please note that all changes done during\n" "partitioning are final!" msgstr "Por favor tenga en cuenta que todos los cambios hechos durante\n" "el particionamiento, son definitivos" #: ../src/interface.c:369 msgid "Swap selection\n" "\n" "Step:\n" "2 of 7" msgstr "Selección de intercambio (swap)\n" "\n" "Paso:\n" "2 de 7" #: ../src/interface.c:387 msgid "Please select a swap partition (recommended),\n" "or select to use none:\n" msgstr "Por favor seleccione una partición de intercambio (swap) [recomendado],\n" "or seleccione no usar ninguna:\n" #: ../src/interface.c:401 msgid "A list of the detected swap partitions, use back if you want to make " "additional changes to your harddisk" msgstr "Una lista de las particiones de intercambio detectadas, use atras (back) si " "quiere hacer algún cambio adicional en su disco rígido" #: ../src/interface.c:500 msgid "5%" msgstr "5%" #: ../src/interface.c:514 ../src/interface.c:969 msgid "Couldn't find a Linux partition\n" "on the selected harddisk.\n" "\n" "Please go back and select a different harddisk\n" "or add a Linux partition to the harddisk.\n" msgstr "No se pudo encontrar una partición de Linux\n" "en el disco rígido seleccionado.\n" "\n" "Por favor retroceda y seleccione otro disco\n" "o agregue una partición Linux al disco rígido.\n" #: ../src/interface.c:621 msgid "Rootpartition selection\n" "\n" "Step:\n" "3 of 7" msgstr "Selección de la partición raíz (Rootpartition)\n" "\n" "Paso:\n" "3 de 7" #: ../src/interface.c:639 msgid "Please select your root Linux partition:\n" "\n" "All data on the selected partition will be lost!\n" msgstr "Por favor seleccione su partición raíz de Linux:\n" "\n" "¡Todos los datos en la partición selecta se perderán!\n" #: ../src/interface.c:654 msgid "A list of available partitions to install Morphix on. Choose back if " "you want to go back and repartition your harddisk" msgstr "Una lista de particiones disponibles para instalar Morphix. Elija atras si " "quiere volver y reparticionar su disco rígido" #: ../src/interface.c:656 ../src/interface.c:1086 msgid "Please select the filesystem type,\n" "the recommended setting has been selected:\n" msgstr "Por favor seleccione su tipo de sistema de archivos (filesystem),\n" "la opción recomendada ha sido seleccionada:\n" #: ../src/interface.c:666 ../src/interface.c:1095 msgid "A list of available filesystems, if you are unsure choose the " "default \"ext3\"" msgstr "Una lista de sistemas de archivos disponibles, si no está seguro elija " "el predeterminado \"ext3\"" #: ../src/interface.c:670 ../src/interface.c:1099 msgid "Ext 2 - Standard Linux Filesystem" msgstr "Ext 2 - Sistema de archivo de Linux estandar" #: ../src/interface.c:678 ../src/interface.c:1107 msgid "Ext 3 - Journaling File System" msgstr "Ext 3 - Sistema de Archivos Transaccional" #: ../src/interface.c:686 ../src/interface.c:1115 msgid "ReiserFS - Journaling File System" msgstr "ReiserFS - Sistema de Archivos Transaccional" #: ../src/interface.c:694 ../src/interface.c:1123 msgid "XFS - Journaling File System" msgstr "XFS - Sistema de Archivos Transaccional" #: ../src/interface.c:720 ../src/interface.c:2233 msgid "Expert: Add additional partitions" msgstr "Experto: Agregue particiones adicionales" #: ../src/interface.c:725 ../src/interface.c:1133 msgid "Next all changes will be made to your system.\n" "Please make sure that you have entered all\n" "information correctly, if you have any doubt\n" "please go back and correct your settings!" msgstr "Proximamente todos los cambios serán aplicados en su sistema.\n" "Por favor asegurese que haya ingresado toda la información\n" "correctamente, si tiene alguna duda, por favor retroceda\n" "y corrija sus configuraciones!" #: ../src/interface.c:869 msgid "The selected rootpartition is smaller\n" "than we recommend, make sure the \n" "partition is bigger than X MB" msgstr "La partición raíz selecta es mas chica\n" "de lo recomendado, asegurese que su partición \n" "sea mas grahde que X MB" #: ../src/interface.c:955 msgid "10%" msgstr "10%" #: ../src/interface.c:1068 msgid "Filesystem selection\n" "\n" "Step:\n" "4 of 8" msgstr "Selección del sistema de archivos\n" "\n" "Paso:\n" "4 de 8" #: ../src/interface.c:1222 ../src/interface.c:1262 ../src/interface.c:2018 msgid "Processing..." msgstr "Procesando..." #: ../src/interface.c:1232 msgid "Creating filesystem, please wait..." msgstr "Creando sistema de archivos, por favor espere..." #: ../src/interface.c:1272 msgid "Copying files to harddisk...\n" "\n" "This may take anywhere from 5 to 20 minutes, depending on your " "hardware" msgstr "Copiando archivos en su disco rígigo...\n" "\n" "Esto puede tardar entre 5 y 20 minutos, dependiendo de su " "hardware" #: ../src/interface.c:1335 msgid "Configure\n" "Hostname\n" "\n" "Step:\n" "4 of 7" msgstr "Configurar\n" "Nombre de host (Hostname)\n" "\n" "Paso:\n" "4 de 7" #: ../src/interface.c:1353 msgid "Morphix has succesfully been installed to harddisk\n" "\n" "Please enter a hostname for your computer:\n" msgstr "Morphix ha sido instalado exitosamente en su disco rígido\n" "\n" "Por favor ingrese un nombre de host para su computadora:\n" #: ../src/interface.c:1362 msgid "A hostname is used to identify your computer. You may choose " "anything as a name" msgstr "Un nombre de host es usado para identificar su computadora. Puede" "elegir cualquier cosa como nombre" #: ../src/interface.c:1363 msgid "myBox" msgstr "MiCompu" #: ../src/interface.c:1450 msgid "Configure\n" "Rootaccount\n" "\n" "Step:\n" "5 of 7" msgstr "Configurar\n" "Cuenta de root:\n" "\n" "Paso:\n" "5 de 7" #: ../src/interface.c:1468 msgid "Please enter and re-enter a\n" " password for the root account\n" "\n" "This password must be at least \n" "5 characters in length!\n" "\n" "Note: this is the equivalent of the\n" " system administrator, don't forget it!" msgstr "Por favor ingrese y reingrese su\n" " contraseña para la cuenta root\n" "\n" "El password debe ser de al menos \n" "5 caracteres de longitud!\n" "\n" "Nota: este es el equivalente al \n" " administrador de sistema, no se lo olvide!" #: ../src/interface.c:1474 msgid "Root Password:" msgstr "Contraseña de root" #: ../src/interface.c:1484 msgid "Root Password (yes, again):" msgstr "Contraseña de root (si, de nuevo)" #: ../src/interface.c:1600 msgid "Configure\n" "Useraccount\n" "\n" "Step:\n" "6 of 7" msgstr "Configurar\n" "Cuenta de usuario\n" "\n" "Paso:\n" "6 de 7" #: ../src/interface.c:1618 msgid "Please enter a name for your default user.\n" "\n" "Again, enter and re-enter the users password" msgstr "Por favor ingrese un nombre para su usuario predeterminado.\n" "\n" "Ingrese y reingrese la contraseña del usuario" #: ../src/interface.c:1625 msgid "Username:" msgstr "Nombre de usuario:" #: ../src/interface.c:1633 msgid "This name will be used for the first user, keep it short and simple" msgstr "Este nombre será usado para el primer usuario, que sea corto y simple" #: ../src/interface.c:1634 msgid "morph" msgstr "morph" #: ../src/interface.c:1636 msgid "Password (twice)" msgstr "Contraseña (dos veces)" #: ../src/interface.c:1766 msgid "Configure\n" "Bootloader\n" "\n" "Step:\n" "7 of 7" msgstr "Configurar\n" "Bootloader\n" "\n" "Paso:\n" "7 de 7" #: ../src/interface.c:1784 msgid "Do you want to set up the bootloader LILO?\n" "\n" "De-selecting this will not make Morphix bootable, but please note " "that installing LILO\n" "might make other operating systems unaccessable.\n" "\n" "Also select if you want to make a boot floppy." msgstr "¿Quiere configurar el bootloader LILO?\n" "\n" "Deseleccionando esto hará que Morphix no arranque, por favor tenga " "en cuenta que instalando LILO\n" "puede hacer que otros sistemas operativos sean inaccesibles.\n" "\n" "También seleccione si quiere arrancar con un diskette." #: ../src/interface.c:1794 msgid "Set up LILO on MBR (removes other bootloaders!)" msgstr "Configurar LILO en MBR (remueve otros bootloaders!)" #: ../src/interface.c:1797 msgid "If you have other operating systems, this might make them " "unavailable. Take care when using this option" msgstr "Si tiene otros sistemas operativos, esto puede hacer que no " "estén disponibles. Tenga cuidado al usar esta opción" #: ../src/interface.c:1810 msgid "You have multiple harddisks, please choose the requested harddisk " "that the MBR will be changed of. The default is the first harddisk" msgstr "Tiene varios discos rígidos, por favor elija el disco en donde " "cambiará el MBR. El predeterminado es el primero" #: ../src/interface.c:1817 msgid "Set up LILO on root partition of the harddisk" msgstr "Configurar LILO en la partición raíz del disco rígido" #: ../src/interface.c:1820 msgid "Useful when there are multiple operating systems on your PC, but you " "might have to consult their documentation to make Morphix bootable" msgstr "Util cuando hay varios sistemas operativos en su PC, pero quizas tenga " "que consultar la documentación para hacer que Morphix arranque" #: ../src/interface.c:1824 msgid "Set up LILO on boot partition of the harddisk" msgstr "Instalar LILO en la partición de arranque del disco rígido" #: ../src/interface.c:1829 msgid "Don't install LILO" msgstr "No instalar LILO" #: ../src/interface.c:1832 msgid "This will not make Morphix bootable. Use this when you already have " "LILO or GRUB installed, and know how to modify it" msgstr "Esto no hará que Morphix sea booteable. Uselo cuando ya tiene " "LILO o GRUB instalado y sabe como modificarlo" #: ../src/interface.c:1840 msgid "Animate the LILO bootscreen" msgstr "Animar la pantalla de arranque de LILO" #: ../src/interface.c:1842 msgid "Makes your LILO fun to watch, great for showing off your new system " "to the kids and women who wouldn't care less" msgstr "Hace que LILO sea mas divertido para mirar, muy bueno para mostrar su nuevo sistema " "a mujeres y niños que no les importa" #: ../src/interface.c:1849 msgid "Make a boot floppy (Not yet implemented)" msgstr "Hacer un diskette booteable (aún no implementado)" #: ../src/interface.c:1853 msgid "You can download a bootfloppy for the Morphix CD on the website, a " "rescuedisk will be ready in a later release" msgstr "Puede bajar un disco de arranque para Morphix CD en el sitio web, " "un disco de rescate estará lista en un lanzamiento próximo" #: ../src/interface.c:1965 msgid "Congratulations, \n" "you have succesfully installed Morphix to your harddisk!\n" "\n" "\n" "Have fun, and if you have any comments don't be a stranger, contact " "us via www.morphix.org!" msgstr "Felicitaciones, \n" "ha instalado exitosamente Morphix en su disco rígido!\n" "\n" "\n" "Diviertase, si tiene algún comentario, contactese con nosotros " "via www.morphix.org!" #: ../src/interface.c:2028 msgid "Creating Swap partition..." msgstr "Creando partición de intercambio..." #: ../src/interface.c:2073 msgid "An error has occured. \n" msgstr "A ocurrido un error. \n" #: ../src/interface.c:2125 msgid "Installer Help" msgstr "Ayuda del instalador" #: ../src/interface.c:2156 msgid "Welcome to the Morphix Installer Help!\n" "Each step has a short summery here, that might help you out on " "making a choice. If you really aren't sure, drop by on our website " "and ask away! If people can't find their way around here we'd like " "to hear it, as this installer was made for even the most newest " "users to be able to install a working Morphix/Debian system...\n" "\n" "Step 1: Harddisk selection\n" "\n" "Here you must select the harddisk on which you want Morphix to be " "installed. Try to identify your harddisk on the size if you have " "multiple disks. If you only have one, well, then you won't have a " "lot to choose...\n" "\n" "When you click 'Forward', a partition tool will be started. This is " "a daunting task for new users now, we're working on a easy " "replacement. Try to make a Linux and a Linux swap partition. Note " "that the former must be about twice the size of the module used. The " "latter should be about 256MB.\n" "\n" "Step 2: Swap selection\n" "\n" "If you have created a swap partition in Step 1, you can select it " "here. You can also do without swap, and things will probably work " "normal, but we advise making a swap partition anyway. \n" "\n" "Step 3: Root partition selection\n" "\n" "Select the partition where you want to install Morphix on. After " "Step 1 you should have made a Linux partition, if you did you can " "select it here. If you didn't, go back to Step 1 and try again. You " "really need one!\n" "\n" "Step 4: Filesystem selection\n" "\n" "Select the appropriate filesystem. If you don't care about this, " "take the default, \"ext3\".\n" "\n" "- ext2: the 'save and sure' filesystem, tried and tested for years " "in the Linux community. However, you need to neatly unmount this " "filesystem, and it needs periodic checking. \n" "\n" "- ext3: ext2 but with journaling. This keeps track of every change " "that takes place, so if you accidently pull the plug (or Matty " "does), you just plug it back in and it will quickly sort out any " "errors on your disk\n" "\n" "- reiserfs: better in some ways, worse in others. Does have less " "tools and isn't compatible with ext2 or ext3. It's your " "filesystem...\n" "\n" "- xfs: the journaling filesystem from SGI. High-quality, high-speed. " "For the real pro's. If you are reading this, you most likely don't " "want to use it. \n" "\n" "Step 5: Configuring Hostname\n" "\n" "There isn't much to say about this. Give your PC a name. Any name. " "We don't care. Honest. \n" "\n" "Step 6: Configuring Root account\n" "\n" "The Root account is the system administrator. He can do anything. " "You generally shouldn't use this account, unless you really have to. " "You can break stuff as root, really. Think up a password thats " "pretty long, write it down and put it somewhere far away. \n" "\n" "Step 7: Configuring User account\n" "\n" "This is your every-day user. Depending on which module you are " "installing, you might or might not have to log in every time you " "boot your computer. Also, don't use a 30-letter password for this " "user. Be lazy, and keep both username and password relativly short. " "You'll enter them a lot.\n" "\n" "Step 8: Configuring Bootloader\n" "\n" "To start Morphix from a harddisk, your system needs to find it " "first. The easiest way is to install LILO (Linux Loader) to your MBR " "(Master Boot Record). If you have multiple disks, install it to your " "first disk. If you have multiple operating systems, these might or " "might not succesfully be detected and added to a boot menu. " "Currently working on making this work a lot better, but we're not " "there yet. If you want to be safe, try option 2 or 3 to install LILO " "to the partition or not at all. You will have to check on the other " "bootloader in order to boot Morphix at all though.\n" "\n" "The Animated LILO bootscreen is pretty pretty. At least, we like it. " "We might put our logo on it, or have a more 'serious' bootscreen, " "but for now we're happy with a few crazy penguins walking around " "everywhere. We like it, you don't have to.\n" "\n" "The bootfloppy hasn't been implemented. Sorry, working on it!" msgstr "¡Bienvenido a la ayuda del instalador del Morphix!\n" "Cada paso tiene un pequeño resumen aqui, que ayudarlo cuando tiene que " "tomar una decisión. Si no está muy seguro, visite nuestro sitio web " "y pregunte! Si alguien no puede solucionar su problema nos gustaría " "oirlo, ya que este instalador fue hecho para que los usuarios mas novatos " "puedan instalar y usar un sistema Morphix/Debian...\n" "\n" "Paso 1: Selección del disco rígido\n" "\n" "Aca debe seleccionar el disco rígido en el que quiere instalar Morphix. " "Trate de identificarlo por el tamaño si es que tiene muchos. " "Si solo tiene uno, bueno, no tendrá muchas opciones...\n" "\n" "Cuando haga click en 'Siguiente' ('Forward'), una herramienta de partición " "se ejecutará. Es una tarea difícil para usuarios nuevos, pero " "estamos trabajando en un reemplazo mas fácil. " "Intente hacer una partición Linux y otra de intercambio. Tenga en cuenta " "que la primera tiene que ser del doble que el tamaño del módulo usado. La " "última (intercambio) de aproximadamente 256MB.\n" "\n" "Paso 2: Selección de intercambio\n" "\n" "Si ha creado una partición de intercambio en el Paso 1, puede seleccionarla " "aqui. Puede seguir sin partición de intercambio, y probablemente funcione, " "pero le aconsejamos que tenga una partición de intercambio. \n" "\n" "Paso 3: Selección de partición Root\n" "\n" "Seleccione la partición donde quiere instalar Morphix. Luego del " "Paso 1 debe hacer una partición Linux, si lo hizo puede seleccionarlo " "aca. Si no lo hizo, vuelva al Paso 1 y trate de nuevo. Realmente " "necesita una!\n" "\n" "Paso 4: Selección del sistema de archivos\n" "\n" "Seleccione el sistema de archivos apropiado. Si no le preocupa este tema, " "elija el predeterminado, \"ext3\".\n" "\n" "- ext2: El sistema de archivos 'salvo y seguro', probado por años " "en la comunidad Linux. De todas maneras, este sistema de archivos necesita " "desmontarse de manera no brusca y necesita control periodico. \n" "\n" "- ext3: ext2 pero con registro. Sistema que permite la recuperación " automática de archivos frente a eventuales cierres incorrectos del sistema". "Lleva un registro de todos los cambios por lo que si alguien pisa el " "enchufe, solo vuelva a enchufarlo y automaticamente arreglará los errores " "que haya en el disco\n" "\n" "- reiserfs: mejor en algunos aspectos, peor en otros. Tiene menos utilidades " "y no es compatible con ext2 o ext3. Es su sistema de archivos...\n" "\n" "- xfs: Sistema de Archivos Transaccional de SGI. Alta calidad, " "alta velocidad. Para los profesionales. Si está leyendo esto probablemente " "no quiera usarlo \n" "\n" "Paso 5: Configurando el nombre de la computadora (Hostname)\n" "\n" "No hay mucho que decir aqui. Dele un nombre a su PC. Cualquiera " "No nos importa. En serio. \n" "\n" "Paso 6: Configurando su cuenta Root\n" "\n" "La cuenta Root es la cuenta del administrador del sistema. Él puede " "hacer cualquier cosa. Generalmente no debería usar esta cuenta, a " "menos que sea estrictamente necesario" "Puede romper cosas siendo root. Piense una contraseña que sea " "bastante larga, escribala y guardela lejos. \n" "\n" "Paso 7: Configurando su cuenta de usuario\n" "\n" "Esta es su cuenta del usuario diario. Según que módulo este instalando " "puede que tenga que loguearse cada vez que encienda su computadora " ". Ademas, no use una constraseña de 30 letras para este usuario " ". Sea haragán y que sea relativamente corto. " "Lo va a tener que usar seguido.\n" "\n" "Paso 8: Configurando el gestor de arranque (Bootloader)\n" "\n" "Para inicializar Morphix desde el disco rígido, su sistema tiene que " "encontrarlo primero. La manera mas fácil es instalando LILO (Linux Loader) " "en su MBR (Master Boot Record). Si tiene varios discos, instalelo en su " "primer disco. Si tiene varios sistemas operativos, puede ser que sean detectados " "o no y agregado al menú de arranque. " "Actualmente estamos trabajando para que esto funcione mejor, pero aún " "no hemos terminado. Si quiere estar seguro, pruebe la opción 2 o 3 para " "instalar LILI a la partición o no. Va a tener que verificar si tiene otro " "gestor de arranque (bootloader) para que cargue Morphix.\n" "\n" "La pantalla de booteo animada del LILO es muy linda. Al menos a nosotros " "nos gusta. Podemos poner nuestro logo ahi o tener una pantalla de booteo " "mas 'seria'. Por ahora estamos contento con algunos pingüinos locos " "caminando por ahi. A nosotros nos gusta, a Ud. no tiene porque gustarle.\n" "\n" "El diskette de arranque no ha sido implementado. Lo lamento, estamos " "trabajando en eso!" #: ../src/interface.c:2242 msgid "Here, you can choose a number of extra partitions to install to.\n" "These partitions will be mounted to the newly created filesystem " "before copying. You may opt not to create a filesystem on the " "partition, or to only add it to your fstab and not to copy any files " "onto it. \n" "Please note that this is an experimental feature!" msgstr "Aca puede elegir unas particiones extra para instalarse.\n" "Estas particiones serán montadas en el nuevo sistema de archivos recien creado " "antes de copiar. Puede optar por no crear un sistema de archivos en la " "partición, o agregarlo en fstab y no copiar ningún archivo ahi.\n " "Por favor tenga en cuenta que esto es experimental!" #: ../src/interface.c:2299 ../src/interface.c:2305 ../src/interface.c:2311 #: ../src/interface.c:2317 msgid "Create new filesystem" msgstr "Creando nuevo sistema de archivos (filesystem)" #: ../src/interface.c:2323 ../src/interface.c:2329 ../src/interface.c:2335 #: ../src/interface.c:2341 msgid "Add only to fstab" msgstr "Agregar solo a fstab" #: ../src/interface.c:2354 ../src/interface.c:2372 ../src/interface.c:2390 #: ../src/interface.c:2407 msgid "/home" msgstr "/home" #: ../src/interface.c:2355 ../src/interface.c:2371 ../src/interface.c:2391 #: ../src/interface.c:2408 msgid "/boot" msgstr "/boot" #: ../src/interface.c:2356 ../src/interface.c:2373 ../src/interface.c:2389 #: ../src/interface.c:2409 msgid "/usr" msgstr "/usr" #: ../src/interface.c:2357 ../src/interface.c:2374 ../src/interface.c:2392 #: ../src/interface.c:2406 msgid "/var" msgstr "/var" #: ../src/support.c:90 ../src/support.c:114 #, c-format msgid "Couldn't find pixmap file: %s" msgstr "No se pudo encontrar archivo tipo pixmap: %s" |
From: <ale...@us...> - 2003-12-27 15:40:45
|
Update of /cvsroot/morphix/morphixinstaller/po In directory sc8-pr-cvs1:/tmp/cvs-serv5902 Added Files: morphixinstaller.pot Log Message: adding base .pot file for translations --- NEW FILE: morphixinstaller.pot --- # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-12-27 16:39+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/interface.c:46 ../src/interface.c:212 ../src/interface.c:350 #: ../src/interface.c:476 ../src/interface.c:602 ../src/interface.c:838 #: ../src/interface.c:932 ../src/interface.c:1049 ../src/interface.c:1316 #: ../src/interface.c:1431 ../src/interface.c:1581 ../src/interface.c:1747 #: ../src/interface.c:1934 msgid "Morphix Install" msgstr "" #: ../src/interface.c:69 msgid "Welcome to the Morphix Installation\n" "\n" "Please note that this installer is still under construction, Alex de " "Landgraaf and \n" "Morphix.org take no responsibility for any damage done!\n" "\n" "This installation will copy Morphix onto your harddisk and " "optionally set up a bootloader. If done incorrectly, you could lose " "data. If you have any doubt about an option, take a look in the help " "or on the website first!\n" "\n" "\n" "\n" msgstr "" #: ../src/interface.c:133 ../src/interface.c:2061 msgid "Installation Error" msgstr "" #: ../src/interface.c:145 msgid "An error has occured. \n" "Below you can see the console output of the command that\n" "caused the error.\n" "\n" "Please go to www.morphix.org, and place a bugreport,\n" "the installer will now exit." msgstr "" #: ../src/interface.c:231 msgid "Harddisk selection\n" "\n" "Step:\n" "1 of 7" msgstr "" #: ../src/interface.c:249 msgid "Please select your harddisk,\n" "this will launch a Linux partitioning tool.\n" "\n" "Make sure you have at least one Linux and one swap partition\n" msgstr "" #: ../src/interface.c:263 msgid "A list of harddisks, choose the one you want to install Morphix on" msgstr "" #: ../src/interface.c:266 msgid "Please note that all changes done during\n" "partitioning are final!" msgstr "" #: ../src/interface.c:369 msgid "Swap selection\n" "\n" "Step:\n" "2 of 7" msgstr "" #: ../src/interface.c:387 msgid "Please select a swap partition (recommended),\n" "or select to use none:\n" msgstr "" #: ../src/interface.c:401 msgid "A list of the detected swap partitions, use back if you want to make " "additional changes to your harddisk" msgstr "" #: ../src/interface.c:500 msgid "5%" msgstr "" #: ../src/interface.c:514 ../src/interface.c:969 msgid "Couldn't find a Linux partition\n" "on the selected harddisk.\n" "\n" "Please go back and select a different harddisk\n" "or add a Linux partition to the harddisk.\n" msgstr "" #: ../src/interface.c:621 msgid "Rootpartition selection\n" "\n" "Step:\n" "3 of 7" msgstr "" #: ../src/interface.c:639 msgid "Please select your root Linux partition:\n" "\n" "All data on the selected partition will be lost!\n" msgstr "" #: ../src/interface.c:654 msgid "A list of available partitions to install Morphix on. Choose back if " "you want to go back and repartition your harddisk" msgstr "" #: ../src/interface.c:656 ../src/interface.c:1086 msgid "Please select the filesystem type,\n" "the recommended setting has been selected:\n" msgstr "" #: ../src/interface.c:666 ../src/interface.c:1095 msgid "A list of available filesystems, if you are unsure choose the " "default \"ext3\"" msgstr "" #: ../src/interface.c:670 ../src/interface.c:1099 msgid "Ext 2 - Standard Linux Filesystem" msgstr "" #: ../src/interface.c:678 ../src/interface.c:1107 msgid "Ext 3 - Journaling File System" msgstr "" #: ../src/interface.c:686 ../src/interface.c:1115 msgid "ReiserFS - Journaling File System" msgstr "" #: ../src/interface.c:694 ../src/interface.c:1123 msgid "XFS - Journaling File System" msgstr "" #: ../src/interface.c:720 ../src/interface.c:2233 msgid "Expert: Add additional partitions" msgstr "" #: ../src/interface.c:725 ../src/interface.c:1133 msgid "Next all changes will be made to your system.\n" "Please make sure that you have entered all\n" "information correctly, if you have any doubt\n" "please go back and correct your settings!" msgstr "" #: ../src/interface.c:869 msgid "The selected rootpartition is smaller\n" "than we recommend, make sure the \n" "partition is bigger than X MB" msgstr "" #: ../src/interface.c:955 msgid "10%" msgstr "" #: ../src/interface.c:1068 msgid "Filesystem selection\n" "\n" "Step:\n" "4 of 8" msgstr "" #: ../src/interface.c:1222 ../src/interface.c:1262 ../src/interface.c:2018 msgid "Processing..." msgstr "" #: ../src/interface.c:1232 msgid "Creating filesystem, please wait..." msgstr "" #: ../src/interface.c:1272 msgid "Copying files to harddisk...\n" "\n" "This may take anywhere from 5 to 20 minutes, depending on your " "hardware" msgstr "" #: ../src/interface.c:1335 msgid "Configure\n" "Hostname\n" "\n" "Step:\n" "4 of 7" msgstr "" #: ../src/interface.c:1353 msgid "Morphix has succesfully been installed to harddisk\n" "\n" "Please enter a hostname for your computer:\n" msgstr "" #: ../src/interface.c:1362 msgid "A hostname is used to identify your computer. You may choose " "anything as a name" msgstr "" #: ../src/interface.c:1363 msgid "myBox" msgstr "" #: ../src/interface.c:1450 msgid "Configure\n" "Rootaccount\n" "\n" "Step:\n" "5 of 7" msgstr "" #: ../src/interface.c:1468 msgid "Please enter and re-enter a\n" " password for the root account\n" "\n" "This password must be at least \n" "5 characters in length!\n" "\n" "Note: this is the equivalent of the\n" " system administrator, don't forget it!" msgstr "" #: ../src/interface.c:1474 msgid "Root Password:" msgstr "" #: ../src/interface.c:1484 msgid "Root Password (yes, again):" msgstr "" #: ../src/interface.c:1600 msgid "Configure\n" "Useraccount\n" "\n" "Step:\n" "6 of 7" msgstr "" #: ../src/interface.c:1618 msgid "Please enter a name for your default user.\n" "\n" "Again, enter and re-enter the users password" msgstr "" #: ../src/interface.c:1625 msgid "Username:" msgstr "" #: ../src/interface.c:1633 msgid "This name will be used for the first user, keep it short and simple" msgstr "" #: ../src/interface.c:1634 msgid "morph" msgstr "" #: ../src/interface.c:1636 msgid "Password (twice)" msgstr "" #: ../src/interface.c:1766 msgid "Configure\n" "Bootloader\n" "\n" "Step:\n" "7 of 7" msgstr "" #: ../src/interface.c:1784 msgid "Do you want to set up the bootloader LILO?\n" "\n" "De-selecting this will not make Morphix bootable, but please note " "that installing LILO\n" "might make other operating systems unaccessable.\n" "\n" "Also select if you want to make a boot floppy." msgstr "" #: ../src/interface.c:1794 msgid "Set up LILO on MBR (removes other bootloaders!)" msgstr "" #: ../src/interface.c:1797 msgid "If you have other operating systems, this might make them " "unavailable. Take care when using this option" msgstr "" #: ../src/interface.c:1810 msgid "You have multiple harddisks, please choose the requested harddisk " "that the MBR will be changed of. The default is the first harddisk" msgstr "" #: ../src/interface.c:1817 msgid "Set up LILO on root partition of the harddisk" msgstr "" #: ../src/interface.c:1820 msgid "Useful when there are multiple operating systems on your PC, but you " "might have to consult their documentation to make Morphix bootable" msgstr "" #: ../src/interface.c:1824 msgid "Set up LILO on boot partition of the harddisk" msgstr "" #: ../src/interface.c:1829 msgid "Don't install LILO" msgstr "" #: ../src/interface.c:1832 msgid "This will not make Morphix bootable. Use this when you already have " "LILO or GRUB installed, and know how to modify it" msgstr "" #: ../src/interface.c:1840 msgid "Animate the LILO bootscreen" msgstr "" #: ../src/interface.c:1842 msgid "Makes your LILO fun to watch, great for showing off your new system " "to the kids and women who wouldn't care less" msgstr "" #: ../src/interface.c:1849 msgid "Make a boot floppy (Not yet implemented)" msgstr "" #: ../src/interface.c:1853 msgid "You can download a bootfloppy for the Morphix CD on the website, a " "rescuedisk will be ready in a later release" msgstr "" #: ../src/interface.c:1965 msgid "Congratulations, \n" "you have succesfully installed Morphix to your harddisk!\n" "\n" "\n" "Have fun, and if you have any comments don't be a stranger, contact " "us via www.morphix.org!" msgstr "" #: ../src/interface.c:2028 msgid "Creating Swap partition..." msgstr "" #: ../src/interface.c:2073 msgid "An error has occured. \n" msgstr "" #: ../src/interface.c:2125 msgid "Installer Help" msgstr "" #: ../src/interface.c:2156 msgid "Welcome to the Morphix Installer Help!\n" "Each step has a short summery here, that might help you out on " "making a choice. If you really aren't sure, drop by on our website " "and ask away! If people can't find their way around here we'd like " "to hear it, as this installer was made for even the most newest " "users to be able to install a working Morphix/Debian system...\n" "\n" "Step 1: Harddisk selection\n" "\n" "Here you must select the harddisk on which you want Morphix to be " "installed. Try to identify your harddisk on the size if you have " "multiple disks. If you only have one, well, then you won't have a " "lot to choose...\n" "\n" "When you click 'Forward', a partition tool will be started. This is " "a daunting task for new users now, we're working on a easy " "replacement. Try to make a Linux and a Linux swap partition. Note " "that the former must be about twice the size of the module used. The " "latter should be about 256MB.\n" "\n" "Step 2: Swap selection\n" "\n" "If you have created a swap partition in Step 1, you can select it " "here. You can also do without swap, and things will probably work " "normal, but we advise making a swap partition anyway. \n" "\n" "Step 3: Root partition selection\n" "\n" "Select the partition where you want to install Morphix on. After " "Step 1 you should have made a Linux partition, if you did you can " "select it here. If you didn't, go back to Step 1 and try again. You " "really need one!\n" "\n" "Step 4: Filesystem selection\n" "\n" "Select the appropriate filesystem. If you don't care about this, " "take the default, \"ext3\".\n" "\n" "- ext2: the 'save and sure' filesystem, tried and tested for years " "in the Linux community. However, you need to neatly unmount this " "filesystem, and it needs periodic checking. \n" "\n" "- ext3: ext2 but with journaling. This keeps track of every change " "that takes place, so if you accidently pull the plug (or Matty " "does), you just plug it back in and it will quickly sort out any " "errors on your disk\n" "\n" "- reiserfs: better in some ways, worse in others. Does have less " "tools and isn't compatible with ext2 or ext3. It's your " "filesystem...\n" "\n" "- xfs: the journaling filesystem from SGI. High-quality, high-speed. " "For the real pro's. If you are reading this, you most likely don't " "want to use it. \n" "\n" "Step 5: Configuring Hostname\n" "\n" "There isn't much to say about this. Give your PC a name. Any name. " "We don't care. Honest. \n" "\n" "Step 6: Configuring Root account\n" "\n" "The Root account is the system administrator. He can do anything. " "You generally shouldn't use this account, unless you really have to. " "You can break stuff as root, really. Think up a password thats " "pretty long, write it down and put it somewhere far away. \n" "\n" "Step 7: Configuring User account\n" "\n" "This is your every-day user. Depending on which module you are " "installing, you might or might not have to log in every time you " "boot your computer. Also, don't use a 30-letter password for this " "user. Be lazy, and keep both username and password relativly short. " "You'll enter them a lot.\n" "\n" "Step 8: Configuring Bootloader\n" "\n" "To start Morphix from a harddisk, your system needs to find it " "first. The easiest way is to install LILO (Linux Loader) to your MBR " "(Master Boot Record). If you have multiple disks, install it to your " "first disk. If you have multiple operating systems, these might or " "might not succesfully be detected and added to a boot menu. " "Currently working on making this work a lot better, but we're not " "there yet. If you want to be safe, try option 2 or 3 to install LILO " "to the partition or not at all. You will have to check on the other " "bootloader in order to boot Morphix at all though.\n" "\n" "The Animated LILO bootscreen is pretty pretty. At least, we like it. " "We might put our logo on it, or have a more 'serious' bootscreen, " "but for now we're happy with a few crazy penguins walking around " "everywhere. We like it, you don't have to.\n" "\n" "The bootfloppy hasn't been implemented. Sorry, working on it!" msgstr "" #: ../src/interface.c:2242 msgid "Here, you can choose a number of extra partitions to install to.\n" "These partitions will be mounted to the newly created filesystem " "before copying. You may opt not to create a filesystem on the " "partition, or to only add it to your fstab and not to copy any files " "onto it. \n" "Please note that this is an experimental feature!" msgstr "" #: ../src/interface.c:2299 ../src/interface.c:2305 ../src/interface.c:2311 #: ../src/interface.c:2317 msgid "Create new filesystem" msgstr "" #: ../src/interface.c:2323 ../src/interface.c:2329 ../src/interface.c:2335 #: ../src/interface.c:2341 msgid "Add only to fstab" msgstr "" #: ../src/interface.c:2354 ../src/interface.c:2372 ../src/interface.c:2390 #: ../src/interface.c:2407 msgid "/home" msgstr "" #: ../src/interface.c:2355 ../src/interface.c:2371 ../src/interface.c:2391 #: ../src/interface.c:2408 msgid "/boot" msgstr "" #: ../src/interface.c:2356 ../src/interface.c:2373 ../src/interface.c:2389 #: ../src/interface.c:2409 msgid "/usr" msgstr "" #: ../src/interface.c:2357 ../src/interface.c:2374 ../src/interface.c:2392 #: ../src/interface.c:2406 msgid "/var" msgstr "" #: ../src/support.c:90 ../src/support.c:114 #, c-format msgid "Couldn't find pixmap file: %s" msgstr "" |
From: <ale...@us...> - 2003-12-11 22:28:41
|
Update of /cvsroot/morphix/datetimeconf/autom4te.cache In directory sc8-pr-cvs1:/tmp/cvs-serv16725/datetimeconf/autom4te.cache Modified Files: output.0 requests traces.0 Log Message: some loose ends... Index: output.0 =================================================================== RCS file: /cvsroot/morphix/datetimeconf/autom4te.cache/output.0,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** output.0 25 Oct 2003 19:40:59 -0000 1.1.1.1 --- output.0 11 Dec 2003 22:28:37 -0000 1.2 *************** *** 1,8 **** @%:@! /bin/sh @%:@ Guess values for system-dependent variables and create Makefiles. ! @%:@ Generated by GNU Autoconf 2.57. @%:@ ! @%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 ! @%:@ Free Software Foundation, Inc. @%:@ This configure script is free software; the Free Software Foundation @%:@ gives unlimited permission to copy, distribute and modify it. --- 1,7 ---- @%:@! /bin/sh [...4003 lines suppressed...] ! echo X"$as_dir" | ! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } ! /^X\(\/\/\)[^/].*/{ s//\1/; q; } ! /^X\(\/\/\)$/{ s//\1/; q; } ! /^X\(\/\).*/{ s//\1/; q; } ! s/.*/./; q'` ! done ! test ! -n "$as_dirs" || mkdir $as_dirs ! fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 ! echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} ! { (exit 1); exit 1; }; }; } ! ! # echo "creating $dirpart/$file" ! echo '# dummy' > "$dirpart/$file" ! done ! done ! ;; ! default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; Index: requests =================================================================== RCS file: /cvsroot/morphix/datetimeconf/autom4te.cache/requests,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** requests 7 Nov 2003 00:40:45 -0000 1.3 --- requests 11 Dec 2003 22:28:37 -0000 1.4 *************** *** 1,3 **** ! # This file was created by autom4te. # It contains the lists of macros which have been traced. # It can be safely removed. --- 1,3 ---- ! # This file was generated by Autom4te Wed Nov 19 23:55:15 PST 2003. # It contains the lists of macros which have been traced. # It can be safely removed. *************** *** 16,111 **** ], { ! 'AC_C_INLINE' => 1, ! 'AC_HEADER_SYS_WAIT' => 1, ! 'AC_STRUCT_ST_BLOCKS' => 1, ! 'AC_FUNC_STRERROR_R' => 1, ! 'AC_FUNC_GETLOADAVG' => 1, ! 'AC_FUNC_STRCOLL' => 1, ! 'AC_PROG_LEX' => 1, ! 'AC_FUNC_STRFTIME' => 1, ! 'AH_OUTPUT' => 1, ! 'AM_AUTOMAKE_VERSION' => 1, ! 'AC_FUNC_MBRTOWC' => 1, ! 'AC_FUNC_OBSTACK' => 1, ! 'AC_PROG_MAKE_SET' => 1, ! 'AC_HEADER_STDC' => 1, 'AC_TYPE_OFF_T' => 1, - 'AC_FUNC_GETGROUPS' => 1, - 'AC_TYPE_PID_T' => 1, - 'AM_CONDITIONAL' => 1, - 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1, - 'AC_STRUCT_TIMEZONE' => 1, - 'AC_PROG_GCC_TRADITIONAL' => 1, - 'AC_SUBST' => 1, - 'AC_FUNC_SELECT_ARGTYPES' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AC_PROG_LN_S' => 1, - 'AC_CHECK_LIB' => 1, - 'AC_CHECK_TYPES' => 1, - 'AC_TYPE_SIZE_T' => 1, - 'AC_PROG_YACC' => 1, - 'AM_GNU_GETTEXT' => 1, - 'AC_PATH_X' => 1, - 'AC_PROG_LIBTOOL' => 1, - 'AC_CONFIG_AUX_DIR' => 1, 'AC_C_VOLATILE' => 1, ! 'm4_pattern_allow' => 1, ! 'AC_FUNC_MKTIME' => 1, ! 'AM_MAINTAINER_MODE' => 1, ! 'AC_FUNC_MALLOC' => 1, ! 'AC_CONFIG_SUBDIRS' => 1, 'AC_STRUCT_TM' => 1, ! 'include' => 1, 'AC_FUNC_STRNLEN' => 1, ! 'AC_CHECK_MEMBERS' => 1, ! 'm4_include' => 1, ! 'AC_DECL_SYS_SIGLIST' => 1, 'AC_FUNC_ERROR_AT_LINE' => 1, ! 'AC_CHECK_HEADERS' => 1, ! 'AC_PROG_INSTALL' => 1, ! 'AC_TYPE_SIGNAL' => 1, ! 'AC_FUNC_CLOSEDIR_VOID' => 1, ! 'AC_FUNC_STRTOD' => 1, ! 'AC_PROG_RANLIB' => 1, 'AC_LIBSOURCE' => 1, ! 'AC_TYPE_MODE_T' => 1, ! 'AC_FUNC_MMAP' => 1, ! 'AC_HEADER_TIME' => 1, ! 'AC_FUNC_LSTAT' => 1, 'AC_DEFINE_TRACE_LITERAL' => 1, ! 'm4_pattern_forbid' => 1, ! 'AC_FUNC_GETPGRP' => 1, ! 'AC_HEADER_DIRENT' => 1, 'AC_FUNC_ALLOCA' => 1, 'AC_CONFIG_FILES' => 1, ! 'AC_FUNC_STAT' => 1, ! 'AC_HEADER_MAJOR' => 1, 'AC_FUNC_SETVBUF_REVERSED' => 1, ! 'AC_FUNC_VPRINTF' => 1, ! 'AC_C_CONST' => 1, ! 'AC_PROG_CPP' => 1, ! 'AC_HEADER_STAT' => 1, ! 'AC_TYPE_UID_T' => 1, ! 'AC_INIT' => 1, 'AM_PROG_CC_C_O' => 1, ! 'AC_FUNC_SETPGRP' => 1, ! 'AC_FUNC_GETMNTENT' => 1, ! 'AC_FUNC_WAIT3' => 1, ! 'AC_CANONICAL_HOST' => 1, ! 'AC_CONFIG_HEADERS' => 1, ! 'AC_FUNC_FORK' => 1, 'AC_CANONICAL_SYSTEM' => 1, ! 'AC_FUNC_UTIME_NULL' => 1, ! 'AC_PROG_AWK' => 1, ! 'AC_PROG_CC' => 1, ! 'AC_CHECK_FUNCS' => 1, ! 'AC_FUNC_REALLOC' => 1, ! 'AC_PROG_CXX' => 1, 'AC_FUNC_MEMCMP' => 1, ! 'AC_FUNC_CHOWN' => 1, ! 'AC_REPLACE_FNMATCH' => 1, ! 'AC_FUNC_FSEEKO' => 1 } ! ], 'Request' ) ); --- 16,117 ---- ], { ! 'm4_pattern_forbid' => 1, ! 'AC_CONFIG_LIBOBJ_DIR' => 1, 'AC_TYPE_OFF_T' => 1, 'AC_C_VOLATILE' => 1, ! 'AC_FUNC_CLOSEDIR_VOID' => 1, ! 'AC_REPLACE_FNMATCH' => 1, ! 'AC_PROG_LIBTOOL' => 1, ! 'AC_FUNC_STAT' => 1, ! 'AC_HEADER_TIME' => 1, ! 'AC_FUNC_WAIT3' => 1, ! 'AM_AUTOMAKE_VERSION' => 1, 'AC_STRUCT_TM' => 1, ! 'AC_FUNC_LSTAT' => 1, ! 'AC_TYPE_MODE_T' => 1, ! 'AC_FUNC_GETMNTENT' => 1, ! 'AC_FUNC_STRTOD' => 1, ! 'AC_CHECK_HEADERS' => 1, 'AC_FUNC_STRNLEN' => 1, ! 'm4_sinclude' => 1, ! 'AC_PROG_CXX' => 1, ! 'AC_PATH_X' => 1, ! 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1, ! 'AC_PROG_AWK' => 1, ! '_m4_warn' => 1, ! 'AC_HEADER_STDC' => 1, ! 'AC_HEADER_MAJOR' => 1, 'AC_FUNC_ERROR_AT_LINE' => 1, ! 'AC_PROG_GCC_TRADITIONAL' => 1, 'AC_LIBSOURCE' => 1, ! 'AC_FUNC_MBRTOWC' => 1, ! 'AC_STRUCT_ST_BLOCKS' => 1, ! 'AC_TYPE_SIGNAL' => 1, ! 'AC_TYPE_UID_T' => 1, ! 'AC_CONFIG_AUX_DIR' => 1, ! 'AC_PROG_MAKE_SET' => 1, ! 'sinclude' => 1, ! 'm4_pattern_allow' => 1, 'AC_DEFINE_TRACE_LITERAL' => 1, ! 'AC_FUNC_STRERROR_R' => 1, ! 'AC_PROG_CC' => 1, ! 'AC_DECL_SYS_SIGLIST' => 1, ! 'AC_FUNC_FORK' => 1, ! 'AC_FUNC_VPRINTF' => 1, ! 'AC_FUNC_STRCOLL' => 1, ! 'AC_PROG_YACC' => 1, ! 'AC_INIT' => 1, ! 'AC_STRUCT_TIMEZONE' => 1, ! 'AC_FUNC_CHOWN' => 1, ! 'AC_SUBST' => 1, 'AC_FUNC_ALLOCA' => 1, + 'AC_CANONICAL_HOST' => 1, + 'AC_FUNC_GETPGRP' => 1, + 'AC_PROG_RANLIB' => 1, + 'AM_INIT_AUTOMAKE' => 1, + 'AC_FUNC_SETPGRP' => 1, + 'AC_CONFIG_SUBDIRS' => 1, + 'AC_FUNC_MMAP' => 1, + 'AC_FUNC_REALLOC' => 1, + 'AC_TYPE_SIZE_T' => 1, + 'AC_CONFIG_LINKS' => 1, + 'AC_CHECK_TYPES' => 1, + 'AC_CHECK_MEMBERS' => 1, + 'AM_MAINTAINER_MODE' => 1, + 'AC_FUNC_UTIME_NULL' => 1, + 'AC_FUNC_SELECT_ARGTYPES' => 1, + 'AC_FUNC_STRFTIME' => 1, + 'AC_HEADER_STAT' => 1, + 'AC_C_INLINE' => 1, + 'AC_PROG_CPP' => 1, + 'AC_TYPE_PID_T' => 1, + 'AC_C_CONST' => 1, + 'AC_PROG_LEX' => 1, + 'AM_ENABLE_MULTILIB' => 1, 'AC_CONFIG_FILES' => 1, ! 'include' => 1, 'AC_FUNC_SETVBUF_REVERSED' => 1, ! 'AC_PROG_INSTALL' => 1, ! 'AM_GNU_GETTEXT' => 1, ! 'AC_CHECK_LIB' => 1, ! 'AC_FUNC_OBSTACK' => 1, ! 'AC_FUNC_MALLOC' => 1, ! 'AC_FUNC_GETGROUPS' => 1, ! 'AC_FUNC_GETLOADAVG' => 1, ! 'AH_OUTPUT' => 1, ! 'AC_FUNC_FSEEKO' => 1, 'AM_PROG_CC_C_O' => 1, ! 'AM_CONDITIONAL' => 1, 'AC_CANONICAL_SYSTEM' => 1, ! 'AC_FUNC_MKTIME' => 1, ! 'AC_CONFIG_HEADERS' => 1, ! 'AC_HEADER_SYS_WAIT' => 1, 'AC_FUNC_MEMCMP' => 1, ! 'AC_PROG_LN_S' => 1, ! 'm4_include' => 1, ! 'AC_HEADER_DIRENT' => 1, ! 'AC_CHECK_FUNCS' => 1 } ! ], 'Autom4te::Request' ) ); Index: traces.0 =================================================================== RCS file: /cvsroot/morphix/datetimeconf/autom4te.cache/traces.0,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** traces.0 25 Oct 2003 19:40:59 -0000 1.1.1.1 --- traces.0 11 Dec 2003 22:28:37 -0000 1.2 *************** *** 1,2 **** --- 1,3 ---- + m4trace:aclocal.m4:43: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) m4trace:configure.in:3: -1- AC_INIT([configure.in]) m4trace:configure.in:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) *************** *** 53,68 **** m4trace:configure.in:3: -1- AC_SUBST([LIBS]) m4trace:configure.in:4: -1- AM_INIT_AUTOMAKE([datetimeconf], [0.1]) ! m4trace:configure.in:4: -1- AM_AUTOMAKE_VERSION([1.4-p6]) m4trace:configure.in:4: -1- AC_PROG_INSTALL m4trace:configure.in:4: -1- AC_SUBST([INSTALL_PROGRAM]) m4trace:configure.in:4: -1- AC_SUBST([INSTALL_SCRIPT]) m4trace:configure.in:4: -1- AC_SUBST([INSTALL_DATA]) ! m4trace:configure.in:4: -1- AC_SUBST([PACKAGE]) ! m4trace:configure.in:4: -1- AC_SUBST([VERSION]) ! m4trace:configure.in:4: -2- AC_DEFINE_TRACE_LITERAL([PACKAGE]) ! m4trace:configure.in:4: -2- AH_OUTPUT([PACKAGE], [/* Name of package */ #undef PACKAGE]) ! m4trace:configure.in:4: -2- AC_DEFINE_TRACE_LITERAL([VERSION]) ! m4trace:configure.in:4: -2- AH_OUTPUT([VERSION], [/* Version number of package */ #undef VERSION]) m4trace:configure.in:4: -1- AC_SUBST([ACLOCAL]) --- 54,70 ---- m4trace:configure.in:3: -1- AC_SUBST([LIBS]) m4trace:configure.in:4: -1- AM_INIT_AUTOMAKE([datetimeconf], [0.1]) ! m4trace:configure.in:4: -1- AM_AUTOMAKE_VERSION([1.7.9]) m4trace:configure.in:4: -1- AC_PROG_INSTALL m4trace:configure.in:4: -1- AC_SUBST([INSTALL_PROGRAM]) m4trace:configure.in:4: -1- AC_SUBST([INSTALL_SCRIPT]) m4trace:configure.in:4: -1- AC_SUBST([INSTALL_DATA]) ! m4trace:configure.in:4: -1- AC_SUBST([CYGPATH_W]) ! m4trace:configure.in:4: -1- AC_SUBST([PACKAGE], [datetimeconf]) ! m4trace:configure.in:4: -1- AC_SUBST([VERSION], [0.1]) ! m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) ! m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ #undef PACKAGE]) ! m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) ! m4trace:configure.in:4: -1- AH_OUTPUT([VERSION], [/* Version number of package */ #undef VERSION]) m4trace:configure.in:4: -1- AC_SUBST([ACLOCAL]) *************** *** 71,76 **** --- 73,89 ---- m4trace:configure.in:4: -1- AC_SUBST([AUTOHEADER]) m4trace:configure.in:4: -1- AC_SUBST([MAKEINFO]) + m4trace:configure.in:4: -1- AC_SUBST([AMTAR]) + m4trace:configure.in:4: -1- AC_SUBST([install_sh]) + m4trace:configure.in:4: -1- AC_SUBST([STRIP]) + m4trace:configure.in:4: -1- AC_SUBST([ac_ct_STRIP]) + m4trace:configure.in:4: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) + m4trace:configure.in:4: -1- AC_PROG_AWK + m4trace:configure.in:4: -1- AC_SUBST([AWK]) m4trace:configure.in:4: -1- AC_PROG_MAKE_SET m4trace:configure.in:4: -1- AC_SUBST([SET_MAKE]) + m4trace:configure.in:4: -1- AC_SUBST([am__leading_dot]) + m4trace:configure.in:5: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. + You should run autoupdate.], [aclocal.m4:860: AM_CONFIG_HEADER is expanded from... + configure.in:5: the top level]) m4trace:configure.in:5: -1- AC_CONFIG_HEADERS([config.h]) m4trace:configure.in:6: -1- AM_MAINTAINER_MODE *************** *** 94,97 **** --- 107,123 ---- m4trace:configure.in:8: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) m4trace:configure.in:8: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) + m4trace:configure.in:8: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) + m4trace:configure.in:8: -1- AC_SUBST([am__include]) + m4trace:configure.in:8: -1- AC_SUBST([am__quote]) + m4trace:configure.in:8: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) + m4trace:configure.in:8: -1- AC_SUBST([AMDEP_TRUE]) + m4trace:configure.in:8: -1- AC_SUBST([AMDEP_FALSE]) + m4trace:configure.in:8: -1- AC_SUBST([AMDEPBACKSLASH]) + m4trace:configure.in:8: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) + m4trace:configure.in:8: -1- AM_CONDITIONAL([am__fastdepCC], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) + m4trace:configure.in:8: -1- AC_SUBST([am__fastdepCC_TRUE]) + m4trace:configure.in:8: -1- AC_SUBST([am__fastdepCC_FALSE]) m4trace:configure.in:9: -1- AC_PROG_CC m4trace:configure.in:9: -1- AC_SUBST([CC]) *************** *** 106,109 **** --- 132,146 ---- m4trace:configure.in:9: -1- AC_SUBST([CC]) m4trace:configure.in:9: -1- AC_SUBST([ac_ct_CC]) + m4trace:configure.in:9: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) + m4trace:configure.in:9: -1- AM_CONDITIONAL([am__fastdepCC], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) + m4trace:configure.in:9: -1- AC_SUBST([am__fastdepCC_TRUE]) + m4trace:configure.in:9: -1- AC_SUBST([am__fastdepCC_FALSE]) + m4trace:configure.in:10: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. + You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from... + autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... + aclocal.m4:1032: AM_PROG_CC_STDC is expanded from... + configure.in:10: the top level]) m4trace:configure.in:11: -1- AC_HEADER_STDC m4trace:configure.in:11: -1- AC_PROG_CPP *************** *** 126,130 **** #undef HAVE_LOCALE_H]) m4trace:configure.in:24: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ! inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default]) m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H]) --- 163,167 ---- #undef HAVE_LOCALE_H]) m4trace:configure.in:24: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ! inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default]) m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H]) *************** *** 145,152 **** --- 182,206 ---- m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H]) + m4trace:configure.in:24: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. + You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from... + autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... + autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from... + aclocal.m4:1149: GLIB_LC_MESSAGES is expanded from... + aclocal.m4:1444: GLIB_GNU_GETTEXT is expanded from... + aclocal.m4:1473: AM_GLIB_GNU_GETTEXT is expanded from... + configure.in:24: the top level]) m4trace:configure.in:24: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LC_MESSAGES]) m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_LC_MESSAGES], [/* Define if your <locale.h> file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES]) m4trace:configure.in:24: -1- AC_SUBST([USE_NLS]) + m4trace:configure.in:24: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. + You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from... + autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... + autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from... + autoconf/headers.m4:91: AC_CHECK_HEADER is expanded from... + aclocal.m4:1361: GLIB_WITH_NLS is expanded from... + aclocal.m4:1444: GLIB_GNU_GETTEXT is expanded from... + aclocal.m4:1473: AM_GLIB_GNU_GETTEXT is expanded from... + configure.in:24: the top level]) m4trace:configure.in:24: -1- AC_CHECK_FUNCS([bind_textdomain_codeset]) m4trace:configure.in:24: -1- AH_OUTPUT([HAVE_BIND_TEXTDOMAIN_CODESET], [/* Define to 1 if you have the `bind_textdomain_codeset\' function. */ *************** *** 169,175 **** --- 223,249 ---- m4trace:configure.in:24: -1- AC_SUBST([GMSGFMT], [$ac_cv_path_GMSGFMT]) m4trace:configure.in:24: -1- AC_SUBST([XGETTEXT]) + m4trace:configure.in:24: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. + You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from... + autoconf/headers.m4:91: AC_CHECK_HEADER is expanded from... + aclocal.m4:1361: GLIB_WITH_NLS is expanded from... + aclocal.m4:1444: GLIB_GNU_GETTEXT is expanded from... + aclocal.m4:1473: AM_GLIB_GNU_GETTEXT is expanded from... + configure.in:24: the top level]) m4trace:configure.in:24: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_NLS]) m4trace:configure.in:24: -1- AH_OUTPUT([ENABLE_NLS], [/* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS]) + m4trace:configure.in:24: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete. + You should run autoupdate.], [autoconf/status.m4:318: AC_OUTPUT_COMMANDS is expanded from... + aclocal.m4:1361: GLIB_WITH_NLS is expanded from... + aclocal.m4:1444: GLIB_GNU_GETTEXT is expanded from... + aclocal.m4:1473: AM_GLIB_GNU_GETTEXT is expanded from... + configure.in:24: the top level]) + m4trace:configure.in:24: -3- _m4_warn([obsolete], [The macro `_AC_OUTPUT_COMMANDS_CNT' is obsolete. + You should run autoupdate.], [autoconf/status.m4:321: _AC_OUTPUT_COMMANDS_CNT is expanded from... + autoconf/status.m4:318: AC_OUTPUT_COMMANDS is expanded from... + aclocal.m4:1361: GLIB_WITH_NLS is expanded from... + aclocal.m4:1444: GLIB_GNU_GETTEXT is expanded from... + aclocal.m4:1473: AM_GLIB_GNU_GETTEXT is expanded from... + configure.in:24: the top level]) m4trace:configure.in:24: -1- AC_SUBST([CATALOGS]) m4trace:configure.in:24: -1- AC_SUBST([CATOBJEXT]) *************** *** 188,191 **** --- 262,267 ---- po/Makefile.in ]) + m4trace:configure.in:30: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. + You should run autoupdate.], []) m4trace:configure.in:30: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) m4trace:configure.in:30: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) |
From: <ale...@us...> - 2003-12-11 22:28:40
|
Update of /cvsroot/morphix/partitionmorpher/autom4te.cache In directory sc8-pr-cvs1:/tmp/cvs-serv16725/partitionmorpher/autom4te.cache Modified Files: requests Log Message: some loose ends... Index: requests =================================================================== RCS file: /cvsroot/morphix/partitionmorpher/autom4te.cache/requests,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** requests 11 Dec 2003 13:30:24 -0000 1.2 --- requests 11 Dec 2003 22:28:37 -0000 1.3 *************** *** 18,34 **** 'm4_pattern_forbid' => 1, 'AC_CONFIG_LIBOBJ_DIR' => 1, - 'AC_C_VOLATILE' => 1, 'AC_TYPE_OFF_T' => 1, 'AC_FUNC_CLOSEDIR_VOID' => 1, 'AC_REPLACE_FNMATCH' => 1, 'AC_PROG_LIBTOOL' => 1, 'AC_FUNC_STAT' => 1, - 'AC_FUNC_WAIT3' => 1, 'AC_HEADER_TIME' => 1, ! 'AC_FUNC_LSTAT' => 1, ! 'AC_STRUCT_TM' => 1, 'AM_AUTOMAKE_VERSION' => 1, ! 'AC_FUNC_GETMNTENT' => 1, 'AC_TYPE_MODE_T' => 1, 'AC_FUNC_STRTOD' => 1, 'AC_CHECK_HEADERS' => 1, --- 18,34 ---- 'm4_pattern_forbid' => 1, 'AC_CONFIG_LIBOBJ_DIR' => 1, 'AC_TYPE_OFF_T' => 1, + 'AC_C_VOLATILE' => 1, 'AC_FUNC_CLOSEDIR_VOID' => 1, 'AC_REPLACE_FNMATCH' => 1, 'AC_PROG_LIBTOOL' => 1, 'AC_FUNC_STAT' => 1, 'AC_HEADER_TIME' => 1, ! 'AC_FUNC_WAIT3' => 1, 'AM_AUTOMAKE_VERSION' => 1, ! 'AC_STRUCT_TM' => 1, ! 'AC_FUNC_LSTAT' => 1, 'AC_TYPE_MODE_T' => 1, + 'AC_FUNC_GETMNTENT' => 1, 'AC_FUNC_STRTOD' => 1, 'AC_CHECK_HEADERS' => 1, *************** *** 49,63 **** 'AC_TYPE_SIGNAL' => 1, 'AC_TYPE_UID_T' => 1, - 'AC_PROG_MAKE_SET' => 1, 'AC_CONFIG_AUX_DIR' => 1, ! 'm4_pattern_allow' => 1, 'sinclude' => 1, 'AC_DEFINE_TRACE_LITERAL' => 1, 'AC_FUNC_STRERROR_R' => 1, 'AC_PROG_CC' => 1, - 'AC_FUNC_FORK' => 1, 'AC_DECL_SYS_SIGLIST' => 1, ! 'AC_FUNC_STRCOLL' => 1, 'AC_FUNC_VPRINTF' => 1, 'AC_PROG_YACC' => 1, 'AC_INIT' => 1, --- 49,63 ---- 'AC_TYPE_SIGNAL' => 1, 'AC_TYPE_UID_T' => 1, 'AC_CONFIG_AUX_DIR' => 1, ! 'AC_PROG_MAKE_SET' => 1, 'sinclude' => 1, + 'm4_pattern_allow' => 1, 'AC_DEFINE_TRACE_LITERAL' => 1, 'AC_FUNC_STRERROR_R' => 1, 'AC_PROG_CC' => 1, 'AC_DECL_SYS_SIGLIST' => 1, ! 'AC_FUNC_FORK' => 1, 'AC_FUNC_VPRINTF' => 1, + 'AC_FUNC_STRCOLL' => 1, 'AC_PROG_YACC' => 1, 'AC_INIT' => 1, *************** *** 81,92 **** 'AC_FUNC_UTIME_NULL' => 1, 'AC_FUNC_SELECT_ARGTYPES' => 1, - 'AC_HEADER_STAT' => 1, 'AC_FUNC_STRFTIME' => 1, ! 'AC_PROG_CPP' => 1, 'AC_C_INLINE' => 1, ! 'AM_ENABLE_MULTILIB' => 1, ! 'AC_PROG_LEX' => 1, ! 'AC_C_CONST' => 1, 'AC_TYPE_PID_T' => 1, 'AC_CONFIG_FILES' => 1, 'include' => 1, --- 81,92 ---- 'AC_FUNC_UTIME_NULL' => 1, 'AC_FUNC_SELECT_ARGTYPES' => 1, 'AC_FUNC_STRFTIME' => 1, ! 'AC_HEADER_STAT' => 1, 'AC_C_INLINE' => 1, ! 'AC_PROG_CPP' => 1, 'AC_TYPE_PID_T' => 1, + 'AC_C_CONST' => 1, + 'AC_PROG_LEX' => 1, + 'AM_ENABLE_MULTILIB' => 1, 'AC_CONFIG_FILES' => 1, 'include' => 1, *************** *** 94,99 **** 'AC_PROG_INSTALL' => 1, 'AM_GNU_GETTEXT' => 1, - 'AC_FUNC_OBSTACK' => 1, 'AC_CHECK_LIB' => 1, 'AC_FUNC_MALLOC' => 1, 'AC_FUNC_GETGROUPS' => 1, --- 94,99 ---- 'AC_PROG_INSTALL' => 1, 'AM_GNU_GETTEXT' => 1, 'AC_CHECK_LIB' => 1, + 'AC_FUNC_OBSTACK' => 1, 'AC_FUNC_MALLOC' => 1, 'AC_FUNC_GETGROUPS' => 1, *************** *** 102,112 **** 'AC_FUNC_FSEEKO' => 1, 'AM_PROG_CC_C_O' => 1, - 'AC_FUNC_MKTIME' => 1, - 'AC_CANONICAL_SYSTEM' => 1, 'AM_CONDITIONAL' => 1, 'AC_CONFIG_HEADERS' => 1, 'AC_HEADER_SYS_WAIT' => 1, - 'AC_PROG_LN_S' => 1, 'AC_FUNC_MEMCMP' => 1, 'm4_include' => 1, 'AC_HEADER_DIRENT' => 1, --- 102,112 ---- 'AC_FUNC_FSEEKO' => 1, 'AM_PROG_CC_C_O' => 1, 'AM_CONDITIONAL' => 1, + 'AC_CANONICAL_SYSTEM' => 1, + 'AC_FUNC_MKTIME' => 1, 'AC_CONFIG_HEADERS' => 1, 'AC_HEADER_SYS_WAIT' => 1, 'AC_FUNC_MEMCMP' => 1, + 'AC_PROG_LN_S' => 1, 'm4_include' => 1, 'AC_HEADER_DIRENT' => 1, |
From: <ale...@us...> - 2003-12-11 16:31:59
|
Update of /cvsroot/morphix/mcp2/data In directory sc8-pr-cvs1:/tmp/cvs-serv4226 Modified Files: mcp-main.xml Log Message: fixed a thinko Index: mcp-main.xml =================================================================== RCS file: /cvsroot/morphix/mcp2/data/mcp-main.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mcp-main.xml 11 Dec 2003 14:29:07 -0000 1.4 --- mcp-main.xml 11 Dec 2003 16:31:55 -0000 1.5 *************** *** 29,33 **** </item> <item> ! <command>morphixinstaller</command> <name>Harddisk Install</name> <tip>Copy Morphix to the harddisk for usage without CD</tip> --- 29,33 ---- </item> <item> ! <command>/morphix/gtkinstaller/morphixinstaller</command> <name>Harddisk Install</name> <tip>Copy Morphix to the harddisk for usage without CD</tip> *************** *** 57,60 **** <name>Add/Remove Software</name> <tip>Add/Remove Software</tip> ! <icon>/usr/local/share/mcp/pixmaps/Synaptic.png</icons> </mcp> --- 57,61 ---- <name>Add/Remove Software</name> <tip>Add/Remove Software</tip> ! <icon>/usr/local/share/mcp/pixmaps/Synaptic.png</icon> ! </item> </mcp> |
From: <ale...@us...> - 2003-12-11 16:31:02
|
Update of /cvsroot/morphix/mcp2/src In directory sc8-pr-cvs1:/tmp/cvs-serv4046 Modified Files: callbacks.c Log Message: fixed height/width Index: callbacks.c =================================================================== RCS file: /cvsroot/morphix/mcp2/src/callbacks.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** callbacks.c 9 Dec 2003 22:42:14 -0000 1.3 --- callbacks.c 11 Dec 2003 16:30:59 -0000 1.4 *************** *** 28,35 **** /* GDK_WINDOW coord helpers */ ! int top_border = 10; ! int side_border = 20; int box_width = 100; ! int box_height = 100; int icon_width = MAX_ICON_WIDTH; int icon_height = MAX_ICON_HEIGHT; --- 28,35 ---- /* GDK_WINDOW coord helpers */ ! int top_border = 5; ! int side_border = 10; int box_width = 100; ! int box_height = 110; int icon_width = MAX_ICON_WIDTH; int icon_height = MAX_ICON_HEIGHT; *************** *** 119,123 **** int y_coord = top_border + (nr_y * box_height + nr_y * top_border); ! if (x_coord + side_border * 2 > minimum_width) { nr_x = 0; nr_y++; --- 119,123 ---- int y_coord = top_border + (nr_y * box_height + nr_y * top_border); ! if (x_coord + side_border * 2 + box_width > minimum_width) { nr_x = 0; nr_y++; *************** *** 128,134 **** if (items[i]->selected == TRUE) { GdkColor color; ! color.red = 32768; ! color.blue = 65535; ! color.green = 32768; int circle_width = 30; gtk_widget_modify_fg(da,GTK_STATE_NORMAL,&color); --- 128,134 ---- if (items[i]->selected == TRUE) { GdkColor color; ! color.red = 16384; ! color.blue = 49151; ! color.green = 16384; int circle_width = 30; gtk_widget_modify_fg(da,GTK_STATE_NORMAL,&color); *************** *** 206,210 **** y_coord = top_border + (nr_y * box_height + nr_y * top_border); ! if (x_coord + side_border * 2 > minimum_width) { nr_x = 0; nr_y++; --- 206,210 ---- y_coord = top_border + (nr_y * box_height + nr_y * top_border); ! if (x_coord + side_border * 2 + box_width > minimum_width) { nr_x = 0; nr_y++; *************** *** 215,219 **** } minimum_width = MINIMUM_WIDTH; ! minimum_height = y_coord + box_height + top_border * 3; } --- 215,219 ---- } minimum_width = MINIMUM_WIDTH; ! minimum_height = box_height * (nr_y + 1) + top_border * 7; } *************** *** 289,293 **** int y_coord = top_border + (nr_y * box_height + nr_y * top_border); ! if (x_coord + side_border * 2 > minimum_width) { nr_x = 0; nr_y++; --- 289,293 ---- int y_coord = top_border + (nr_y * box_height + nr_y * top_border); ! if (x_coord + side_border * 2 + box_width > minimum_width) { nr_x = 0; nr_y++; |
From: <ale...@us...> - 2003-12-11 14:29:13
|
Update of /cvsroot/morphix/mcp2/data In directory sc8-pr-cvs1:/tmp/cvs-serv10412 Modified Files: mcp-main.xml Log Message: adding synaptic Index: mcp-main.xml =================================================================== RCS file: /cvsroot/morphix/mcp2/data/mcp-main.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mcp-main.xml 11 Dec 2003 14:00:27 -0000 1.3 --- mcp-main.xml 11 Dec 2003 14:29:07 -0000 1.4 *************** *** 53,55 **** --- 53,60 ---- <icon>/usr/local/share/mcp/pixmaps/Datetime.png</icon> </item> + <item> + <command>synaptic</command> + <name>Add/Remove Software</name> + <tip>Add/Remove Software</tip> + <icon>/usr/local/share/mcp/pixmaps/Synaptic.png</icons> </mcp> |
From: <ale...@us...> - 2003-12-11 14:21:54
|
Update of /cvsroot/morphix/langconf/src In directory sc8-pr-cvs1:/tmp/cvs-serv8810/src Modified Files: liblang.c Log Message: nonblocking executing of locale-gen Index: liblang.c =================================================================== RCS file: /cvsroot/morphix/langconf/src/liblang.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** liblang.c 7 Nov 2003 00:41:46 -0000 1.3 --- liblang.c 11 Dec 2003 14:21:50 -0000 1.4 *************** *** 9,15 **** gboolean exec_command (gchar *command) { gchar *outbuffer; - gchar cmdline[256]; gint exitstatus; - debug("Exec: %s\n",command); if (g_spawn_command_line_sync(command,&outbuffer,NULL,&exitstatus,NULL) == FALSE) { --- 9,13 ---- *************** *** 21,24 **** --- 19,32 ---- } + gboolean exec_async_command (gchar *command) { + + debug("Exec async: %s\n",command); + if (g_spawn_command_line_async(command,NULL) == FALSE) { + debug("Error occured executing command\n"); + return FALSE; + } + return TRUE; + } + /* reads the lang from /etc/environment *************** *** 82,86 **** sprintf(cmdline,"/usr/sbin/locale-gen"); ! exec_command(cmdline); return TRUE; } --- 90,94 ---- sprintf(cmdline,"/usr/sbin/locale-gen"); ! exec_async_command(cmdline); return TRUE; } |
From: <ale...@us...> - 2003-12-11 14:21:54
|
Update of /cvsroot/morphix/langconf In directory sc8-pr-cvs1:/tmp/cvs-serv8810 Modified Files: Makefile.am Log Message: nonblocking executing of locale-gen Index: Makefile.am =================================================================== RCS file: /cvsroot/morphix/langconf/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.am 7 Nov 2003 00:41:46 -0000 1.2 --- Makefile.am 11 Dec 2003 14:21:50 -0000 1.3 *************** *** 22,26 **** for list in $(srcdir)/lists/*; do \ if test -f $$lists; then \ ! $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/lists; \ fi \ done \ --- 22,26 ---- for list in $(srcdir)/lists/*; do \ if test -f $$lists; then \ ! $(INSTALL_DATA) $$lists $(DESTDIR)$(pkgdatadir)/lists; \ fi \ done \ |
From: <ale...@us...> - 2003-12-11 14:00:30
|
Update of /cvsroot/morphix/mcp2/data In directory sc8-pr-cvs1:/tmp/cvs-serv4469/data Modified Files: mcp-main.xml Log Message: changing localeconf to langconf Index: mcp-main.xml =================================================================== RCS file: /cvsroot/morphix/mcp2/data/mcp-main.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mcp-main.xml 11 Dec 2003 13:33:09 -0000 1.2 --- mcp-main.xml 11 Dec 2003 14:00:27 -0000 1.3 *************** *** 42,47 **** </item> <item> ! <command>localeconf</command> ! <name>Locale</name> <tip>For setting the locale</tip> <icon>/usr/local/share/mcp/pixmaps/Localeconf.png</icon> --- 42,47 ---- </item> <item> ! <command>langconf</command> ! <name>Language</name> <tip>For setting the locale</tip> <icon>/usr/local/share/mcp/pixmaps/Localeconf.png</icon> |
From: <ale...@us...> - 2003-12-11 13:53:16
|
Update of /cvsroot/morphix/partitionmorpher/src In directory sc8-pr-cvs1:/tmp/cvs-serv3275 Added Files: main.h Log Message: debug func --- NEW FILE: main.h --- #ifndef MAIN_H_PM #define MAIN_H_PM //#define PRINT_DEBUGGING_INFO int debug(const char *fmt, ...); #endif // MAIN_H_PM |
From: <ale...@us...> - 2003-12-11 13:51:13
|
Update of /cvsroot/morphix/mcp2/src In directory sc8-pr-cvs1:/tmp/cvs-serv2936 Added Files: morphix-control-panel Log Message: script to call mcp --- NEW FILE: morphix-control-panel --- #!/bin/sh mcp /usr/local/share/mcp/data/mcp-main.xml |
From: <ale...@us...> - 2003-12-11 13:33:13
|
Update of /cvsroot/morphix/mcp2/data In directory sc8-pr-cvs1:/tmp/cvs-serv31891 Modified Files: mcp-main.xml Log Message: added entry for PM Index: mcp-main.xml =================================================================== RCS file: /cvsroot/morphix/mcp2/data/mcp-main.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mcp-main.xml 9 Dec 2003 22:42:13 -0000 1.1 --- mcp-main.xml 11 Dec 2003 13:33:09 -0000 1.2 *************** *** 4,8 **** </global> <item> ! <command>xconfig</command> <name>Xwindow settings</name> <tip>Helps you set your X settings</tip> --- 4,8 ---- </global> <item> ! <command>gtkxrandr</command> <name>Xwindow settings</name> <tip>Helps you set your X settings</tip> *************** *** 16,23 **** </item> <item> ! <command>soundconf</command> ! <name>Sound</name> ! <tip>Helps you set your sound settings</tip> ! <icon>/usr/local/share/mcp/pixmaps/Speaker.png</icon> </item> --- 16,23 ---- </item> <item> ! <command>partitionmorpher</command> ! <name>Partition Morpher</name> ! <tip>Helps you partition your harddisk</tip> ! <icon>/usr/local/share/mcp/pixmaps/PM.png</icon> </item> |