rpms/bilbo/devel bilbo-0.9-license-headers.patch, NONE, 1.1 bilbo-0.9-licenses.patch, NONE, 1.1 bilbo-0.9-localdeletion.patch, NONE, 1.1 bilbo-0.9-postdate-utc.patch, NONE, 1.1 bilbo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ben Boeckel mathstuf at fedoraproject.org
Fri Aug 28 22:10:48 UTC 2009


Author: mathstuf

Update of /cvs/pkgs/rpms/bilbo/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19769

Modified Files:
	.cvsignore sources 
Added Files:
	bilbo-0.9-license-headers.patch bilbo-0.9-licenses.patch 
	bilbo-0.9-localdeletion.patch bilbo-0.9-postdate-utc.patch 
	bilbo.spec 
Log Message:
Initial commit

bilbo-0.9-license-headers.patch:
 htmlexporter.cpp |   43 +++++++++++++++++++++++++------------------
 htmlexporter.h   |   43 ++++++++++++++++++++++++-------------------
 2 files changed, 49 insertions(+), 37 deletions(-)

--- NEW FILE bilbo-0.9-license-headers.patch ---
>From 4013ac28d825fe1b756e20e97811715e3c9afcd4 Mon Sep 17 00:00:00 2001
From: goli <g382nilieh at gmail.com>
Date: Wed, 13 May 2009 00:39:11 +0430
Subject: [PATCH] Fix a typo in license headers. change it from GPL v2 to GPL v3.

---
 bilbo/htmlexporter.cpp |   43 +++++++++++++++++++++++++------------------
 bilbo/htmlexporter.h   |   42 ++++++++++++++++++++++++------------------
 2 files changed, 49 insertions(+), 36 deletions(-)

diff --git a/bilbo/htmlexporter.cpp b/bilbo/htmlexporter.cpp
index d1d4063..82b88a0 100644
--- a/bilbo/htmlexporter.cpp
+++ b/bilbo/htmlexporter.cpp
@@ -3,24 +3,31 @@
 ** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.
 ** Copyright (C) 2007 Antonio Aloisio <gnuton at gnuton.org>
 **
-** This file is part of the QtGui module of the Qt Toolkit.
-**
-** This file may be used under the terms of the GNU General Public
-** License version 2.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of
-** this file.  Please review the following information to ensure GNU
-** General Public Licensing requirements will be met:
-** http://www.trolltech.com/products/qt/opensource.html
-**
-** If you are unsure which license is appropriate for your use, please
-** review the following information:
-** http://www.trolltech.com/products/qt/licensing.html or contact the
-** sales department at sales at trolltech.com.
-**
-** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-****************************************************************************/
+***************************************************************************/
+/*   Copyright (C) 2008-2009 Mehrdad Momeny <mehrdad.momeny at gmail.com>     *
+ *   Copyright (C) 2008-2009 Golnaz Nilieh <g382nilieh at gmail.com>          *
+ *                                                                         *
+ *   This file is a part of Bilbo Blogger.                                 *
+ *   It is a modified version of "htmlexporter.cpp" from                   *
+ *   KBlogger project. it has been modified for use in Bilbo Blogger, at   *
+ *   November 2008.                                                        *
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 3 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ *   This program is distributed in the hope that it will be useful,       *
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
+ *   GNU General Public License for more details.                          *
+ *                                                                         *
+ *   You should have received a copy of the GNU General Public License     *
+ *   along with this program; if not, write to the                         *
+ *   Free Software Foundation, Inc.,                                       *
+ *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ ***************************************************************************/
+
 
 #include "htmlexporter.h"
 
diff --git a/bilbo/htmlexporter.h b/bilbo/htmlexporter.h
index 9e957d6..37da675 100644
--- a/bilbo/htmlexporter.h
+++ b/bilbo/htmlexporter.h
@@ -3,24 +3,30 @@
 ** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.
 ** Copyright (C) 2007 Antonio Aloisio <gnuton at gnuton.org>
 **
