Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2016 10:40:57 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425602 - in head/x11/gtkchtheme: . files
Message-ID:  <201611071040.uA7AevJK079977@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Nov  7 10:40:57 2016
New Revision: 425602
URL: https://svnweb.freebsd.org/changeset/ports/425602

Log:
  - Add LICENSE
  - Use MANPREFIX
  - Regenerate patches

Modified:
  head/x11/gtkchtheme/Makefile
  head/x11/gtkchtheme/distinfo
  head/x11/gtkchtheme/files/patch-Makefile
  head/x11/gtkchtheme/files/patch-about_dialog.c
  head/x11/gtkchtheme/files/patch-font_sel.c
  head/x11/gtkchtheme/files/patch-main.c
  head/x11/gtkchtheme/files/patch-mainwin.c
  head/x11/gtkchtheme/files/patch-preview_pane.c
  head/x11/gtkchtheme/files/patch-theme_sel.c
  head/x11/gtkchtheme/files/patch-util.c

Modified: head/x11/gtkchtheme/Makefile
==============================================================================
--- head/x11/gtkchtheme/Makefile	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/Makefile	Mon Nov  7 10:40:57 2016	(r425602)
@@ -11,6 +11,9 @@ DISTNAME=	gtk-chtheme-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GTK2 theme changer
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		gmake pkgconfig tar:bzip2
 USE_GNOME=	gtk20
 
@@ -19,6 +22,6 @@ PLIST_FILES=	bin/gtk-chtheme \
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/gtk-chtheme ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/gtk-chtheme.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/gtk-chtheme.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>

Modified: head/x11/gtkchtheme/distinfo
==============================================================================
--- head/x11/gtkchtheme/distinfo	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/distinfo	Mon Nov  7 10:40:57 2016	(r425602)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1478515046
 SHA256 (gtk-chtheme-0.3.1.tar.bz2) = 26f4b6dd60c220d20d612ca840b6beb18b59d139078be72c7b1efefc447df844
 SIZE (gtk-chtheme-0.3.1.tar.bz2) = 18205

