From bcde76b6e1efe26abb1f0fe746b16f514fe0e996 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 21 Feb 2005 05:08:15 +0000 Subject: [PATCH] Agrego tapas del manual de darcs. --- calendar/calendar.cumple.familia | 1 + tapas_libros/tapas.manual.darcs.a4.svg | 2198 ++++++++++++++++++++++++ tapas_libros/tapas.manual.darcs.svg | 2108 +++++++++++++++++++++++ 3 files changed, 4307 insertions(+) create mode 100644 tapas_libros/tapas.manual.darcs.a4.svg create mode 100644 tapas_libros/tapas.manual.darcs.svg diff --git a/calendar/calendar.cumple.familia b/calendar/calendar.cumple.familia index 754f9ab..6300547 100644 --- a/calendar/calendar.cumple.familia +++ b/calendar/calendar.cumple.familia @@ -11,5 +11,6 @@ Feb 15 Cumple a Jun 03 Cumple años Josefina! Jun 27 Cumple años Camila! Jul 21 Cumple años Carla! +Dec 06 Cumple años Agustín! #endif /* !_calendar_cumple_familia_ */ diff --git a/tapas_libros/tapas.manual.darcs.a4.svg b/tapas_libros/tapas.manual.darcs.a4.svg new file mode 100644 index 0000000..f83e1dd --- /dev/null +++ b/tapas_libros/tapas.manual.darcs.a4.svg @@ -0,0 +1,2198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + @@ -334,6 +334,76 @@ typedef struct {+ GModule *allsymbols;+ gpointer user_data;+} connect_data_struct;++static void+autoconnect_data_foreach(const char *signal_handler, GList *signals,+ connect_data_struct *conn)+{+ GCallback func;++ if (!g_module_symbol(conn->allsymbols, signal_handler, (gpointer *)&func))+ g_warning("could not find signal handler '%s'.", signal_handler);+ else+ for (; signals != NULL; signals = signals->next) {+ GladeSignalData *data = signals->data;+ if (data->connect_object) {+ GladeXML *self = glade_get_widget_tree(+ GTK_WIDGET(data->signal_object));+ GObject *other = g_hash_table_lookup(self->priv->name_hash,+ data->connect_object);++ g_signal_connect_object(data->signal_object, data->signal_name,+ func, other, (data->signal_after ? G_CONNECT_AFTER : 0));+ } else {+ /* the signal_data argument is just a string, but may+ * be helpful for someone */+ if (data->signal_after)+ g_signal_connect_after(data->signal_object,+ data->signal_name, func,+ conn->user_data);+ else+ g_signal_connect(data->signal_object, data->signal_name,+ func, conn->user_data);+ }+ }+}++/**+ * glade_xml_signal_autoconnect_data:+ * @self: the GladeXML object.+ * @user_data: arbitrary data that will be passed to the connection functions.+ *+ * This function is a variation of glade_xml_signal_autoconnect.+ * It autoconnect all the signals just like glade_xml_signal_autoconnect+ * but it uses @user_data for all the signal that doesn't have an object+ * field present. If there's an object field present, it's connected but not+ * swapped (like glade_xml_signal_autoconnect does), to keep the semantics on+ * XML change.+ * + * Note that this function will not work correctly if gmodule is not+ * supported on the platform.+ */+void+glade_xml_signal_autoconnect_data (GladeXML *self, gpointer user_data)+{+ connect_data_struct conn;++ g_return_if_fail(self != NULL);+ if (!g_module_supported())+ g_error("glade_xml_signal_autoconnect requires working gmodule");++ /* get a handle on the main executable -- use this to find symbols */+ conn.allsymbols = g_module_open(NULL, 0);+ conn.user_data = user_data;+ g_hash_table_foreach(self->priv->signals, (GHFunc)autoconnect_data_foreach,+ &conn);+}+++typedef struct { GladeXMLConnectFunc func; gpointer user_data; } connect_struct;diff -ru libglade2-2.4.0.orig/glade/glade-xml.h libglade2-2.4.0/glade/glade-xml.h--- libglade2-2.4.0.orig/glade/glade-xml.h 2002-04-26 12:08:04.000000000 -0300+++ libglade2-2.4.0/glade/glade-xml.h 2004-12-11 01:41:33.000000000 -0300@@ -81,6 +81,14 @@ */ void glade_xml_signal_autoconnect (GladeXML *self); +/*+ * use gmodule to connect signals automatically, using user_data for all.+ * Same as glade_xml_signal_autoconnect, but using user_data for all connected+ * signals.+ */+void glade_xml_signal_autoconnect_data (GladeXML *self,+ gpointer user_data);+ /* if the gtk_signal_connect_object behaviour is required, connect_object + diff -ru mpc-0.11.1.orig/src/command.c mpc-0.11.1/src/command.c--- mpc-0.11.1.orig/src/command.c 2004-06-15 18:56:13.000000000 -0300+++ mpc-0.11.1/src/command.c 2004-12-08 02:12:11.000000000 -0300@@ -260,6 +260,29 @@ return 1; } +int cmd_playpause ( int argc, char ** argv, mpd_Connection * conn )+{+ mpd_Status * status;++ status = getStatus(conn);++ switch(status->state) {+ case MPD_STATUS_STATE_PLAY:+ mpd_sendPauseCommand(conn,1);+ break;+ case MPD_STATUS_STATE_PAUSE:+ mpd_sendPauseCommand(conn,0);+ break;+ case MPD_STATUS_STATE_STOP:+ mpd_sendPlayCommand(conn,MPD_PLAY_AT_BEGINNING);+ break;+ }+ my_finishCommand(conn);++ return 1;+}++ /* TODO: absolute seek times (normalperson) */ int cmd_seek ( int argc, char ** argv, mpd_Connection * conn ) {diff -ru mpc-0.11.1.orig/src/command.h mpc-0.11.1/src/command.h--- mpc-0.11.1.orig/src/command.h 2004-06-13 09:25:35.000000000 -0300+++ mpc-0.11.1/src/command.h 2004-12-08 02:12:18.000000000 -0300@@ -23,6 +23,7 @@ int cmd_add ( int argc, char ** argv, mpd_Connection * conn ) ; int cmd_del ( int argc, char ** argv, mpd_Connection * conn ); int cmd_play ( int argc, char ** argv, mpd_Connection * conn );+int cmd_playpause ( int argc, char ** argv, mpd_Connection * conn ); int cmd_next ( int argc, char ** argv, mpd_Connection * conn ); int cmd_prev ( int argc, char ** argv, mpd_Connection * conn ); int cmd_pause ( int argc, char ** argv, mpd_Connection * conn );diff -ru mpc-0.11.1.orig/src/main.c mpc-0.11.1/src/main.c--- mpc-0.11.1.orig/src/main.c 2004-06-17 23:07:26.000000000 -0300+++ mpc-0.11.1/src/main.c 2004-12-08 02:13:35.000000000 -0300@@ -51,6 +51,7 @@ {"add", 0, -1, 1, cmd_add,"<filename>","Add a song to the current playlist" }, {"del", 0, -1, 1, cmd_del,"<playlist #>","Remove a song from the current playlist" }, {"play", 0, -1, 2, cmd_play,"<number>","Start playing at <number> (default: 1)" },+ {"playpause", 0, 0, 0, cmd_playpause,"","Toggle pause mode" }, {"next", 0, 0, 0, cmd_next, "","Play the next song in the current playlist"}, {"prev", 0, 0, 0, cmd_prev,"","Play the previous song in the current playlist"}, {"pause", 0, 0, 0, cmd_pause, "", "Pauses the currently playing song"},diff -ru mpc-0.11.1.orig/doc/mpc.1 mpc-0.11.1/doc/mpc.1--- mpc-0.11.1.orig/doc/mpc.1 2004-06-15 19:02:49.000000000 -0300+++ mpc-0.11.1/doc/mpc.1 2004-12-08 02:50:29.000000000 -0300@@ -59,6 +59,10 @@ .B play <number> Starts playing the song-number specified. If none is specified, plays number 1. .TP+.B playpause+Toggles pause state. If is stopped or paused, it stats playing, if playing is+paused.+.TP .B playlist Prints entire playlist. .TP--- nv/nv.orig.c2005-02-11 12:46:37.000000000 -0300+++ nv/nv.c2005-02-11 13:05:48.000000000 -0300@@ -19,6 +19,9 @@ MODULE_ALIAS_CHARDEV_MAJOR(NV_MAJOR_DEVICE_NUMBER); #endif +unsigned int __VMALLOC_RESERVE = 128 << 20;+EXPORT_SYMBOL(__VMALLOC_RESERVE);+ /* * our global state; one per device */--- bttv-cards.c-old Tue Jul 31 16:19:00 2001+++ bttv-cards.c-fixed Tue Jul 31 16:18:38 2001@@ -1394,7 +1394,8 @@ int bits_out, loops, vol, data; if (!set) {- v->mode |= VIDEO_AUDIO_VOLUME;+ /* Fixed by Leandro Lucarella <luca@linuxmendoza.org.ar (07/31/01) */+ v->flags |= VIDEO_AUDIO_VOLUME; return; } + diff -N -u -r planifi-1.1/PlaniFI.pm planifi-1.1.deb/PlaniFI.pm--- planifi-1.1/PlaniFI.pm 2004-04-11 22:50:12.000000000 -0300+++ planifi-1.1.deb/PlaniFI.pm 2004-09-19 03:23:15.000000000 -0300@@ -33,6 +33,7 @@ #use warnings; use Exporter();+use File::Basename; our $APPNAME = "PlaniFI"; our $VERSION = "1.1";@@ -47,10 +48,10 @@ use Time::Local; # Archivos por defecto:-use constant DEF_PERSFILE => "personal.dat";-use constant DEF_MATFILE => "materias.dat";-use constant DEF_CARRFILE => "informatica.dat";-use constant DEF_CACHEFILE => ".planifi.cache";+use constant DEF_PERSFILE => "$ENV{HOME}/.planifi/personal.dat";+use constant DEF_MATFILE => "###DATADIR###/materias.dat";+use constant DEF_CARRFILE => "###DATADIR###/informatica.dat";+use constant DEF_CACHEFILE => "$ENV{HOME}/.planifi/planifi.cache"; #==============================================================================@@ -148,7 +149,7 @@ my $carreras = {}; my $fh; - ARCHIVO: for my $fn (glob("*.dat")) {+ ARCHIVO: for my $fn (glob("###DATADIR###/*.dat")) { if ($fn !~ /$opciones{matfile}|$opciones{persfile}| DEF_PERSFILE|DEF_MATFILE/) {@@ -261,6 +262,8 @@ open($fh_materias, "< ".$opciones{matfile}) or die $opciones{matfile}.": $!"; print STDERR "Generando cache de materias...\n";+ mkdir(&dirname($opciones{cachefile})) or die $opciones{cachefile}.": $!"+ if (! -d &dirname($opciones{cachefile})); open($fh_cache, "> ".$opciones{cachefile}) or die $opciones{cachefile}.": $!"; } else {@@ -556,6 +559,8 @@ # Guarda los datos personales en personal.dat. sub guardar_datos_personales {+ mkdir(&dirname($opciones{persfile})) or die $opciones{persfile}.": $!"+ if (! -d &dirname($opciones{persfile})); open (my $fh, "> ".$opciones{persfile}) or die $opciones{persfile}.": $!"; print $fh "# personal.dat generado automáticamente por ".$APPNAME."\n";diff -N -u -r planifi-1.1/Makefile planifi-1.1.deb/Makefile--- planifi-1.1/Makefile 1969-12-31 21:00:00.000000000 -0300+++ planifi-1.1.deb/Makefile 2004-09-19 03:07:55.000000000 -0300@@ -0,0 +1,47 @@+# Makefile para Planifi+#+# Por Leandro Lucarella <luca@llucax.hn.org>+# dom sep 19 00:46:39 ART 2004++INSTALL = install++PREFIX = /usr/local++# Directorios+PREF = $(DESTDIR)$(PREFIX)+BIN = $(PREF)/bin+DATA = $(PREF)/share/planifi+LIB = $(PREF)/share/perl5+DOC = $(PREF)/share/doc/planifi+DOCEX = $(PREF)/share/doc/planifi/examples++# Archivos+BINFILES = planifi+DATAFILES = $(wildcard *.dat)+DOCFILES = README PlaniFI.txt AUTHORS Changelog manual.html+DOCEXFILES = personal.dat.ejemplo+LIBFILE = PlaniFI.pm+LIBTMPFILE = PlaniFI.configured.pm++# Quoteado para el sed+QUOTEDDATA = $(subst /,\/,$(PREFIX)/share/planifi)++.PHONY: all install clean++all:++install:+ # Directorios+ $(INSTALL) -d -m 0755 $(BIN) $(DATA) $(LIB) $(DOC) $(DOCEX)+ # Archivos + --- /usr/lib/python2.3/site-packages/sqlobject/main.orig.py 2005-01-25 13:04:39.000000000 -0300+++ /usr/lib/python2.3/site-packages/sqlobject/main.py 2005-01-25 13:06:25.000000000 -0300@@ -357,6 +357,18 @@ get = classmethod(get)+ def getBy(cls, **kw):+ where = 'AND('+ for i in kw.iteritems():+ where += 'cls.q.%s == %s, ' % i+ where += ')'+ try:+ return cls.select(eval(where))[0]+ except IndexError:+ raise SQLObjectNotFound, "The object %s with columns %s does not exist" %+(cls.__name__, kw)++ getBy = classmethod(getBy)+ def addColumn(cls, columnDef, changeSchema=False): column = columnDef.withClass(cls) name = column.name--- wondershaper.orig 2005-01-31 21:33:35.000000000 -0300+++ wondershaper 2005-01-31 21:36:11.000000000 -0300@@ -4,19 +4,19 @@ # Modifications by Vince Mulhollon for debian package-if [ $# == 0 ]; then+if [ $# = 0 ]; then echo Please read the man page for the wondershaper and echo the file /usr/share/doc/wondershaper/README.Debian exit fi-if [ $# == 1 ]; then+if [ $# = 1 ]; then tc -s qdisc ls dev $1 tc -s class ls dev $1 exit fi-if [ $# == 2 ]; then+if [ $# = 2 ]; then tc qdisc del dev $2 root 2> /dev/null > /dev/null tc qdisc del dev $2 ingress 2> /dev/null > /dev/null echo Wondershaper queues have been cleared.--- /usr/bin/geexbox-generator 2004-10-16 18:26:47.000000000 -0300+++ geexbox-generator 2004-10-16 19:55:53.000000000 -0300@@ -16,11 +16,28 @@ # You should not have to modify the rest of this file+eecho()+{+ echo "$@" >&2+}++msg()+{+ echo+ echo "**** $@ ****"+ echo+}++emsg()+{+ eecho+ eecho "$1"+ eecho+ if [ -n $2 ]; then exit $2; fi+}+ if [ -z "`which mkisofs`" -o -z "`which mkzftree`" ]; then- echo ""- echo "**** You need to have mkisofs and mkzftree installed ****"- echo ""- exit 1+ emsg "You need to have mkisofs and mkzftree installed" 1 fi if [ -d ./iso -a -d ./lirc -a -d ./language ]; then@@ -30,10 +47,7 @@ TMPDIR="/tmp/geexbox-generator" GEEXBOX_DIR="/usr/share/geexbox-generator" else- echo ""- echo "**** GeeXboX files not found ****"- echo ""- exit 1+ emsg "GeeXboX files not found" 2 fi OUTPUT=geexbox-`cat $GEEXBOX_DIR/VERSION`.iso + + + + + + 1.0 + manual + + darcs + + Darcs is a revision control system, along the lines of CVS or arch.That means that it keeps track of various revisions and branches ofyour project, allows for changes to propagate from one branch toanother. Darcs is intended to be an "advanced" revision controlsystem.Darcs has two particularly distinctive features which differ fromother revision control systems:1. Each copy of the source is a fully functional branch.2. Underlying darcs is a consistent and powerful theory of patches.Written in Haskell, darcs is used on many operating systemsincluding Linux, MacOS X, FreeBSD, and Windows. Darcs includes aCGI script to browse your repository from the web. + + + + 1.0 + manual + + darcs + + Darcs is a revision control system.Darcs is simple to learn and use, witha powerful new approach to meet theneeds of today's distributed softwareprojects. Darcs is decentralized, basedon a "theory of patches" with rootsin quantum mechanics. Darcs is freesoftware, licensed under the GPL. + + + 1.0 + manual + + darcs + darcs + 1.0 + Distributed Revicion Control System + + + + + + + diff --git a/tapas_libros/tapas.manual.darcs.svg b/tapas_libros/tapas.manual.darcs.svg new file mode 100644 index 0000000..d0b11d5 --- /dev/null +++ b/tapas_libros/tapas.manual.darcs.svg @@ -0,0 +1,2108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + @@ -334,6 +334,76 @@ typedef struct {+ GModule *allsymbols;+ gpointer user_data;+} connect_data_struct;++static void+autoconnect_data_foreach(const char *signal_handler, GList *signals,+ connect_data_struct *conn)+{+ GCallback func;++ if (!g_module_symbol(conn->allsymbols, signal_handler, (gpointer *)&func))+ g_warning("could not find signal handler '%s'.", signal_handler);+ else+ for (; signals != NULL; signals = signals->next) {+ GladeSignalData *data = signals->data;+ if (data->connect_object) {+ GladeXML *self = glade_get_widget_tree(+ GTK_WIDGET(data->signal_object));+ GObject *other = g_hash_table_lookup(self->priv->name_hash,+ data->connect_object);++ g_signal_connect_object(data->signal_object, data->signal_name,+ func, other, (data->signal_after ? G_CONNECT_AFTER : 0));+ } else {+ /* the signal_data argument is just a string, but may+ * be helpful for someone */+ if (data->signal_after)+ g_signal_connect_after(data->signal_object,+ data->signal_name, func,+ conn->user_data);+ else+ g_signal_connect(data->signal_object, data->signal_name,+ func, conn->user_data);+ }+ }+}++/**+ * glade_xml_signal_autoconnect_data:+ * @self: the GladeXML object.+ * @user_data: arbitrary data that will be passed to the connection functions.+ *+ * This function is a variation of glade_xml_signal_autoconnect.+ * It autoconnect all the signals just like glade_xml_signal_autoconnect+ * but it uses @user_data for all the signal that doesn't have an object+ * field present. If there's an object field present, it's connected but not+ * swapped (like glade_xml_signal_autoconnect does), to keep the semantics on+ * XML change.+ * + * Note that this function will not work correctly if gmodule is not+ * supported on the platform.+ */+void+glade_xml_signal_autoconnect_data (GladeXML *self, gpointer user_data)+{+ connect_data_struct conn;++ g_return_if_fail(self != NULL);+ if (!g_module_supported())+ g_error("glade_xml_signal_autoconnect requires working gmodule");++ /* get a handle on the main executable -- use this to find symbols */+ conn.allsymbols = g_module_open(NULL, 0);+ conn.user_data = user_data;+ g_hash_table_foreach(self->priv->signals, (GHFunc)autoconnect_data_foreach,+ &conn);+}+++typedef struct { GladeXMLConnectFunc func; gpointer user_data; } connect_struct;diff -ru libglade2-2.4.0.orig/glade/glade-xml.h libglade2-2.4.0/glade/glade-xml.h--- libglade2-2.4.0.orig/glade/glade-xml.h 2002-04-26 12:08:04.000000000 -0300+++ libglade2-2.4.0/glade/glade-xml.h 2004-12-11 01:41:33.000000000 -0300@@ -81,6 +81,14 @@ */ void glade_xml_signal_autoconnect (GladeXML *self); +/*+ * use gmodule to connect signals automatically, using user_data for all.+ * Same as glade_xml_signal_autoconnect, but using user_data for all connected+ * signals.+ */+void glade_xml_signal_autoconnect_data (GladeXML *self,+ gpointer user_data);+ /* if the gtk_signal_connect_object behaviour is required, connect_object + diff -ru mpc-0.11.1.orig/src/command.c mpc-0.11.1/src/command.c--- mpc-0.11.1.orig/src/command.c 2004-06-15 18:56:13.000000000 -0300+++ mpc-0.11.1/src/command.c 2004-12-08 02:12:11.000000000 -0300@@ -260,6 +260,29 @@ return 1; } +int cmd_playpause ( int argc, char ** argv, mpd_Connection * conn )+{+ mpd_Status * status;++ status = getStatus(conn);++ switch(status->state) {+ case MPD_STATUS_STATE_PLAY:+ mpd_sendPauseCommand(conn,1);+ break;+ case MPD_STATUS_STATE_PAUSE:+ mpd_sendPauseCommand(conn,0);+ break;+ case MPD_STATUS_STATE_STOP:+ mpd_sendPlayCommand(conn,MPD_PLAY_AT_BEGINNING);+ break;+ }+ my_finishCommand(conn);++ return 1;+}++ /* TODO: absolute seek times (normalperson) */ int cmd_seek ( int argc, char ** argv, mpd_Connection * conn ) {diff -ru mpc-0.11.1.orig/src/command.h mpc-0.11.1/src/command.h--- mpc-0.11.1.orig/src/command.h 2004-06-13 09:25:35.000000000 -0300+++ mpc-0.11.1/src/command.h 2004-12-08 02:12:18.000000000 -0300@@ -23,6 +23,7 @@ int cmd_add ( int argc, char ** argv, mpd_Connection * conn ) ; int cmd_del ( int argc, char ** argv, mpd_Connection * conn ); int cmd_play ( int argc, char ** argv, mpd_Connection * conn );+int cmd_playpause ( int argc, char ** argv, mpd_Connection * conn ); int cmd_next ( int argc, char ** argv, mpd_Connection * conn ); int cmd_prev ( int argc, char ** argv, mpd_Connection * conn ); int cmd_pause ( int argc, char ** argv, mpd_Connection * conn );diff -ru mpc-0.11.1.orig/src/main.c mpc-0.11.1/src/main.c--- mpc-0.11.1.orig/src/main.c 2004-06-17 23:07:26.000000000 -0300+++ mpc-0.11.1/src/main.c 2004-12-08 02:13:35.000000000 -0300@@ -51,6 +51,7 @@ {"add", 0, -1, 1, cmd_add,"<filename>","Add a song to the current playlist" }, {"del", 0, -1, 1, cmd_del,"<playlist #>","Remove a song from the current playlist" }, {"play", 0, -1, 2, cmd_play,"<number>","Start playing at <number> (default: 1)" },+ {"playpause", 0, 0, 0, cmd_playpause,"","Toggle pause mode" }, {"next", 0, 0, 0, cmd_next, "","Play the next song in the current playlist"}, {"prev", 0, 0, 0, cmd_prev,"","Play the previous song in the current playlist"}, {"pause", 0, 0, 0, cmd_pause, "", "Pauses the currently playing song"},diff -ru mpc-0.11.1.orig/doc/mpc.1 mpc-0.11.1/doc/mpc.1--- mpc-0.11.1.orig/doc/mpc.1 2004-06-15 19:02:49.000000000 -0300+++ mpc-0.11.1/doc/mpc.1 2004-12-08 02:50:29.000000000 -0300@@ -59,6 +59,10 @@ .B play <number> Starts playing the song-number specified. If none is specified, plays number 1. .TP+.B playpause+Toggles pause state. If is stopped or paused, it stats playing, if playing is+paused.+.TP .B playlist Prints entire playlist. .TP--- nv/nv.orig.c2005-02-11 12:46:37.000000000 -0300+++ nv/nv.c2005-02-11 13:05:48.000000000 -0300@@ -19,6 +19,9 @@ MODULE_ALIAS_CHARDEV_MAJOR(NV_MAJOR_DEVICE_NUMBER); #endif +unsigned int __VMALLOC_RESERVE = 128 << 20;+EXPORT_SYMBOL(__VMALLOC_RESERVE);+ /* * our global state; one per device */--- bttv-cards.c-old Tue Jul 31 16:19:00 2001+++ bttv-cards.c-fixed Tue Jul 31 16:18:38 2001@@ -1394,7 +1394,8 @@ int bits_out, loops, vol, data; if (!set) {- v->mode |= VIDEO_AUDIO_VOLUME;+ /* Fixed by Leandro Lucarella <luca@linuxmendoza.org.ar (07/31/01) */+ v->flags |= VIDEO_AUDIO_VOLUME; return; } + diff -N -u -r planifi-1.1/PlaniFI.pm planifi-1.1.deb/PlaniFI.pm--- planifi-1.1/PlaniFI.pm 2004-04-11 22:50:12.000000000 -0300+++ planifi-1.1.deb/PlaniFI.pm 2004-09-19 03:23:15.000000000 -0300@@ -33,6 +33,7 @@ #use warnings; use Exporter();+use File::Basename; our $APPNAME = "PlaniFI"; our $VERSION = "1.1";@@ -47,10 +48,10 @@ use Time::Local; # Archivos por defecto:-use constant DEF_PERSFILE => "personal.dat";-use constant DEF_MATFILE => "materias.dat";-use constant DEF_CARRFILE => "informatica.dat";-use constant DEF_CACHEFILE => ".planifi.cache";+use constant DEF_PERSFILE => "$ENV{HOME}/.planifi/personal.dat";+use constant DEF_MATFILE => "###DATADIR###/materias.dat";+use constant DEF_CARRFILE => "###DATADIR###/informatica.dat";+use constant DEF_CACHEFILE => "$ENV{HOME}/.planifi/planifi.cache"; #==============================================================================@@ -148,7 +149,7 @@ my $carreras = {}; my $fh; - ARCHIVO: for my $fn (glob("*.dat")) {+ ARCHIVO: for my $fn (glob("###DATADIR###/*.dat")) { if ($fn !~ /$opciones{matfile}|$opciones{persfile}| DEF_PERSFILE|DEF_MATFILE/) {@@ -261,6 +262,8 @@ open($fh_materias, "< ".$opciones{matfile}) or die $opciones{matfile}.": $!"; print STDERR "Generando cache de materias...\n";+ mkdir(&dirname($opciones{cachefile})) or die $opciones{cachefile}.": $!"+ if (! -d &dirname($opciones{cachefile})); open($fh_cache, "> ".$opciones{cachefile}) or die $opciones{cachefile}.": $!"; } else {@@ -556,6 +559,8 @@ # Guarda los datos personales en personal.dat. sub guardar_datos_personales {+ mkdir(&dirname($opciones{persfile})) or die $opciones{persfile}.": $!"+ if (! -d &dirname($opciones{persfile})); open (my $fh, "> ".$opciones{persfile}) or die $opciones{persfile}.": $!"; print $fh "# personal.dat generado automáticamente por ".$APPNAME."\n";diff -N -u -r planifi-1.1/Makefile planifi-1.1.deb/Makefile--- planifi-1.1/Makefile 1969-12-31 21:00:00.000000000 -0300+++ planifi-1.1.deb/Makefile 2004-09-19 03:07:55.000000000 -0300@@ -0,0 +1,47 @@+# Makefile para Planifi+#+# Por Leandro Lucarella <luca@llucax.hn.org>+# dom sep 19 00:46:39 ART 2004++INSTALL = install++PREFIX = /usr/local++# Directorios+PREF = $(DESTDIR)$(PREFIX)+BIN = $(PREF)/bin+DATA = $(PREF)/share/planifi+LIB = $(PREF)/share/perl5+DOC = $(PREF)/share/doc/planifi+DOCEX = $(PREF)/share/doc/planifi/examples++# Archivos+BINFILES = planifi+DATAFILES = $(wildcard *.dat)+DOCFILES = README PlaniFI.txt AUTHORS Changelog manual.html+DOCEXFILES = personal.dat.ejemplo+LIBFILE = PlaniFI.pm+LIBTMPFILE = PlaniFI.configured.pm++# Quoteado para el sed+QUOTEDDATA = $(subst /,\/,$(PREFIX)/share/planifi)++.PHONY: all install clean++all:++install:+ # Directorios+ $(INSTALL) -d -m 0755 $(BIN) $(DATA) $(LIB) $(DOC) $(DOCEX)+ # Archivos + --- /usr/lib/python2.3/site-packages/sqlobject/main.orig.py 2005-01-25 13:04:39.000000000 -0300+++ /usr/lib/python2.3/site-packages/sqlobject/main.py 2005-01-25 13:06:25.000000000 -0300@@ -357,6 +357,18 @@ get = classmethod(get)+ def getBy(cls, **kw):+ where = 'AND('+ for i in kw.iteritems():+ where += 'cls.q.%s == %s, ' % i+ where += ')'+ try:+ return cls.select(eval(where))[0]+ except IndexError:+ raise SQLObjectNotFound, "The object %s with columns %s does not exist" %+(cls.__name__, kw)++ getBy = classmethod(getBy)+ def addColumn(cls, columnDef, changeSchema=False): column = columnDef.withClass(cls) name = column.name--- wondershaper.orig 2005-01-31 21:33:35.000000000 -0300+++ wondershaper 2005-01-31 21:36:11.000000000 -0300@@ -4,19 +4,19 @@ # Modifications by Vince Mulhollon for debian package-if [ $# == 0 ]; then+if [ $# = 0 ]; then echo Please read the man page for the wondershaper and echo the file /usr/share/doc/wondershaper/README.Debian exit fi-if [ $# == 1 ]; then+if [ $# = 1 ]; then tc -s qdisc ls dev $1 tc -s class ls dev $1 exit fi-if [ $# == 2 ]; then+if [ $# = 2 ]; then tc qdisc del dev $2 root 2> /dev/null > /dev/null tc qdisc del dev $2 ingress 2> /dev/null > /dev/null echo Wondershaper queues have been cleared.--- /usr/bin/geexbox-generator 2004-10-16 18:26:47.000000000 -0300+++ geexbox-generator 2004-10-16 19:55:53.000000000 -0300@@ -16,11 +16,28 @@ # You should not have to modify the rest of this file+eecho()+{+ echo "$@" >&2+}++msg()+{+ echo+ echo "**** $@ ****"+ echo+}++emsg()+{+ eecho+ eecho "$1"+ eecho+ if [ -n $2 ]; then exit $2; fi+}+ if [ -z "`which mkisofs`" -o -z "`which mkzftree`" ]; then- echo ""- echo "**** You need to have mkisofs and mkzftree installed ****"- echo ""- exit 1+ emsg "You need to have mkisofs and mkzftree installed" 1 fi if [ -d ./iso -a -d ./lirc -a -d ./language ]; then@@ -30,10 +47,7 @@ TMPDIR="/tmp/geexbox-generator" GEEXBOX_DIR="/usr/share/geexbox-generator" else- echo ""- echo "**** GeeXboX files not found ****"- echo ""- exit 1+ emsg "GeeXboX files not found" 2 fi OUTPUT=geexbox-`cat $GEEXBOX_DIR/VERSION`.iso + + + + + + 1.0 + manual + + darcs + + Darcs is a revision control system, along the lines of CVS or arch.That means that it keeps track of various revisions and branches ofyour project, allows for changes to propagate from one branch toanother. Darcs is intended to be an "advanced" revision controlsystem.Darcs has two particularly distinctive features which differ fromother revision control systems:1. Each copy of the source is a fully functional branch.2. Underlying darcs is a consistent and powerful theory of patches.Written in Haskell, darcs is used on many operating systemsincluding Linux, MacOS X, FreeBSD, and Windows. Darcs includes aCGI script to browse your repository from the web. + + + + 1.0 + manual + + darcs + + Darcs is a revision control system.Darcs is simple to learn and use, witha powerful new approach to meet theneeds of today's distributed softwareprojects. Darcs is decentralized, basedon a "theory of patches" with rootsin quantum mechanics. Darcs is freesoftware, licensed under the GPL. + + + 1.0 + manual + + darcs + darcs + 1.0 + Distributed Revicion Control System + + + + + + + -- 2.43.0