-** This file is part of the QtGui module of the Qt Toolkit.
-**
-** This file may be used under the terms of the GNU General Public
-** License version 2.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of
-** this file.  Please review the following information to ensure GNU
-** General Public Licensing requirements will be met:
-** http://www.trolltech.com/products/qt/opensource.html
-**
-** If you are unsure which license is appropriate for your use, please
-** review the following information:
-** http://www.trolltech.com/products/qt/licensing.html or contact the
-** sales department at sales at trolltech.com.
-**
-** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-****************************************************************************/
+***************************************************************************/
+/*   Copyright (C) 2008-2009 Mehrdad Momeny <mehrdad.momeny at gmail.com>     *
+ *   Copyright (C) 2008-2009 Golnaz Nilieh <g382nilieh at gmail.com>          *
+ *                                                                         *
+ *   This file is a part of Bilbo Blogger.                                 *
+ *   It is a modified version of "htmlexporter.h" from                     *
+ *   KBlogger project. it has been modified for use in Bilbo Blogger, at   *
+ *   November 2008.                                                        *
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 3 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ *   This program is distributed in the hope that it will be useful,       *
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
+ *   GNU General Public License for more details.                          *
+ *                                                                         *
+ *   You should have received a copy of the GNU General Public License     *
+ *   along with this program; if not, write to the                         *
+ *   Free Software Foundation, Inc.,                                       *
+ *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ ***************************************************************************/
 
 #ifndef HTML_EXPORTER_H
 #define HTML_EXPORTER_H
-- 
1.6.1


bilbo-0.9-licenses.patch:
 COPYING                   |  674 ----------------------------------------------
 b/bilbo/COPYING.GPL3      |  674 ++++++++++++++++++++++++++++++++++++++++++++++
 b/bilbokblog/COPYING.LGPL |  508 ++++++++++++++++++++++++++++++++++
 bilbokblog/COPYING        |  507 ----------------------------------
 4 files changed, 1181 insertions(+), 1182 deletions(-)

--- NEW FILE bilbo-0.9-licenses.patch ---
>From ef9e60cb787deda57bcfb3efc70ceb03932764a6 Mon Sep 17 00:00:00 2001
From: Mehrdad Momeny <mehrdad.momeny at gmail.com>
Date: Wed, 13 May 2009 13:18:45 +0430
Subject: [PATCH] Updated COPYING files! renamed to have license name at file name! moved to Bilbo and BilboKBlog

---
 COPYING                 |  674 -----------------------------------------------
 bilbo/COPYING.GPL3      |  674 +++++++++++++++++++++++++++++++++++++++++++++++
 bilbokblog/COPYING      |  507 -----------------------------------
 bilbokblog/COPYING.LGPL |  507 +++++++++++++++++++++++++++++++++++
 4 files changed, 1181 insertions(+), 1181 deletions(-)
 delete mode 100644 COPYING
 create mode 100644 bilbo/COPYING.GPL3
 delete mode 100644 bilbokblog/COPYING
 create mode 100644 bilbokblog/COPYING.LGPL

diff --git a/COPYING b/COPYING
deleted file mode 100644
index 94a9ed0..0000000
--- a/COPYING
+++ /dev/null
@@ -1,674 +0,0 @@
-                    GNU GENERAL PUBLIC LICENSE
-                       Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                            Preamble
-
-  The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
-  The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works.  By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users.  We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors.  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
-  To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights.  Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received.  You must make sure that they, too, receive
-or can get the source code.  And you must show them these terms so they
-know their rights.
-
-  Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
-  For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software.  For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
-  Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so.  This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software.  The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable.  Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products.  If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
-  Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary.  To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-                       TERMS AND CONDITIONS
-
-  0. Definitions.
-
-  "This License" refers to version 3 of the GNU General Public License.
-
-  "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
-  "The Program" refers to any copyrightable work licensed under this
-License.  Each licensee is addressed as "you".  "Licensees" and
-"recipients" may be individuals or organizations.
-
-  To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy.  The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
-  A "covered work" means either the unmodified Program or a work based
-on the Program.
-
-  To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy.  Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
-  To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies.  Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
-  An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License.  If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
-  1. Source Code.
-
-  The "source code" for a work means the preferred form of the work
-for making modifications to it.  "Object code" means any non-source
-form of a work.
-
-  A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
-  The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form.  A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
-  The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities.  However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work.  For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
-  The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
-  The Corresponding Source for a work in source code form is that
-same work.
-
-  2. Basic Permissions.
-
-  All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met.  This License explicitly affirms your unlimited
-permission to run the unmodified Program.  The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work.  This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
-  You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force.  You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright.  Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
-  Conveying under any other circumstances is permitted solely under
-the conditions stated below.  Sublicensing is not allowed; section 10
-makes it unnecessary.
[...2006 lines suppressed...]
+
+    d) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    e) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply, and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License
+may add an explicit geographical distribution limitation excluding those
+countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+                            NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+
+           How to Apply These Terms to Your New Libraries
+
+  If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change.  You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms
+of the ordinary General Public License).
+
+  To apply these terms, attach the following notices to the library.
+It is safest to attach them to the start of each source file to most
+effectively convey the exclusion of warranty; and each file should
+have at least the "copyright" line and a pointer to where the full
+notice is found.
+
+
+    <one line to give the library's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or
+your school, if any, to sign a "copyright disclaimer" for the library,
+if necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James
+  Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+That's all there is to it!
-- 
1.6.1


