diff options
Diffstat (limited to 'news/xpn')
-rw-r--r-- | news/xpn/Makefile | 44 | ||||
-rw-r--r-- | news/xpn/distinfo | 2 | ||||
-rw-r--r-- | news/xpn/files/patch-xpn.py | 97 | ||||
-rw-r--r-- | news/xpn/files/xpn.in | 10 | ||||
-rw-r--r-- | news/xpn/pkg-descr | 12 | ||||
-rw-r--r-- | news/xpn/pkg-plist | 131 |
6 files changed, 0 insertions, 296 deletions
diff --git a/news/xpn/Makefile b/news/xpn/Makefile deleted file mode 100644 index 52f230df6fe1..000000000000 --- a/news/xpn/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# Created by: Nicola Vitale <nivit@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= xpn -PORTVERSION= 1.2.6 -PORTREVISION= 7 -CATEGORIES= news python -MASTER_SITES= http://xpn.altervista.org/codice/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= X Python Newsreader - -LICENSE= GPLv2 - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gtk2>=2.24.0:x11-toolkits/py-gtk2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.9:databases/py-sqlite3@${PY_FLAVOR} - -NO_ARCH= yes -NO_BUILD= yes - -SHEBANG_FILES= ${XPN} -SUB_FILES= ${PORTNAME} -SUB_LIST= PYTHON_CMD=${PYTHON_CMD} XPN=${XPN} - -USES= gettext python:2.7 shebangfix - -XPN= ${PORTNAME}.py - -OPTIONS_DEFINE= DOCS - -do-install: - ${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/${XPN} ${STAGEDIR}${DATADIR}/${XPN} - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - (cd ${WRKSRC} && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "-mindepth 2") - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/news/xpn/distinfo b/news/xpn/distinfo deleted file mode 100644 index 9b95e3d0c384..000000000000 --- a/news/xpn/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (xpn-1.2.6.tar.gz) = 9683e1dd5d6f8aa7d53b811e5497787ff6d96579715ae0977f0c08c58facd84d -SIZE (xpn-1.2.6.tar.gz) = 286316 diff --git a/news/xpn/files/patch-xpn.py b/news/xpn/files/patch-xpn.py deleted file mode 100644 index b366a3f84490..000000000000 --- a/news/xpn/files/patch-xpn.py +++ /dev/null @@ -1,97 +0,0 @@ -From: David Paleino <dapal@debian.org> -Subject: implement a trayicon, with a context menu, and blinking on new - posts. - ---- xpn.py.orig 2018-11-16 09:23:53 UTC -+++ xpn.py -@@ -329,7 +329,6 @@ class MainWin: - self.win_outbox=Outbox_Manager(self,VERSION) - self.win_outbox.show() - -- - def open_edit_win(self,object,is_followup=False): - group="" - id_name="" -@@ -396,7 +395,6 @@ class MainWin: - self.win4=Edit_Win(self.configs,group,None,None,self.subscribed_groups,server_name=self.current_server,id_name=id_name) - #self.win4.show() - -- - def open_edit_mail_win(self,object): - to_name="" - id_name="" -@@ -579,6 +577,31 @@ class MainWin: - except: pass - gtk.main_quit() - -+ def tray_activated(self, widget): -+ if self.window.get_property("is-active"): -+ self.window.iconify() -+ self.window.hide() -+ else: -+ self.window.present() -+ self.window.deiconify() -+ widget.set_blinking(False) -+ -+ def tray_popuped(self, widget, button, timestamp): -+ menu = gtk.Menu() -+ menuitem = gtk.ImageMenuItem(gtk.STOCK_PREFERENCES) -+ menuitem.connect("activate", self.open_configure_win) -+ menu.append(menuitem) -+ menu.append(gtk.SeparatorMenuItem()) -+ menuitem = gtk.ImageMenuItem(gtk.STOCK_ABOUT) -+ menuitem.connect('activate', self.open_about_dialog) -+ menu.append(menuitem) -+ menuitem = gtk.ImageMenuItem(gtk.STOCK_QUIT) -+ menuitem.connect('activate', self.destroy) -+ menu.append(menuitem) -+ -+ menu.show_all() -+ menu.popup(None, None, None, button, timestamp) -+ - def save_sorting_type(self,obj=None): - for n in range(1,5): - col=self.threads_pane.threads_tree.get_column(n) -@@ -592,9 +615,7 @@ class MainWin: - self.configs["ascend_order"]=ascend_order - self.configs["sort_col"]=col_name - self.conf.write_configs() -- -- -- -+ - def show_subscribed(self): - model,path_list,iter_list=self.groups_pane.get_selected_rows() - -@@ -1588,6 +1609,8 @@ class MainWin: - self.statusbar.push(1,message) - if total_headers: - self.progressbar.set_text(_("Building Articles")) -+ if not self.window.get_property("is-active"): -+ self.trayicon.set_blinking(True) - else: - self.progressbar.set_text(_("No New Headers")) - self.progressbar.set_fraction(2/float(2)) -@@ -2600,8 +2623,6 @@ When you try to import a newsrc file XPN searches for - article.has_body=False - self.art_db.insertArticle(group[0],article) - -- -- - def __init__(self,use_home,custom_dir): - Edit_Win.VERSION=VERSION - Edit_Mail_Win.VERSION=VERSION -@@ -2615,6 +2636,13 @@ When you try to import a newsrc file XPN searches for - if ret>0 :sys.exit(ret) - self.wdir=userdir.dir - -+ # handle the trayicon -+ self.trayicon = gtk.StatusIcon() -+ self.trayicon.set_tooltip_text(_("XPN Newsreader")) -+ self.trayicon.set_from_file("pixmaps/xpn-icon.png") -+ self.trayicon.connect("activate", self.tray_activated) -+ self.trayicon.connect("popup-menu", self.tray_popuped) -+ - self.conf=Config_File() - self.configs=self.conf.get_configs() - diff --git a/news/xpn/files/xpn.in b/news/xpn/files/xpn.in deleted file mode 100644 index 7a47c3ef4261..000000000000 --- a/news/xpn/files/xpn.in +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -if [ -z "$1" ] ; then - export XPN_ARGS=-d -else - export XPN_ARGS="$@" -fi -exec %%PYTHON_CMD%% %%DATADIR%%/%%XPN%% ${XPN_ARGS} diff --git a/news/xpn/pkg-descr b/news/xpn/pkg-descr deleted file mode 100644 index 66e9c77e42f0..000000000000 --- a/news/xpn/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -With XPN you can read/write articles on the Usenet with a good MIME -support (better than some well known newsreaders). - -XPN can operate with all the most diffuse charset starting from US-ASCII -to UTF-8. When you edit an article XPN automatically chooses the best -charset, however is always possible to override this choice. - -There also other useful features like scoring, filtered views, -random tag-lines, external editor support, one-key navigation, -ROT13, spoiler char. - -WWW: http://xpn.altervista.org/ diff --git a/news/xpn/pkg-plist b/news/xpn/pkg-plist deleted file mode 100644 index 552d145d1c72..000000000000 --- a/news/xpn/pkg-plist +++ /dev/null @@ -1,131 +0,0 @@ -bin/xpn -%%PORTDOCS%%%%DOCSDIR%%/xpn.html -%%DATADIR%%/lang/de/LC_MESSAGES/xpn.mo -%%DATADIR%%/lang/fr/LC_MESSAGES/xpn.mo -%%DATADIR%%/lang/it/LC_MESSAGES/xpn.mo -%%DATADIR%%/lang/xpn.pot -%%DATADIR%%/pixmaps/about.xpm -%%DATADIR%%/pixmaps/art_body.xpm -%%DATADIR%%/pixmaps/art_delete.xpm -%%DATADIR%%/pixmaps/art_fup.xpm -%%DATADIR%%/pixmaps/art_ignore.xpm -%%DATADIR%%/pixmaps/art_keep.xpm -%%DATADIR%%/pixmaps/art_mark.xpm -%%DATADIR%%/pixmaps/art_read.xpm -%%DATADIR%%/pixmaps/art_unkeep.xpm -%%DATADIR%%/pixmaps/art_unread.xpm -%%DATADIR%%/pixmaps/art_unwatchignore.xpm -%%DATADIR%%/pixmaps/art_watch.xpm -%%DATADIR%%/pixmaps/cancel.xpm -%%DATADIR%%/pixmaps/collapse.xpm -%%DATADIR%%/pixmaps/collapse_all.xpm -%%DATADIR%%/pixmaps/conf.xpm -%%DATADIR%%/pixmaps/config-display.png -%%DATADIR%%/pixmaps/config-groups.png -%%DATADIR%%/pixmaps/config-misc.png -%%DATADIR%%/pixmaps/config-posting.png -%%DATADIR%%/pixmaps/config-servers.png -%%DATADIR%%/pixmaps/config-users.png -%%DATADIR%%/pixmaps/de.xpm -%%DATADIR%%/pixmaps/delete.xpm -%%DATADIR%%/pixmaps/dialog-error.xpm -%%DATADIR%%/pixmaps/discard.xpm -%%DATADIR%%/pixmaps/editor.xpm -%%DATADIR%%/pixmaps/email.gif -%%DATADIR%%/pixmaps/en.xpm -%%DATADIR%%/pixmaps/exit.xpm -%%DATADIR%%/pixmaps/expand.xpm -%%DATADIR%%/pixmaps/expand_all.xpm -%%DATADIR%%/pixmaps/find.xpm -%%DATADIR%%/pixmaps/folder.xpm -%%DATADIR%%/pixmaps/folder_open.xpm -%%DATADIR%%/pixmaps/followup.xpm -%%DATADIR%%/pixmaps/fr.xpm -%%DATADIR%%/pixmaps/global_search.xpm -%%DATADIR%%/pixmaps/groups.xpm -%%DATADIR%%/pixmaps/it.xpm -%%DATADIR%%/pixmaps/layout_1.xpm -%%DATADIR%%/pixmaps/layout_10.xpm -%%DATADIR%%/pixmaps/layout_11.xpm -%%DATADIR%%/pixmaps/layout_12.xpm -%%DATADIR%%/pixmaps/layout_13.xpm -%%DATADIR%%/pixmaps/layout_14.xpm -%%DATADIR%%/pixmaps/layout_15.xpm -%%DATADIR%%/pixmaps/layout_16.xpm -%%DATADIR%%/pixmaps/layout_17.xpm -%%DATADIR%%/pixmaps/layout_18.xpm -%%DATADIR%%/pixmaps/layout_19.xpm -%%DATADIR%%/pixmaps/layout_2.xpm -%%DATADIR%%/pixmaps/layout_20.xpm -%%DATADIR%%/pixmaps/layout_21.xpm -%%DATADIR%%/pixmaps/layout_22.xpm -%%DATADIR%%/pixmaps/layout_23.xpm -%%DATADIR%%/pixmaps/layout_24.xpm -%%DATADIR%%/pixmaps/layout_3.xpm -%%DATADIR%%/pixmaps/layout_4.xpm -%%DATADIR%%/pixmaps/layout_5.xpm -%%DATADIR%%/pixmaps/layout_6.xpm -%%DATADIR%%/pixmaps/layout_7.xpm -%%DATADIR%%/pixmaps/layout_8.xpm -%%DATADIR%%/pixmaps/layout_9.xpm -%%DATADIR%%/pixmaps/lower_score.xpm -%%DATADIR%%/pixmaps/mark.xpm -%%DATADIR%%/pixmaps/mark_all.xpm -%%DATADIR%%/pixmaps/mark_multiple.xpm -%%DATADIR%%/pixmaps/next.xpm -%%DATADIR%%/pixmaps/next_unread.xpm -%%DATADIR%%/pixmaps/outbox.xpm -%%DATADIR%%/pixmaps/part.xpm -%%DATADIR%%/pixmaps/post.xpm -%%DATADIR%%/pixmaps/previous.xpm -%%DATADIR%%/pixmaps/raise_score.xpm -%%DATADIR%%/pixmaps/raw.xpm -%%DATADIR%%/pixmaps/receive_bodies.xpm -%%DATADIR%%/pixmaps/receive_bodies_selected.xpm -%%DATADIR%%/pixmaps/receive_headers.xpm -%%DATADIR%%/pixmaps/receive_headers_selected.xpm -%%DATADIR%%/pixmaps/reply.xpm -%%DATADIR%%/pixmaps/rot13.xpm -%%DATADIR%%/pixmaps/score.xpm -%%DATADIR%%/pixmaps/search.xpm -%%DATADIR%%/pixmaps/send.xpm -%%DATADIR%%/pixmaps/send_queue.xpm -%%DATADIR%%/pixmaps/send_queued_art.xpm -%%DATADIR%%/pixmaps/send_queued_mail.xpm -%%DATADIR%%/pixmaps/set_score.xpm -%%DATADIR%%/pixmaps/spoiler_char.xpm -%%DATADIR%%/pixmaps/supersede.xpm -%%DATADIR%%/pixmaps/xpn-icon.png -%%DATADIR%%/pixmaps/xpn-logo-small.png -%%DATADIR%%/pixmaps/xpn.xpm -%%DATADIR%%/xpn.py -%%DATADIR%%/xpn_src/Article.py -%%DATADIR%%/xpn_src/Article_Pane.py -%%DATADIR%%/xpn_src/Articles_DB.py -%%DATADIR%%/xpn_src/Charset_List.py -%%DATADIR%%/xpn_src/Config_File.py -%%DATADIR%%/xpn_src/Config_Win.py -%%DATADIR%%/xpn_src/Connections_Handler.py -%%DATADIR%%/xpn_src/Custom_Search_Entry.py -%%DATADIR%%/xpn_src/Dialogs.py -%%DATADIR%%/xpn_src/Edit_Mail_Win.py -%%DATADIR%%/xpn_src/Edit_Win.py -%%DATADIR%%/xpn_src/Find_Win.py -%%DATADIR%%/xpn_src/Groups_Pane.py -%%DATADIR%%/xpn_src/Groups_Vs_ID.py -%%DATADIR%%/xpn_src/Groups_Win.py -%%DATADIR%%/xpn_src/Headers_List.py -%%DATADIR%%/xpn_src/ID_Win.py -%%DATADIR%%/xpn_src/KeyBindings.py -%%DATADIR%%/xpn_src/ListThread.py -%%DATADIR%%/xpn_src/Newsrc.py -%%DATADIR%%/xpn_src/Outbox_Manager.py -%%DATADIR%%/xpn_src/Score.py -%%DATADIR%%/xpn_src/Server_Win.py -%%DATADIR%%/xpn_src/Show_Logs.py -%%DATADIR%%/xpn_src/Threads_Pane.py -%%DATADIR%%/xpn_src/UserDir.py -%%DATADIR%%/xpn_src/XFace.py -%%DATADIR%%/xpn_src/__init__.py -%%DATADIR%%/xpn_src/add_tag.py -%%DATADIR%%/xpn_src/nntplib_ssl.py |