http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89763
Revision: 89763
Author: ariel
Date: 2011-06-09 09:50:51 +0000 (Thu, 09 Jun 2011)
Log Message:
-----------
utf8 normal packaged for lucid, using 3.0 quilt format for packaging
Added Paths:
-----------
trunk/debs/wikimedia-normal/
trunk/debs/wikimedia-normal/debian.lucid/
trunk/debs/wikimedia-normal/debian.lucid/README.Debian
trunk/debs/wikimedia-normal/debian.lucid/README.source
trunk/debs/wikimedia-normal/debian.lucid/changelog
trunk/debs/wikimedia-normal/debian.lucid/compat
trunk/debs/wikimedia-normal/debian.lucid/control
trunk/debs/wikimedia-normal/debian.lucid/copyright
trunk/debs/wikimedia-normal/debian.lucid/dirs
trunk/debs/wikimedia-normal/debian.lucid/docs
trunk/debs/wikimedia-normal/debian.lucid/files
trunk/debs/wikimedia-normal/debian.lucid/install
trunk/debs/wikimedia-normal/debian.lucid/patches/
trunk/debs/wikimedia-normal/debian.lucid/patches/inifile.patch
trunk/debs/wikimedia-normal/debian.lucid/patches/install.patch
trunk/debs/wikimedia-normal/debian.lucid/patches/series
trunk/debs/wikimedia-normal/debian.lucid/rules
trunk/debs/wikimedia-normal/debian.lucid/source/
trunk/debs/wikimedia-normal/debian.lucid/source/format
Added: trunk/debs/wikimedia-normal/debian.lucid/README.Debian
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/README.Debian
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/README.Debian 2011-06-09
09:50:51 UTC (rev 89763)
@@ -0,0 +1,11 @@
+normal for Debian
+-----------------
+
+This extension has been repackaged for lucid. The new format (3.0 quilt)
+is not available in previous Unbuntu distributions, and our repo and svn
+management has changed as well since this was first packaged. The debian
+directory that one retrieves when checking out the extension from svn is
+deprecated; please see instead
+http://svn/wikimedia.org/viewvc/mediawiki/trunk/debs/normal
+
+ -- Ariel T. Glenn <[email protected]> Wed, 08 Jun 2011 11:14:38 +0300
Added: trunk/debs/wikimedia-normal/debian.lucid/README.source
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/README.source
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/README.source 2011-06-09
09:50:51 UTC (rev 89763)
@@ -0,0 +1,9 @@
+normal for Debian
+-----------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+
Added: trunk/debs/wikimedia-normal/debian.lucid/changelog
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/changelog
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/changelog 2011-06-09 09:50:51 UTC
(rev 89763)
@@ -0,0 +1,5 @@
+normal (0.0.2-1ubuntu~lucid1) lucid-wikimedia; urgency=low
+
+ * Initial release
+
+ -- Ariel T. Glenn <[email protected]> Wed, 08 Jun 2011 11:14:38 +0300
Added: trunk/debs/wikimedia-normal/debian.lucid/compat
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/compat
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/compat 2011-06-09 09:50:51 UTC
(rev 89763)
@@ -0,0 +1 @@
+7
Added: trunk/debs/wikimedia-normal/debian.lucid/control
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/control
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/control 2011-06-09 09:50:51 UTC
(rev 89763)
@@ -0,0 +1,14 @@
+Source: normal
+Section: unknown
+Priority: extra
+Maintainer: Ariel T. Glenn <[email protected]>
+Build-Depends: debhelper (>= 7), libicu-dev, php5-cli, php5-dev, swig, g++
+Standards-Version: 3.8.3
+Vcs-svn: http://svn/wikimedia.org/viewvc/mediawiki/trunk/extensions/normal
+Homepage: http://svn/wikimedia.org/viewvc/mediawiki/trunk/extensions/normal
+
+Package: wikimedia-php5-utfnormal
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, php5-cli, php5-common, libicu42
+Description: PHP extension to use ICU library to do stuff
+ PHP extension to use ICU library for UTF-8 normalization.
Added: trunk/debs/wikimedia-normal/debian.lucid/copyright
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/copyright
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/copyright 2011-06-09 09:50:51 UTC
(rev 89763)
@@ -0,0 +1,25 @@
+This work was packaged for Debian by:
+
+ Ariel T. Glenn <[email protected]> on Wed, 08 Jun 2011 11:14:38 +0300
+
+It was downloaded from <url://example.com>
+
+Upstream Author(s):
+
+ brion <[email protected]>
+
+Copyright:
+
+ <Copyright (C) 2011 Brion Vibber>
+
+License:
+
+ GPL2+
+
+The Debian packaging is:
+
+ Copyright (C) 2011 Ariel T. Glenn <[email protected]>
+
+and is licensed under the GPL version 3,
+see `/usr/share/common-licenses/GPL-3'.
+
Added: trunk/debs/wikimedia-normal/debian.lucid/dirs
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/dirs
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/dirs 2011-06-09 09:50:51 UTC
(rev 89763)
@@ -0,0 +1 @@
+etc/php5/conf.d
Added: trunk/debs/wikimedia-normal/debian.lucid/docs
===================================================================
Added: trunk/debs/wikimedia-normal/debian.lucid/files
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/files
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/files 2011-06-09 09:50:51 UTC
(rev 89763)
@@ -0,0 +1 @@
+wikimedia-php5-utfnormal_0.0.2-1ubuntu~lucid1_amd64.deb unknown extra
Added: trunk/debs/wikimedia-normal/debian.lucid/install
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/install
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/install 2011-06-09 09:50:51 UTC
(rev 89763)
@@ -0,0 +1 @@
+utfnormal.ini etc/php5/conf.d
\ No newline at end of file
Added: trunk/debs/wikimedia-normal/debian.lucid/patches/inifile.patch
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/patches/inifile.patch
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/patches/inifile.patch
2011-06-09 09:50:51 UTC (rev 89763)
@@ -0,0 +1,5 @@
+Add utfnormal.ini file
+--- /dev/null
++++ b/utfnormal.ini
+@@ -0,0 +1 @@
++extension=php_utfnormal.so
Added: trunk/debs/wikimedia-normal/debian.lucid/patches/install.patch
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/patches/install.patch
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/patches/install.patch
2011-06-09 09:50:51 UTC (rev 89763)
@@ -0,0 +1,78 @@
+Remove Debian package references from Makefile in preparation for using
standard debian build system
+
+Move fPIC into g++ line, under Deb build CFLAGS must have some predefined
+value already which doesn't include it
+
+Remove link against libicudata, it's not used
+--- a/Makefile
++++ b/Makefile
+@@ -2,10 +2,8 @@
+ PRODUCT=utfnormal
+ VERSION=0.0.1
+
+-DESTDIR?=
+-
+ CXX?=g++
+-CFLAGS?=-O2 -fPIC
++CFLAGS?=-O2
+
+ # For Linux
+ SHARED = -shared
+@@ -13,19 +11,6 @@
+ # For Mac OS X
+ #SHARED = -bundle -flat_namespace -undefined suppress
+
+-DEBFILES=\
+-debian/changelog\
+-debian/compat\
+-debian/control\
+-debian/copyright\
+-debian/dirs\
+-debian/docs\
+-debian/README.Debian\
+-debian/rules
+-
+-DISTDIRS=\
+-debian
+-
+ TMPDIST=$(PRODUCT)-$(VERSION)
+ TARBALL=$(TMPDIST).tar.gz
+
+@@ -33,13 +18,13 @@
+ $(PRODUCT).spec \
+ $(PRODUCT).cpp $(PRODUCT).i \
+ $(PRODUCT)_wrap.cpp php_$(PRODUCT).h \
+- test.php \
+- $(DEBFILES)
++ test.php
++
+
+
+ php_$(PRODUCT).so : $(PRODUCT).cpp $(PRODUCT)_wrap.cpp
+- $(CXX) $(CFLAGS) `php-config --includes --ldflags --libs` \
+- -licuuc -licudata \
++ $(CXX) $(CFLAGS) -fPIC `php-config --includes --ldflags --libs` \
++ -licuuc \
+ $(SHARED) -o php_$(PRODUCT).so $(PRODUCT).cpp $(PRODUCT)_wrap.cpp
+
+ $(PRODUCT)_wrap.cpp : $(PRODUCT).i
+@@ -64,7 +49,6 @@
+ distclean : clean
+ rm -rf $(TMPDIST)
+ rm -f $(TMPDIST).tar.gz
+- rm -rf debbuild
+
+ dist : $(TARBALL)
+
+@@ -79,11 +63,3 @@
+ cp $(TARBALL) /usr/src/redhat/SOURCES
+ cp $(PRODUCT).spec /usr/src/redhat/SPECS/$(PRODUCT)-$(VERSION).spec
+ cd /usr/src/redhat/SPECS && rpmbuild -ba $(PRODUCT)-$(VERSION).spec
+-
+-deb : $(TARBALL)
+- rm -rf debbuild
+- mkdir debbuild
+- cd debbuild && tar zxvf ../$(TARBALL)
+- cd debbuild/$(TMPDIST) && dpkg-buildpackage -rfakeroot
+- #rm -rf debbuild/$(TMPDIST)
+-
Added: trunk/debs/wikimedia-normal/debian.lucid/patches/series
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/patches/series
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/patches/series 2011-06-09
09:50:51 UTC (rev 89763)
@@ -0,0 +1,2 @@
+install.patch
+inifile.patch
Added: trunk/debs/wikimedia-normal/debian.lucid/rules
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/rules
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/rules 2011-06-09 09:50:51 UTC
(rev 89763)
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with quilt
+
+override_dh_auto_test:
+
+
Property changes on: trunk/debs/wikimedia-normal/debian.lucid/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/debs/wikimedia-normal/debian.lucid/source/format
===================================================================
--- trunk/debs/wikimedia-normal/debian.lucid/source/format
(rev 0)
+++ trunk/debs/wikimedia-normal/debian.lucid/source/format 2011-06-09
09:50:51 UTC (rev 89763)
@@ -0,0 +1 @@
+3.0 (quilt)
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs