gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] trunk r3706: gpaint patch that lets it compile after all t


From: Carl Hansen
Subject: [Gsrc-commit] trunk r3706: gpaint patch that lets it compile after all these years
Date: Wed, 8 Jun 2016 05:14:57 +0000 (UTC)
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 3706
revision-id: address@hidden
parent: address@hidden
committer: address@hidden
branch nick: trunk
timestamp: Tue 2016-06-07 22:14:54 -0700
message:
  gpaint  patch that lets it compile after all these years
added:
  gnu/gpaint/files/              files-20160608051338-bx8p8xz5spcihwtv-1
  gnu/gpaint/files/gpaint-2-0.3.3.drawing.c.diff 
gpaint20.3.3.drawing-20160608051338-bx8p8xz5spcihwtv-2
modified:
  gnu/gpaint/Makefile            makefile-20130116220012-oiyyfd6va3msu9sd-2
  gnu/gpaint/sha256sums          sha256sums-20130116220012-oiyyfd6va3msu9sd-4
=== modified file 'gnu/gpaint/Makefile'
--- a/gnu/gpaint/Makefile       2016-06-02 21:25:37 +0000
+++ b/gnu/gpaint/Makefile       2016-06-08 05:14:54 +0000
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU General Public License
 # along with GSRC.  If not, see <http://www.gnu.org/licenses/>.
 
-NAME = Paint
+NAME = gpaint
 GARNAME = gpaint
 GARVERSION = 0.3.3
 HOME_URL = http://www.gnu.org/software/gpaint/
@@ -24,7 +24,7 @@
 GNU Paint is a simple, easy-to-use paint program for the GNOME
 environment.  It supports drawing freehand as well as basic shapes
 and text.  It features cut-and-paste for irregular regions or
-polygons.
+polygons.  Based on xpaint. Executable is "gpaint-2"
 endef
 
 ######################################################################
@@ -35,15 +35,13 @@
 SIGFILES =
 WORKSRC = $(WORKDIR)/$(GARNAME)-2-$(GARVERSION)/
 
+PATCHFILES = gpaint-2-0.3.3.drawing.c.diff
+
 BUILDDEPS =
-LIBDEPS = 
-#LIBDEPS = gtk2
+LIBDEPS = gtk2
 
 ######################################################################
 
-ifeq ($(FORCE_BUILD),y)
-       include ../../gar.lib/auto.mk
-else
-       include ../../gar.lib/broken.mk
-endif
+include ../../gar.lib/auto.mk
 include config.mk
+

=== added directory 'gnu/gpaint/files'
=== added file 'gnu/gpaint/files/gpaint-2-0.3.3.drawing.c.diff'
--- a/gnu/gpaint/files/gpaint-2-0.3.3.drawing.c.diff    1970-01-01 00:00:00 
+0000
+++ b/gnu/gpaint/files/gpaint-2-0.3.3.drawing.c.diff    2016-06-08 05:14:54 
+0000
@@ -0,0 +1,21 @@
+*** work/gpaint-2-0.3.3/src/drawing.c~ 2007-09-08 17:49:46.000000000 -0700
+--- work/gpaint-2-0.3.3/src/drawing.c  2016-06-07 19:59:14.186556627 -0700
+***************
+*** 427,433 ****
+                 _("Do you want to save the changes you made to \"%s\"?\nYour 
changes will be lost if you don't save them."),
+                 drawing->filename->str);
+  #ifdef GTK_STOCK_DISCARD
+!         gtk_dialog_add_button(GTK_DIALOG(dialog), 
GTK_STOCK_DISCARD,GTK_RESPONSE_DISCARD);
+  #else
+          gtk_dialog_add_button(GTK_DIALOG(dialog), _("Close _without 
Saving"), GTK_RESPONSE_NO);
+  #endif /* !GTK_STOCK_DISCARD */
+--- 427,435 ----
+                 _("Do you want to save the changes you made to \"%s\"?\nYour 
changes will be lost if you don't save them."),
+                 drawing->filename->str);
+  #ifdef GTK_STOCK_DISCARD
+!         /*gtk_dialog_add_button(GTK_DIALOG(dialog), 
GTK_STOCK_DISCARD,GTK_RESPONSE_DISCARD);*/
+!              /* This is a guess, maybe-fix below... */
+!         gtk_dialog_add_button(GTK_DIALOG(dialog), 
GTK_STOCK_DISCARD,GTK_RESPONSE_NONE);
+  #else
+          gtk_dialog_add_button(GTK_DIALOG(dialog), _("Close _without 
Saving"), GTK_RESPONSE_NO);
+  #endif /* !GTK_STOCK_DISCARD */

=== modified file 'gnu/gpaint/sha256sums'
--- a/gnu/gpaint/sha256sums     2013-11-10 19:54:21 +0000
+++ b/gnu/gpaint/sha256sums     2016-06-08 05:14:54 +0000
@@ -1,1 +1,2 @@
 541706460610c8bd917225a0370762b66e378e756afa780e67677eeb0a2dd0eb  
download/gpaint-2-0.3.3.tar.gz
+10431b85676878a769dd0ef18d3d05acd39067e9613ef44ca083811588cda7d2  
download/gpaint-2-0.3.3.drawing.c.diff


reply via email to

[Prev in Thread] Current Thread [Next in Thread]