diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-07 18:40:57 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-07 18:40:57 +0800 |
commit | c1f84bfde73b27a04b128d87e3a4ac468fec4576 (patch) | |
tree | 88a67d5c2ad57092057ca03cef4ab7e1415a01d0 /x11 | |
parent | 94fb3d4cebe01b1347072a78efa6078f5043effe (diff) | |
download | freebsd-ports-gnome-c1f84bfde73b27a04b128d87e3a4ac468fec4576.tar.gz freebsd-ports-gnome-c1f84bfde73b27a04b128d87e3a4ac468fec4576.tar.zst freebsd-ports-gnome-c1f84bfde73b27a04b128d87e3a4ac468fec4576.zip |
- Add LICENSE
- Use MANPREFIX
- Regenerate patches
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtkchtheme/Makefile | 5 | ||||
-rw-r--r-- | x11/gtkchtheme/distinfo | 1 | ||||
-rw-r--r-- | x11/gtkchtheme/files/patch-Makefile | 4 | ||||
-rw-r--r-- | x11/gtkchtheme/files/patch-about_dialog.c | 6 | ||||
-rw-r--r-- | x11/gtkchtheme/files/patch-font_sel.c | 6 | ||||
-rw-r--r-- | x11/gtkchtheme/files/patch-main.c | 8 | ||||
-rw-r--r-- | x11/gtkchtheme/files/patch-mainwin.c | 8 | ||||
-rw-r--r-- | x11/gtkchtheme/files/patch-preview_pane.c | 14 | ||||
-rw-r--r-- | x11/gtkchtheme/files/patch-theme_sel.c | 12 | ||||
-rw-r--r-- | x11/gtkchtheme/files/patch-util.c | 6 |
10 files changed, 37 insertions, 33 deletions
diff --git a/x11/gtkchtheme/Makefile b/x11/gtkchtheme/Makefile index fa21be3287ce..3d4ff0eb03f1 100644 --- a/x11/gtkchtheme/Makefile +++ b/x11/gtkchtheme/Makefile @@ -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> diff --git a/x11/gtkchtheme/distinfo b/x11/gtkchtheme/distinfo index 7547c06c23dd..615f12e0abb9 100644 --- a/x11/gtkchtheme/distinfo +++ b/x11/gtkchtheme/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1478515046 SHA256 (gtk-chtheme-0.3.1.tar.bz2) = 26f4b6dd60c220d20d612ca840b6beb18b59d139078be72c7b1efefc447df844 SIZE (gtk-chtheme-0.3.1.tar.bz2) = 18205 diff --git a/x11/gtkchtheme/files/patch-Makefile b/x11/gtkchtheme/files/patch-Makefile index e5078502d48e..c18e13f83de3 100644 --- a/x11/gtkchtheme/files/patch-Makefile +++ b/x11/gtkchtheme/files/patch-Makefile @@ -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) diff --git a/x11/gtkchtheme/files/patch-about_dialog.c b/x11/gtkchtheme/files/patch-about_dialog.c index 54bbe8a03866..d5e6e9925477 100644 --- a/x11/gtkchtheme/files/patch-about_dialog.c +++ b/x11/gtkchtheme/files/patch-about_dialog.c @@ -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(); diff --git a/x11/gtkchtheme/files/patch-font_sel.c b/x11/gtkchtheme/files/patch-font_sel.c index bba365e1120f..a3efaf4dfde5 100644 --- a/x11/gtkchtheme/files/patch-font_sel.c +++ b/x11/gtkchtheme/files/patch-font_sel.c @@ -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) { diff --git a/x11/gtkchtheme/files/patch-main.c b/x11/gtkchtheme/files/patch-main.c index 1613f819437f..bf39963f994d 100644 --- a/x11/gtkchtheme/files/patch-main.c +++ b/x11/gtkchtheme/files/patch-main.c @@ -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); diff --git a/x11/gtkchtheme/files/patch-mainwin.c b/x11/gtkchtheme/files/patch-mainwin.c index d38d8ff9dfac..e486ffed4617 100644 --- a/x11/gtkchtheme/files/patch-mainwin.c +++ b/x11/gtkchtheme/files/patch-mainwin.c @@ -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); diff --git a/x11/gtkchtheme/files/patch-preview_pane.c b/x11/gtkchtheme/files/patch-preview_pane.c index 56cf045ae308..2c1886f086fe 100644 --- a/x11/gtkchtheme/files/patch-preview_pane.c +++ b/x11/gtkchtheme/files/patch-preview_pane.c @@ -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); } diff --git a/x11/gtkchtheme/files/patch-theme_sel.c b/x11/gtkchtheme/files/patch-theme_sel.c index 5121b35a1fc4..0e1d088bf29d 100644 --- a/x11/gtkchtheme/files/patch-theme_sel.c +++ b/x11/gtkchtheme/files/patch-theme_sel.c @@ -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)); diff --git a/x11/gtkchtheme/files/patch-util.c b/x11/gtkchtheme/files/patch-util.c index 53f8934e6940..ab7a079b62bc 100644 --- a/x11/gtkchtheme/files/patch-util.c +++ b/x11/gtkchtheme/files/patch-util.c @@ -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; |