Modified: head/x11/gtkchtheme/files/patch-Makefile
==============================================================================
--- head/x11/gtkchtheme/files/patch-Makefile	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/files/patch-Makefile	Mon Nov  7 10:40:57 2016	(r425602)
@@ -1,5 +1,5 @@
---- Makefile.orig	2010-10-31 11:27:20.000000000 +0100
-+++ Makefile	2010-10-31 11:27:35.000000000 +0100
+--- Makefile.orig	2004-02-09 17:08:41 UTC
++++ Makefile
 @@ -4,7 +4,7 @@ CFLAGS := $(if $(RPM_OPT_FLAGS), $(RPM_O
  
  LDFLAGS = $(shell pkg-config --libs gtk+-2.0)

Modified: head/x11/gtkchtheme/files/patch-about_dialog.c
==============================================================================
--- head/x11/gtkchtheme/files/patch-about_dialog.c	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/files/patch-about_dialog.c	Mon Nov  7 10:40:57 2016	(r425602)
@@ -1,6 +1,6 @@
---- about_dialog.c.orig	Wed Jun 23 11:37:15 2004
-+++ about_dialog.c	Wed Jun 23 11:38:24 2004
-@@ -37,21 +37,22 @@
+--- about_dialog.c.orig	2004-02-07 00:19:34 UTC
++++ about_dialog.c
+@@ -37,21 +37,22 @@ Foundation, 59 Temple Place - Suite 330,
  
  void show_about_dialog(void) {
  	GtkWidget* about_dlg = gtk_dialog_new();

Modified: head/x11/gtkchtheme/files/patch-font_sel.c
==============================================================================
--- head/x11/gtkchtheme/files/patch-font_sel.c	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/files/patch-font_sel.c	Mon Nov  7 10:40:57 2016	(r425602)
@@ -1,6 +1,6 @@
---- font_sel.c.orig	Sat Feb  7 04:50:09 2004
-+++ font_sel.c	Wed Jun 23 11:57:33 2004
-@@ -27,17 +27,19 @@
+--- font_sel.c.orig	2004-02-07 03:50:09 UTC
++++ font_sel.c
+@@ -27,17 +27,19 @@ static void font_dlg_ok_clicked(GtkWidge
  
  static void font_browse_clicked(GtkWidget *widget, gpointer u)
  {

Modified: head/x11/gtkchtheme/files/patch-main.c
==============================================================================
--- head/x11/gtkchtheme/files/patch-main.c	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/files/patch-main.c	Mon Nov  7 10:40:57 2016	(r425602)
@@ -1,6 +1,6 @@
---- main.c.orig	Wed Jun 23 11:39:35 2004
-+++ main.c	Wed Jun 23 11:54:03 2004
-@@ -75,15 +75,18 @@
+--- main.c.orig	2004-02-09 04:33:28 UTC
++++ main.c
+@@ -75,15 +75,18 @@ void cleanup_temporary(void)
  
  void apply_new_look(gboolean is_preview)
  {
@@ -21,7 +21,7 @@
  
  	fprintf(gtkrc_fh,
  		"# -- THEME AUTO-WRITTEN DO NOT EDIT\n" "include \"%s\"\n\n",
-@@ -101,7 +104,8 @@
+@@ -101,7 +104,8 @@ void apply_new_look(gboolean is_preview)
  	fprintf(gtkrc_fh, "# -- THEME AUTO-WRITTEN DO NOT EDIT\n");
  	fclose(gtkrc_fh);
  

Modified: head/x11/gtkchtheme/files/patch-mainwin.c
==============================================================================
--- head/x11/gtkchtheme/files/patch-mainwin.c	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/files/patch-mainwin.c	Mon Nov  7 10:40:57 2016	(r425602)
@@ -1,6 +1,6 @@
---- mainwin.c.orig	Wed Jun 23 11:38:32 2004
-+++ mainwin.c	Wed Jun 23 11:39:27 2004
-@@ -42,6 +42,7 @@
+--- mainwin.c.orig	2004-02-08 13:28:55 UTC
++++ mainwin.c
+@@ -42,6 +42,7 @@ static void ok_clicked(GtkWidget *widget
  GtkWidget* create_mainwin(void)
  {
  	GtkWidget *mainwin = gtk_dialog_new();
@@ -8,7 +8,7 @@
  	gtk_widget_realize(mainwin);
  	gtk_window_set_title(GTK_WINDOW(mainwin), PROJNAME);
  	gtk_window_set_resizable(GTK_WINDOW(mainwin), TRUE);
-@@ -54,21 +55,21 @@
+@@ -54,21 +55,21 @@ GtkWidget* create_mainwin(void)
  	gtk_box_pack_start(GTK_BOX(GTK_DIALOG(mainwin)->vbox), gtk_hseparator_new(), FALSE, FALSE, 0);
  	gtk_box_pack_start(GTK_BOX(GTK_DIALOG(mainwin)->vbox), create_font_sel(), FALSE, FALSE, 0);
  

Modified: head/x11/gtkchtheme/files/patch-preview_pane.c
==============================================================================
--- head/x11/gtkchtheme/files/patch-preview_pane.c	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/files/patch-preview_pane.c	Mon Nov  7 10:40:57 2016	(r425602)
@@ -1,6 +1,6 @@
---- preview_pane.c.orig	Wed Jun 23 11:35:18 2004
-+++ preview_pane.c	Wed Jun 23 11:37:07 2004
-@@ -24,16 +24,19 @@
+--- preview_pane.c.orig	2004-02-08 13:47:45 UTC
++++ preview_pane.c
+@@ -24,16 +24,19 @@ Foundation, 59 Temple Place - Suite 330,
  GtkWidget* create_preview_pane(void)
  {
  	GtkBox* box = GTK_BOX(unfocussable(gtk_vbox_new(FALSE, 5)));
@@ -21,7 +21,7 @@
  		gtk_menu_shell_append(GTK_MENU_SHELL(menubar), item);
  		gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), menu);
  
-@@ -51,7 +54,6 @@
+@@ -51,7 +54,6 @@ GtkWidget* create_preview_pane(void)
  
  		gtk_menu_shell_append(GTK_MENU_SHELL(menu), unfocussable(gtk_separator_menu_item_new()));
  
@@ -29,7 +29,7 @@
  		for (i = 0; i < MENU_PREVIEW_ITEMS; i++)
  		{
  			item = unfocussable(gtk_radio_menu_item_new_with_label(group, "Radio"));
-@@ -77,6 +79,7 @@
+@@ -77,6 +79,7 @@ GtkWidget* create_preview_pane(void)
  	{
  		GtkToolbar* toolbar = GTK_TOOLBAR(unfocussable(gtk_toolbar_new()));
  		GtkWidget* button;
@@ -37,7 +37,7 @@
  
  		button = unfocussable(gtk_check_button_new_with_label("Check 1"));
  		gtk_toolbar_append_widget(toolbar, button, "Tooltip", "");
-@@ -87,7 +90,6 @@
+@@ -87,7 +90,6 @@ GtkWidget* create_preview_pane(void)
  
  		gtk_toolbar_append_space(toolbar);
  
@@ -45,7 +45,7 @@
  		
  		radio = GTK_RADIO_BUTTON(unfocussable(gtk_radio_button_new_with_label(NULL, "Radio 1")));
  		gtk_toolbar_append_widget(toolbar, GTK_WIDGET(radio), "Tooltip", "");
-@@ -143,7 +145,7 @@
+@@ -143,7 +145,7 @@ GtkWidget* create_preview_pane(void)
  		gtk_box_pack_start(box, GTK_WIDGET(hbox), FALSE, FALSE, 0);
  	}
  

Modified: head/x11/gtkchtheme/files/patch-theme_sel.c
==============================================================================
--- head/x11/gtkchtheme/files/patch-theme_sel.c	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/files/patch-theme_sel.c	Mon Nov  7 10:40:57 2016	(r425602)
@@ -1,6 +1,6 @@
---- theme_sel.c.orig	Wed Jun 23 11:32:31 2004
-+++ theme_sel.c	Wed Jun 23 11:34:15 2004
-@@ -53,6 +53,9 @@
+--- theme_sel.c.orig	2004-02-09 02:20:28 UTC
++++ theme_sel.c
+@@ -53,6 +53,9 @@ static void insert_key_in_liststore(gcha
  
  GtkWidget *create_theme_sel(void)
  {
@@ -10,7 +10,7 @@
  	GtkListStore *store = gtk_list_store_new(1, G_TYPE_STRING);
  
  	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(store), 0,
-@@ -65,7 +68,7 @@
+@@ -65,7 +68,7 @@ GtkWidget *create_theme_sel(void)
  	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(theme_list), TRUE);
  	gtk_tree_view_set_search_column(GTK_TREE_VIEW(theme_list), 0);
  
@@ -19,7 +19,7 @@
  		gtk_tree_view_get_selection(GTK_TREE_VIEW(theme_list));
  
  	gtk_tree_selection_set_mode(selection, GTK_SELECTION_BROWSE);
-@@ -81,11 +84,12 @@
+@@ -81,11 +84,12 @@ GtkWidget *create_theme_sel(void)
  
  		do
  		{
@@ -33,7 +33,7 @@
  
  			gtk_tree_view_set_cursor(GTK_TREE_VIEW(theme_list), p, NULL, FALSE);
  			gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(theme_list), p, NULL, TRUE, 0.5, 0);
-@@ -97,14 +101,14 @@
+@@ -97,14 +101,14 @@ GtkWidget *create_theme_sel(void)
  
  	g_object_unref(G_OBJECT(store));
  

Modified: head/x11/gtkchtheme/files/patch-util.c
==============================================================================
--- head/x11/gtkchtheme/files/patch-util.c	Mon Nov  7 10:18:11 2016	(r425601)
+++ head/x11/gtkchtheme/files/patch-util.c	Mon Nov  7 10:40:57 2016	(r425602)
@@ -1,6 +1,6 @@
---- util.c.orig	Wed Jun 23 11:31:52 2004
-+++ util.c	Wed Jun 23 11:32:20 2004
-@@ -34,10 +34,11 @@
+--- util.c.orig	2004-02-08 13:42:33 UTC
++++ util.c
+@@ -34,10 +34,11 @@ GtkLabel* gtk_label_new_from_pango_marku
  {
  	PangoAttrList *attrs;
  	gchar* parsed_text;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611071040.uA7AevJK079977>