mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Update to 0.8.1.45
PR: ports/75256 Submitted by: maintainer
This commit is contained in:
parent
0eaae8aabd
commit
982a457c50
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124669
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gnocatan
|
||||
PORTVERSION= 0.8.1.30
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.8.1.45
|
||||
CATEGORIES= games gnome
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -19,6 +18,7 @@ USE_X_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= gnomehack gnomeprefix gtk20 libgnomeui
|
||||
USE_LIBTOOL_VER=13
|
||||
INSTALLS_OMF= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (gnocatan-0.8.1.30.tar.gz) = 3ea69eb647eea4173979293d24d81f54
|
||||
SIZE (gnocatan-0.8.1.30.tar.gz) = 2053826
|
||||
MD5 (gnocatan-0.8.1.45.tar.gz) = 14601fe7d318c9ef478e126d9683388c
|
||||
SIZE (gnocatan-0.8.1.45.tar.gz) = 2061574
|
||||
|
@ -1,56 +0,0 @@
|
||||
--- client/gtk/trade.c.orig Fri Aug 6 14:40:41 2004
|
||||
+++ client/gtk/trade.c Fri Aug 6 14:44:54 2004
|
||||
@@ -197,16 +197,16 @@
|
||||
static void load_pixmaps(void)
|
||||
{
|
||||
static gboolean init = FALSE;
|
||||
+ int width, height;
|
||||
+ GdkGC *gc;
|
||||
+ GdkPixmap *pixmap;
|
||||
+ gint i;
|
||||
|
||||
if (init) return;
|
||||
|
||||
- int width, height;
|
||||
gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, &height);
|
||||
|
||||
- GdkPixmap *pixmap;
|
||||
pixmap = gdk_pixmap_new(quotes->window, width, height, gtk_widget_get_visual(quotes)->depth);
|
||||
- GdkGC *gc;
|
||||
- gint i;
|
||||
|
||||
gc = gdk_gc_new(pixmap);
|
||||
gdk_gc_set_foreground(gc, &black);
|
||||
@@ -349,6 +349,7 @@
|
||||
QuoteInfo *quote;
|
||||
QuoteInfo *prev;
|
||||
gchar quote_desc[128];
|
||||
+ GtkTreeIter iter;
|
||||
|
||||
for (quote = quotelist_first(quote_list);
|
||||
quote != NULL; quote = quotelist_next(quote))
|
||||
@@ -364,7 +365,6 @@
|
||||
trade_format_maritime(quote, quote_desc);
|
||||
prev = quotelist_prev(quote);
|
||||
|
||||
- GtkTreeIter iter;
|
||||
quote_found_flag = FALSE;
|
||||
if (prev != NULL)
|
||||
gtk_tree_model_foreach(GTK_TREE_MODEL(store), trade_locate_quote, prev);
|
||||
@@ -536,6 +536,7 @@
|
||||
static void add_trade_row(GtkWidget *table, TradeRow* row, Resource resource)
|
||||
{
|
||||
GtkWidget *label;
|
||||
+ GtkWidget *frame;
|
||||
gint col;
|
||||
|
||||
col = 0;
|
||||
@@ -549,7 +550,7 @@
|
||||
col++;
|
||||
|
||||
/* Draw a border around the number */
|
||||
- GtkWidget *frame = gtk_viewport_new(NULL, NULL);
|
||||
+ frame = gtk_viewport_new(NULL, NULL);
|
||||
gtk_viewport_set_shadow_type(GTK_VIEWPORT(frame), GTK_SHADOW_IN);
|
||||
gtk_widget_show(frame);
|
||||
gtk_table_attach(GTK_TABLE(table), frame,
|
@ -118,6 +118,7 @@ share/gnome/pixmaps/gnocatan/trade.png
|
||||
share/locale/de/LC_MESSAGES/gnocatan.mo
|
||||
share/locale/es/LC_MESSAGES/gnocatan.mo
|
||||
share/locale/fr/LC_MESSAGES/gnocatan.mo
|
||||
share/locale/it/LC_MESSAGES/gnocatan.mo
|
||||
share/locale/nl/LC_MESSAGES/gnocatan.mo
|
||||
@dirrm share/gnome/help/gnocatan/C/images
|
||||
@dirrm share/gnome/help/gnocatan/C
|
||||
@ -129,5 +130,3 @@ share/locale/nl/LC_MESSAGES/gnocatan.mo
|
||||
@dirrm share/gnome/games/gnocatan/themes
|
||||
@dirrm share/gnome/games/gnocatan
|
||||
@dirrm share/gnome/pixmaps/gnocatan
|
||||
@exec scrollkeeper-install -q %D/share/gnome/omf/gnocatan/gnocatan-C.omf 2>/dev/null || /usr/bin/true
|
||||
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnocatan/gnocatan-C.omf 2>/dev/null || /usr/bin/true
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gnocatan
|
||||
PORTVERSION= 0.8.1.30
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.8.1.45
|
||||
CATEGORIES= games gnome
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -19,6 +18,7 @@ USE_X_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= gnomehack gnomeprefix gtk20 libgnomeui
|
||||
USE_LIBTOOL_VER=13
|
||||
INSTALLS_OMF= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (gnocatan-0.8.1.30.tar.gz) = 3ea69eb647eea4173979293d24d81f54
|
||||
SIZE (gnocatan-0.8.1.30.tar.gz) = 2053826
|
||||
MD5 (gnocatan-0.8.1.45.tar.gz) = 14601fe7d318c9ef478e126d9683388c
|
||||
SIZE (gnocatan-0.8.1.45.tar.gz) = 2061574
|
||||
|
@ -1,56 +0,0 @@
|
||||
--- client/gtk/trade.c.orig Fri Aug 6 14:40:41 2004
|
||||
+++ client/gtk/trade.c Fri Aug 6 14:44:54 2004
|
||||
@@ -197,16 +197,16 @@
|
||||
static void load_pixmaps(void)
|
||||
{
|
||||
static gboolean init = FALSE;
|
||||
+ int width, height;
|
||||
+ GdkGC *gc;
|
||||
+ GdkPixmap *pixmap;
|
||||
+ gint i;
|
||||
|
||||
if (init) return;
|
||||
|
||||
- int width, height;
|
||||
gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, &height);
|
||||
|
||||
- GdkPixmap *pixmap;
|
||||
pixmap = gdk_pixmap_new(quotes->window, width, height, gtk_widget_get_visual(quotes)->depth);
|
||||
- GdkGC *gc;
|
||||
- gint i;
|
||||
|
||||
gc = gdk_gc_new(pixmap);
|
||||
gdk_gc_set_foreground(gc, &black);
|
||||
@@ -349,6 +349,7 @@
|
||||
QuoteInfo *quote;
|
||||
QuoteInfo *prev;
|
||||
gchar quote_desc[128];
|
||||
+ GtkTreeIter iter;
|
||||
|
||||
for (quote = quotelist_first(quote_list);
|
||||
quote != NULL; quote = quotelist_next(quote))
|
||||
@@ -364,7 +365,6 @@
|
||||
trade_format_maritime(quote, quote_desc);
|
||||
prev = quotelist_prev(quote);
|
||||
|
||||
- GtkTreeIter iter;
|
||||
quote_found_flag = FALSE;
|
||||
if (prev != NULL)
|
||||
gtk_tree_model_foreach(GTK_TREE_MODEL(store), trade_locate_quote, prev);
|
||||
@@ -536,6 +536,7 @@
|
||||
static void add_trade_row(GtkWidget *table, TradeRow* row, Resource resource)
|
||||
{
|
||||
GtkWidget *label;
|
||||
+ GtkWidget *frame;
|
||||
gint col;
|
||||
|
||||
col = 0;
|
||||
@@ -549,7 +550,7 @@
|
||||
col++;
|
||||
|
||||
/* Draw a border around the number */
|
||||
- GtkWidget *frame = gtk_viewport_new(NULL, NULL);
|
||||
+ frame = gtk_viewport_new(NULL, NULL);
|
||||
gtk_viewport_set_shadow_type(GTK_VIEWPORT(frame), GTK_SHADOW_IN);
|
||||
gtk_widget_show(frame);
|
||||
gtk_table_attach(GTK_TABLE(table), frame,
|
@ -118,6 +118,7 @@ share/gnome/pixmaps/gnocatan/trade.png
|
||||
share/locale/de/LC_MESSAGES/gnocatan.mo
|
||||
share/locale/es/LC_MESSAGES/gnocatan.mo
|
||||
share/locale/fr/LC_MESSAGES/gnocatan.mo
|
||||
share/locale/it/LC_MESSAGES/gnocatan.mo
|
||||
share/locale/nl/LC_MESSAGES/gnocatan.mo
|
||||
@dirrm share/gnome/help/gnocatan/C/images
|
||||
@dirrm share/gnome/help/gnocatan/C
|
||||
@ -129,5 +130,3 @@ share/locale/nl/LC_MESSAGES/gnocatan.mo
|
||||
@dirrm share/gnome/games/gnocatan/themes
|
||||
@dirrm share/gnome/games/gnocatan
|
||||
@dirrm share/gnome/pixmaps/gnocatan
|
||||
@exec scrollkeeper-install -q %D/share/gnome/omf/gnocatan/gnocatan-C.omf 2>/dev/null || /usr/bin/true
|
||||
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnocatan/gnocatan-C.omf 2>/dev/null || /usr/bin/true
|
||||
|
Loading…
Reference in New Issue
Block a user