bilbo-0.9-localdeletion.patch:
 toolbox.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE bilbo-0.9-localdeletion.patch ---
>From f9192f02da4114c13c5b10fa825978884e958c4f Mon Sep 17 00:00:00 2001
From: Mehrdad Momeny <mehrdad.momeny at gmail.com>
Date: Mon, 27 Jul 2009 12:42:24 +0430
Subject: [PATCH] Bug: #405142
 Fixed

---
 bilbo/toolbox.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bilbo/toolbox.cpp b/bilbo/toolbox.cpp
index 095997d..5017d61 100644
--- a/bilbo/toolbox.cpp
+++ b/bilbo/toolbox.cpp
@@ -502,7 +502,7 @@ void Toolbox::sltRemoveLocalEntry()
     if(localEntriesTable->selectedItems().count() > 0) {
         int local_id = localEntriesTable->item(0, localEntriesTable->currentRow())->data(32).toInt();
         if( KMessageBox::warningYesNo(this, i18n("Are you sure of removing selected local entry?")) 
-            == KMessageBox::NoExec )
+            == KMessageBox::No )
             return;
 
         if( DBMan::self()->removeLocalEntry(local_id) ) {
-- 
1.6.1


bilbo-0.9-postdate-utc.patch:
 wordpressbuggy.cpp |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

--- NEW FILE bilbo-0.9-postdate-utc.patch ---
>From acc8588a050c2a0f29dcb6081a2aff990f1f812f Mon Sep 17 00:00:00 2001
From: Mehrdad Momeny <mehrdad.momeny at gmail.com>
Date: Sat, 16 May 2009 22:13:11 +0430
Subject: [PATCH] Add Z to wordpress datetimes to figure out that their UTC

---
 bilbokblog/wordpressbuggy.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bilbokblog/wordpressbuggy.cpp b/bilbokblog/wordpressbuggy.cpp
index 83f1537..c5853c0 100644
--- a/bilbokblog/wordpressbuggy.cpp
+++ b/bilbokblog/wordpressbuggy.cpp
@@ -98,7 +98,7 @@ void WordpressBuggy::createPost( KBlog::BlogPost *post )
 
   xmlMarkup += "<name>dateCreated</name>";
   xmlMarkup += "<value><dateTime.iso8601>" +
-               post->creationDateTime().toUtc().dateTime().toString( "yyyyMMddThh:mm:ss" ) +
+               post->creationDateTime().toUtc().dateTime().toString( "yyyyMMddThh:mm:ssZ" ) +
                "</dateTime.iso8601></value>";
   xmlMarkup += "</member><member>";
   xmlMarkup += "<name>mt_allow_comments</name>";
@@ -197,12 +197,12 @@ void WordpressBuggy::modifyPost( KBlog::BlogPost *post )
 
   xmlMarkup += "<name>lastModified</name>";
   xmlMarkup += "<value><dateTime.iso8601>" +
-               post->modificationDateTime().toUtc().dateTime().toString( "yyyyMMddThh:mm:ss" ) +
+               post->modificationDateTime().toUtc().dateTime().toString( "yyyyMMddThh:mm:ssZ" ) +
                "</dateTime.iso8601></value>";
   xmlMarkup += "</member><member>";
   xmlMarkup += "<name>dateCreated</name>";
   xmlMarkup += "<value><dateTime.iso8601>" +
-               post->creationDateTime().toUtc().dateTime().toString( "yyyyMMddThh:mm:ss" ) +
+               post->creationDateTime().toUtc().dateTime().toString( "yyyyMMddThh:mm:ssZ" ) +
                "</dateTime.iso8601></value>";
   xmlMarkup += "</member><member>";
   xmlMarkup += "<name>mt_allow_comments</name>";
-- 
1.6.1



--- NEW FILE bilbo.spec ---
Name:           bilbo
Version:        0.9
Release:        3%{?dist}
Summary:        Blogging client, focused on simplicity and usability

Group:          Applications/Internet
License:        GPLv3+ and LGPLv2+
URL:            http://bilbo.gnufolks.org/
Source0:        http://mirror.umoss.org/download.ospdev.net/bilbo/bilbo/0.9/bilbo-0.9.tar.gz
#Beta version
#Source0:        http://mirror.umoss.org/download.ospdev.net/bilbo/bilbo/0.9.951.0Beta1/bilbo-0.9.95.tar.gz
#Backported patch
Patch200:       bilbo-0.9-localdeletion.patch
Patch201:       bilbo-0.9-licenses.patch
Patch202:       bilbo-0.9-license-headers.patch
Patch203:       bilbo-0.9-postdate-utc.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  kdelibs4-devel
BuildRequires:  kdepimlibs-devel
BuildRequires:  gettext
BuildRequires:  automoc
BuildRequires:  phonon-devel

%description
Blogging application for Blogger1.0, MetaWeblog, MovableType, and Google
GData with WYSIWYG and HTML editing available.


%prep
%setup -q
%patch200 -p1
%patch201 -p1
%patch202 -p1
%patch203 -p1

%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..
popd
make VERBOSE=1 %{?_smp_mflags} -C %{_target_platform}


%install
rm -rf %{buildroot}
make install/fast DESTDIR=%{buildroot} PREFIX=%{_prefix} -C %{_target_platform}
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/bilbo.desktop
%find_lang %{name}
# No headers installed
rm -vf %{buildroot}%{_libdir}/libbilbokblog.so


%clean
rm -rf %{buildroot}


%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :


%postun
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi


%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS bilbo/COPYING.GPL3 bilbokblog/COPYING.LGPL
%{_kde4_bindir}/bilbo
%{_kde4_libdir}/libbilbokblog.so.4
%{_kde4_libdir}/libbilbokblog.so.4.2.1
%{_kde4_datadir}/applications/kde4/bilbo.desktop
%{_kde4_configdir}.kcfg/bilbo.kcfg
%{_kde4_iconsdir}/hicolor/*/*/*.png
%{_kde4_datadir}/kde4/apps/bilbo/


%changelog
* Thu Aug 27 2009 Ben Boeckel <MathStuf at gmail.com> 0.9-3
- Add icon cache snippets
- Backport licensing fixes
- Backport patch to fix timezone mismatch with server

* Mon Jul 27 2009 Ben Boeckel <MathStuf at gmail.com> 0.9-2
- Backport patch for local deletion

* Sun Jul 26 2009 Ben Boeckel <MathStuf at gmail.com> 0.9-1
- Initial version


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/bilbo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	28 Aug 2009 19:18:42 -0000	1.1
+++ .cvsignore	28 Aug 2009 22:10:48 -0000	1.2
@@ -0,0 +1 @@
+bilbo-0.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/bilbo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	28 Aug 2009 19:18:43 -0000	1.1
+++ sources	28 Aug 2009 22:10:48 -0000	1.2
@@ -0,0 +1 @@
+396da4f5fc1d91d692eefaf8e9871795  bilbo-0.9.tar.gz




More information about the scm-commits mailing list