mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
652f66e6fa
- Transfer maintainership to submitter PR: ports/64916 Submitted by: Stefan Grundmann <sg-sendpr@waset.de> Approved by: old maintainer
69 lines
1.7 KiB
Plaintext
69 lines
1.7 KiB
Plaintext
--- setup.py.orig Mon Feb 23 05:43:05 2004
|
|
+++ setup.py Tue Mar 30 03:11:16 2004
|
|
@@ -8,9 +8,11 @@
|
|
url = "http://repose.cx/pyosd/",
|
|
author = "Damien Elmes",
|
|
author_email = "pyosd@repose.cx",
|
|
- packages = ['pyosd'],
|
|
+ include_dirs = ['_X11BASE_/include'],
|
|
+ packages = ['osd'],
|
|
ext_modules = \
|
|
- [Extension("_pyosd", ["_pyosd.c"],
|
|
- libraries=["xosd"])]
|
|
+ [Extension("_osd", ["_pyosd.c"],
|
|
+ libraries=["xosd"],
|
|
+ library_dirs = ['_X11BASE_/lib'])]
|
|
)
|
|
|
|
--- osd/__init__.py.orig Mon Mar 1 06:17:23 2004
|
|
+++ osd/__init__.py Tue Mar 30 03:11:16 2004
|
|
@@ -26,7 +26,7 @@
|
|
fonts or colours across the screen.
|
|
'''
|
|
|
|
-import _pyosd
|
|
+import _osd as _pyosd
|
|
import re
|
|
import string
|
|
|
|
@@ -44,7 +44,7 @@
|
|
|
|
error = _pyosd.error
|
|
|
|
-default_font="-*-helvetica-medium-r-normal-*-*-360-*-*-p-*-*-*"
|
|
+default_font="-*-helvetica-medium-r-normal-*-*-240-*-*-p-*-*-*"
|
|
|
|
class osd:
|
|
""" osd is a class used to create an object which can display messages on
|
|
--- osd/daemon.py.orig Mon Jan 26 02:14:01 2004
|
|
+++ osd/daemon.py Tue Mar 30 03:11:16 2004
|
|
@@ -37,8 +37,8 @@
|
|
"""
|
|
|
|
import os
|
|
-import pyosd
|
|
-import pyosd.daemon
|
|
+import osd as pyosd
|
|
+import osd.daemon
|
|
import sys
|
|
import string
|
|
|
|
--- _pyosd.c.orig Mon Mar 1 06:16:05 2004
|
|
+++ _pyosd.c Tue Mar 30 03:11:16 2004
|
|
@@ -73,13 +73,13 @@
|
|
};
|
|
|
|
void
|
|
-init_pyosd(void)
|
|
+init_osd(void)
|
|
{
|
|
PyObject *self;
|
|
PyObject *dict;
|
|
|
|
// create the module and add the functions
|
|
- self = Py_InitModule("_pyosd", pyosd_methods);
|
|
+ self = Py_InitModule("_osd", pyosd_methods);
|
|
|
|
// init custom exception
|
|
dict = PyModule_GetDict(self);
|