View | Details | Raw Unified | Return to bug 138084
Collapse All | Expand All

(-)Makefile (-2 / +4 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	giFToxic
8
PORTNAME=	giFToxic
9
PORTVERSION=	0.0.9
9
PORTVERSION=	0.0.10
10
PORTREVISION=	9
11
CATEGORIES=	net-p2p
10
CATEGORIES=	net-p2p
12
MASTER_SITES=	SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME}-${PORTVERSION}
11
MASTER_SITES=	SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME}-${PORTVERSION}
13
12
Lines 17-26 Link Here
17
LIB_DEPENDS=	gift.0:${PORTSDIR}/net-p2p/gift
16
LIB_DEPENDS=	gift.0:${PORTSDIR}/net-p2p/gift
18
17
19
USE_GNOME=	gtk20 gnomeprefix gnomehack
18
USE_GNOME=	gtk20 gnomeprefix gnomehack
19
USE_GETTEXT=	yes
20
USE_GMAKE=	yes
20
USE_GMAKE=	yes
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
		LDFLAGS="-L${LOCALBASE}/lib"
23
		LDFLAGS="-L${LOCALBASE}/lib"
24
CONFIGURE_ARGS=	--without-included-gettext
24
CONFIGURE_ARGS=	--without-included-gettext
25
25
26
MAN1=	giFToxic.1
27
26
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (giFToxic-0.0.9.tar.gz) = 66fe05d5d34cf08d310886784682136f
1
MD5 (giFToxic-0.0.10.tar.gz) = 3356ff83f896f6f6491d99065f7ab141
2
SHA256 (giFToxic-0.0.9.tar.gz) = 96c513c4884ae47525e80e72d1ace35bc3a5f4cbfc90a5fc02748763693db139
2
SHA256 (giFToxic-0.0.10.tar.gz) = 51fc80380d9eee743966468069afe67570a6a1c14908220539af2779be6cc16d
3
SIZE (giFToxic-0.0.9.tar.gz) = 281884
3
SIZE (giFToxic-0.0.10.tar.gz) = 364664
(-)pkg-plist (-1 / +14 lines)
Lines 1-9 Link Here
1
bin/giFToxic
1
bin/giFToxic
2
share/applications/giFToxic.desktop
2
share/applications/giFToxic.desktop
3
share/giFToxic/logo.png
3
%%DATADIR%%/logo.png
4
share/pixmaps/giFToxic-48.png
4
share/pixmaps/giFToxic-48.png
5
share/locale/az/LC_MESSAGES/giFToxic.mo
6
share/locale/cs/LC_MESSAGES/giFToxic.mo
5
share/locale/de/LC_MESSAGES/giFToxic.mo
7
share/locale/de/LC_MESSAGES/giFToxic.mo
8
share/locale/el/LC_MESSAGES/giFToxic.mo
6
share/locale/es/LC_MESSAGES/giFToxic.mo
9
share/locale/es/LC_MESSAGES/giFToxic.mo
10
share/locale/fr/LC_MESSAGES/giFToxic.mo
11
share/locale/hr/LC_MESSAGES/giFToxic.mo
12
share/locale/ms/LC_MESSAGES/giFToxic.mo
7
share/locale/nl/LC_MESSAGES/giFToxic.mo
13
share/locale/nl/LC_MESSAGES/giFToxic.mo
14
share/locale/no/LC_MESSAGES/giFToxic.mo
15
share/locale/pl/LC_MESSAGES/giFToxic.mo
16
share/locale/pt/LC_MESSAGES/giFToxic.mo
17
share/locale/sk/LC_MESSAGES/giFToxic.mo
18
share/locale/sr/LC_MESSAGES/giFToxic.mo
19
share/locale/sr@Latn/LC_MESSAGES/giFToxic.mo
20
share/locale/sv/LC_MESSAGES/giFToxic.mo
8
@dirrm share/giFToxic
21
@dirrm share/giFToxic
9
@dirrmtry share/applications
22
@dirrmtry share/applications
(-)files/patch-src-gtkcellrendererprogress.c (-40 lines)
Removed Link Here
1
--- src/gtkcellrendererprogress.c.orig	Thu May 22 06:23:39 2003
2
+++ src/gtkcellrendererprogress.c	Sun Dec 28 14:28:27 2003
3
@@ -370,7 +370,13 @@
4
    */
5
   GdkGC *gc;
6
   gint draw_width; 
7
-      
8
+
9
+  PangoFontDescription *font;
10
+  
11
+  PangoContext *context;
12
+  PangoLayout *layout;
13
+  gchar *text;    
14
+  int w,h;
15
 
16
   if ((flags & GTK_CELL_RENDERER_SELECTED) == GTK_CELL_RENDERER_SELECTED)
17
     {
18
@@ -425,18 +431,17 @@
19
 
20
   
21
 
22
-  PangoFontDescription *font =  pango_font_description_from_string ("8");
23
+  font =  pango_font_description_from_string ("8");
24
   
25
-  PangoContext *context = gtk_widget_create_pango_context(widget);
26
-  PangoLayout *layout = pango_layout_new(context);
27
+  context = gtk_widget_create_pango_context(widget);
28
+  layout = pango_layout_new(context);
29
   
30
   pango_layout_set_font_description (layout, font);
31
-  gchar *text = g_strdup_printf("%.1f%%",cellprogress->priv->value);
32
+  text = g_strdup_printf("%.1f%%",cellprogress->priv->value);
33
   pango_layout_set_text(layout, text, -1);
34
   
35
   gdk_gc_set_rgb_fg_color (gc, &cellprogress->priv->text_color);
36
   
37
-  int w,h;
38
   pango_layout_get_pixel_size(layout, &w, &h);
39
   w = (cell_area->width - w)/2;
40
   h = (cell_area->height - h)/2;
(-)files/patch-src-utils.c (-22 lines)
Removed Link Here
1
--- src/utils.c.orig	Tue May 27 21:37:18 2003
2
+++ src/utils.c	Sun Dec 28 14:25:22 2003
3
@@ -366,6 +366,8 @@
4
 		
5
 	gulong divisor = 1;
6
 	gint type = 0;
7
+	gulong mod;
8
+	gulong nice;
9
 		
10
 	if (size >= 1000000){
11
 		divisor = 1000000;
12
@@ -375,8 +377,8 @@
13
 		type = 1;
14
 	}
15
 	
16
-	gulong mod = size % divisor;
17
-	gulong nice = size / divisor;
18
+	mod = size % divisor;
19
+	nice = size / divisor;
20
 	strcpy(format, (mod == 0)?"%.0f":"%.2f");
21
 	strcat(format, (nice == 1 && mod == 0?gettext(qtys[type][0]):gettext(qtys[type][1])));
22
 	return g_strdup_printf(format, (gfloat) size / divisor);

Return to bug 138084